Jump to content

PixelSearch Problem (beginner) - (Locked)


dudealex
 Share

Recommended Posts


While(1)
;overload
$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)
;rockcake
MouseClick ("left",-1165, 761, 2, 30)
Sleep(300)
;absord
    $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

Link to comment
Share on other sites

  • Moderators

Welcome to the AutoIt forum.

Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked.

See you soon with a legitimate question I hope.

The Moderation team

"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!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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