aznkaoz 0 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 Share this post Link to post Share on other sites
DirtyBanditos 0 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 Share this post Link to post Share on other sites
aznkaoz 0 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 Share this post Link to post Share on other sites