ROUND_SCORE is broken on sty+ct
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Armagetron Advanced |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
After a player plays a few rounds, and then switches to spectator mode their ROUND_SCORE will be wrong (a negative number). The following revision looks to be the culprit.
-------
revno: 617
committer: voodoo
branch nick: 0.2.8-armagetro
timestamp: Fri 2008-05-09 14:41:07 +0200
message:
log score differences location fix in gGame.cpp
-------
The format of ROUND_SCORE is:
ROUND_SCORE <score> <player>[ <team>]
The team is optional, and no team means a player is spectating. However, one can not just ignore ROUND_SCORE lines without a team. When a player leaves a ROUND_SCORE message is immediately written with no team. It is not possible to distinguish between valid scores, because one lacking a team does not make it invalid.
I think a fix was committed for this issue.