Page 1 of 1

ArcheAge Anti-AFK Script

Posted: September 17th, 2014, 8:50 pm
by uberben
Here is a simple AutoIT compiled script that will let you go AFK forever in ArcheAge without getting kicked off of the server. Should work with the game minimzied.

Code: Register to unlock hidden link

#RequireAdmin
Global $tooltip = True, $Current_Version = 1.10
Dim $Win_Key[6] = [ 0, "i", "p", "m", "c", "k"]


HotKeySet("{F10}", "_toggle_tooltip")
HotKeySet("{F11}", "_exit")
AdlibRegister("_Send_key",30000)


$timer = TimerInit()
While 1
    $timer_diff = TimerDiff($timer)
    If $timer_diff > 1000 And $tooltip = True Then
        _tooltip()
        $timer = TimerInit()
    ElseIf $tooltip = False Then
        ToolTip("",0,0)
    EndIf
WEnd

Func _Send_key()
    Sleep(Random(2000,8000,1))
    $title = WinGetTitle("[CLASS:ArcheAge]", "")
    ControlSend($title, "", "", "{space down}")
    Sleep(Random(110,140,1))
    ControlSend($title, "", "", "{space up}")
    Sleep(Random(11000,24000,1))
    _Open_Random_Window()
    Sleep(Random(2000,14000,1))
    _Open_Random_Window()
EndFunc

Func _Open_Random_Window()
    $rnd = Random(1,5,1)
    $title = WinGetTitle("[CLASS:ArcheAge]", "")
    ControlSend($title, "", "", "{" & $Win_Key[$rnd] & " down}")
    Sleep(Random(110,140,1))
    ControlSend($title, "", "", "{" & $Win_Key[$rnd] & " up}")
EndFunc

Func _toggle_tooltip()
    $tooltip = Not $tooltip
EndFunc

Func _tooltip()
    ToolTip("F10: Toggle Tooltip" & @CRLF & "F11: Quit Anti-AFK" & @CRLF & "© Uberben",0,0,"TaultUnleashed Archeage Anti-AFK " & $Current_Version)
EndFunc

Func _exit()
    Exit
EndFunc
Now I've heard that they have implemented some anti-afk coding. So if you *just* press space over and over it will still kick you. I suggest you use this as a base for your own scripts. Add some press W for go forwards, every now and then .

If you make some changes, please post and share them here for others.

PS if you are unfamiliar with autoit, you can see a tutorial here on how to run scripts:
Register to unlock hidden link

Enjoy!

PS, I updated with a new script that does some other random things.

Re: ArcheAge Anti-AFK Script

Posted: September 17th, 2014, 11:18 pm
by Tault_admin
Can anybody confirm?

Looks good btw. nice and clean.

Re: ArcheAge Anti-AFK Script

Posted: September 21st, 2014, 12:13 am
by d__k7
The script will work, but third party programs are all logged so not advisable. They banned 5k scripters so far according to the last GM I spoke to

Re: ArcheAge Anti-AFK Script

Posted: September 21st, 2014, 9:26 pm
by Tault_admin
Confirmed!