4 ms·
Lag compensation is a (negligible?) violation of never trusting the client, as it gives the client the ability to inflate its own latency statistics until some
by mcbits 7y ago
Lag compensation is a (negligible?) violation of never trusting the client, as it gives the client the ability to inflate its own latency statistics until some critical moment. Not sure how reliably it can be exploited in practice, but if the stakes are high enough...
- somebodythere 7y agoBasically every networked multiplayer shooter has to trust the client; even if it's as basic as "did the player put their cursor over this guy's head"
- mcbits 7y agoNever trusting the client just means the server must assume any messages from the client may have been manipulated or fabricated. A message like "the cursor is over this guy's head" would be an egregious mistake in the protocol because the client can easily lie about that. Lag compensation is more subtle because it's the timing between messages that may be manipulated, only for a small fraction of a second, and the client will have some uncertainty about the server's actual lag estimate. But it could be abused, for example, to trick the server into applying a "player shoots" command 50 ms earlier than it otherwise would.
- sabas123 7y agoThis reminds me of Tribes Ascend snipers wanting to play with bigger latency because the adjustment would help them more than the lower ping.