Part of its success is the constant need for players to sign in to avoid being raided and losing their precious resources. This can lead to players spending hours in front of their screens, tapping away to make sure they are not logged off and exposed to attack.
Up until now, there was no real way of automating the process—short of building a robot to play for you—but now there is RepetiTouch, from developer Erwin Goslawski. With RepetiTouch, you can record screen taps that play on an infinite loop so that you don't have to worry about walking away from your device.
Your HTC One, or any other Android device capable of running Clash of Clans, must be rooted for this app to work. Check out our Android rooting guide for instructions on your model phone or tablet.
RepetiTouch is free to download, but there is also a more feature-rich paid version for $0.99 that can be downloaded from Google Play. The Pro version supports movable/flippable panels, a Locale/Tasker plugin, and the ability to edit your recordings. For this guide, I will be using the free, ad-supported version.
After the app is installed, open it and grant it root permissions.
To start recording, you must first start the RepetiTouch service, so tap Start from the app's main screen. You should now see four symbols on the right side of your screen (or top of the screen in landscape mode).
The circle starts the recording, which will be replaced by a square to stop the recording. The triangle starts playing the touches that were recorded—long-press it to select how many times you want it to loop (to make an infinite loop, type inf).
The star opens the RepetiTouch settings, where you can stop the process completely by tapping Exit, or save the touches you used by tapping Save. The compass symbol allows you to move the box around the screen, but that is a Pro feature.
Now you can record yourself tapping your elixir/gold mines or scrolling through your barracks so that you never get the inactive message again. There are many other uses for this app, like taking custom time-lapse photos or hacking a self-timer into Instagram, so be sure to leave your suggestions in a comment!