Bit Heroes bot v1.2.0
Changelog:
- Add new functions to farm World Boss/PVP/Invasion/Trials
- Scripts name:
world-boss
,pvp
,invasion
,trials
- Not yet supported screen resolution 800x480 (Steam)
- Note for each function:
- World Boss: This function is solo only and does not support select level or type of World Boss, only select by default So which boss do you want to hit? Choose it before turn this on
- PVP: This function only hit first opponent and does not support select PVP ticket cost, so choose it before turn this on
- Invasion: This function does not support select badge cost, so choose it before turn this on
- Trials: This function does not support select difficulty and token cost, so choose it before turn this on
- Scripts name:
Upgrade notes:
- Move the follow files and directory from previous bot version's directory
chrome-user-dir
directory, that folder was created by chrome to do temp cache and also save your game's settinguser-config.properties
file, it contains your configurations
Bit Heroes bot
on Linux / Windows / MacOS
This readme file is for normal users
Developers please read at my github
There're some notes for MacOS users, please read here
Officially support game resolution 800x520 (web + mini-client)
Also partially support Steam version with resolution 800x480
Only support English user interface
*It is recommended to play game using mini client
Contains the following functions:
- Detect and click ReRun button while in Dungeons and Raid
- Auto fishing
- Farm World Boss >> NEW!
- Farm PVP >> NEW!
- Farm Invasion >> NEW!
- Farm Trials >> NEW!
- Launch game in mini client using Google Chrome
Also supports pushing messages to Telegram for notification purpose
Minimum requirement:
- Java 8 (not tested on version 9+ but probably it works)
- Google Chrome installed (if you wish to use the mini client)
Configure:
Have to configure the user-config.properties file
Watch out the following keys:
offset.screen.x
offset.screen.y
They are the coordinate where your game screen starts.
How to fill it correctly? Read me
To enable Telegram notification, follow me
- Set the bot private key to
telegram.token
- Set the channel id to
telegram.channel-id
How to use:
ReRun
This function only supports clicking the ReRun button, that means you have to enter Dungeon/Raid manually, turn on the Auto and when the ReRun button appears, it will be automatically clicked
- Mini-client or Web:
- Windows: click and run
rerun.bat
- Linux/Mac: run
./rerun.sh
from terminal
- Windows: click and run
- Steam:
- Click and run:
steam.rerun.bat
- Run from commandline:
java -jar BitHeroes.jar rerun <loop_count> --steam
- Click and run:
Supported flags:
--exit=X
means will exit after X secs if not completed, no matter how many loop remaining. Usage:./rerun.sh 100 --exit=3600
means will stop ReRun after clicked ReRun buttons 100 times or after 3600 seconds (1 hours), depends which condition completed first- Global flags
Notes:
- Automatically exit if can not detect the ReRun button within 15 minutes
- Automatically exit after detected the Reconnect button
- Support click the arrow button when having a conversation
- Push notification to Telegram when detect Reconnect button (critical), not see ReRun within 15m (critical), exit (normal). But only works if you correctly configured Telegram
Fishing
To use this function, you the to be ready on fishing state, and the Start button is visible clearly on the screen
- Mini-client or Web:
- Windows: click and run
fishing.bat
- Linux/Mac: run
./fishing.sh
from terminal
- Windows: click and run
- Steam:
- Click and run:
steam.fishing.bat
- Run from commandline:
java -jar BitHeroes.jar fishing <hook_count> --steam
- Click and run:
Supported flags:
--exit=X
means will exit after X secs if not completed, no matter how many loop remaining. Usage:./fishing.sh 20 --exit=1800
means will stop fishing after fishing 20 times or after 1800 seconds (30m), depends which condition completed first- Global flags
Farm World Boss / PVP / Invasion / Trials
World Boss Wiki
PVP Wiki
Invasion Wiki
Trials Wiki
Mini client using Google Chrome
Steps:
- Make sure you can play game on Google Chrome web browser at https://www.kongregate.com/games/Juppiomenz/bit-heroes
- Press F12 to open Dev Tools
- Go to Console tab of Dev Tools
- Open file
prepare-mini-chrome-client.txt
- Paste the content into the Console tab
- Copy the output into
user-config.properties
file, make sure to override the correct properties - Generate mini client using:
- Windows: run file
client.bat
- Linux/Mac: run file
./client.sh
from terminal
Enjoy it
- Windows: click and run file
mini-game-on-chrome.bat
- Linux/Mac: run file
./mini
or./mini-game-on-chrome.sh
from terminal
Global flags
--help
show help for specific application, for example:./rerun.sh --help
--steam
(Windows only) for Bit Heroes on Steam with resolution 800x480--web
(default, optional) for Bit Heroes on Web or Mini-client with resolution 800x520--mute
do not push notification to Telegram
Tested environments:
Please find out on each function on wiki
Windows users
If you want to pass parameters/flags to program, you have to edit the *.bat
files manually
For example if you want to use the feature --exit=X
on the ReRun function, you have to edit the rerun.bat
file, modify content
- from
java -jar BitHeroes rerun
- to
java -jar BitHeroes rerun --exit=1800
if you want to stop after 1800 seconds - or to
java -jar BitHeroes rerun 30 --exit=1800
if you want to stop after 30 times ReRun or 1800 seconds, depends on what condition completed first
and then save the file
Otherwise you can run app directly from commandline
java -jar BitHeroes.jar "function_name" "param1" ["param2"] [--flags]
MacOS users
- From MacOS 10.13+, java.awt.Robot class of Java can not do mouse and keyboard interaction, thus none of bot functions will work
- With a bit of luck, you can try to add Java to [System Preferences > Security & Privacy > Accessibility] and see if it works (because MacOS prevent apps from controlling your mac by default).
If it doesn't work, install a higher version of Java, add Accessibility and try again. If it still doesn't work, just give up - Thus this whole project only has the mini-client function will work on MacOS
So this project does not officially supported MacOS, any developer can resolve the above issue, please make a pull request