Skip to content
Java bot for Clicker Heroes end game
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.settings
data
src/com/macheret/robotheroes
target
.classpath
.gitignore
.project
LICENSE.md
README.md
pom.xml

README.md

robotheroes

A java bot that plays the Clicker Heroes end game for you.

Bot screenshot

This bot will not work correctly until you have amassed the following:
  1. Iris level ~150
  • Needs to be high enough so that you should be able to immediately purchase Frostleaf after clicking a candy
  1. Vaagur level 15 (max) - for proper cooldown management.
  • This requirement can be skirted by modifying COOLDOWN_PERIOD to Powersurge's cooldown + 1 second for safety (base 15 minutes, or 2.5 minutes after maxing Vaagur's level).
  1. Klepto level 30 (max) - this requirement is minor however and can be modified by changing GOLDEN_CLICK_SECONDS to Golden Click's duration
  2. All your gilds are on Frostleaf or later
  3. Turn off relic popups in the game config. It's slightly helpful to also turn off all popup text and turn on tiny monsters, but that is definitely not required.
Features:
  1. The bot will click the enemy a LOT (40 times per second) and collect gold faster than a human
  2. Every 5 seconds the bot will attempt to scroll down the hero screen, level the bottom-most hero 20 times and buy all available upgrades. Upon reaching a gilded hero, the bot will stop scrolling down.
  3. Cooldowns will be used in the following order (by default Clickstorm is disabled):
  4. 1, 2, 3, 4, 5, 7, 8, 6, 9 (EDR combo)
  5. (wait 15 minutes)
  6. 8, 9, 1, 2, 3, 4, 5, 7
  7. (wait 2.5 minutes)
  8. 1, 2
  9. (wait 2.5 minutes)
  10. 1, 2
  11. (wait 2.5 minutes)
  12. 1, 2, 3, 4
  13. (wait 2.5 minutes)
  14. 1, 2
  15. (wait 2.5 minutes)
  16. 1, 2
  17. (wait 2.5 minutes, then start over again)
  18. Every 10 seconds the bot will check for candy
  • If before ascension time, click the candy immediately
  • If after ascension time (60 minutes by default), confirm that the candy is there 3 times to ensure no false positives, then begin the ascension process
  1. During ascension:
  2. Stop all normal enemy clicking, hero leveling, cooldown usage, and candy clicking
  3. Click relic screen and salvage the new relic if there is one
  4. Click ascend and confirm
  5. Change to progression mode (ascending always changes the game back to farm mode)
  6. Click candy, wait for gold to drop and then collect that gold
  7. Click hero screen, level all heroes up to and including Frostleaf to maximum level required for all their abilities
  8. Resume normal botting (resetting the cooldown state)
Things this bot does not do, and you need to handle manually:
  1. Spending your hero souls for you. I recommend an ancients optimizer for that.
  2. Choosing which relic to salvage. The bot automatically salvages the newest relic.
  3. Command mercenaries on quests
  4. Organize your gilds for you. Be careful - if you've put all your gilds into Atlas and then you receive a random gild on Frostleaf, the bot will stop progressing past Frostleaf.
  5. Save your game
Prerequesites to run:
  1. Java 7 or greater
  2. A browser that can run Clicker Heroes (a shockwave flash game)
  3. Download the jar file or use git the clone the source with git clone git@github.com:andrewmacheret/robotheroes.git
To run:
  1. Level all heroes before Frostleaf to high enough level to upgrade all abilties, and level Frostleaf at least once, and turn on progression mode
  2. Scroll down to the very bottom of the hero list
  3. If necessary, use mvn package if you made any changes to the source files (requires mvn)
  4. Start the bot: java -jar target/robotheroes-1.0.jar
  5. Follow instructions:
  • Turn off capslock if it is on
  • Focus on the window Clicker Heroes is running in and move the mouse to the top left corner of the game, then press capslock
  • Press capslocks 2 more times to confirm you are ready
  1. Watch the magic
  • Don't move the window while the bot is running
  • In order to pause the bot, turn off capslock. To resume, turn on capslock.
You can’t perform that action at this time.