Just updated my Anti-AFK script !
Requierments : AutoHotKey (last version I guess)
How it works :
Just start it, it will simulate a key press (i, can be changed) every 1 min in average.
It is not game-intrusive ! That means you can play whiel it's active !
Press Numpad 8 to exit (can be changed)
Well providing screenshots would be useless, let me know if you think about something to improve.
How you get this ?
Just grab the source code and paste it in a .ahk file and start it!
You can also download it directly.
/!\ This won't work if you renamed Trove's window (Some account launchers are doing that, care)
If you want to change the key used just type what you want instead of KEY and replace inside the code 2 following lines :
To change the amount of time between 2 keypresses, change TIME (WaitR gives back a time between 72*TIME and 125*TIME)
And paste it at the end of the code(aitR(100))
Code:
WaitR(TIME)
Code:
Loop
{
WinGet, id, list, Trove
i := 0
Loop %id%
{
i:= i + 1
d := id%i%
WinGet, PID, PID, ahk_id %d%
ControlSend, , {i down}, ahk_pid %PID%
WaitR(1)
ControlSend, , {i up}, ahk_pid %PID%
WaitR(1)
}
WaitR(999)
}
Numpad8::
ExitApp
WaitR(m)
{
Random, w, 55, 65
w := w * m
Sleep, %w%
}
Code:
V1.0 (604b):
Initial release
V1.1 (516b):
Key changed
V1.2 (333b):
Comments and useless stuff removed
Vars renamed
Increased time between keypresses
Mainly weight update