aznkaoz Posted January 16, 2005 Share Posted January 16, 2005 works pretty slow? anyone help with improvements $X = 0 $Pixel = 0xADBE4A $start = MsgBox(4, "aZnKaOz Rose Bot", "Click Yes To Start") If $start = 7 Then MsgBox(0, "aZnKaOz Rose Bot", "Then Dont Open This Program") Exit EndIf MsgBox(4,"aZnKaOz Bot","Click Yes Then Switch To Rose Window") WinWaitActive("ROSE online") $size = WinGetPos("ROSE online") If @error Then msgbox(4,"aZnKaOz Rose Bot","Might Wanna Open Rose First Restart Bot") EndIf Do $mon = PixelSearch( $size[0], $size[1], $size[2], $size[3], $Pixel, 3 ) If Not @error Then $file = FileOpen("log.txt", 1) If $file = -1 Then MsgBox(0, "Error", "Unable to open file.") Exit EndIf FileWrite($file, "Clicked mob at X: " & $mon[0] & ", Y: " & $mon[1] & @CRLF) MouseClick("left", $mon[0], $mon[1], 10) Sleep(8000) Send("{F1}") Send("{F2}") Else Send("{LEFT}20") EndIf Until $X = 1 Exit Link to comment Share on other sites More sharing options...
DirtyBanditos Posted January 16, 2005 Share Posted January 16, 2005 (edited) works pretty slow? anyone help with improvements$X = 0$Pixel = 0xADBE4A $start = MsgBox(4, "aZnKaOz Rose Bot", "Click Yes To Start")If $start = 7 Then MsgBox(0, "aZnKaOz Rose Bot", "Then Dont Open This Program") ExitEndIfMsgBox(4,"aZnKaOz Bot","Click Yes Then Switch To Rose Window")WinWaitActive("ROSE online")$size = WinGetPos("ROSE online")If @error Then msgbox(4,"aZnKaOz Rose Bot","Might Wanna Open Rose First Restart Bot")EndIfDo $mon = PixelSearch( $size[0], $size[1], $size[2], $size[3], $Pixel, 3 ) If Not @error Then $file = FileOpen("log.txt", 1) If $file = -1 Then MsgBox(0, "Error", "Unable to open file.") Exit EndIf FileWrite($file, "Clicked mob at X: " & $mon[0] & ", Y: " & $mon[1] & @CRLF) MouseClick("left", $mon[0], $mon[1], 10) Sleep(8000) Send("{F1}") Send("{F2}") Else Send("{LEFT}20") EndIfUntil $X = 1Exit<{POST_SNAPBACK}>Hello i understand your Prob i have a very old comp Windows xp Home Service Pack 2 , Pentium3 933 MHz and it wörks very fast !I Wat is Slow for you=? Edited January 16, 2005 by DirtyBanditos Link to comment Share on other sites More sharing options...
aznkaoz Posted January 16, 2005 Author Share Posted January 16, 2005 (edited) i ono ppl said it ran slow lol o well thankz anyways well is there anyway to speed up the pixel detection?? Edited January 16, 2005 by aznkaoz Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now