Jump to content

Holy Beast bot error


mlaxng
 Share

Recommended Posts

the script is not working ...

can fix?

;Made by Snow9 ;thx to elitepvpers.com for learning me the basics of auto it ; ;move the enemys lifebar to the upper right corner ;of the screen and make sure its on top of your map ;your life bar should be in the upper left corner Global $Paused HotKeySet("{end}", "Pause") HotKeySet("{home}", "Start") While 1     Sleep(100) WEnd Func Pause()     $Paused = NOT $Paused     While $Paused         sleep(100)     WEnd EndFunc ; keys (f1 f2 etc dont work for HBO) ; &     1 ; é    2 ; "     3 ; '     4 ; (     5 ; §    6 ; è    7 ; !     8 ; ç    9 ; à    0 Func Start() while 1     Sleep(100)     Send("{tab}")   ;i send tab here, and it does work, mob is selected Else         while $mob = NOT "72812c" ;last pixel of mobs lifebar, if this is not red(72812c is the hex code) then the mob is dead, but pixelsearch doesnt work in hbo         Send("{ç}")         $mm = PixelGetColor ( 1138,12 )         $mob = Hex($mm, 6)         wend         Send("{à}")         Sleep(500)         Send("{à}")         Sleep(300)         Send("{à}")     EndIf endif Wend endfunc
Edited by Jos
Link to comment
Share on other sites

;Made by Snow9
;thx to elitepvpers.com for learning me the basics of auto it
;
;move the enemys lifebar to the upper right corner
;of the screen and make sure its on top of your map
;your life bar should be in the upper left corner

Global $Paused
HotKeySet("{end}", "Pause")
HotKeySet("{home}", "Start")

While 1
    Sleep(100)
WEnd

Func Pause()
    $Paused = NOT $Paused
    While $Paused
        sleep(100)
    WEnd
EndFunc

; keys (f1 f2 etc dont work for HBO)
; &     1
; é    2
; "     3
; '     4
; (     5
; §    6
; è    7
; !     8
; ç    9
; à    0

Func Start()
while 1
    Sleep(100)
    Send("{tab}")   ;i send tab here, and it does work, mob is selected
Else

        while $mob = NOT "72812c" ;last pixel of mobs lifebar, if this is not red(72812c is the hex code) then the mob is dead, but pixelsearch doesnt work in hbo
        Send("{ç}")
        $mm = PixelGetColor ( 1138,12 )
        $mob = Hex($mm, 6)
        wend
        Send("{à}")
        Sleep(500)
        Send("{à}")
        Sleep(300)
        Send("{à}")
    EndIf
endif

Wend

endfunc

Link to comment
Share on other sites

Always a good idea to read announcements before posting:

http://www.autoitscript.com/forum/index.php?showannouncement=12&f=2

Your post falls under "game automation" and it will be closed soon by a moderator.

SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

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...