How do I look for the error line?
#1

Hello.
The server being on the host, everything works fine, what happens is that when another player enters, apart from me at the same time it crashes


pawn Код:
[18:57:59] [debug] Server crashed while executing SERVER.amx
[18:57:59] [debug] AMX backtrace:
[18:57:59] [debug] #0 00000014 in public OnDialogResponse (1, 201, 1, -1, 4186508) from SERVER.amx
This also comes out every so often when I enter

pawn Код:
[join] Alexander_Chowi has joined the server (0:localhost)
[debug] Run time error 4: "Array index out of bounds"
[debug]  Accessing element at index 65535 past array upper bound 499
[debug] AMX backtrace:
[debug] #0 0011305c in public OnPlayerTakeDamage (0, 65535, 1099405107, 54, 3) from SERVER.amx
[debug] Run time error 4: "Array index out of bounds"
[debug]  Accessing element at index 65535 past array upper bound 499
[debug] AMX backtrace:
[debug] #0 0011305c in public OnPlayerTakeDamage (0, 65535, 1084122727, 54, 3) from SERVER.amx
[debug] Run time error 4: "Array index out of bounds"
[debug]  Accessing element at index 65535 past array upper bound 499
[debug] AMX backtrace:
[debug] #0 0011305c in public OnPlayerTakeDamage (0, 65535, 1084122727, 54, 3) from SERVER.amx
Would you be so kind as to explain me how to solve it, what are these errors and their causes?
Reply
#2

One of the most common easiest errors to fix.

https://sampforum.blast.hk/showthread.php?tid=654036
Reply
#3

Furthermore, you may compile your script with -d3 tag and compile and run it with crash detect plugin loaded, which might return the exact lines where the error occurs - but of course, your error in your case is rather, simple.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)