Jump to content

Recommended Posts

Posted

can this code running but gets stuck on the first pixel search 


While(1)
;firstmove
$OUT_POTION=False
$pixels= PixelSearch(-1236, 695, -1032, 997, 0xB4BEC3,1)

        If Not(@error) Then
            MouseClick("left",$pixels[0],$pixels[1] 1, 1)
            Sleep (400)
        EndIf
Sleep(300)
;secondmove
MouseClick ("left",-1165, 761, 2, 30)
Sleep(300)
;thirdmove
    $pixels2= PixelSearch(-1236, 695, -1032, 997, 0xB4BEC3,1)

            If Not(@error) Then
               MouseClick("left",$pixels2[0],$pixels2[1],1,1)
               Sleep (400)
             EndIf
Sleep(80000)
WEnd
 

  • Moderators
Posted

@dudealex Welcome to the forum. Can you explain exactly what you're trying to accomplish? There is probably a better way.

 

====In case you missed it, this is a Mod stepping into a thread====

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

  • Jos locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...