Quote:
Originally Posted by AngeIII
check your arrays sizes.
falling_speed[id], PlayerLevel[id],exp[id],LEVELS[PlayerLevel[id]], LEVELS[PlayerLevel[id]] - exp[id]
some of them is wrong.
you try to call cell number Y but array size is X and Y>=X (last index number of array X is X-1), array[32]=first index 0 last 31.
|
Array sizes are not likely the issue (meaning making the array bigger won't fix the issue). He needs to prevent indexing arrays with values larger than the size of the array.
Because it's not this simple, we need the WHOLE code.
__________________