SA-MP Forums Archive
[debug] Run time error 4: "Array index out of bounds" - 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: [debug] Run time error 4: "Array index out of bounds" (/showthread.php?tid=408160)



[debug] Run time error 4: "Array index out of bounds" - Norrin - 17.01.2013

Hello, I'm getting this error when I load the game.
Код:
[debug] Run time error 4: "Array index out of bounds"
[debug]  Accessing element at index 20 past array upper bound 19
[debug] AMX backtrace:
[debug] #0 0002ecf4 in public OnQueryFinish () from IRP.amx
Here is the OnQueryFinish callback: http://pastebin.com/WvEmwjQY

And, it would be really great if the mistake could be explained and elaborated.


Re: [debug] Run time error 4: "Array index out of bounds" - Norrin - 18.01.2013

Bump. Anyone please? I've been waiting for a long time, having to stop my project.

Well, I've got one more problem too, recently.

Код:
Failed (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory)
When I was using a Linux (Ubuntu) server, I got this message from the server and it just halts.


Re: [debug] Run time error 4: "Array index out of bounds" - Glad2BeHere - 18.01.2013

get the plugin.......... and add it to ur plugins folder


Re: [debug] Run time error 4: "Array index out of bounds" - Threshold - 18.01.2013

Found this thread by searching: https://sampforum.blast.hk/showthread.php?tid=97167

There is a few options on how to fix in here.


Re: [debug] Run time error 4: "Array index out of bounds" - Norrin - 18.01.2013

Basically, none works. But- I'd appreciate if my first problem with the array could be fixed.