Looking soon for Beta-Tester
English
Been building this over the past few months as a personal project — a fully automated farming bot for Clash of Clans, controlled via ADB against the Google Play Games Developer Emulator. Sharing where it's at.
What it does:
Full attack loop: finds a base, deploys troops + spells, confirms the result, returns home — no manual input needed
Smart wall upgrading via live image recognition (learns the cheapest affordable price per account, skips maxed segments automatically)
Auto-donation and resource collection
Bilingual: works whether the game client is set to German or English, OCR checks match both
Self-healing: recovers from frozen screens, "connection lost" dialogs, and wrong-menu situations without manual restarts — this took by far the most iteration, real accounts surface edge cases no test plan predicts
Enforces a fixed resolution so the same build works across different accounts/emulator instances
Dark-themed CustomTkinter GUI: live color-coded log, session/lifetime stats, adjustable thresholds (min loot, wall reserve, spell timing, etc.)
Packaged as a standalone portable build (PyInstaller), config-driven paths
Still actively iterating — deploy patterns currently need to be pinned per account, and I'm slowly adding smarter automatic base analysis. Built in Python, ~5k LOC on the bot logic alone.
Deutsch
Arbeite seit ein paar Monaten an diesem Projekt in meiner Freizeit — ein vollautomatischer Farmbot für Clash of Clans, gesteuert per ADB gegen den Google Play Games Developer Emulator. Zeige mal, wo das Projekt gerade steht.
Was er macht:
Kompletter Angriffs-Loop: sucht eine Basis, setzt Truppen + Zauber ein, bestätigt das Ergebnis, kehrt heim — ganz ohne manuelles Eingreifen
Intelligentes Mauer-Upgrade per Live-Bilderkennung (lernt pro Account den günstigsten bezahlbaren Preis, überspringt maximierte Segmente automatisch)
Automatisches Spenden und Ressourcen einsammeln
Zweisprachig: läuft egal ob der Spiel-Client auf Deutsch oder Englisch steht, die OCR-Prüfungen erkennen beides
Selbstheilend: erholt sich von eingefrorenen Bildschirmen, "Verbindung verloren"-Dialogen und falschen Menü-Zuständen, ohne dass man manuell neu starten muss — das hat mit Abstand die meiste Feinarbeit gekostet, echte Accounts bringen Randfälle zutage, die kein Testplan vorhersieht
Erzwingt eine feste Auflösung, damit derselbe Build auf verschiedenen Accounts/Emulator-Instanzen läuft
Dunkel gehaltene CustomTkinter-GUI: farbcodiertes Live-Log, Sitzungs-/Gesamtstatistiken, einstellbare Schwellenwerte (Mindestbeute, Mauer-Reserve, Zauber-Timing usw.)
Als eigenständiger portabler Build verpackt (PyInstaller), Pfade über Config-Datei steuerbar
Wird noch aktiv weiterentwickelt — Deploy-Muster müssen aktuell pro Account gepinnt werden, und ich arbeite nach und nach an einer smarteren automatischen Basis-Analyse. In Python geschrieben, allein die Bot-Logik hat ~5.000 Zeilen Code.