I think what you would be looking for is a very simple incrementing ID system. Basically, when the server sends out an updated position, the first time it will have an ID of 1. Then the next time it is 2. 2 is greater than 1, so we can update our client based on the new position. Then the server sends out packet 3, but it never reaches the client. Then the server sends out 4, which reaches the client. 4 is greater than 2, so update the position. Then 3 manages to find its way to the client. 3 is not greater than 4, so ignore it.
viper110110Member Since 11 Nov 2008
Offline Last Active Today, 03:21 PM
- Group Members
- Active Posts 90
- Profile Views 4,219
- Submitted Links 0
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
viper110110 hasn't added any contacts yet.