04.06.2015, 07:54
[06:49:10] [debug] Run time error 4: "Array index out of bounds"
Meaning that you are trying to access an array element that does not exist.
Say, you have created an array like this:
Now, the array has three positions: 0, 1 and 2 (arrays start at position 0). If you are calling the array like this:
Then you will get an array index out of bounds. You are getting this error during server runtime, so it is probably a dynamic field that you are accessing.
Meaning that you are trying to access an array element that does not exist.
Say, you have created an array like this:
Code:
new myArray = [0, 1, 2]; // not representative code
Code:
myArray[3];