SA-MP Forums Archive
Very simple thing, but yet weird - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Very simple thing, but yet weird (/showthread.php?tid=634968)



Very simple thing, but yet weird - darkhunter332 - 29.05.2017

Any idea how to fix that bug?,
basicly when you shoot someone's vehicle and destroy his car, it basicly crashes everyone around and raises up the acks, no idea what the hell is that, tried to raise up the limit to 10k, any idea how to fix that?

Код:
22:55:32] [warning] client exceeded 'ackslimit' 79.181.49.99:49158 (10625) Limit: 10000/sec
[22:55:34] [warning] client exceeded 'ackslimit' 90.253.53.205:62125 (16206) Limit: 10000/sec
[22:55:36] [warning] client exceeded 'ackslimit' 112.198.83.239:10509 (18294) Limit: 10000/sec
[22:55:41] [chat] [Nick_Weston]: Stop.
[22:55:42] [warning] client exceeded 'ackslimit' 81.206.106.156:57223 (12261) Limit: 10000/sec
[22:55:43] [part] Jeroen_Warshauer has left the server (8:0)
[22:55:44] [warning] client exceeded 'ackslimit' 119.94.41.68:60467 (11648) Limit: 10000/sec
[22:55:45] [part] Calzo_Dee has left the server (2:0)
[22:55:46] [part] Derrick_Smith has left the server (6:0)
[22:55:53] [part] Johnny_Wilson has left the server (3:0)
[22:55:55] [part] DeAndre_Williams has left the server (1:0)
[22:56:00] [cmd] [Nick Weston]: /b .
[22:56:12] [cmd] [Nick Weston]: /b .
[22:56:13] [cmd] [Nick Weston]: /b Damn this lag.
[22:56:17] [cmd] [Nick Weston]: /b 
[22:56:27] [cmd] [Nick Weston]: /b
[22:56:27] [warning] client exceeded 'ackslimit' 178.132.219.224:64350 (17808) Limit: 10000/sec



Re: Very simple thing, but yet weird - iLearner - 29.05.2017

Increase ack limit?


Re: Very simple thing, but yet weird - darkhunter332 - 30.05.2017

I did, but it shows up all the time, maybe i should check the script?


Re: Very simple thing, but yet weird - Vince - 30.05.2017

Are there any recursions in OnPlayerWeaponShot/OnVehicleDamageStatusUpdate/OnVehicleDeath? Raising the ackslimit is almost never the solution. This message often occurs when you inadvertently create a callback loop, i.e. you have a function that calls the callback within the body of that callback. e.g. setting vehicle health to zero in OnVehicleDeath, which will then call OnVehicleDeath, which will then again set the health to zero and so on and so fort.