Corrupt .ash file, kept game from loading

Started by Chrille, Thu 19/08/2010 20:58:43

Previous topic - Next topic

Chrille

I was just doing some scripting when all of a sudden AGS crashed and warned me that the game files might be corrupt. I was quite shocked because even though I did a backup just a few days ago there was still quite alot of work done in that time.

After the game crashed I tried loading my game again and got an error message in swedish that translates to something like:
"Index was outside the matrix boundaries" (+ several lines of code displayed that were probably executed when the program crashed)

AGS crashed as I was editing some lines in one of the script .ash files, so I opened it up in notepad and simply removed the line I was typing as the crashed. The game loaded fine after that and everything seems to work as it should. Seems like no big deal.

I'm still quite worried though. Is it possible something might have been corrupted and if so, could that data still be corrupted?


Edit: This happened again, not long afterwards, the script looked about the same and the crash occured at roughly the same line. I moved things around a bit and it hasn't crashed again. Perhaps this is a bug that can tracked and fixed? I still have the 'broken' files if you want them, CJ.
GASPOP software
http://www.gaspop.com

monkey0506

Just to clarify when the error is cropping up..is this happening when you're building the EXE, simply saving the game, or what?

Chrille

Neither, it happens when I'm editing the script file. Might have been hitting tab or pasting something into it.
GASPOP software
http://www.gaspop.com

SMF spam blocked by CleanTalk