MantisBT - Zandronum
View Issue Details
0003470Zandronum[All Projects] Bugpublic2018-08-28 02:392020-05-02 12:10
unknownna 
Torr Samaho 
urgentmajoralways
needs testingopen 
3.1-beta 
3.1 
0003470: Client fires weapon too early when joining the game in 3.1
The client fires the weapon too early when joining the game in 3.1, leading to your first few shots being thrown off. It's very important to have this fixed, especially for CTF games.
changemap_weap_desync.wad

1. zandronum -host -iwad doom2.wad -file changemap_weap_desync.wad
2. Connect a client to the server. No ping emulation should be needed.
3. Copy-paste "join;wait 14;+attack;wait 1;-attack" into the console. Spectate and re-enter the bind to reproduce the desync every time.
No tags attached.
related to 0001116feedback  Client fires weapon too early after respawning 
Issue History
2018-08-28 02:39unknownnaNew Issue
2018-08-28 02:39unknownnaStatusnew => confirmed
2018-08-28 02:40unknownnaRelationship addedrelated to 0001116
2018-08-28 19:49unknownnaNote Added: 0019449
2018-08-28 20:01unknownnaSummaryClient fires weapon too early when joining the game => Client fires weapon too early when joining the game in 3.1
2018-08-28 20:01unknownnaDescription Updatedbug_revision_view_page.php?rev_id=11739#r11739
2018-08-28 20:01unknownnaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=11741#r11741
2018-08-28 22:20Edward-sanProduct Version3.0 => 3.1-beta
2018-08-28 22:30Edward-sanNote Added: 0019450
2019-02-17 21:01Torr SamahoTarget Version => 3.1
2019-02-24 17:26Torr SamahoNote Added: 0020427
2019-02-24 17:38Torr SamahoNote Edited: 0020427bug_revision_view_page.php?bugnote_id=20427#r12442
2019-03-03 21:26Torr SamahoNote Added: 0020435
2019-03-04 15:21Edward-sanNote Added: 0020436
2019-04-07 19:51Torr SamahoNote Added: 0020476
2019-04-07 20:04Edward-sanAssigned To => Torr Samaho
2019-04-07 20:04Edward-sanStatusconfirmed => feedback
2019-12-04 06:11StrikerMan780Note Added: 0021076
2019-12-04 06:12StrikerMan780Note Edited: 0021076bug_revision_view_page.php?bugnote_id=21076#r12885
2020-02-10 03:39EpicTyphlosionNote Added: 0021194
2020-02-16 20:57Torr SamahoNote Added: 0021214
2020-05-01 18:49Torr SamahoNote Added: 0021301
2020-05-02 12:10Torr SamahoStatusfeedback => needs testing

Notes
(0019449)
unknownna   
2018-08-28 19:49   
The client firing the weapon too early is a 3.1 regression.

However, the client can sometimes fire the weapon too late in 3.0. I'll try to reproduce the 3.0 issues better.
(0019450)
Edward-san   
2018-08-28 22:30   
This time I can reproduce this pretty much always.

I cannot guarantee I can have a look at this because of IRL stuff, though.
(0020427)
Torr Samaho   
2019-02-24 17:26   
(edited on: 2019-02-24 17:38)
I looked into this. The fix for 0002748 introduced this.

BTW: Offline, the player fires using the example. So I'd say it's not the client firing too early, but the server incorrectly not processing the player attack.

(0020435)
Torr Samaho   
2019-03-03 21:26   
https://bitbucket.org/zandronum/zandronum-sandbox-stable/commits/6bf9997a595a230594dcc6d1871b43b8a78bb666 [^] seems to fix the issue, but I have no idea whether this has any side effects.
(0020436)
Edward-san   
2019-03-04 15:21   
Yes, I can confirm the fix for this specific issue. Considering that there are many similar reports, could it be possible to have a test build so that others can test it on these, too?
(0020476)
Torr Samaho   
2019-04-07 19:51   
Here is a Win32 binary with the fix:http://www.mediafire.com/file/sjqgl380l95dc2b/ZandroDev3.1-WeapSyncFixTest.7z [^]
(0021076)
StrikerMan780   
2019-12-04 06:11   
(edited on: 2019-12-04 06:12)
Can confirm that the binary Torr posted above my comment works.

(0021194)
EpicTyphlosion   
2020-02-10 03:39   
As a person who has participated in the Zandronum Competition Alliance, I can confirm that some of the people I have played with and against have experienced this. There was once a long scuffle in the ZCA Discord server where someone showed a GIF of them firing an SSG point-blank at another player and not dealing any damage due to this very bug. Everyone kept trying to discern whether or not it was his ping or something like that, but Water later stepped in and confirmed that it was this very bug.

Whoever is in charge of fixing this bug, please expedite. This has been ruining CTF games for years now, and everyone's completely sick of it.
(0021214)
Torr Samaho   
2020-02-16 20:57   
A fix for the issue is ready for testing, see above. Can you confirm that the fix works? Do you need more info regarding the testing?
(0021301)
Torr Samaho   
2020-05-01 18:49   
I'll add the fix to the main repository to include it in the upcoming 3.1 beta build.