Koi Bot

Clash of Clans on autopilot — farm, upgrade and attack around the clock.

  • 24/7 auto-farming
  • Smart army & attack AI
  • Multi-account profiles
v0.7.85 • Koi Bot

Welcome back

Sign in to continue

Koi Bot
Mobile automation, set & forget
v0.7.85
Initializing...
0%
with by Koi (Not the fish) & aykut
?
00:00:00
Runtime
Idle
Cycle #0
State Idle
Gold
-
Elixir
-
Dark
-
Gold Farmed
0
+0 avg/attack
Elixir Farmed
0
+0 avg/attack
Walls Upgraded
0
Total walls
Total Attacks
0
0 scans, 0 skips
Activity Feed
Live
Start AI Farm to see activity
Bot Log
Strategy
Attack Mode:
Deploy Pattern:
Deploy Speed:
Troop Composition
Slots (1-11):
Counts per Slot:
Spell-Slots:
Spells after Slot:
Army Preview
120
S.Goblin
4
Earthquake
2
Haste
1
Jump
1
King
1
Queen
1
Warden
Army Presets Quick Switch
Sneaky Goblins
120 SG + 4 EQ + 2 Haste
Active
Queen Walk
5 Healer + Giants + Wiz
Saved
GoWiPe
Golem + Wizard + Pekka
Saved
+
New Preset
Auto-Train Settings
Train Method:
Retrain delay: ms
Current Army Status
Army Capacity 300 / 300
Spell Capacity 11 / 11
Siege Machine Wall Wrecker
Next army ready in: Ready!
Boost active: 1h 23m remaining
Troop Queue
TroopCountHousingTimeStatus
Sneaky Goblin120300/3000sTrained
Earthquake Spell44/110sBrewed
Haste Spell48/110sBrewed
Jump Spell110/110sBrewed
Freeze Spell111/110sBrewed
Donation Settings
Donate Troops:
Donate Spells:
Max per request:
Request Settings
Request text:
Request interval:min
Donation Stats (Session)
Troops Donated142
Troops Received38
Spells Donated12
Resource Collection
Own Resources
Gold30,833,649
Elixir28,421,300
Dark Elixir312,450
Builder Status
Builder 1
Cannon Lv.21
1d 14h
Builder 2
Archer Tower Lv.20
2d 8h
Builder 3
X-Bow Lv.8
5d 2h
Builder 4
Available
Free
Builder 5
Available
Free
Lab Status
Laboratory
Sneaky Goblin Lv.4
3d 12h
Pet House
Electro Owl Lv.8
4d 6h
Auto-Upgrade Settings
Min Gold Reserve:
Min Elixir Reserve:
Min Dark Reserve:
Event Troops (temporary)
Some CoC events grant extra troops in slot 1 outside your army link (e.g. Mass Golden Dragons → 20 dragons). Set the count here and the bot will deploy them via hotkey '1' BEFORE the regular army runs, then shift the rest of the army-link slots by +1 to keep the goblins/giants/etc. lined up. Set back to 0 once the event ends.
Slot 1 count:0 = disabled
Wall Upgrade
After each battle: pick a wall from the upgrade list and batch-upgrade it. Uses gold or elixir — whichever you have more of.
Wall Cost:
Min Resource:
Only upgrade walls when gold OR elixir is above this value. Prevents the bot from only upgrading walls when resources are low.
Max per batch:
Fuehrt nur den Wall-Upgrade Flow aus — du musst im MainVillage sein.
Upgrade Queue Priority Order
#BuildingCurrent LvNext LvCostTimeStatus
1Barbarian King7576280,000 DE7d 12hWaiting
2Archer Queen8081300,000 DE8dWaiting
3Inferno Tower7814,000,00014dQueued
4Eagle Artillery4516,000,00016dQueued
5Walls (x25)15167,000,000 eainstantAuto
Weekly Schedule Click to toggle
Red = Active | Dark = Inactive Timezone: UTC+1 (CET)
Break Settings
Break every:min
Break duration:min
Randomize:%
Activity Profile
Profile:
Max daily attacks:
Session limit:min
Today: 47/300 attacks (15.7%)
Shield Management
Current ShieldGuard 4h 23m
Personal Break Timer
Time Online2h 34m / 3h
Defense Log Last 24h
TimeAttackerResultTrophies
6h agoxXDragonSlayerXx2 Star-18
11h agoClashKing991 Star-12
14h agoGoblinMasterDefended+8
19h agoWarMachine3 Star-28
General
Language:
Scan Interval:sec
Notifications
Telegram Integration
Bot Token:
Chat ID:
Discord Webhook
Webhook URL:
Emulator Settings
Emulator:
⚠ Only Google Play Games is supported.
BlueStacks, LDPlayer, MEmu, Nox Player and similar Android emulators are not compatible — the bot relies on Google Play Games' specific window dimensions and rendering pipeline.
Input Method:
Screenshot:
OCR Engine
Engine:
Scale Factor:
Threshold:
Search Settings
Minimum loot to attack a base, search behavior, and auto-threshold tuning — all search parameters in one place.
LOOT THRESHOLDS
Min Gold 100K
Min Elixir 100K
Min Dark Elixir 0
Condition:
🔍
SEARCH BEHAVIOR
Max Searches 200
Search Timeout 120s
Restart after 30 searches
🔽
AUTO-LOWER SEARCH CRITERIA
Drop the loot thresholds gradually when no base is being found.
Lower after 50 skips
Reduce by 10%
Minimum floor 30%
Wall Upgrade
Auto-upgrade walls after a successful farming run. Disabled when the toggle is off.
🧱
Wall Reinforcement
Toggle, cost, batch size
Wall Cost4M
Min Resource to Start8M
Max per Batch5
User
?
Notification Channels
Desktop toasts and Discord webhook are configured in their own page.
Updates
The bot checks for updates automatically on startup. Click below to check now.
Download Latest Setup (Manual)
Help & Tutorial
Re-watch the 9-step spotlight tour that highlights every important part of the bot — emulator setup, deploy zones, start button, live stats, and more.
Tip: the ? button in the title bar does the same thing.
Developer Tools
Quick utilities for debugging click positions and grabbing the bot's debug captures (useful when reporting an issue).
Position Finder: click anywhere on the game window → bot logs the client coordinate.
Open Bot Folder: opens %LOCALAPPDATA%\KoiBot\ — debug captures + ocr_audit logs live there.
📱 Desktop Toasts ON
Appear in the lower right corner even when Koi Bot is minimized. Without the switch, events are processed silently.
💬 Discord Webhook OFF
Webhook URL:
Server > Channel Settings > Integrations > Webhooks > New Webhook > Copy Webhook URL.
Event-Matrix Toggle each event type independently
Event
Desktop
Discord
🎯 Target locked
Bot greift eine Loot-Base an (mit Screenshot)
🪓 Wall upgrade
Wall batch upgraded successfully
🚨 Recovery / Error
Bot stuck → game restart or crash detected
🟢 Session Start/Stop
Farming started/stopped + end-of-session summary
🏠 Village Scan
Your own resources after every battle (with screenshot)
💡 Tip: Village scan events fire often (every 1–3 min). Recommended: Discord ON, Desktop OFF — otherwise you'll get too many toast pop-ups.
Lifetime Total
Total Gold Looted
0
0 avg/attack
Total Elixir Looted
0
0 avg/attack
Total Dark Elixir
0
0 walls upgraded
Total Attacks
0
0h farmed
Records
Best Session Gold
0
Best Session Elixir
0
Total Sessions
0
Total Attacks
0
Recent Sessions Last 10
Live Session Idle
Gold
0
Elixir
0
Walls
0
Attacks
0
Attack History 0 Attacks
#TimeGoldElixirDark🏆
Session History Last 20
#DateDurationGoldElixirDarkWallsAttacks
Attack Cancel
Surrender rules. As soon as *any* enabled rule fires during a battle, the bot clicks Surrender + Confirm.
Grace window: rules only fire after seconds of battle time (prevents surrender during the deploy phase).
Army Composition
Paste a CopyArmy link or build one by hand — pick which army the bot runs. Manual works on every Town Hall (TH4 has no in-game link).
No armies yet — click "+ Add Army" to paste a link or build one yourself.
Deployment
Manage multiple attack configurations — switch between presets on the fly
Troops
Barbarians, Archers, Goblins, etc.
Fixed Points
Random Area
0points
Points configured
👑
Heroes
King, Queen, Warden, Champion
Fixed Points
Random Area
0points
Points configured
🧶
Spells
Rage, Heal, Freeze, etc.
Fixed Points
Random Area
0points
Points configured
Hero Abilities
Configure when each hero activates their ability during battle
Instant — right after deploy
Timer — X sec after deploy
💧 Loot Stall — loot stops moving
💰 Gold Damage — X gold stolen
💔 Low HP — HP below X%
Choose how the bot attacks. Currently only Side Spam is implemented — more strategies coming.
Active Strategy
Strategy:
Side Spam
Deploys all troops along the village edge (105 spawn points).
Order: spells first → then all troops + heroes
Works with: Goblins, Sneaky Goblins, Archers, Barbarians, Wizards
Surrender: auto when no gold change for 8 seconds
Cluster size: Troops per spawn point
Surrender gold: min. gold diff, else surrender
Schedule & Breaks
Anti-detection pauses and farming schedule
🕑
Farming Schedule
When should the bot farm?
Active Days
Mo
Tu
We
Th
Fr
Sa
Su
From
Until
Night farming: e.g. 22:00 → 06:00
Short Breaks
Anti-detection pauses
Break every X attacks10
Break duration3-7 min
Variation±30%
💤
Long Breaks
Simulate going offline
Every X hours4-6h
Break duration30-90 min
🤖
Behavior
What to do during breaks
During Break
Auto-answer clan donation requests. The bot scans clan chat for open requests, clicks the donate button and donates available troops/spells. Runs completely independently from the farming bot.
Bot Controls
Inactive
Settings
Scan interval:ms
Max donations per scan:
The bot opens the clan chat automatically, detects green "Donate" buttons via HSV colour detection, clicks the button, and donates the first available troops in the donation window.
How it works
1. Bot navigates to clan chat
2. HSV colour detection finds green "Donate" buttons
3. Clicks the button → donation window opens
4. Detects available troops and clicks them
5. Closes the window and looks for the next request
Koi Bot
Koi Bot
Advanced Clash of Clans Automation Suite
Template-based image recognition with AI-powered base analysis, smart troop deployment, and predictive analytics. Built with C++17, OpenCV, WebView2, and Tesseract OCR.
Templates
91
Version
0.1.1
Engine
CV+AI
State Machine Game Detection (12 screens)
Template-Only Navigation (zero hardcoded coordinates)
Resolution-Independent OCR (auto-scaling)
Dead Base Detection via HSV Color Analysis
Smart Edge Deploy with Red Border Detection
Multi-Frame OCR Stabilization
Auto-Recovery with Popup Detection
v0.7.85