Skip to content

CS Statsx: fix most-disruptive round-end calc and stat inconsistencies - #1158

Merged
dvander merged 1 commit into
alliedmodders:masterfrom
fred0r:statsx
Sep 3, 2026
Merged

dvander merged 1 commit into
alliedmodders:masterfrom
fred0r:statsx

Conversation

@fred0r

@fred0r fred0r commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

these errors exist since ages:

  • endround_stats: capture all players' round stats before computing and showing round-end awards, so the most disruptive / best score player is based on the complete dataset instead of a partially populated one. Without this, awards shown first can be incorrect — the real best player is only announced to subsequent players and after the next round spawn.
  • add_most_disruptive / add_best_score: skip disconnected players so a player who left mid-round is not announced.

- endround_stats: capture all players' round stats before computing and
  showing round-end awards, so the most disruptive / best score player is
  based on the complete dataset instead of a partially populated one.
  Without this, awards shown first can be incorrect — the real best player
  is only announced to subsequent players and after the next round spawn.
- add_most_disruptive / add_best_score: skip disconnected players so a
  player who left mid-round is not announced.
@dvander
dvander merged commit aef4501 into alliedmodders:master Sep 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants