So Im trying to make my own bot on my own for the sole purpose of learning and I thought I had it down with AutoIT but it always says script paused, can someone tell me where I went wrong?
heres the script
WinActivate("[Conquer2.0]")
Do
$count = 0
$count = $count + 1
ControlClick("", "??", 1 , "left", 1)
$ControlID = 1
$ControlID = $ControlID + 1
Do
ControlClick("", "??", $ControlID, "right", 2)
Until $ControlID = 1800
$ControlID2 = 1
$ControlID2 = $ControlID2 + 1
Do
ControlClick("", "???", $ControlID2, "Right", 2)
Until $ControlID2 = 1800
$ControlID3 = 1
$ControlID3 = $ControlID3 + 1
Do
ControlClick("", "????", $ControlID3, "right", 2)
Until $ControlID3 = 1800
Until $count = 100000
Exit
If Send("{Del}") Then
Exit
EndIf
I realize its pretty short for a bot but I couldnt understand how to make it click pixels so I tried to make it work by Control Clicking Incrementals so any tips or tricks as to make this work?
Try this, the important thing is the Opt("WinTitleMatchMode",2) part. Anyway, it also seems wierd the parth with the control click..y is the first part in quotes bloank and the 2nd part with question marks..there were no errors, but i dunt no wat it does so i culdnt test..shuld work...and wat is this supposed to do, pm me
Originally posted by >>X@Oct 3 2006, 03:56 its meant to be a loop chris thats what the 100k repititions are and because the controlID for every monster is different I wanted to try this
ID them by their pixels instead I would say.
Instead you could get all active Control IDs as well.