SA-MP Forums Archive
Crash Detect Problem - 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: Crash Detect Problem (/showthread.php?tid=609388)



Crash Detect Problem - Ugaustin - 11.06.2016

I am getting this in Server Log, how can I fix ??


PHP код:
02:09:07] [debugRun time error 4"Array index out of bounds"
[02:09:07] [debug]  Accessing element at index 330 past array upper bound 301
[02:09:07] [debugAMX backtrace:
[
02:09:07] [debug#0 00061114 in public AB_OnPlayerStateChange (1, 2, 1) from PELANA.amx
[02:09:07] [debug#1 0000a174 in public OnPlayerStateChange (1, 2, 1) from PELANA.amx 
EDIT:

I have this in compiler??is it good or bad??

PHP код:
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
Header size
:          17100 bytes
Code size
:          4011800 bytes
Data size
:          2762324 bytes
Stack
/heap size:      16384 bytesestimated maxusage=10872 cells (43488 bytes)
Total requirements6807608 bytes 



Re: Crash Detect Problem - Ugaustin - 12.06.2016

anyone?


Re: Crash Detect Problem - Misiur - 12.06.2016

Compile your gamemode with -d3 flag (https://github.com/Zeex/samp-plugin-...ith-debug-info), then you'll see which line causes the crash


Re: Crash Detect Problem - Ugaustin - 12.06.2016

I don't know how..