subscript out of range errors

Started by tirpider, July 20, 2013, 06:15:02 PM

Previous topic - Next topic
I'm getting "subscript out of range" errors when compiling exploded msh files with corrupted chunks.
(specificly, .chunk files that have an incorrect 'count' field.)

This is because SchMEe isn't checking for errors when compiling, but it's also because I haven't told it to check any subscripts before messing with arrays.

I do not know what other parts of the program this affects, but please feel free to point out any errors, however mysterious they may seem.

The nature of this error is that it could affect any area of the code and will always crash the program. So If SchMEe isn't crashing, then it isn't messing up the mesh with regards to this particular type of error.

This is the next bug I will work on handling.