th3f34r Posted August 13, 2011 Posted August 13, 2011 (edited) I'm trying to create a bot for this game, where when it detects the color of the note that is close to come, he presses the key corresponding to the note.I'm trying to do this:While 1 $n = PixelSearch(298, 587,364, 650,0xD2D2D2,16) If IsArray($n) Then tooltip('1', $n[0], $n[1]) EndIf WEndThus, I have to place the browser in the right place for him to detect that color, but if I change, then it is not working.What can I do to improve it? There are other easier and better ways to do this?Thank. Edited August 13, 2011 by th3f34r
somdcomputerguy Posted August 13, 2011 Posted August 13, 2011 Look up MouseCoordMode in the Helpfile, and read the Forum Rules. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
th3f34r Posted August 13, 2011 Author Posted August 13, 2011 I still don't understand how to use and why to use this function.
wakillon Posted August 13, 2011 Posted August 13, 2011 (edited) I still don't understand how to use and why to use this function.It 's because you didn't read the Forum Rules ! Edited August 13, 2011 by wakillon AutoIt 3.3.18.0 X86 - SciTE 4.4.6.0 - WIN 11 24H2 X64 - Other Examples Scripts
Recommended Posts