Same as the last project except this time much lighter.
Important
Note that the bot only supports Emulators and devices with ADB, not the official desktop client.
Run AutoAFK2.exe and after connecting you should be greeted with the following:
Alternatively the bot is available for AutoAFK as a plugin.
Run Dailies
Will run these tasks to complete your daily quests (as configured in settings.ini
):
- Claim AFK Rewards
- Collect fast rewards (amount configurable)
- Collect Friendship Points
- Collect Mail
- Purchase a 210 gem summon card from the Guild Store in the Emporium
- Battle Arena (number of battles configurable)
- Battle Dream Realm and collect rewards
- Open Tower and push stages until defeat
- Collect all:
- Daily Quests
- Guild Quests
- Growth quests
- Noble Path
- Click all heroes for 6 affinity a day
Can also be run with the launch flag -d
Push Towers
Will open the chosen tower, load formation and indefinitely retry the available stage, repeating after victory.
Can also be run with the launch flag -l
Push AFK Stage
Will open AFK Stage load formation and indefinitely retry the available stage, repeating after victory.
Can also be run with the launch flag -afks
Push AFK Talent Stage
Will open AFK Talent Stage, load formation and indefinitely retry the available stage, repeating after victory.
Can also be run with the launch flag -afkt
Push Dura's Trials
Will open Dura's Trials, load formation and use all paid tries to try and beat it, repeating for upper and lower trials.
Can also be run with the launch flag -charms
Push Quests
A bit experimental, but it will clear dialogue, click items, autopath, fight battles, etc. to clear the active quest. It will not herd rats.
Can also be run with the launch flag -quest
Push Dream Realm
Runs the last configured formation in Dream Realm for all tries including paid.
Can also be run with the launch flag -dr
Run Team-up farming
Will open chat and join any active Corrupt Creature as a priority, if none are found it will send your second-strongest hero to any Synergy battle Requests. Great for farming hearts for affinity items overnight, and helps your server out! You can configure a time limit to run for also.
Can also be run with the launch flag -t
-c config.ini
Will load an alternative settings.ini file when launching, useful for multiple accounts
-s global/vn
Support for the VN server if you are playing on that.
More functionality and features coming whenever we have energy to add them.
⚠️ Important: This application is tested and developed for devices/emulators configured to 1920x1080 Portrait mode.
The bot will attempt to automatically connect to the first found ADB device, but it is not always successful. You may need to manually enter the port in settings.ini
.
- Bluestacks: Go to Settings → Advanced → Enable ADB, the port is the numbers after the
:
. - LDPlayer: Settings → Other Settings → ADB Debugging → Open Local connection, the port should be
5555
by default. - MumuPlayer: Seems ADB is enabled by default on port
7555
. - Connected device: Enable ADB on the device and connect to your computer using a USB cable. If your phone doesn't display a different port, try the default
5555
.
Get the latest release, specify your ADB port in settings.ini
, and run AutoAFK2.exe
with (or without) the appropriate launch parameter.
⚠️ Important: Ensure the port insettings.ini
is correctly configured before proceeding.
- Set up Python Environment
Usepyenv
to install the Python version specified in.python-version
.
choco install pyenv-win
pyenv install $(cat .python-version)
pyenv local $(cat .python-version)
- Create a venv and activate it
pyenv exec python -m venv venv
.\venv\Scripts\activate.ps1
- Install Dependencies
Inside the activated virtual environment, install the required dependencies:
pip install -r requirements.txt
- Run the Application
The scriptAutoAFK2.py
should now be runnable:
python AutoAFK2.py
Make an issue here or DM me on Discord @ Jc.2