Page 1 of 1

why do sooo many idle packets get sent?

PostPosted: Thu Aug 28, 2008 9:18 am
by ubern00ber
http://img237.imageshack.us/my.php?image=packetswq3.jpg

The time format on the right is hours/minutes/seconds. This is during the log in screen, i'm not even in yet and its sending 6-8 packets a second... could this be a contributing to the lag?

My other concern is that the client also sends lots of packets when idling in game... shouldn't it only send packets when the client moves or does something, and maybe one every few seconds or minutes to tell the server that hes still there?

Re: why do sooo many idle packets get sent?

PostPosted: Thu Aug 28, 2008 9:31 am
by Karl G.
I think this is the network library I'm using maintaining an active connection. And yes, this could definitely contribute to the problem.

I'll look into the documentation and see if there's something I can do about it. I'm going to implement my own network subsystem before beta, though.

Re: why do sooo many idle packets get sent?

PostPosted: Thu Aug 28, 2008 9:58 am
by ubern00ber
ok sweet. And is this network subsystem gonna be when you turn on the rotating packet encryption? cuz i cant wait to see that :)

Re: why do sooo many idle packets get sent?

PostPosted: Thu Aug 28, 2008 2:51 pm
by Karl G.
yep