A game bot for Clicker Heroes.
- Features
- Minimum recommended game state
- Step-by-step Guide
- Troubleshooting
- Known issues
- Hotkeys
- Questions or comments?
- Automated Hero Souls farming
- Vision Run loop (Ctrl+F1)
- Supports idle, hybrid and active play
- Finds gilded heroes/rangers automatically
- Picks up clickables without breaking idle
- Automatic switches from idle to active in hybrid mode
- Automatic ascensions
- Automatic reload/restart/resume
- Option to auto-save before ascending
- Option to auto-level Solomon after ascending
- Limitations: Only supported in the CH browser client (in low quality). The window must also be visible in the foreground
- Hotkeys for raiding
- Separate active monster clicker script
- Built in click speed throttle (when mouse enters window)
- Remotely operated by the main bot script
- Supports user defined skill combos (see
tools/combo_tester.ahk
) - Monitored click safety zones preventing bot misclicks
- Logging to file
- Two world ascensions to get the Buy Available Upgrades button
- Recommendation: Save 100 rubies and buy two Quick Ascension's @ Lvl 10 after every Transcension.
1. Start Clicker Heroes in your browser and set the graphics quality to low. Click the wrench and make sure these three options are unchecked:
2. Download and install the latest version of AutoHotkey
3. Download the latest bot release from GitHub:
5. Double-click the ch_sw1ft_bot.ahk
file to start the bot:
Unless you run Clicker Heroes in the Opera browser, you will get the following error message:
This is expected.
In your taskbar you should see two green H icons. One for the bot, one for separate monster clicker:
Unless they already exist, three user settings files will be created:
6. Open the ch_bot_lib_settings.ahk
file:
Important! Use a decent text editor, like Sublime Text or Notepad++ when you configure this bot.
- If needed, change the
browser
name. - Make sure the Clicker Heroes window have focus, then click Ctrl+Middle Mouse Button dead center in the ancient tab eye like this:
- Update the
browserTopMargin
according to the pop-up window:
- Save and reload the script with Alt+F5.
Test hotkeys:
- Ctrl+Alt+F1 should scroll down to the bottom, then back up
- Ctrl+Alt+F2 should switch between all used tabs
If any of these two fail, check the Troubleshooting section and the FAQ for possible solutions.
7. Open the ch_bot_settings.ahk
file:
-
With e.g. a lvl 90,000 Siyalatas:
Following the regilding chart, you should be gilded on Moloch:
Then you would setgildedRanger
to 11. -
Depending on your playstyle, you set
endLvlIdle
andendLvlActive
differently: -
The settings for
chronos
,kumawakamaru
andvaagur
:
Should match your in-game values:
Recommended optional settings:
- Set
autoAscend
to "true" - Set
saveBeforeAscending
to "true" - Set
noSleep
to "true"
8. Save and reload with Alt+F5, then start the Vision Run with Ctrl+F1.
Open today's log file. The most important bits here are:
DEBUG browser = Opera
DEBUG browserTopMargin = 216
DEBUG gildedRanger = Moloch
DEBUG endLvlIdle = 99999
DEBUG endLvlActive = 100000
DEBUG chronos = 11.36
DEBUG kumawakamaru = -2.59
DEBUG vaagur = -39.71
INFO Recommended transitional hero(es): Banana > Alabaster
Make sure these match with your settings. Also put 1 gild on the recommended transitional hero(es).
- Keep your mouse pointer outside the Clicker Heroes window to avoid click speed throttling.
- Use a separate web browser for web surfing while running the script.
- Make sure your browser window is not zoomed in or out, and is at 100% viewing size.
- In Windows:
- Active power savings settings turning off your monitor(s), can cause issues with AHK's image recognition. To combat this, you can enable the
noSleep
bot setting. - The script can't handle any extra stuff on the left side, e.g. a bookmark list.
State | Error | Solution |
---|---|---|
-2 | No Clicker Heroes window found | Open the client |
-1 | Vision, but not in browser | Use the browser client |
0 | Vision, but not finding anything | In Windows, use standard 100% (96 DPI) display scaling in (32 bit) True Color |
Hotkey | Function |
---|---|
Ctrl+F1 | Start the Vision Run loop |
Ctrl+F3 | Reload and restart Vision Run loop |
Pause | Pause/unpause the script |
Alt+Pause | Abort any active run or initiated ascension |
Shift+Pause | Schedule a stop after finishing the current run |
Alt+F5 | Reload the script (needed after configuration changes) |
Shift+Ctrl+F5 | Schedule a script reload after finishing the current run, then restart it |
Alt+F6 | Re-initialize coordinates (needed after moving or re-sizing the client window) |
These hotkeys can be executed while a Vision run is active.
Hotkey | Function |
---|---|
Ctrl+Esc | Suspend/Unsuspend all other Hotkeys |
Ctrl+F11 | Autosave the game |
Win+F6 | Raid once for free |
Win+F7 | One paid raid |
Win+F8 | raidAttempts paid raids |
Shift+Ctrl+F1 | Toggle the autoAscend flag |
Shift+Ctrl+F6 | Toggle the playNotificationSounds flag |
Shift+Ctrl+F7 | Toggle the playWarningSounds flag |
Shift+Ctrl+F11 | Toggle the saveBeforeAscending flag |