Hey, i'm doing my netstuff, and i'm going to send messages with a timestamp, so when the other computer receives it, it can adjust for lag. But, i'm a bit stuck though. I'm not sure how i go about telling the other computer what time mine is at.
If i send across a packet containing my millisecs value, the time it gets there, it will be slightly behind my actual time. I was also thinking about working out the average lag, but i can't tell if the results i get, will stay like that through-out the game. Any ideas?
If i send across a packet containing my millisecs value, the time it gets there, it will be slightly behind my actual time. I was also thinking about working out the average lag, but i can't tell if the results i get, will stay like that through-out the game. Any ideas?