crashdetect detects problems - 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: crashdetect detects problems (
/showthread.php?tid=420165)
crashdetect detects problems -
toi - 03.03.2013
flange standard problems are detected by crashdetect:
Код:
[21:42:26] [kill] UltimaOmbrA killed Vincenzo_cavallo Desert Eagle
[21:43:21] [debug] Run time error 4: "Array index out of bounds"
[21:43:21] [debug] Accessing element at index 65535 past array upper bound 499
[21:43:21] [debug] AMX backtrace:
[21:43:21] [debug] #0 0000d358 in public FC_OnPlayerDeath () from RRS.amx
[21:43:21] [debug] #1 native CallLocalFunction () [080d24b0] from samp03svr
[21:43:21] [debug] #2 00003c68 in public OnPlayerDeath () from RRS.amx
[21:43:21] [death] lelecar199 died 54
[21:44:01] [debug] Run time error 4: "Array index out of bounds"
[21:44:01] [debug] Accessing element at index 65535 past array upper bound 499
[21:44:01] [debug] AMX backtrace:
[21:44:01] [debug] #0 0000d358 in public FC_OnPlayerDeath () from RRS.amx
[21:44:01] [debug] #1 native CallLocalFunction () [080d24b0] from samp03svr
[21:44:01] [debug] #2 00003c68 in public OnPlayerDeath () from RRS.amx
[21:44:01] [death] Vincenzo_cavallo died 255
[21:44:07] [part] Vincenzo_cavallo has left the server (8:1)
[21:44:19] [debug] Run time error 4: "Array index out of bounds"
[21:44:19] [debug] Accessing element at index 65535 past array upper bound 499
[21:44:19] [debug] AMX backtrace:
[21:44:19] [debug] #0 0000d358 in public FC_OnPlayerDeath () from RRS.amx
[21:44:19] [debug] #1 native CallLocalFunction () [080d24b0] from samp03svr
[21:44:19] [debug] #2 00003c68 in public OnPlayerDeath () from RRS.amx
[21:44:19] [death] Vincenzo_GOKU died 54
Re: crashdetect detects problems -
mati233 - 03.03.2013
Please post your OnPlayerDeath.
Basicly you are trying to set some value to an array which size is 500 out of that bound.