Jump to content
Sign in to follow this  
th3f34r

Build a bot with PixelSearch

Recommended Posts

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.

Posted Image

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
WEnd

Thus, 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 by th3f34r

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...