siemens Posted December 23, 2006 Posted December 23, 2006 i would like to get some help from you guysim playing a game called UTOPIAi wanna leave it afk for hoursbut it only allow us to login for 2 hours maxso i try making it autologin when the time is up..i would also like to make it autorefresh max every minutes??they will show You have been logged in for several hours. For security purposes, you will need to re-login to continue playing. if you login too long..heres the codeexpandcollapse popupHotKeySet ("{ESC}", "MyExit") Run(@ProgramFilesDir & "\Mozilla Firefox\firefox.exe") sleep(1000) WinWaitActive("Mozilla Firefox Start Page - Mozilla Firefox") MouseClick("left", 721, 71) sleep(1000) Send("^!a") sleep(1000) Send("{DEL}") sleep(1000) send("http://games.swirve.com/utopia/login3.htm") Send("{ENTER}") sleep(5000) MouseClick("left", 645, 548, 2) WinWaitActive("Genesis - Mozilla Firefox") sleep(1000) MouseClick("left", 563, 564, 2) While 1 If WinGetText("Utopia - Mozilla Firefox", "You have been logged in for several hours. For security purposes, you will need to re-login to continue playing.") Then MouseClick("left", 721, 71) sleep(1000) Send("^!a") sleep(1000) Send("{DEL}") sleep(1000) send("http://games.swirve.com/utopia/login3.htm") Send("{ENTER}") sleep(5000) MouseClick("left", 645, 548, 2) WinWaitActive("Genesis - Mozilla Firefox") sleep(1000) MouseClick("left", 563, 564, 2) EndIf WEnd Func MyExit () Exit EndFunc
FuryCell Posted December 23, 2006 Posted December 23, 2006 (edited) Would't It just be better to move the mouse or generate some other form of input so the logout is prevented. Be careful though as some games consider that botting and will ban your account. Edit:1000 Posts Edited December 23, 2006 by SolidSnake HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.
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