Sign in to follow this  
Followers 0
siemens

Utopia AFK bot

2 posts in this topic

i would like to get some help from you guys

im playing a game called UTOPIA

i wanna leave it afk for hours

but it only allow us to login for 2 hours max

so 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 code

HotKeySet ("{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

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 :P

Edited by SolidSnake

HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0