MantisBT - Zandronum
View Issue Details
0004481Zandronum[All Projects] Suggestionpublic2025-03-31 15:522025-03-31 18:20
unknownna 
 
normalfeatureN/A
newopen 
 
 
0004481: [3.2] Let player retain medals when reconnecting
I looked at the recent commit list, and found out that medals are now cleared when a player disconnects, as stated in:'https://foss.heptapod.net/zandronum/zandronum-stable/-/commit/d709c31e065ff73a99239a5ad930a408a039c702 [^]'

IMHO, isn't this the wrong behavior? If a player's frags (and deaths) are retained upon reconnecing, shouldn't the medals be retained as well? Some players could potentially get pissed when they lose their earned medals because their connection dropped out and they had to reconnect.

And what if there's some form of medal stats tracking for the account system down the line sometime in the future, and the stats are only tracked during the intermission screen hypothetically? If a player disconnected by accident and returned to the server, he would lose his medals before the intermission screen recorded his stats.
No tags attached.
Issue History
2025-03-31 15:52unknownnaNew Issue
2025-03-31 18:20KaminskyNote Added: 0024373

Notes
(0024373)
Kaminsky   
2025-03-31 18:20   
FYI, the commit you linked above fixes a regression after overhauling the medal system in 3.2. I think you misunderstood what the commit fixes: clients must clear the medals of the players leaving, or else the next player that connects with the same index retains the same medals that the previous player earned before, which they didn't earn themselves. The new player won't have any medals on the server's end, causing a desync.

Players have always lost their earned medals when they spectated or disconnected, from 3.1 and earlier. Since 3.2's release is imminent, saving and restoring a player's earned medals isn't urgent right now and will have to be looked into later.