SA-MP Forums Archive
Need help - Run time error 4 - 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: Need help - Run time error 4 (/showthread.php?tid=412105)



Need help - Run time error 4 - RampaGeuse - 31.01.2013

[00:07:57] [debug] Run time error 4: "Array index out of bounds"
[00:07:57] [debug] Accessing element at index 1500 past array upper bound 1499
[00:07:57] [debug] AMX backtrace:
[00:07:57] [debug] #0 0011fc2c in public FC_OnGameModeInit () from internationalrp.amx
[00:07:57] [debug] #1 native CallLocalFunction () [080dc980] from samp03svr
[00:07:57] [debug] #2 0000db7c in public SSCANF_OnGameModeInit () from internationalrp.amx
[00:07:57] [debug] #3 native CallLocalFunction () [080dc980] from samp03svr
[00:07:57] [debug] #4 00005908 in public YVers_OnScriptInit () from internationalrp.amx
[00:07:57] [debug] #5 native CallLocalFunction () [080dc980] from samp03svr
[00:07:57] [debug] #6 0000503c in public Timers_OnScriptInit () from internationalrp.amx
[00:07:57] [debug] #7 native CallLocalFunction () [080dc980] from samp03svr
[00:07:57] [debug] #8 00004dbc in public Streamer_OnGameModeInit () from internationalrp.amx
[00:07:57] [debug] #9 native CallLocalFunction () [080dc980] from samp03svr
[00:07:57] [debug] #10 0000291c in public Itter_OnGameModeInit () from internationalrp.amx
[00:07:57] [debug] #11 native CallLocalFunction () [080dc980] from samp03svr
[00:07:57] [debug] #12 0000077c in public OnGameModeInit () from internationalrp.amx


When I do fix it, it works fine on my PC but on linux when I upload those files it gives me this kind of bug.. Can anyone guide me how can I fix it?

Thanks in advance


Re: Need help - Run time error 4 - MaxPierce - 16.02.2013

I know this is a bit old, but it's important! I have the same problems also, my server keeps crashing every 5-10 minutes. I've gone through the script and everything.