Warning: client exceeded 'ackslimit' 322.0.0.9:5206 (6882) Limit: 3000/sec
#1

When I kill NPC i get crashed and I get this message : Warning: client exceeded 'ackslimit' 322.0.0.9:5206 (6882) Limit: 3000/sec. I read that i had to icrease ackslimit, but how can i do that? Im using samp 0.3z r4 version.
Reply
#2

pls guys
Reply
#3

on server.cfg type: ackslimit 5000
Reply
#4

322.0.0.9

that IP so pretty and crazy
Reply
#5

Quote:
Originally Posted by Unyx
Посмотреть сообщение
322.0.0.9

that IP so pretty and crazy
lol
Reply
#6

Your script is faulty somewhere. Raising the ackslimit isn't a solution to the problem at hand because that message shouldn't appear in the first place. By default it is impossible to kill an NPC so check the documentation for whatever plugin you are using.
Reply
#7

Quote:
Originally Posted by kgbayala528
Посмотреть сообщение
on server.cfg type: ackslimit 5000
Guy below said that this isnt a solution.

Quote:
Originally Posted by Unyx
Посмотреть сообщение
322.0.0.9

that IP so pretty and crazy
thats because of swag

Quote:
Originally Posted by Vince
Посмотреть сообщение
Your script is faulty somewhere. Raising the ackslimit isn't a solution to the problem at hand because that message shouldn't appear in the first place. By default it is impossible to kill an NPC so check the documentation for whatever plugin you are using.
Im using FCNPC plugin. Heres my code :

Код HTML:
public FCNPC_OnDeath(npcid, killerid, weaponid)
{
FCNPC_Kill(npcid);
return 1;
}
Reply
#8

You're getting that message because your server is sending over 3000 messages per second to the client or vice versa.
Every message needs an acknowledge (response) to be sure it got delivered.

Somewhere in your script, you're using a massive loop to get/set data on the client with over 3000 messages (actually it's 6882 messages while 3000 is the limit).
Your script is the problem, not the server.

Increasing the limit is not good practice.
Reply
#9

Yeah well, if that Kill statement calls the OnDeath callback then you've got yourself a nice little infinite loop!
Reply
#10

Could you guys fix the code for me? :/ Im not rly good at pawn.


Heres full code :

public FCNPC_OnTakeDamage(npcid, damagerid, weaponid, bodypart)
{
new Float:HP = FCNPC_GetHealth(npcid);
if(weaponid == 34) FCNPC_SetHealth(npcid, HP-120) ; // Sniper
return 1;
}

public FCNPC_OnDeath(npcid, killerid, weaponid)
{
FCNPC_Kill(npcid);
return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)