Mirage Source

Free ORPG making software.
It is currently Mon Dec 15, 2025 12:49 am

All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Packet Flooding
PostPosted: Thu Mar 05, 2009 1:21 am 
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?


Top
  
 
 Post subject: Re: Packet Flooding
PostPosted: Thu Mar 05, 2009 1:23 am 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
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?


Image


Top
 Profile  
 
 Post subject: Re: Packet Flooding
PostPosted: Thu Mar 05, 2009 1:24 am 
Offline
Pro
User avatar

Joined: Tue Nov 13, 2007 2:42 pm
Posts: 509
When was the last time the server got restarted?


Top
 Profile  
 
 Post subject: Re: Packet Flooding
PostPosted: Thu Mar 05, 2009 1:26 am 
Offline
Regular
User avatar

Joined: Tue Mar 13, 2007 3:42 am
Posts: 49
Location: Doorstep, Southampton, UK
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?

_________________
Image
Be a member of the mafia! Kill people! :P or play DF...
Lochie - Modern Mischief


Top
 Profile  
 
 Post subject: Re: Packet Flooding
PostPosted: Thu Mar 05, 2009 1:28 am 
Dugor wrote:
When was the last time the server got restarted?


5 minutes ago. Tested again afterwards, same thing.


Top
  
 
 Post subject: Re: Packet Flooding
PostPosted: Thu Mar 05, 2009 2:42 am 
Got it fixed. I really suggest everyone convert away from GetTickCount.


Top
  
 
 Post subject: Re: Packet Flooding
PostPosted: Thu Mar 05, 2009 2:47 am 
Offline
Persistant Poster
User avatar

Joined: Thu Jul 24, 2008 6:42 am
Posts: 703
Google Talk: [email protected]
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?

_________________
Image
GIAKEN wrote:
Since I'm into men, not women

GIAKEN wrote:
I can't take these huge penises anymore! All that's left is shame! And blood


Top
 Profile  
 
 Post subject: Re: Packet Flooding
PostPosted: Thu Mar 05, 2009 2:50 am 
Offline
Persistant Poster
User avatar

Joined: Wed Nov 29, 2006 11:25 pm
Posts: 860
Location: Ayer
Matt wrote:
Got it fixed. I really suggest everyone convert away from GetTickCount.


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

_________________
Image


Top
 Profile  
 
 Post subject: Re: Packet Flooding
PostPosted: Thu Mar 05, 2009 2:53 am 
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.


Top
  
 
 Post subject: Re: Packet Flooding
PostPosted: Thu Mar 05, 2009 2:55 am 
Offline
Persistant Poster
User avatar

Joined: Wed Nov 29, 2006 11:25 pm
Posts: 860
Location: Ayer
Alright I'll be sure to keep this in mind, thanks.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Packet Flooding
PostPosted: Thu Mar 05, 2009 2:57 am 
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.


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group