News for hackers. Stuff that matters.
Re:Fighting games use delay-based and rollback netcode by andrewmcwatters on Tuesday January 24, 2023 @11:39AM (#34506010)
Correctly implemented lag compensation doesn’t result in players teleporting.

If a player drops packets for a while, they shouldn’t be teleported to a position once they start sending packets again. They’re sending input not positions.

When I say lag compensation removes latency-based leading-the-shot scenarios, I mean it, full stop. It’s completely removes this problem.

You’re describing teleporting which is caused by other malimplemented player movement and networking code.

Re:Fighting games use delay-based and rollback netcode by kevinfat on Tuesday January 24, 2023 @09:27PM (#34513629)
That is wrong. Every description of rollback mentinos that. Replaying inputs after rolling back can result in a new state that is different from the client predictino which amounts to teleporting.
Re:Fighting games use delay-based and rollback netcode by andrewmcwatters on Friday January 27, 2023 @11:21AM (#34547745)
No, it isn't. You're talking about a player-controlled object. But you're describing "leading the shot," which occurs when other objects teleport, which doesn't happen with lag compensation.