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

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002637Zandronum[All Projects] Bugpublic2016-02-14 19:002017-09-11 17:06
ReporterLeonard 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version2.1 
Target VersionFixed in Version 
Summary0002637: Player prediction: desync with underwater sectors.
DescriptionThe client mispredicts its player position when interacting with underwater sectors.

To Torr: I did some experiments with my version of the player prediction to try and fix this and by chance I found something that partially fixes the issue. I will make a patch for the current version when I get the time but to give a short explanation: I simply recalculated the waterlevel of the player's mobj when restoring the prediction and stopped saving the waterlevel for each tick.
Steps To Reproduce-host a server with the attached test wad (prdict2.wad)
-join said server with an emulated ping of 200
-in the water sector, press +jump and never release
-aim slightly down
-slightly tap +forward
-the prediction will kind of mess up and you will jitter in and out of the water

It's even worse when you do that while getting out of the water by hugging the edge.
Additional InformationHappens both in 2.1.2 and 3.0.
Attached Files? file icon prdict2.wad [^] (3,354 bytes) 2016-02-14 19:00
diff file icon waterfix.diff [^] (1,383 bytes) 2016-02-15 22:10 [Show Content]
? file icon prdict2.cld [^] (62,411 bytes) 2016-02-28 14:11

- Relationships
duplicate of 0000106closedLeonard Client mispredicts its z position in swimmable water online 

-  Notes
User avatar (0014448)
Leonard (developer)
2016-02-15 22:10

I attached the patch I was talking about.
It "partially" fixes the issue because now when simply hitting +forward there is a very slight jitter similar to this issue.
User avatar (0014510)
Torr Samaho (administrator)
2016-02-28 10:39

Can you make a demo of the effect in 3.0, preferably based on the current head of 3.0?
User avatar (0014513)
Leonard (developer)
2016-02-28 14:10

Attached the requested demo.
The head at the time of recording was this commit.
Notice that playing back the demo with waterfix.diff applied on top reduces the effect a lot.
User avatar (0014516)
Torr Samaho (administrator)
2016-02-28 20:56

Thanks for the demo. The behavior seems indeed better with your fix, but, as you already mentioned, it still doesn't seem to work fully. Guess we should look into this in more detail to find out why this is failing.

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
2016-02-14 19:00 Leonard New Issue
2016-02-14 19:00 Leonard File Added: prdict2.wad
2016-02-15 22:10 Leonard Note Added: 0014448
2016-02-15 22:10 Leonard File Added: waterfix.diff
2016-02-22 19:10 Dusk Status new => needs review
2016-02-28 10:39 Torr Samaho Note Added: 0014510
2016-02-28 10:39 Torr Samaho Assigned To => Torr Samaho
2016-02-28 10:39 Torr Samaho Status needs review => feedback
2016-02-28 14:10 Leonard Note Added: 0014513
2016-02-28 14:10 Leonard Status feedback => assigned
2016-02-28 14:11 Leonard File Added: prdict2.cld
2016-02-28 20:56 Torr Samaho Note Added: 0014516
2017-09-11 17:06 Dusk Status assigned => closed
2017-09-11 17:06 Dusk Assigned To Torr Samaho =>
2017-09-11 17:06 Dusk Resolution open => duplicate
2017-09-11 17:06 Dusk Relationship added duplicate of 0000106






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker