Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/livetest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ The match flow up to `match_live` with rules in the match config (`max_tech_paus
| tech pause | `ru match tech team1` | `pause: technical by team1`, then `pause: ended (technical pause time is up)` |
| tech limit | `ru match tech team1` again | `pause: technical refused for team1 (1/1 used)` |
| tactical timeout | `ru match tac team2` (`timeout_terrorist_start`) | `pause: tactical timeout by team2`, then `pause: ended (tactical timeout over)` |
| forfeit countdown | `bot_quota_mode normal`, `bot_join_team T`, `bot_kick "<name>"` per CT bot | `forfeit: team1 has nobody connected` |
| forfeit countdown | `bot_quota <bots there>`, `bot_quota_mode normal`, `bot_join_team T`, `bot_kick "<name>"` per CT bot | `forfeit: team1 has nobody connected` |
| cancel | `bot_add_ct` | `forfeit: team1 is back` |
| forfeit | the CT bots kicked again, 20 s | `forfeit: team1 (team_absent) forfeits map 1`, then postgame and idle |

Expand Down
5 changes: 5 additions & 0 deletions scripts/livetest/livetest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1036,6 +1036,11 @@ def _act():
self.quota_mode_set = True
self.srv.send("bot_quota_mode") # echo, restored in cleanup
self.srv.send("mp_autoteambalance 0")
# In normal mode bot_quota counts every bot, not each team: raise it to the bots
# there first, or the switch drops the extra ones at random. Dropping the T bots
# left both teams empty and no forfeit to start (nightly 2026-10-28).
on = [n for n, hist in f.bot_sides.items() if hist and n not in f.bots_gone]
self.srv.send(f"bot_quota {len(on)}")
self.srv.send("bot_quota_mode normal")
self.srv.send("bot_join_team T")
names = ct_bots()
Expand Down
Loading