Crashdetect errors
#1

Hi!

What are these mistakes, exactly?

Код:
[warning] client exceeded 'ackslimit' 127.0.0.1:63203 (3060) Limit: 3000/sec
And:

Код:
[01:21:21] [debug] AMX backtrace:
[01:21:21] [debug] #0 000535c0 in public OnPlayerKeyStateChange (0, 16, 0) from lvrp.amx
[01:21:21] [debug] Run time error 4: "Array index out of bounds"
[01:21:21] [debug]  Accessing element at negative index -1
Thanks in advance!
Reply
#2

You'll want to be posting OnPlayerKeyStateChange up.
Reply
#3

There's only one error.

Код:
[debug] Run time error 20: "Invalid index parameter (bad entry point)"
Pic:
Reply
#4

https://sampforum.blast.hk/showthread.php?tid=443341

That error is probably unrelated to the error you had prior, but it more than likely says there is more wrong with your script than you think.
Reply
#5

For that spammed error you have to update crashdetect: https://github.com/Zeex/samp-plugin-...etect/releases

For the OnPlayerKeyStateChange error: you are accessing an array's index -1 (example: Array[ -1 ], they start from 0). Create a file named "pawn.cfg" where your pawno.exe is located and write "-d3 -r" in it, then compile the script again and check the errors again, you will see the exact line of the problem.

For the ackslimit problem: you use way too much resources (RPCs), you have to optimise your gamemode. (maybe you are using huge loops)
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)