MantisBT - Zandronum
View Issue Details
0004336Zandronum[All Projects] Bugpublic2024-06-16 15:442025-03-06 04:12
unknownna 
Kaminsky 
normalfeaturealways
resolvedfixed 
3.1 
3.23.2 
0004336: Players don't earn medals locally if cl_medals is 0, but observing players see them earn them
If a a client has cl_medals set to 0, it will not earn any medals locally, but to other clients with cl_medals set to 1 and observing the client, the client will still appear to be earning the medals.
No tags attached.
Issue History
2024-06-16 15:44unknownnaNew Issue
2024-06-16 16:09unknownnaNote Added: 0023766
2024-06-16 16:09unknownnaNote Edited: 0023766bug_revision_view_page.php?bugnote_id=23766#r14272
2024-07-29 15:04KaminskyStatusnew => acknowledged
2024-07-29 15:04KaminskyTarget Version => 3.2
2024-07-29 15:05KaminskyAssigned To => Kaminsky
2024-07-29 15:05KaminskyStatusacknowledged => assigned
2025-03-06 03:02KaminskyNote Added: 0024233
2025-03-06 03:02KaminskyStatusassigned => needs testing
2025-03-06 04:12Ru5tK1ngNote Added: 0024236
2025-03-06 04:12Ru5tK1ngStatusneeds testing => resolved
2025-03-06 04:12Ru5tK1ngResolutionopen => fixed
2025-03-06 04:12Ru5tK1ngFixed in Version => 3.2

Notes
(0023766)
unknownna   
2024-06-16 16:09   
Thinking about it, the current behavior seems to be fine and shouldn't be changed, but I wonder if clients with medals turned off lose any potential medal stats tracking that could happen in the future?

(0024233)
Kaminsky   
2025-03-06 03:02   
I forgot to update this ticket. For a while now, it's been possible for players to still earn medals (silently), even when the client has cl_medals is disabled, as per'https://foss.heptapod.net/zandronum/zandronum-stable/-/commit/3a8cc47515a60bc1bdbac0c7b2d673c1499b3631 [^]'
(0024236)
Ru5tK1ng   
2025-03-06 04:12   
Tested with the latest changes and it seems that players with cl_medals 0 can now activate the medal event whereas in 3.1 they did not. If the player turns on medals mid game, whatever medals they earned are updated properly, even medals given in scripts.