abso Posted July 10, 2007 Posted July 10, 2007 Hey guys, im new with AutoIt and I try to code a Cabal Online bot. I got a GameGuard bypass , but every 5mins I get a Disconnect. I want to make a Login bot that logs in automatilly after Disconnect, So far I am: sleep(200) WinActivate ("CABAL") sleep(200) send("ACCOUNT ID") sleep(200) send ("{TAB}") sleep(100) send("PASSWORD") sleep (1000) send ("{enter}") sleep(1000) send ("{right}") send ("{down 11}") send ("{enter}") sleep(5000) send ("{enter}") so now I am Ingame , after 3-5 minutes I get a disconnect and come back to the Start (Login Screen) How I can make it that my script returns after disconnect? can someone help me? Thanks, abso
abso Posted July 10, 2007 Author Posted July 10, 2007 If Hex(PixelGetColor(904, 709),6) = "2C4537" Then sleep(200) WinActivate ("CABAL") sleep(200) send("ACCOUNT") sleep(200) send ("{TAB}") sleep(100) send("PASSWORD") sleep (1000) send ("{enter}") sleep(1000) send ("{right}") send ("{down 11}") send ("{enter}") sleep(5000) send ("{enter}") EndIf whats wrong with this script ,, If Hex(PixelGetColor(904, 709),6) = "2C4537" Then without this everythings works fine :/
Leighwyn Posted July 10, 2007 Posted July 10, 2007 If Hex(PixelGetColor(904, 709),6) = "2C4537" Thensleep(200)WinActivate ("CABAL")sleep(200)send("ACCOUNT")sleep(200)send ("{TAB}")sleep(100)send("PASSWORD")sleep (1000)send ("{enter}")sleep(1000)send ("{right}")send ("{down 11}")send ("{enter}")sleep(5000)send ("{enter}") EndIfwhats wrong with this script ,,If Hex(PixelGetColor(904, 709),6) = "2C4537" Then without this everythings works fine :/Does it work if you replace Hex(PixelGetColor(904, 709),6) = "2C4537"withPixelGetColor(904, 709) = dec("2C4537") ?If not, then you may just not have the color correct.
abso Posted July 10, 2007 Author Posted July 10, 2007 works fine thanks for your help... it was a really fast answere
abso Posted July 10, 2007 Author Posted July 10, 2007 the script ends after I logged in onetime , how can I make the script stay open or running?!
mikehunt114 Posted July 10, 2007 Posted July 10, 2007 While 1 ;script Wend IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font]
taylansan Posted July 29, 2007 Posted July 29, 2007 I got a GameGuard bypass , but every 5mins I get a Disconnect.how did u manage it?i cant get pixel colors cuz of gg TY.
Infinitex0 Posted July 29, 2007 Posted July 29, 2007 Uhhhhhhhhhhhh aren't gonna get caught botting if you keep dc'ing every 5 minutes? The below statement is False.The above statement is True.a lesson I learned from Greenmachine; give a man a code and he'll solve one problem. Teach a man to code and he'll solve all his problems.P.S please don't use autoIt as a virus creator/spyware maker(keyLogger especially)Cick this and help me[center]My Scripts:[/center][center]Port Scanner[/center]
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