Automated bot for AFK Arena game. Handles daily activities, arena battles, guild hunts, and more.
- ✅ Daily activities automation (26 activities)
- ✅ Arena battles (Arena of Heroes, Heroes of Esperia)
- ✅ Guild hunts and activities
- ✅ Bounty board management
- ✅ Shop purchases
- ✅ Tower pushing
- ✅ Labyrinth runs
- ✅ Campaign progression
- ✅ Summon management
- ✅ Auto-update system
- ✅ Headless mode support
Download the latest AutoAFK.zip from Releases
Extract the entire folder to your desired location.
Rename settings.ini.example to settings.ini and edit the settings you want to enable/disable.
Double-click AutoAFK.exe
- Windows 10/11 (64-bit)
- Android emulator or device with ADB enabled
- ADB is included in the release package
- No Python required (fully compiled)
Edit settings.ini:
[DAILIES]
collectrewards = True # Collect AFK rewards
collectmail = True # Collect mail
fastrewards = 0 # Fast rewards count (0 = disabled)
companionpoints = True # Collect companion points
fountainoftime = True # Use Fountain of Time
kingstower = True # Attempt King's Tower
collectinn = True # Collect from Inn
guildhunt = True # Do guild hunts
storepurchases = True # Make shop purchases
twistedrealm = True # Do Twisted Realm
collectquests = True # Collect quest rewards
runlab = True # Run Labyrinth
levelup = True # Auto level up heroes
summonhero = False # Auto summon heroes[ARENA]
battlearena = True # Battle in Arena of Heroes
arenabattles = 5 # Number of battles
arenaopponent = 1 # Opponent selection (1-4)
tscollect = True # Collect Temporal Rift rewards
gladiatorcollect = True # Collect Gladiator Arena rewards[BOUNTIES]
dispatchsolobounties = True # Dispatch solo bounties
dispatchteambounties = True # Dispatch team bounties
dispatchdust = True # Accept dust bounties
dispatchdiamonds = False # Accept diamond bounties
dispatchshards = True # Accept shard bounties
refreshes = 0 # Number of refreshes
remaining = 2 # Minimum remaining slots[SHOP]
arcanestaffs = True # Buy Arcane Staffs
timegazer = True # Buy Timegazer cards
dust_gold = True # Buy dust with gold
shards_gold = True # Buy shards with gold
poe = True # Buy from PoE shop
quick = True # Quick purchase mode[EVENTS]
fightoffates = False # Do Fight of Fates
battleofblood = False # Do Battle of Blood
circustour = False # Do Circus Tour
heroesofesperia = False # Do Heroes of Esperia[ADVANCED]
port = 0 # ADB port (0 = auto)
loadingmuliplier = 1.0 # Speed multiplier (1.0 = normal)
server = 0 # Server selection
debug = False # Debug mode
autoupdate = True # Auto-update on startup
emulatorpath = C:\path\to\emulator.exe # Emulator path for restartThe bot supports running without GUI for automation and scheduling.
Run all configured daily activities:
AutoAFK.exe --dailiesOr use the provided script:
start_dailies.batPush all towers automatically:
AutoAFK.exe --autotowerPush a specific tower:
AutoAFK.exe --tower c # Celestial TowerAvailable tower codes:
kt- King's Towerlb- Lightbearer Towerm- Mauler Towerw- Wilder Towergb- Graveborn Towerc- Celestial Towerh- Hypogean Tower
You can schedule the bot to run automatically using Windows Task Scheduler:
- Open Task Scheduler
- Create Basic Task
- Set trigger (e.g., daily at 8:00 AM)
- Action: Start a program
- Program:
C:\path\to\AutoAFK.exe - Arguments:
--dailies - Save and test
The bot checks for updates on startup and shows a notification if available.
Run:
update.batThe updater will:
- Download the latest version
- Backup your settings
- Install the update
- Restart the bot automatically
Note: Updater is fully compiled - no Python installation needed!
Enable in settings.ini:
[ADVANCED]
autoupdate = TrueThe bot will automatically update and restart when a new version is available.
- Check if ADB is working:
adb devices - Check if device is connected
- Check
settings.iniconfiguration - Check logs in
logs/folder
ADB is included in the release package. If you have issues:
- Make sure
adb.exeandAdbWinApi.dllare in the same folder asAutoAFK.exe - Try restarting the emulator
- Check if Windows Defender is blocking ADB
- Run
adb devicesin command prompt to see connected devices - Make sure USB debugging is enabled (for physical devices)
- Make sure ADB is enabled in emulator settings
- Try restarting ADB:
adb kill-serverthenadb start-server - If using emulator, set correct port in
settings.iniunder[ADVANCED]section:port = 5555 # or your emulator's port
- Check if game is running
- Check if game is at campaign screen
- Check image recognition settings
- Check debug screenshots in
debug/folder
- Download manually from Releases
- Extract and replace all files except
settings.ini - Run
AutoAFK.exe
Note: Updater is fully compiled, no Python needed!
AutoAFK.exeRun daily activities without GUI:
AutoAFK.exe --dailies
# or
start_dailies.batPush all towers automatically:
AutoAFK.exe --autotowerPush specific tower:
AutoAFK.exe --tower kt # King's Tower
AutoAFK.exe --tower lb # Lightbearer Tower
AutoAFK.exe --tower m # Mauler Tower
AutoAFK.exe --tower w # Wilder Tower
AutoAFK.exe --tower gb # Graveborn Tower
AutoAFK.exe --tower c # Celestial Tower
AutoAFK.exe --tower h # Hypogean Tower-c, --config FILE Use custom config file (default: settings.ini)
-d, --dailies Run dailies without GUI
-at, --autotower Push all towers automatically
-t, --tower NAME Push specific tower (kt, lb, m, w, gb, c, h)
-l, --logging Enable file logging
# Run dailies with custom config
AutoAFK.exe --dailies --config my_settings.ini
# Push Celestial Tower with logging
AutoAFK.exe --tower c --logging
# Push all towers
AutoAFK.exe --autotower- Report issues: GitHub Issues
- Support development: Ko-fi ☕
If you find this bot helpful, consider supporting its development!
This bot is for educational purposes only. Use at your own risk. The authors are not responsible for any consequences of using this bot.