"ackslimit" server problem.
#17

Quote:
Originally Posted by RotX
View Post
Okay, and is there a way we can find the line on which the error is?
It's not necessarily one line though...

It can come about because of bad coding, and stacking check, upon check, upon check.

In particular if you've started putting in OnPlayerKeyStateChange checks incorrectly, that can cause this. But anything that checks the client can equally cause this as what can be happening is you're flooding the client, and it's simply being spammed.

For example, in the case of the OnPlayerKeyStateChange, if you haven't checked it right, then EVERY KEY the player uses, will cause a check as such.



This come to a point where coding logic is needed. Similar to a command checking if a player is in a car, before checking if they are in the faction required for the command to be used.

Whilst it won't affect them in the start, once you start loading up multiple commands, and repeat the same mistake, it will start affecting the script.

Like, checking if a player is in a vehicle, and then checking if they are connected when you don't need to.
Reply


Messages In This Thread
"ackslimit" server problem. - by DomagojSellug - 16.09.2017, 15:14
Re: "ackslimit" server problem. - by RotX - 16.09.2017, 15:22
Re: "ackslimit" server problem. - by DomagojSellug - 16.09.2017, 15:24
Re: "ackslimit" server problem. - by RotX - 16.09.2017, 15:26
Re: "ackslimit" server problem. - by fiki574 - 16.09.2017, 15:30
Re: "ackslimit" server problem. - by RotX - 16.09.2017, 15:32
Re: "ackslimit" server problem. - by rangerxxll - 16.09.2017, 15:44
Re: "ackslimit" server problem. - by DomagojSellug - 16.09.2017, 16:26
Re: "ackslimit" server problem. - by dugi - 16.09.2017, 16:31
Re: "ackslimit" server problem. - by cuber - 16.09.2017, 16:32
Re: "ackslimit" server problem. - by DomagojSellug - 16.09.2017, 16:38
Re: "ackslimit" server problem. - by DomagojSellug - 16.09.2017, 16:41
Re: "ackslimit" server problem. - by RotX - 16.09.2017, 16:43
Re: "ackslimit" server problem. - by Sew_Sumi - 16.09.2017, 16:57
Re: "ackslimit" server problem. - by Christofski - 17.09.2017, 12:15
Re: "ackslimit" server problem. - by RotX - 17.09.2017, 16:46
RotX - by Sew_Sumi - 17.09.2017, 19:05

Forum Jump:


Users browsing this thread: 2 Guest(s)