Jump to content

Help please


Recommended Posts

where should i put SetProccesPriority(@autoitPID,5) to priority the pixelsearch?

HotKeySet("{ESC}", "MyExit")

WinActivate("[Conquer]")

While 1 ; repeat statements over

; look for monster and attack him

$CoordMonster = PixelSearch ( 0,0,800,800,0xbd0000,25 )

If Not @error Then

MouseClick ( "Right" , $CoordMonster[0], $CoordMonster[1] , 1,1)

EndIf

; if mana is empty replenish it

If PixelGetColor( 119, 780) = (0x94929c) Then

For $i = 3 to $i = 1 Step -1

Send("{F7}")

Sleep(2000)

Next

EndIf

Wend

Func MyExit()

Exit

EndFunc

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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