[HELP] Array Index Out of Bounds [UNSOLVED] - 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: [HELP] Array Index Out of Bounds [UNSOLVED] (
/showthread.php?tid=530305)
[HELP] Array Index Out of Bounds [UNSOLVED] -
TheCoopster - 06.08.2014
I have a fully MySQL script. And there is an array index out of bounds within my OnGameModeInit. But I cannot locate it due to me having alot of stuff located within the callback.
If anyone knows how to find the array that is giving the problem please tell me. Because I really don't want to have to lose my script because of something stupid I did..
Re: [HELP] Array Index Out of Bounds -
Banditukas - 06.08.2014
50 can be max value search
Re: [HELP] Array Index Out of Bounds -
TheCoopster - 06.08.2014
Yeah but.. how do I fix/find the problem?!
Re: [HELP] Array Index Out of Bounds [UNSOLVED] -
Vince - 06.08.2014
The backtrace neatly tells you it's in OnGameModeInit, or in on of the (custom) functions it calls. For more detailed information compile with -d3 flag. See the crashdetect topic on how to do that.