Jump to content
Sign in to follow this  

Pixel Bot Help.

Recommended Posts

I have been recently working on a pixel bot and have achieved the core script of it and works, but of course it has an issue.

And here is the code:

While 1
    $coord = PixelSearch( 320, 250, 720, 420, 0xD5D673, 100, 5)
        If Not @error Then
            MouseMove($coord[0],$coord[1], 5000)
            MouseMove(Random(345,675), Random765, 495), 4500) ; this is where the minimap lies.
            sleep(Random(6700, 23900)) ; I think the issue is here.

The pixelserach will find a box that has to be clicked, and if error then it will click somewhere on mini map so that my player moves and during the movement which ever box it comes across is not detected not until the sleep time under Else func is finished. is there a way to carry out pixel search while the player is moving?

Thanks in advance,

Share this post

Link to post
Share on other sites

Read this: http://www.autoitscript.com/forum/forum-2/announcement-13-forum-rules/



Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post

Link to post
Share on other sites
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...