MantisBT - Zandronum
View Issue Details
0001931Zandronum[All Projects] Suggestionpublic2014-09-07 12:192014-10-04 13:47
Absolute Zero 
 
nonefeatureN/A
closeddenied 
 
 
0001931: Duplicate packet command
This should reduce the negative effects that packet dropping causes for the player (jittery and general desync). Duplicate packets should be sent in both ways: Client to server and vice versa. Obviously this is not going to fix extreme cases, but will contribute for proper network sync.

Please note that in mods like ZDoom Wars this can have an undesirable increase in network traffic, so this should be toggleable by the server (I guess).
No tags attached.
Issue History
2014-09-07 12:19Absolute ZeroNew Issue
2014-09-20 16:28Torr SamahoNote Added: 0010278
2014-09-20 16:29Torr SamahoStatusnew => feedback
2014-09-23 21:49Absolute ZeroNote Added: 0010286
2014-09-23 21:49Absolute ZeroStatusfeedback => new
2014-10-04 13:46Torr SamahoNote Added: 0010325
2014-10-04 13:47Torr SamahoStatusnew => closed
2014-10-04 13:47Torr SamahoResolutionopen => denied

Notes
(0010278)
Torr Samaho   
2014-09-20 16:28   
Please elaborate what you mean. Are you talking about resending dropped packets? For the server -> client communication this is already done.
(0010286)
Absolute Zero   
2014-09-23 21:49   
(I will assume there is a server-side "packet drop" checks, in other words, the server will resend packets in case any was dropped)

I am talking about literally sending duplicate packets, without any "packet drop" checks. If the check doesn't result in network delay, just leave as it is.

But how about client -> server? Sometimes I "snap" back most of the time. I assume that is because the packet didn't reach the server, resulting in constant stuttering (server forces you back to your actual coordinate, I only experience that when 10% (or more) packets sent are dropped). I believe that clients sending duplicate packets should minimize the stuttering effects (please, correct me if I'm wrong).
(0010325)
Torr Samaho   
2014-10-04 13:46   
Now I see what you are meaning. Unfortunately, I'm pretty sure that this won't help though, but make the problem worse instead. If packets are dropped, the connection between client and server is at least temporarily not good enough to handle the amount of packets necessary for the game. If you now start sending more packets, you'll just have more dropped packets and possibly even get packet lost in situations that otherwise would work just fine.