More GNet problems

BlitzMax Forums/BlitzMax Programming/More GNet problems

Arska(Posted 2012) [#1]
Hello!

I have some problems with Gnet. Network code syncs almost everything, players, player shots, etc...
Problem is that if 2 players have been playing in server for a while, shooting and stuff. Third players joins the game and all shots which has been shot happens for third player same time. So how can i prevent this? How can i delete those packets from network?


Derron(Posted 2012) [#2]
let them "time out" (give them a lifetime/creationdate) ... and ignore packets with data which is way to "old".

There are other options to use too but it is your decision how to "filter" that packets.


bye
Ron


Arska(Posted 2012) [#3]
Any idea why i am getting "Out of GNet object IDs"?

Edit: Nevermind. Problem disappeared. O_o

Last edited 2012