Anti-AFK GUI is a program designed to bypass kicks from the server due to inactivity. It is universal and contains various settings. And most importantly, it works in the background! You don't have to keep your game open all the time.
Some antivirus programs (including Microsoft Defender) flag the program as a virus. This is a false positive. In any case, you can run the script yourself:
- Install the latest version of Python (3.x)
- Download the source code
- Install the required libraries from requirements.txt
pip install -r requirements.txt
- Specify the
Window text
field and configure other settings. - Minimize windows with the specified titles.
- Press the
Start
button.
To reset AFK timers in maximized windows as well, activate the Maximized windows
checkbox.
Tip
If the target game allows you to run multiple instances, you can simultaneously play on the main account and grind in minimized windows using alts, resetting their AFK timers.
- Anti-AFK identifies all windows matching the
Window text
. - Input is blocked, and the target windows becomes transparent (if the appropriate settings are enabled).
- The windows are briefly brought to the foreground.
- Keystrokes are sent to reset any potential AFK timers.
- This repeats every
Interval
.
Important
When the window opens, stop clicking the mouse and pressing keys, otherwise you will interfere with Anti-AFK. After window automatically minimizes, you can continue your work.
Setting name | Purpose |
---|---|
Window text |
Target window titles |
Interval |
AFK timer reset interval |
Activity type |
Pre-built activity scenarios |
Activity delay |
Delay between target window opening and activity |
- You can determine the window title by hovering over the game window or checking in the task manager.
Window text
andProcess names
can be entered separately by commas in the field or in the list entry window using the...
button.- During activity, keys will be randomly held for a duration ranging from 300 to 600 ms.
- After opening the
Screensaver
, it will automatically close upon mouse movement. - If you’ve set the
Turn off the PC
option in theDelayed Kill Options
, your computer will shut down 5 minutes after certain processes end. This gives you time to cancel the shutdown if needed.
Warning
Turn off the PC
function forcefully terminates the computer. All unsaved data will be lost.
- If the activity triggers before the window is fully loaded, try increasing the
Activity delay
. - In the case of unexpected exceptions, input block is automatically disabled. However, if for some reason this doesn't work, use the Control-Alt-Delete key combination to access the task manager and terminate the program from there.
Make sure that using macros is allowed in your game.
Remember, however, that each player is responsible for the actions on his account. If you choose to use Anti-AFK, it is your responsibility if you get banned for using it. I do not take any responsibility for any damage caused.
- Overriding settings: add the ability to create individual settings for each application.
- Add the ability to create and edit activity scenarios (
Activity types
) in the graphical interface.
Made with
♥️ by JunkBeat