Mirage Source
Packet Flooding - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51)
+----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44)
+----- Thread: Packet Flooding (/showthread.php?tid=2600)



Packet Flooding - Matt - 05-03-2009

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?


Re: Packet Flooding - Robin - 05-03-2009

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.


Re: Packet Flooding - Jacob - 05-03-2009

When was the last time the server got restarted?


Re: Packet Flooding - Lochie - 05-03-2009

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


Re: Packet Flooding - Matt - 05-03-2009

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

5 minutes ago. Tested again afterwards, same thing.


Re: Packet Flooding - Matt - 05-03-2009

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


Re: Packet Flooding - Nean - 05-03-2009

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?


Re: Packet Flooding - Tony - 05-03-2009

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

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


Re: Packet Flooding - Matt - 05-03-2009

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.


Re: Packet Flooding - Tony - 05-03-2009

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


Re: Packet Flooding - Matt - 05-03-2009

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.