Well 2 more questions I got for you guys...
1. Is their anyway in AutoIt to make your own 'record route' but it involves clicking on CONQUER x, y points rather than Mouseclicks of screen x, y...?
2. It would be simple to make a background bot (not picking up mets/dbs) for an archer because you don't have to search for hp bar, just follow a recorded path around your stack and leave it going.... But could there be any way to make it so a trojan could work in background... Other trying to find the monsters memory or pixel searching are there any other ways of doing this?
3. How do you DMA defeat Health or whatever... I could not get the memory address from cheatengine which makes me wonder about this 'defeating hp' concept... What is it and how can I do it? :O
Back to question #1... Though being pressing a button and recording your own very route would be very helpful and less painful for the user to use, if anything you could create multiple input boxes and have the put in each coord they jump to and +/- around that coord so the bot as some leeway to move a little to the left or a little to the right...
I got most of my bot done ( the GUI, the variables etc )... But I need help putting in the input box or record route (the main part of the bot I suppose). Heres my code atm, I've been messing with it here and there so some things are out of place and aren't suppose to be in there... So if anyone can 'edit' this code to give me an idea of how to get the path/record route working, I'd most appreciate it. (For the time being I suppose this will only work for an archer, cause I want it working in background and searching for the hp bar makes this not happen... Thats why I wanted an idea for #2 from above :S)
Red part is where I want the main code to go... If there is an easier place to put it, explain.
Code:
#include <NomadMemory.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
Opt("GUICloseOnEsc",1)
HotKeySet("{F5}", "Pause")
Dim $x[11],$y[11],$cur_x,$cur_y, $Paused = True
$PID = ProcessExists("Conquer.exe")
$Mem_Handle = _MemoryOpen($PID)
$x_val = "0x0057F9B8"
$y_val = "0x0057F9BC"
#Region ### START Koda GUI section ### Form=c:\documents and settings\all\desktop\autoit\form1.kxf
$Form1 = GUICreate("Form1", 435, 447, 193, 125)
$Input1 = GUICtrlCreateInput("Input1", 32, 32, 57, 21)
$Input2 = GUICtrlCreateInput("Input1", 32, 64, 57, 21)
$Input3 = GUICtrlCreateInput("Input1", 32, 96, 57, 21)
$Input4 = GUICtrlCreateInput("Input1", 32, 128, 57, 21)
$Input5 = GUICtrlCreateInput("Input1", 32, 160, 57, 21)
$Input6 = GUICtrlCreateInput("Input1", 32, 192, 57, 21)
$Input7 = GUICtrlCreateInput("Input1", 32, 256, 57, 21)
$Input8 = GUICtrlCreateInput("Input1", 32, 224, 57, 21)
$Input9 = GUICtrlCreateInput("Input1", 32, 288, 57, 21)
$Input10 = GUICtrlCreateInput("Input1", 32, 320, 57, 21)
$Input11 = GUICtrlCreateInput("Input1", 32, 352, 57, 21)
$Label1 = GUICtrlCreateLabel("X Coordinate", 24, 392, 65, 17)
$Input12 = GUICtrlCreateInput("Input1", 128, 352, 57, 21)
$Input13 = GUICtrlCreateInput("Input1", 128, 320, 57, 21)
$Input14 = GUICtrlCreateInput("Input1", 128, 288, 57, 21)
$Input15 = GUICtrlCreateInput("Input1", 128, 256, 57, 21)
$Input16 = GUICtrlCreateInput("Input1", 128, 224, 57, 21)
$Input17 = GUICtrlCreateInput("Input1", 128, 192, 57, 21)
$Input18 = GUICtrlCreateInput("Input1", 128, 160, 57, 21)
$Input19 = GUICtrlCreateInput("Input1", 128, 128, 57, 21)
$Input20 = GUICtrlCreateInput("Input1", 128, 96, 57, 21)
$Input21 = GUICtrlCreateInput("Input1", 128, 64, 57, 21)
$Input22 = GUICtrlCreateInput("Input1", 128, 32, 57, 21)
$Label2 = GUICtrlCreateLabel("Y Coordinate", 128, 392, 65, 17)
$Checkbox1 = GUICtrlCreateCheckbox("Pick-Up Meteor", 208, 120, 193, 33)
$Label1 = GUICtrlCreateLabel("Do not check this if you plan to run the bot in", 192, 176, 216, 17)
$Label2 = GUICtrlCreateLabel("Background view... it will not work in background.", 192, 200, 239, 17)
$Label3 = GUICtrlCreateLabel("IMPORTANT NOTE: Minimum X / Y Coord", 208, 16, 207, 17)
$Label4 = GUICtrlCreateLabel("go from top to bottom", 208, 40, 104, 17)
$Input69= GUICtrlCreateInput("AInput1", 216, 248, 201, 21)
$Label5 = GUICtrlCreateLabel("Whatever the client you will be running the bot", 200, 280, 223, 17)
$Label6 = GUICtrlCreateLabel("on, put the number that it is opened from...", 200, 304, 203, 17)
$Label7 = GUICtrlCreateLabel("Ex: If Conquer is the 3rd client you open up you", 200, 328, 227, 17)
$Label8 = GUICtrlCreateLabel("put 3 in the box", 200, 352, 77, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
For $i = 1 To 11
$x[$i - 1] = GuiCtrlRead(Eval($Input & $i))
Next
For $i = 12 To 22
$y[$i - 12] = GuiCtrlRead(Eval($Input & $i))
Next
[B][COLOR="Red"]Pause()
$instance = GuiCtrlRead($Input69)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
$ans = MsgBox(33,"Close","Do you really wish to close?")
If $ans = 1 Then
Exit
EndIf
EndSwitch
WEnd[/COLOR][/B]
Func Pause()
$Paused = Not $Paused
While Not $Paused
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
$ans = MsgBox(33,"Close","Do you really wish to close?")
If $ans = 1 Then
Exit
EndIf
EndSwitch
WEnd
EndFunc
*To you noobs out there, don't steal my script... :P *