Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Packet Flooding
#1
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?
Reply
#2
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.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#3
When was the last time the server got restarted?
Reply
#4
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?
Reply
#5
Dugor Wrote:When was the last time the server got restarted?

5 minutes ago. Tested again afterwards, same thing.
Reply
#6
Got it fixed. I really suggest everyone convert away from GetTickCount.
Reply
#7
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?
Reply
#8
Matt Wrote:Got it fixed. I really suggest everyone convert away from GetTickCount.

Hmm did you use the alternative Joke posted? or whoever..
Reply
#9
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.
Reply
#10
Alright I'll be sure to keep this in mind, thanks.
Reply
#11
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)