MantisBT - Zandronum
View Issue Details
0003117Zandronum[All Projects] Bugpublic2017-04-30 17:002017-04-30 17:01
Korshun 
 
normalminoralways
newopen 
MicrosoftWindowsXP/Vista/7
2.1 
 
0003117: Randomized firinig animations cause ammo desync
If a weapon uses random firing animations, even of the same duration, it will cause a single round ammo count desync. This desync can be disastrous with reloading weapons, with whole clips of spent ammo not being counted as spent on the client.

This bug is present since at least Zandronum 1.3.

Even if this bug is not fixed, there should be at least a warning, instead of a silent mysterious desync.
The example wad has a script to show ammo both serverside and clientside.

It normally desyncs a single round of ammo, but you can make it desync a whole clip of ammo by doing the following:
1) shoot until the clip is empty serverside
2) shoot one bullet
3) the rifle reloads serverside but not clientside, client thinks it has 120 ammo while it actually has 90.

No tags attached.
? desyncrifle.wad (41,261) 2017-04-30 17:00
https://zandronum.com/tracker/file_download.php?file_id=2093&type=bug
Issue History
2017-04-30 17:00KorshunNew Issue
2017-04-30 17:00KorshunFile Added: desyncrifle.wad

There are no notes attached to this issue.