About ackslimit
#1

What kind of factors can influence the increase of the acks sent per second by a player?

Recently, i had a problem with my server... some players can't login 'cause they exceed the allowed acks (3000 by default) so, they get kicked.

I solved it by increasing the allowed number of acks sent per second...

but I want to know .. if there is any type of factor, such as scripts or host problems, that may affect the increase of them.

I'm using 0.3.DL version.
Reply
#2

Changing the Ackslimit isn't likely to be a good solution.

When I've encountered this is when people have overloaded certain callbacks... Mainly OnPlayerKeyStateChange, or other callbacks that do similar, such as getting information from the players client.

I don't think OnPlayerUpdate could do it, but it may be able to if the callback is checking them excessively.
Reply
#3

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
Changing the Ackslimit isn't likely to be a good solution.

When I've encountered this is when people have overloaded certain callbacks... Mainly OnPlayerKeyStateChange, or other callbacks that do similar, such as getting information from the players client.

I don't think OnPlayerUpdate could do it, but it may be able to if the callback is checking them excessively.
Knowing this ...

I think my problem may be in OnPlayerConnect, I'll check my script.
because after OnPlayerSpawn, acks sent look normal when you press f5

Thank you for that info...
Reply
#4

Cool as man, check everything though, as chances are if you've strained the script in one place, you've likely repeated that 'method' in other areas...

Also check out that profiler plugin, it could shed some light on this, and other issues.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)