MantisBT - Zandronum
View Issue Details
0004031Zandronum[All Projects] Bugpublic2022-09-09 16:302022-09-17 06:13
Mr. Satan 
 
lowminoralways
newopen 
MicrosoftWindowsAll
3.1 
 
0004031: Weapon desync when spectating
Happens in 3.2 test version also.
Weapons that use an Inventory item and A_JumpIfInventory to jump to another state desync if the person spectating is not present when the player picks up the inventory item.
load and create a server:
Complex-Doom.v26a2.pk3
LCA-v1.5.9.6.pk3
randomons-v1.2.5.1.pk3
Have Client A join the server. Give "Demon Tech Devastator", give CommanderDevUpgrade in console window.
Have Client B join the server and spectate client A. He'll still see the sprites for Demon Tech Devastator.
Client B Give "Demon Tech Devastator", give CommanderDevUpgrade in console window.
Have Client A spectate Client B he will see the correct sprites.
If Client A reconnects he will see the wrong sprites when spectating.
Changing map will break it for both clients.
Not sure if this can be fixed due to the current net code and the way inventory items/weapons work.
No tags attached.
? WeaponDesyncTest.pk3 (611) 2022-09-16 04:59
https://zandronum.com/tracker/file_download.php?file_id=2778&type=bug
Issue History
2022-09-09 16:30Mr. SatanNew Issue
2022-09-09 19:18KaminskyNote Added: 0022377
2022-09-16 04:59Mr. SatanFile Added: WeaponDesyncTest.pk3
2022-09-16 05:04Mr. SatanNote Added: 0022398
2022-09-16 05:04Mr. SatanNote Edited: 0022398bug_revision_view_page.php?bugnote_id=22398#r13731
2022-09-16 05:05Mr. SatanNote Edited: 0022398bug_revision_view_page.php?bugnote_id=22398#r13732
2022-09-17 06:13Mr. SatanNote Edited: 0022398bug_revision_view_page.php?bugnote_id=22398#r13735

Notes
(0022377)
Kaminsky   
2022-09-09 19:18   
Are you able to make a minimal example wad for this?
(0022398)
Mr. Satan   
2022-09-16 05:04   
(edited on: 2022-09-17 06:13)
Uploaded WeaponDesyncTest.pk3
When upgraded, it uses RocketLauncher sprites and Beta BFG firing mode. Also A_FireOldBFG uses 40 ammo per shot instead of 1 which causes ammo amount to desync between players.
In Console
Use NewBFG900
Give BFGUpgrade