MantisBT - Zandronum
View Issue Details
0003317Zandronum[All Projects] Bugpublic2017-10-28 01:522024-03-12 08:25
Leonard 
Leonard 
normalmajoralways
resolvedfixed 
3.0 
3.13.1 
0003317: Gametic-based unlagged does not respect cl_ticsperupdate
Quote from Watermelon
- Takes into account cl_ticsperupdate
The user can change their ticsperupdate at any time and it will work just as it should. This is due to it being bundled with the movelocalplayer command, the client gets the server gametic as needed.

Turns out this is not true.
Using the test wad and the debug commit referenced in 0002859:0018627:
-host a server on MAP01 with sv_unlagged_debugactors true
-connect and join 2 clients
-turn cl_capfps on (this will make it much easier to see what's going on)
-change cl_ticsperupdate to 2 or 3
-notice the gametic debug actor rapidly jitters
-you may also try to hit (provided 0003316 is fixed at the time) and you will find that hitting your target is very difficult
This is because the clients re-send the same server tic 2 or 3 times (depanding on the setting) since they receive no updates in the meantime.
No tags attached.
parent of 0002859resolved Leonard Gametic-based unlagged seemingly goes out of sync often compared to ping-based unlagged 
child of 0001705closed Watermelon Gametic-based unlagged 
Issue History
2017-10-28 01:52LeonardNew Issue
2017-10-28 01:52LeonardStatusnew => assigned
2017-10-28 01:52LeonardAssigned To => Leonard
2017-10-28 01:58LeonardAdditional Information Updatedbug_revision_view_page.php?rev_id=11208#r11208
2017-10-28 02:07LeonardRelationship addedchild of 0001705
2017-11-08 00:59LeonardRelationship addedparent of 0002859
2017-11-26 17:59LeonardNote Added: 0018919
2017-11-26 17:59LeonardStatusassigned => needs review
2017-12-10 18:25Torr SamahoNote Added: 0018946
2017-12-10 18:25Torr SamahoStatusneeds review => needs testing
2020-04-11 01:14Ru5tK1ngNote Added: 0021261
2020-04-11 01:15Ru5tK1ngStatusneeds testing => feedback
2024-03-12 08:25unknownnaNote Added: 0023375
2024-03-12 08:25unknownnaStatusfeedback => resolved
2024-03-12 08:25unknownnaFixed in Version => 3.1
2024-03-12 08:25unknownnaResolutionopen => fixed

Notes
(0018919)
Leonard   
2017-11-26 17:59   
PR.
(0018946)
Torr Samaho   
2017-12-10 18:25   
I added your patch.
(0021261)
Ru5tK1ng   
2020-04-11 01:14   
I tested with r200329-1854 and had both clients running 3 ticsperupdate. The linked gif is my result.

'https://gfycat.com/inconsequentialbaggyamazontreeboa [^]'

Seems the red debug actor still jitters.
(0023375)
unknownna   
2024-03-12 08:25   
Quote from Ru5tK1ng
Seems the red debug actor still jitters.


It jitters due to the tick desync between clients and server, but the debug actor position stays the same for the different values now compared to 3.0, so I consider this fixed. Let's continue discussion in the other ticket.