Friday, December 5, 2014

Clicker Heroes Automation

The game is all automation and clicking.  I got tired of all the clicking after the first hour.  So, I figured out how to batch fabricate clicks.  Then, I figured out that it helps if the use of skills is also automated.


#!/bin/bash

# Farm on, to jump quickly to the strongest creatures you can face (most gold)
xdotool mousemove 1045 496 click 1
# Energize (8)  (doubles the effect of the next skill)
xdotool mousemove 597 784 click 1
# Dark Ritual (6)  (The skill with the longest recharge time)
xdotool mousemove 597 690 click 1
# Reload (9)  (knock 1 hour off the recharge time for the last skill used)
xdotool mousemove 597 829 click 1

# Golden Clicks (5)
xdotool mousemove 597 642 click 1
# Super Clicks (7)
xdotool mousemove 597 733 click 1
# Clickstorm (1)
xdotool mousemove 597 469 click 1
# Powersurge (2)
xdotool mousemove 597 512 click 1
# Lucky Strikes (3)
xdotool mousemove 597 551 click 1
# Metal Detector (4)
xdotool mousemove 597 601 click 1

sleep .02
for thousands   in 0 1 2
do for hundreds in 0 1 2 3 4 5 6 7 8 9
  do for tens   in 0 1 2 3 4 5 6 7 8 9
    # Mouse to critter  (helps prevent accidental clicks on other things)
    do xdotool mousemove 800 640 click 1
      for ones in 0 1 2 3 4 5 6 7 8 9
      do xdotool click 1
        sleep .02
      done
    done
  done
done

1 comment:

  1. Juggernaut makes your combos rather more powerful. I understand you are largely associate degree idle player, however if you are willing to try and do full jazz groups at the ends of your runs you\'ll advance many bosses per combo for a couple of combos.clickerheroesonline.weebly.com

    ReplyDelete