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
0003459Zandronum[All Projects] Bugpublic2018-08-23 07:172018-09-10 05:12
Assigned ToLeonard 
PlatformOSOS Version
Product Version3.0 
Target Version3.1Fixed in Version3.1 
Summary0003459: Prediction regression and jitter in 3.0 when landing on the ledge of bridge things
DescriptionWhile testing some of the prediction in 3.1, I noticed some weird behavior when landing on the ledge of bridge things: The client jitters for a few tics compared to 2.1.2.

It broke completely in 3.0-alpha 160131-2023, and was partially fixed in 3.0-alpha 160510-1827. From looking at the changelog, it seems that there were some prediction issues with the newer jumping behavior backported from ZDoom.
Steps To Reproduce1. zandronum -file player_bridge_desync_test_03.wad -host
2. Connect a client to the server with an emulated ping of 300.
3. Join the game. Wait for the weapon to fully raise before using the bind below (to make sure the player doesn't try to move before he's allowed to).
4. Copy-paste "+forward;+moveleft;wait 4;+jump;wait 20;-forward;-moveleft;-jump" into the console.
5. Spectate and re-join the game to reproduce the jitter again. The bind will reproduce the jitter every time.
Attached Files? file icon player_bridge_desync_test_03.wad [^] (38,830 bytes) 2018-08-23 07:17

- Relationships
related to 0000171closedTorr Samaho backport fixed and improved jumping behavior and a fix in "P_ZMovement" 

-  Notes
User avatar (0019403)
Leonard (developer)
2018-08-26 05:52

Seems like the fix for 0000171 was incomplete.
The "on ground" status is used for the jumpTics variable but is only properly calculated later on meaning the client prediction would incorrectly jump on landing.

User avatar (0019410)
Torr Samaho (administrator)
2018-08-26 17:42

Thanks! Added your PR.
User avatar (0019496)
unknownna (updater)
2018-09-10 05:12

This is fixed now indeed. Thank you very much, great work!

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2018-08-23 07:17 unknownna New Issue
2018-08-23 07:17 unknownna File Added: player_bridge_desync_test_03.wad
2018-08-23 07:18 unknownna Relationship added related to 0000171
2018-08-26 05:52 Leonard Note Added: 0019403
2018-08-26 05:52 Leonard Assigned To => Leonard
2018-08-26 05:52 Leonard Status new => needs review
2018-08-26 05:52 Leonard Target Version => 3.1
2018-08-26 17:42 Torr Samaho Note Added: 0019410
2018-08-26 17:42 Torr Samaho Status needs review => needs testing
2018-09-10 05:12 unknownna Note Added: 0019496
2018-09-10 05:12 unknownna Status needs testing => resolved
2018-09-10 05:12 unknownna Resolution open => fixed
2018-09-10 05:12 unknownna Fixed in Version => 3.1

Questions or other issues? Contact Us.


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker