Zandronum Chat on our Discord Server Get the latest version: 3.0
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003491Zandronum[All Projects] Bugpublic2018-09-10 14:442018-09-10 14:45
Assigned To 
PlatformOSOS Version
Product Version3.0 
Target VersionFixed in Version 
Summary0003491: Berserk powerup causes weapons to desync and client to fire weapon too early
DescriptionWhile testing a map in DUEL40 (UROBUROS) with some bots on a server, I noticed that my SSG desynced rather badly when picking up a berserk powerup and then quickly selecting my SSG again after the client was forced to switch to the fist. The client fires the weapon too early when selecting the former weapon again, causing the timing to be completely off and projectiles even disappearing.

Players will notice this desync very often on this map considering that the berserk is seemingly strategically placed as a health pickup when needed. When players then switch back to their SSG, the timing of the puffs will be completely off compared to the animation and sounds at the corresponding ping, causing the shots to be broken and potentially making players blame the unlagged etc.
Steps To Reproduce1. zandronum -host -iwad doom2.wad -file wepdesync_berserk.wad +sv_itemrespawn 1
2. Connect a client to the server with an emulated ping of 160.
3. Copy-paste "join;wait 23;+forward;wait 10;-forward;wait 14;weapprev;+attack;wait 20;-attack" into the console. The rocket launcher animation will be displayed and ammo used, but no rocket will come out.
4. Spectate and re-enter bind to reproduce the desync every time.
Additional Information
ACTOR Berserk : CustomInventory 2023
    Game Doom
    SpawnID 134
    Inventory.PickupMessage "$GOTBERSERK"
    Inventory.PickupSound "misc/p_pkup"
        PSTR A -1
        TNT1 A 0 A_GiveInventory("PowerStrength")
        TNT1 A 0 HealThing(100, 0)
        TNT1 A 0 A_SelectWeapon("Fist")

This is not a 3.1 regression.
Attached Files? file icon wepdesync_berserk.wad [^] (1,134 bytes) 2018-09-10 14:44

- Relationships
related to 0001116feedback Client fires weapon too early after respawning 

-  Notes
There are no notes attached to this issue.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2018-09-10 14:44 unknownna New Issue
2018-09-10 14:44 unknownna File Added: wepdesync_berserk.wad
2018-09-10 14:45 unknownna Status new => confirmed
2018-09-10 14:45 unknownna Relationship added related to 0001116

Questions or other issues? Contact Us.


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker