MantisBT - Zandronum
View Issue Details
0001041Zandronum[All Projects] Bugpublic2012-09-16 12:122018-08-27 18:03
0001041: +attack desync between clients causes ammo values to desync
See attached screenshot. If a client is tapping +attack rather fast, for instance when "sniping" with the chaingun, it can cause the ammo counter and coop spy view to desync.
1. zandronum -host +sv_cheats 1
2. Connect 2 clients to the server.
3. Join the game with client A.
4. "give all" in the console with client A.
5. Select the chaingun with client A.
6. Coop spy on client A with client B.
7. Copy-paste "+attack;wait 1;-attack;wait 4;+attack;wait 1;-attack;wait 4;+attack;wait 1;-attack;wait 5;+attack;wait 1;-attack;wait 4;+attack;wait 1;-attack;wait 5;+attack;wait 1;-attack;wait 4;+attack;wait 1;-attack;wait 5;+attack;wait 1;-attack" into the console with Client A.
Client B's observed ammo counter will only keep falling further behind each time the bind is used.

I set the severity to major since it's another weapon/ammo desync issue.
No tags attached.
related to 0000553confirmed  SSG A_CheckReload coop spy desync 
related to 0001020resolved Leonard BFG coop spy sound desync 
related to 0000540resolved Leonard Weapon selection is desynced between clients 
related to 0000423closed  "switchonpickup" alias desyncs the coop spy/info for newly connected clients 
png screenshot.png (74,285) 2012-09-16 12:12
Issue History
2012-09-16 12:12unknownnaNew Issue
2012-09-16 12:12unknownnaFile Added: screenshot.png
2012-09-16 12:12unknownnaStatusnew => confirmed
2012-09-16 12:31ZzZomboNote Added: 0004701
2012-09-20 19:50LlewellynNote Added: 0004727
2018-08-27 06:42unknownnaNote Added: 0019428
2018-08-27 06:42unknownnaDescription Updatedbug_revision_view_page.php?rev_id=11706#r11706
2018-08-27 06:42unknownnaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=11708#r11708
2018-08-27 06:42unknownnaAdditional Information Updatedbug_revision_view_page.php?rev_id=11710#r11710
2018-08-27 06:43unknownnaReproducibilitysometimes => always
2018-08-27 06:46unknownnaRelationship addedrelated to 0000553
2018-08-27 06:49unknownnaRelationship addedrelated to 0001020
2018-08-27 06:53unknownnaRelationship addedrelated to 0000540
2018-08-27 07:24unknownnaRelationship addedrelated to 0000423
2018-08-27 18:03unknownnaNote Added: 0019439
2018-08-27 18:03unknownnaAssigned To => Leonard
2018-08-27 18:03unknownnaStatusconfirmed => resolved
2018-08-27 18:03unknownnaResolutionopen => fixed
2018-08-27 18:03unknownnaFixed in Version => 3.1

2012-09-16 12:31   
An old bug, that kept since at least v98d.
2012-09-20 19:50   
This also causes weapons to switch to the wrong weapon prematurely, causing weapon desynchronization and thus ammo desync on other weapons too.
2018-08-27 06:42   
Made a bind that reproduces the issue quickly and reliably.
2018-08-27 18:03   
Same thing here as in the other ticket, the issue seems to have been fixed in 3.1 with the unlagged fixes and the addition of a movement regulator buffer thing.

Great work, thanks!