But it is likely this is easily fixeable. However, i seem to be dropping input packets every so often.
In addition, I have a question regarding gamestates.
Questions of the day!:
- How do the modern shooters deal with dropped input packets? Do they "mind" if the odd batch is dropped, or do they carry on regardless. Also, how often / when is a state update sent? Because of the dropped inputs the two game states can fall out of sync fast.
- When the server updates a gamestate using inputs from a client, does it apply those inputs to the latest gamestate, or the tick that they were intended for? (E.g if they were synchronised, and the inputs were sent at T100, would the server update the gamestate which may be T102 or find and update T100?