MantisBT - Zandronum
View Issue Details
0000820Zandronum[All Projects] Suggestionpublic2012-04-27 09:442018-09-30 20:15
ant1991331 
Torr Samaho 
highmajorN/A
closedfixed 
 
1.11.1 
0000820: Client-side prediction for ThrustThing/ThrustThingZ/A_Recoil specials when called from linedefs/sector action things/weapons
Quote from Torr Samaho
Quote from ant1991331
If anyone's ever noticed, that if you play a server with a noticeable ping, that makes use of A_Recoil and the like, it will be very laggy.
So I'm thinking if Thrust movements can be clientside, it would be much like ordinary player movement (how it's only laggy to you when you get "connection interrupted"). I even notice this lag on jump pads, but I dunno if that uses ThrustThingZ.

I still see a chance to get Thing_Thrust_Z player prediction working for line and sector actions (but not for ACS).

IMHO, I think it's about time we get some proper client-side prediction for these specials.
1. skulltag.exe -file thrustthing_recoil_01.wad -host
2. Connect a client to the server with an emulated ping of 300-600 and join the game.
3. Use the custom pistols and jump-pads.
4. Press +use to teleport back to the jump-pads.
No tags attached.
parent of 0002296new  Client-side prediction for ThrustThing/ThrustThingZ/A_Recoil specials when called from weapons 
Not all the children of this issue are yet resolved or closed.
? thrustthing_recoil_01.wad (6,449) 2012-04-27 09:44
/tracker/file_download.php?file_id=588&type=bug
png Screenshot_Doom_20120427_113328.png (34,909) 2012-04-27 09:45
/tracker/file_download.php?file_id=589&type=bug
png
Issue History
2012-04-27 09:44unknownnaNew Issue
2012-04-27 09:44unknownnaFile Added: thrustthing_recoil_01.wad
2012-04-27 09:45unknownnaReporterunknownna => ant1991331
2012-04-27 09:45unknownnaFile Added: Screenshot_Doom_20120427_113328.png
2012-04-27 09:49unknownnaStatusnew => acknowledged
2012-09-23 10:37Torr SamahoAssigned To => Torr Samaho
2012-09-23 10:37Torr SamahoStatusacknowledged => assigned
2012-09-23 12:54Torr SamahoNote Added: 0004749
2012-09-23 12:54Torr SamahoStatusassigned => needs testing
2012-09-23 16:52WatermelonNote Added: 0004752
2012-09-23 18:01unknownnaNote Added: 0004760
2012-09-23 18:25Torr SamahoNote Added: 0004763
2012-09-23 18:48unknownnaNote Added: 0004770
2012-09-23 18:49unknownnaNote Edited: 0004770bug_revision_view_page.php?bugnote_id=4770#r2591
2012-09-23 19:05Torr SamahoNote Added: 0004774
2012-10-06 17:10WatermelonNote Added: 0005003
2013-01-09 23:21DuskTarget Version => 1.1
2013-04-06 10:03DuskStatusneeds testing => resolved
2013-04-06 10:03DuskFixed in Version => 1.1
2013-04-06 10:03DuskResolutionopen => fixed
2015-06-08 21:19unknownnaRelationship addedparent of 0002296
2018-09-30 20:15Blzut3Statusresolved => closed

Notes
(0004749)
Torr Samaho   
2012-09-23 12:54   
I started to work on ThrustThing/ThrustThingZ prediction specials when called from linedefs. Please check how well the current version works.
(0004752)
Watermelon   
2012-09-23 16:52   
Confirmed that this is working better. The left pads of the two always work instantly, whereas the right of the two pads lags. I assume the left two are set to use the clientside prediction (which work instantly)? If so, then this is fixed.
(0004760)
unknownna   
2012-09-23 18:01   
Quote from Torr Samaho
Please check how well the current version works.

Like Watermelon said, it seems to work well. Great job, Torr. Keep it up.
(0004763)
Torr Samaho   
2012-09-23 18:25   
The "right" pads use sector actions, that's why they are not predicted in the binary above. Meanwhile I extended the prediction to also handle sector actions, so this binary should predict all pads in the example map. I had to touch some basic code though, hope this doesn't break any sector action related things on the clients.
(0004770)
unknownna   
2012-09-23 18:48   
(edited on: 2012-09-23 18:49)
Quote from Torr Samaho
Meanwhile I extended the prediction to also handle sector actions, so this binary should predict all pads in the example map.

This is really great, Torr. Finally, after all these years we finally have some working prediction for these specials. I'll be testing IGPack and SpaceDM9 now. They play really well online now.

(0004774)
Torr Samaho   
2012-09-23 19:05   
I'm glad to hear that :).
(0005003)
Watermelon   
2012-10-06 17:10   
Does this need any more testing? Or any way I can help?