Some help with pixel bot

09/14/2013 19:10 ionut$tar#1
Hi every body I started to make an pixel bot bonus box wich work on all resolution ,, I finish him ... but It click on the screen complet bad .. in a few seconds click 20x

If you want full Source ..I will give you in PM ... ( only at trusted members)


here's a screen

[Only registered and activated users can see links. Click Here To Register...]
09/14/2013 19:17 alpines#2
Why the f*** do you erase these areas with paint?
Nobody has any advantage of seeing that.

The problem you -might- have is the syntax of Random.
Code:
Random($iFrom, $iTo, $iFlag)
;$iFrom e.g. 5
;$iTo e.g. 10
;$iFlag e.g. 1 (1 = Rounded Integer)
2nd one:
If your Script sees 0xFFFFDB then it's going to click left and it repeats over and over again.
You don't do anything to exit the Loop e.g. with ExitLoop.

And: ALWAYS declare in the top of your scripts, never do it that often!
09/14/2013 19:20 ionut$tar#3
I don't know,, but it don't show me any error in autoit .. :(
09/14/2013 21:34 alpines#4
Tried to exit the Loop with ExitLoop after your If is complete?

It may work if you put ExitLoop under
Sleep(1600) and MouseClick("left")
09/14/2013 21:50 ionut$tar#5
Don't work :( :( add me on skype : alexut2015
09/14/2013 22:05 alpines#6
If it clicks that often that may mean that your PixelSearch does not work properly, because if it doesn't work then it's not an Array => MouseClick left, and do the thing over and over again.

Better put Sleep(4000) in front of PixelSearch because it may take some time to load up the graphics.
09/14/2013 23:35 ionut$tar#7
Edit : The problem resolved !! #closerequest