Valentine90 Posted February 10, 2013 Author Share Posted February 10, 2013 **Sorry my english**Seems a little mistake, this is one of the most most dangerous bugs that I've seen, this is the fix that can not miss in your game because it is an important thing is the connection between the client and server. The _Eclipse Origins_ and derivatives have an anti flood system that prevents overloads the server, so that a player can only occupy a maximum of 1000 bytes per second in memory of the server computer, and also you only can send and 25 messages receive between client and server, this is great, but has a big problem, even if a player is not a hacker, one time or another depending on the system, the player can unwittingly exceed these limits, the problem is that when you pass that limit, NEVER MORE you can receive anything from the server, forcing to the player having to disconnect and try a new connection to the server. This error went unnoticed because not it happens this problem with players admins.**Open Server****1 -** In **modServerTCP**, search for:``` If GetPlayerAccess(index) <= 0 Then' Check for data floodingIf TempPlayer(index).DataBytes > 1000 ThenExit SubEnd If' Check for packet floodingIf TempPlayer(index).DataPackets > 25 ThenExit SubEnd IfEnd If```**2 -** Replace by:``` If GetPlayerAccess(index) <= 0 Then' Check for data floodingIf TempPlayer(index).DataBytes > 1000 ThenIf GetTickCount < TempPlayer(index).DataTimer ThenExit SubEnd IfEnd If' Check for packet floodingIf TempPlayer(index).DataPackets > 25 ThenIf GetTickCount < TempPlayer(index).DataTimer ThenExit SubEnd IfEnd IfEnd If```**Credits:**Valentine Link to comment Share on other sites More sharing options...
Daneta Posted February 10, 2013 Share Posted February 10, 2013 is this with DE Link to comment Share on other sites More sharing options...
Guest Posted February 10, 2013 Share Posted February 10, 2013 I fixed this yesterday in EO. Good work for spotting it ;].> is this with DEYes. Link to comment Share on other sites More sharing options...
Daneta Posted February 10, 2013 Share Posted February 10, 2013 ok thx fixed it Link to comment Share on other sites More sharing options...
Whackeddie99 Posted August 2, 2013 Share Posted August 2, 2013 good fix Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now