Skip to content
CodeSlinger69 edited this page Feb 21, 2016 · 4 revisions

As a bit of history, I decided to start creating this bot around August of 2014, when, after playing CoC for about 5 months, I arrived at the mid-TH8 level. At this point, the game became a serious grind for me. To keep up with upgrades, walls, and so on, would require hours and hours of time every day. While I enjoyed the game, I did not enjoy it enough to dedicate that much of my life to it.

I hacked together the basics of the bot in a couple of weeks, and have been tuning and adding various features since then. Several family/friends have been running it with success. It was initially coded in AutoIt script for prototyping purposes, but really, this language is just fine for this kind of bot. Performance, other than the image matching, is not all that critical for this game.

I am almost at the end of TH11 right now, and it still works great. I fill my gold and elixir storages about once every 24 hours, and clear about 15k dark elixir per day. This is more than enough to keep my heroes upgrading constantly. Honestly, I can't spend the dark fast enough, and I am usually storing 200k while heroes upgrade.

There are other closed source farming bots out there, clashbot.org and Lazy Presser for example. Another open source farm bot is MyBot.run, check them out! (MyBot.run) Both MBR and my bot are free as in beer and free as in speech.

Please suggest improvements and/or bug fixes to the code base, and I'll be happy to consider your patches for inclusion in the master branch. Feel free to use the code, learn from it, reuse the algorithms, whatever you want. Credit would be appreciated.

Clone this wiki locally