Bug Tracker – Bug 1240

Weapon firing desyncs if holding fire button on spawn

Last modified: 2019-01-25 23:49:27 UTC
Bug 1240 - Weapon firing desyncs if holding fire button on spawn
Summary: Weapon firing desyncs if holding fire button on spawn
Status: NEW
Alias: None
Product: Odamex
Classification: Unclassified
Component: Client (show other bugs)
Version: 0.7.x (Old)
Hardware: x86 (Windows, Linux, etc) Windows 2000/XP/Vista/7
: P5 normal
Assignee: Odamex Bug Reporter
URL:
Depends on:
Blocks:
 
Reported: 2019-01-07 13:36 UTC by Soul Sucka
Modified: 2019-01-25 23:49 UTC (History)
3 users (show)

See Also:

Attachments

Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this bug.
Description Soul Sucka 2019-01-07 13:36:29 UTC
In online, if you hold the fire button as you spawn/respawn, your shots come out before the firing animation plays. The time difference between the shot coming out due to the desync and the shot being supposed to come out under normal circumstances is proportional to the player's ping, so it's most easily noticeable if the player has a high ping to the server. The desync goes away once the player lets go of the fire button.

Might be worth noting that other ports like ZDaemon and Skulltag/Zandronum also had this same issue in the past, but Zandronum has since corrected this bug, and my guess is that ZDaemon works around this bug by temporarily disabling unlagged for shots like this, so they still come out where the player's aim is intended.
Comment 1 HeX_Vulture 2019-01-17 14:12:49 UTC
I notice this a lot with the BFG on maps like Judas23 that have starts that give it to you