Debug Clinic #1: Attack Sooner, Siege Smarter

---

Here’s a summary of key takeaways from our debug session with Botato. For anyone building or tuning bots, especially those in the early stages, this should give you some high-impact areas to focus on:

:balance_scale: Combat Logic & Attack Triggers

  • Current attack waits until 150 supply — misses many earlier win windows.
  • Upgrade: compare own army value vs enemy value.
  • @rasper 's formula for army unit value: (((minerals / 0.9) + gas) * supply) / 50
  • Use Orbital Scan early game (3/5/7 min marks) to scout and cache enemy army.

:classical_building: Army Control & Pathfinding

  • Tanks are sieging too far back; triggers based on distant Reaper.
  • Units are overreacting to lone harassers, causing army to pull back.
  • Solution: tighter distance checks + threat detection with thresholds.

:construction_worker_man: Worker Management

  • SCVs are mass-pulled to repair, killing the economy.
  • Limit SCV repair calls by range and urgency. Prioritize mining.

:small_blue_diamond: Destructible Rocks

  • Units attacking irrelevant rocks, getting distracted and split.
  • Disable destructible targeting unless blocking a chokepoint.

:volcano: Build System

:right_facing_fist: Harassment Handling

  • Bot gets “jerked around” by enemy Liberators/Reapers.
  • Fix: split army, create a defensive pool, or use threat-based filtering.

:counterclockwise_arrows_button: General Advice

  • StarCraft II is a macro game. Focus on economy + composition.
  • A good opening build solves many downstream issues.
  • Prioritize high-impact fixes (e.g., attack logic) over niche edge cases.

Want to submit your bot for the next clinic?
Drop your replays in the form in https://community.versusai.net/t/debug-clinic/61 thread and show up at the next monthly session.

1 Like

it’s very motivating to have this

1 Like

It’s been good to see Botato to grow, keep everyone updated on its progress!

I am wondering though if we should do a Botato update log. I thought about what you said in the call about showing the progress and I am wondering even if we had a changelog of what you’ve done differently over time could be really cool to see!