Skip to content

Application flags

HungPV edited this page Jan 29, 2023 · 19 revisions

For a full list of supported flags for each bot function, please run help.bat (Windows) or help.sh (Linux/MacOS)

Name Desc Default Applies to
--help Print help message No All
--exit=X Exit after X seconds, no matter how many turns remaining No exit All
--shutdown Shutdown your computer within 2 minutes after program exited. Should combines with flag --exit No shutdown All
--steam (Windows only) if you want to control Bit Heroes on Steam, with game resolution 800x480 No (800x520) All except Invasion
--web If you want to control Bit Heroes on Web/Mini-client, with game resolution 800x520 Yes (800x520) All
--profile=X Specific configuration profile (contains which Raid/World Boss to farm, which Raid mode Normal/Hard/Heroic to select). Configure it by using function setting None AFK + World Boss + Raid + Change Character + Quest
--debug (for debugging purpose) Print debug messages No print All
--mute Do not push notification to Telegram channel Muted All
--img (for debugging purpose) Save images to ./out/<app_name> directory Not save All
--close-game 1.7.3+: Close game window when bot is going to exit (wait 10 minutes) (applied to Mini-client on Linux and Steam on Windows). 1.7.2 and earlier, it close game window immediately upon bot exiting No close All
--alter-interval (1.7.4+) alter interval of main loop which wait between loop of checking images, if you believe your PC is fast, you can use this flag for a faster progression. Default interval for most functions is 5 seconds, accepted formats are: number = number of seconds / number+s = number of seconds / number+ms = number of milliseconds, eg: 50ms = loop every 50 milliseconds, or 5000ms equals to 5 seconds Not alter AFK + ReRun + PVP/WorldBoss/Raid/Invasion/GVG/Expedition/Trials/Gauntlet
Deprecated --alter-timer (1.7.3 only, from 1.7.4 renamed to --alter-interval) alter time wait between loop of checking images, if you believe your PC is fast, you can use this flag for a faster progression. Default timer for most function is 5 seconds, accepted format is: number = number of seconds / number+s = number of seconds / number+ms = number of milliseconds, eg: 50ms = loop every 50 milliseconds, or 5000ms equals to 5 seconds Not alter AFK + PVP/WorldBoss/Raid/Invasion/GVG/Expedition/Trials/Gauntlet
--disable-persuade (2.3.0+) Disable auto persuade & bribe Persuade with gold ReRun + AFK + Raid
--disable-mutex (2.1.0+) Normally, some functions doesn't allow running multiple instances at the same time. You can use this flag to disable this checking in case it has err and guided to turn off by this bot's creator Some function can not run multiple instances at once to prevent abnormal functional All
--bribe (1.7.5+) do not use this do not use this ReRun + AFK + Raid

How to use:

java -jar BitHeroes.jar "function_name" "param1" ["param2"] [--flags]