Mirage Source
http://miragesource.net/forums/

Packet Flooding
http://miragesource.net/forums/viewtopic.php?f=193&t=5177
Page 1 of 1

Author:  Matt [ Thu Mar 05, 2009 1:21 am ]
Post subject:  Packet Flooding

When I run my server on my VPS, be it my game server or a vanilla MS4, and I login on a non-admin character, after walking for a few seconds, I get booted for packet flooding.

Nothing else causes it, only walking. It also only happens if I have the server on the VPS. Any idea what could be causing this?

Author:  Robin [ Thu Mar 05, 2009 1:23 am ]
Post subject:  Re: Packet Flooding

Matt wrote:
When I run my server on my VPS, be it my game server or a vanilla MS4, and I login on a non-admin character, after walking for a few seconds, I get booted for packet flooding.

Nothing else causes it, only walking. It also only happens if I have the server on the VPS. Any idea what could be causing this?


I'm guessing your getting some flooding of packets.

Author:  Jacob [ Thu Mar 05, 2009 1:24 am ]
Post subject:  Re: Packet Flooding

When was the last time the server got restarted?

Author:  Lochie [ Thu Mar 05, 2009 1:26 am ]
Post subject:  Re: Packet Flooding

I increased my packet limitations to 50 :P just to see if it made it slower.
Can't you trace the packets back to see what they are?

Author:  Matt [ Thu Mar 05, 2009 1:28 am ]
Post subject:  Re: Packet Flooding

Dugor wrote:
When was the last time the server got restarted?


5 minutes ago. Tested again afterwards, same thing.

Author:  Matt [ Thu Mar 05, 2009 2:42 am ]
Post subject:  Re: Packet Flooding

Got it fixed. I really suggest everyone convert away from GetTickCount.

Author:  Nean [ Thu Mar 05, 2009 2:47 am ]
Post subject:  Re: Packet Flooding

Matt wrote:
Got it fixed. I really suggest everyone convert away from GetTickCount.


Uhh, I was told that GetTickCount was the most effecient way for timing... There's better? Care to elaborate?

Author:  Tony [ Thu Mar 05, 2009 2:50 am ]
Post subject:  Re: Packet Flooding

Matt wrote:
Got it fixed. I really suggest everyone convert away from GetTickCount.


Hmm did you use the alternative Joke posted? or whoever..

Author:  Matt [ Thu Mar 05, 2009 2:53 am ]
Post subject:  Re: Packet Flooding

Tony wrote:
Matt wrote:
Got it fixed. I really suggest everyone convert away from GetTickCount.


Hmm did you use the alternative Joke posted? or whoever..


I tried it, because I couldn't find Verrigan's. However, it didn't work. Same problem as GetTickCount. Dugor linked me to Verrigan's version, which I had in the OLD MS303 version of FPO a year or two ago. It's always worked for me.

If you do the tutorial right, you just gotta replace GetTickCount with GetTickCountNew and any variable defined to be a timer, needs to be a currency, not a long.

Author:  Tony [ Thu Mar 05, 2009 2:55 am ]
Post subject:  Re: Packet Flooding

Alright I'll be sure to keep this in mind, thanks.

Author:  Matt [ Thu Mar 05, 2009 2:57 am ]
Post subject:  Re: Packet Flooding

Tony wrote:
Alright I'll be sure to keep this in mind, thanks.


Np. Dugor noticed right off hand that it was a problem with GetTickCount, so I changed it. Haven't had a problem since. It's actually a bit more accurate as well.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/