eBot-CSGO icon indicating copy to clipboard operation
eBot-CSGO copied to clipboard

Improve match state handling, side swapping, and backup restoration

Open AHDR3 opened this issue 5 months ago • 0 comments

🔄 Improve match state handling, side swapping, and backup restoration

This PR introduces a set of critical fixes and a new feature to enhance eBot's match flow stability and configurability.

🔗 Related Pull Request: eBot-Web#117

This PR must be merged together with the linked PR in eBot-CSGO-Web, as both contain dependent logic changes (e.g. backend + frontend support for halftime readiness). ⚠️ Please merge eBot-CSGO-Web#117 before merging this PR to avoid inconsistent state.


✅ New Feature

  • "Ready on Halftime" option
    Integrates the new match option allowing admins to change halftime ready behave. Feature requested here #192

🛠 Fixes

  • Fix incorrect side swapping after backup restore
    Ensures teams are placed correctly after restoring from a backup, especially during halftime or overtime.

  • Fix OT backup score issues
    Corrects bugs where overtime scores were inaccurately saved or restored. Issued opened here #186

  • Fix "Stop to Warmup" behavior
    Correctly transitions the match from live to warmup mode when stopping.

  • Fix knife config not resetting after forced knife end
    Prevents leftover knife settings after admins skip or force-end knife rounds (like disabling giving bomb).


💡 Notes

These updates:

  • Improve match control during critical transitions.
  • Fix multiple edge cases with backups, OT, and rollbacks.
  • Provide admins with a more predictable and stable match management experience.

AHDR3 avatar Aug 03 '25 17:08 AHDR3