MantisBT - Zandronum |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0002293 | Zandronum | [All Projects] Bug | public | 2015-06-08 19:47 | 2018-09-30 21:37 |
|
Reporter | unknownna | |
Assigned To | Edward-san | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | 2.0 | |
Target Version | 2.1 | Fixed in Version | 2.1 | |
|
Summary | 0002293: Clients build stairs without any delay between steps causing unnecessary prediction issues online |
Description | While investigating a client prediction issue with stairs I discovered that clients actually aren't informed of the delay time to wait between steps when building stairs. This causes the clients to build stairs instantly if the speed is set to a high value, which in turn causes the clients to greatly mispredict their movement. |
Steps To Reproduce | 1. zandronum -file stairs_01.wad -host
2. zandronum -file stairs_01.wad -connect localhost
3. Join the game.
4. Push the switch in front of you. |
Additional Information | 27:Stairs_BuildUp (tag, speed, height, delay, reset)
217:Stairs_BuildUpDoom (tag, speed, height, delay, reset)
26:Stairs_BuildDown (tag, speed, height, delay, reset) |
Tags | No tags attached. |
Relationships | related to | 0002294 | feedback | | Very evident misprediction of movement on raising floors in general |
|
Attached Files | stairs_01.wad (42,733) 2015-06-08 19:47 /tracker/file_download.php?file_id=1534&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2015-06-08 19:47 | unknownna | New Issue | |
2015-06-08 19:47 | unknownna | File Added: stairs_01.wad | |
2015-06-08 19:47 | unknownna | Status | new => confirmed |
2015-06-08 19:55 | unknownna | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=7322#r7322 |
2015-06-10 13:26 | Edward-san | Note Added: 0012634 | |
2015-06-10 13:26 | Edward-san | Assigned To | => Edward-san |
2015-06-10 13:26 | Edward-san | Status | confirmed => needs review |
2015-06-10 13:28 | Edward-san | Note Edited: 0012634 | bug_revision_view_page.php?bugnote_id=12634#r7359 |
2015-06-10 13:28 | Edward-san | Note Edited: 0012634 | bug_revision_view_page.php?bugnote_id=12634#r7360 |
2015-06-10 13:33 | Edward-san | Target Version | => 2.1 |
2015-06-10 13:37 | unknownna | Note Added: 0012635 | |
2015-06-10 15:11 | Edward-san | Note Added: 0012637 | |
2015-06-10 15:44 | Edward-san | Note Edited: 0012637 | bug_revision_view_page.php?bugnote_id=12637#r7362 |
2015-06-10 19:38 | unknownna | Note Added: 0012640 | |
2015-06-10 19:48 | unknownna | Relationship added | related to 0002294 |
2015-06-13 10:14 | Torr Samaho | Note Added: 0012677 | |
2015-06-13 10:27 | Torr Samaho | Status | needs review => needs testing |
2015-06-13 10:27 | cobalt | Note Added: 0012679 | |
2015-06-24 22:45 | Dusk | Status | needs testing => resolved |
2015-06-24 22:45 | Dusk | Fixed in Version | => 2.2 |
2015-06-24 22:45 | Dusk | Resolution | open => fixed |
2015-06-24 22:47 | Dusk | Fixed in Version | 2.2 => 2.1 |
2018-09-30 21:37 | Blzut3 | Status | resolved => closed |
Notes |
|
(0012634)
|
Edward-san
|
2015-06-10 13:26
(edited on: 2015-06-10 13:28) |
|
|
|
|
Nice work, Edward-san! But I must say that I don't like the idea of not supporting any PWADs that might happen to use long delays. |
|
|
(0012637)
|
Edward-san
|
2015-06-10 15:11
(edited on: 2015-06-10 15:44) |
|
|
|
|
The example WAD seems to work fine in that build. Great job! One thing that surprises me is how the client movement prediction gets slightly better if the delay between steps is set to a value higher than 0. And for some reason the prediction seems to be better on Stairs_BuildUp compared to Stairs_BuildUpDoom and Generic_Stairs, but I could be wrong. Are they handled differently from one another? |
|
|
|
I added your patch.
Quote from Edward-san
Torr, I'd like to reduce the bandwidth by passing 'short' to these delay parts of the packet instead of 'long', but this implies not supporting any pwad which uses veeeery long delays/etc. Do you think it could be a good compromise?
Considering that this function shouldn't be called too often I think it's better to keep this at long. |
|
|
(0012679)
|
cobalt
|
2015-06-13 10:27
|
|
Issue addressed by commit 9c904ea57373: - Fixed: The delayed stairs building movers were not handled properly online (addresses 2293).
Committed by Edoardo Prezioso [edward-san] on Wednesday 10 June 2015 15:18:15
Changes in files:
docs/zandronum-history.txt | 1 +
src/cl_main.cpp | 74 +++++++++++++++++++++++++++++++
src/network_enums.h | 1 +
src/p_floor.cpp | 102 +++++++++++++++++++++++++++----------------
src/p_spec.h | 12 +++++
src/sv_commands.cpp | 28 ++++++++++++
src/sv_commands.h | 1 +
7 files changed, 181 insertions(+), 38 deletions(-)
|
|