Quote Originally Posted by Shaner View Post
Interesting, I did not know that, thank you. Still though, I already went back and tried it with dimensions map[20][20][10][2], and again the integers toward the end got all corrupted. Even stranger, with this same set of dimensions, it let me examine all the way up to map[27][0][0][0] without error, when it clearly should have broken :S. For this same reason no errors were reported with the y range being 25.

When the x dimension was 25, errors did not pop up until x=22. When the x dimension was 20, errors started popping up around 17. I devised a temporary workaround by keeping the size of the array [25][25][10][2], but only operating in the sub-20 range for both x and y. I'd still really like to know what causes this bizarre series of phenomena.
You are not understanding arrays. You are still not accessing within the boundaries.