[REP++] Players getting 'server closed the connection'
#1

Hello guys , i own a sa-mp server with 200+ players and I get a lot of ackslimit 3000/sec reached warnings in my server log. Some players get suddenly 'server closed the connection' and they can't reconnect only after 2 attempts because the server tells them that they are banned. 'You are banned from this server.' I only can fix this by increasing the ackslimit to 6000 or 7000 but it's not normal to get this type of warnings. What can cause this and what should I do? Thanks for your help.
Reply
#2

The "You are banned from this server." is an infamous SA:MP bug. And show us the code of this: ackslimit "thingy-ma-jiggy"
Reply
#3

EXAMPLE HERE:
*Warning: client exceeded 'ackslimit' 110.174.228.223:50520 (1073) Limit: 3000/sec
Reply
#4

I said the code, not the output. (Search for ackslimit in your script)
Reply
#5

I don't have anything in my game mode about ackslimit.
Any new ideeas?
Reply
#6

Quote:
Originally Posted by Weponz
Посмотреть сообщение
I said the code, not the output. (Search for ackslimit in your script)
Ackslimit is in server.cfg ...

I reached ackslimit in an area with alot of objects (~600) stremed in.
Not sure of any other way to exeed ackslimit.
Reply
#7

Quote:
Originally Posted by Richie©
Посмотреть сообщение
Ackslimit is in server.cfg ...

I reached ackslimit in an area with alot of objects (~600) stremed in.
Not sure of any other way to exeed ackslimit.
I don't have ackslimit in server.cfg so by default it's set to 3000.
How can you detect what is the cause or causes that you can get ackslimit warnings ?
Reply
#8

Quote:
Originally Posted by buburuzu19
Посмотреть сообщение
I don't have ackslimit in server.cfg so by default it's set to 3000.
How can you detect what is the cause or causes that you can get ackslimit warnings ?
This happend when i teleported to custom interior with about 600 streamed objects, whick makes sense since alot of msgs is sent to client. After increasing to 4000 i dont get ackslimit warnings.
Reply
#9

Infinite loops often cause this. They may not always manifest themselves in regular for or while loops. Toggling spectating off within OnPlayerSpawn can cause this. Using CancelSelectTextDraw within OnPlayerClickTextDraw can also cause this. And perhaps there are more of such flaws.
Reply
#10

Quote:
Originally Posted by Vince
Посмотреть сообщение
Infinite loops often cause this. They may not always manifest themselves in regular for or while loops. Toggling spectating off within OnPlayerSpawn can cause this. Using CancelSelectTextDraw within OnPlayerClickTextDraw can also cause this. And perhaps there are more of such flaws.
Hello Vince,

I read one of your old replies to another guy who had the same problem like me. I removed TogglePlayerSpectating from onplayerspawn and problem still continues.

I also have , at onplayerspawn ofcourse, the next things that may be suspicious:

"SetCameraBehindPlayer(playerid);"
"ResetPlayerWeapons(playerid);"
"SetPlayerWeather(playerid, 1);"
"SyncPlayerTime(playerid);"
"ResetPlayerWeapons(playerid);"
"GivePlayerWeapons(playerid);"


Suddenly all players got ackslimit warning in server log then they got [part] x disconnected. What can cause this ? Can you tell me another causes or what to search ? Can you give me your contact id please?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)