You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today, the server entirely trusts the client about his position and his speed.
On the server side, we should check the new position when we receive an update. This check is really simple: we must assert that distance between last position and new position < player speed * elapsed time.
The text was updated successfully, but these errors were encountered:
Today, the server entirely trusts the client about his position and his speed.
On the server side, we should check the new position when we receive an update. This check is really simple: we must assert that
distance between last position and new position
<player speed * elapsed time
.The text was updated successfully, but these errors were encountered: