Clients send their position and rotation to the server on the reliable channel. They should send their last N inputs on an unreliable channel instead, so the server can decide where they actually end up. The server must tell clients where they end up after their Nth input, so the client can perform rollback.
This solves many problems such as: pushing not working, cheating, allowing to teleport players.
Clients send their position and rotation to the server on the reliable channel. They should send their last N inputs on an unreliable channel instead, so the server can decide where they actually end up. The server must tell clients where they end up after their Nth input, so the client can perform rollback.
This solves many problems such as: pushing not working, cheating, allowing to teleport players.