Array out of bounds
#6

Quote:
Originally Posted by DarkSkull
Посмотреть сообщение
Try using debug level 3, so it shows you the exact lines that produce the crash.
If you don't know how to do that, here's how:
You should create a file called pawn.cfg in your pawno folder, inside this file write:

PHP код:
-d3 
Save the file and recompile your script and run it with crashdetect again.

And then show us the exact line that caused the crash. It should be a for loop most of the time.
Okay I'm on it.

Quote:
Originally Posted by Pottus
Посмотреть сообщение
Someone really needs to write a tutorial about array out of bounds issues. This is such a common probably and is pretty easy to solve and if you can't solve it easily then there is a bigger problem. Scripting help is for asking questions by people who know how to script. Editing someone else's script then wondering why you are having problems shouldn't warrant a help request.
I didn't even take the chance of editing it, I used it as a try to test the systems etc.. before editing and these stuff, I can usually fix the array out of bounds error, but I can't even find where is the array in this function..

Quote:
Originally Posted by Battlezone
Посмотреть сообщение
That's a long copy paste there..
Sorry for it..
Reply


Messages In This Thread
Array out of bounds - by JasonRiggs - 18.05.2018, 12:44
Re: Array out of bounds - by JasonRiggs - 18.05.2018, 23:13
Re: Array out of bounds - by DarkSkull - 19.05.2018, 00:03
Re: Array out of bounds - by Pottus - 19.05.2018, 00:11
Re: Array out of bounds - by Battlezone - 19.05.2018, 00:19
Re: Array out of bounds - by JasonRiggs - 19.05.2018, 00:38
Re: Array out of bounds - by JasonRiggs - 19.05.2018, 10:31
Re: Array out of bounds - by JasonRiggs - 19.05.2018, 16:29
Re: Array out of bounds - by RogueDrifter - 19.05.2018, 16:32
Re: Array out of bounds - by JasonRiggs - 19.05.2018, 16:34

Forum Jump:


Users browsing this thread: 2 Guest(s)