Jump to content

Recommended Posts

Posted (edited)

Well i put some time and effort into creating a clicker for my favourite online text game. I have to wait for tomorrow to continue coding because i can't click more than 350 times a day.

v1.0Features :

Automation of Clicks [x]

Bypass Refresh Message Page [x]

Message when done clicking [x]

Waits Untill Page has loaded [x]

Here is what i have so far. Tomorrow it will be tested again.

Run("C:\Program Files\Internet Explorer\iexplore.exe")
WinWait("Dark Throne (beta) Recruitloop - Microsoft Internet Explorer")
Global $Paused
HotKeySet("{ESC}", "Pause")


While 1
    If PixelGetColor(600, 500) = 0 And StatusbarGetText("Dark Throne (beta) Recruitloop - Microsoft Internet Explorer") = "Done" Then
        MouseClick("Left", 566, 388, 1)
    EndIf
WEnd

While 2
    If PixelGetColor(600, 500) = 0 And WinGetText("Dark Throne (beta) Recruitloop - Microsoft Internet Explorer", "Due to players using automated programs which hurt our site, refreshing has been disabled. Please use the recruit! button on the recruiter. Click here to continue") Then
        MouseClick("Left", 577, 484, 1)
    EndIf
WEnd

While 3
    If PixelGetColor(600, 500) = 0 And WinGetText("Dark Throne (beta) Recruitloop - Microsoft Internet Explorer", "You have already clicked the maximum number of members for today") Then
        MsgBox(48, "Done", "You have finished Clicking!")
    EndIf
WEnd


Func Pause()
    $Paused = Not $Paused
    While $Paused
        Sleep(100)
        ToolTip('Paused', 0, 0)
    WEnd
    ToolTip("")
EndFunc ;==>Pause

Any tips or tricks will be apreciated!

Thanks to Burrup for being a great help!

Edited by Googler24022
Guest ScionOfChaos
Posted

Heh funny thing is I quit this game about a day or two you posted this. Nice script though. :(

  • 1 year later...

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...