SA-MP Forums Archive
What's the cause of all this Debug errors? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: What's the cause of all this Debug errors? (/showthread.php?tid=417278)



What's the cause of all this Debug errors? - Neil. - 20.02.2013

pawn Код:
[01:27:50] Incoming connection: 192.168.56.1:55534
[01:27:51] [join] Neil has joined the server (0:192.168.56.1)
[01:33:08] [debug] Run time error 4: "Array index out of bounds"
[01:33:08] [debug]  Accessing element at negative index -1
[01:33:08] [debug] AMX backtrace:
[01:33:08] [debug] #0 0003c748 in ?? () from backup.amx
[01:33:08] [debug] #1 0003c680 in ?? () from backup.amx
[01:33:08] [debug] #2 0003c468 in ?? () from backup.amx
[01:33:08] [debug] #3 000255fc in public Itter_OnPlayerDisconnect () from backup.amx
[01:33:08] [debug] #4 native CallLocalFunction () [00471e90] from samp-server.exe
[01:33:08] [debug] #5 00009384 in public SSCANF_OnPlayerDisconnect () from backup.amx
[01:33:08] [debug] #6 native CallLocalFunction () [00471e90] from samp-server.exe
[01:33:08] [debug] #7 00003250 in public Streamer_OnPlayerDisconnect () from backup.amx
[01:33:08] [debug] #8 native CallLocalFunction () [00471e90] from samp-server.exe
[01:33:08] [debug] #9 000009b0 in public OnPlayerDisconnect () from backup.amx
[01:33:08] [part] Neil has left the server (0:1)
I have no idea what are those errors and what should I do to prevent those.
Cheers for any help.

Edit: All of those debug errors seems to happen when a player disconnects.
Edit2: Fixed. Turns out one local function on the callback OnPlayerDisconnect somehow made all those errors.