mlaxng Posted October 12, 2010 Share Posted October 12, 2010 (edited) 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 October 13, 2010 by Jos Link to comment Share on other sites More sharing options...
mlaxng Posted October 12, 2010 Author Share Posted October 12, 2010 expandcollapse popup;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 More sharing options...
enaiman Posted October 12, 2010 Share Posted October 12, 2010 Always a good idea to read announcements before posting:http://www.autoitscript.com/forum/index.php?showannouncement=12&f=2Your 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 More sharing options...
JohnOne Posted October 12, 2010 Share Posted October 12, 2010 It needs a trigangaline helix array loop. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Recommended Posts