Editor: Crash when opening, saving and closing a level without any change #217
Comments
|
I've looked at the file and it has been modified by the editor. I've seen 2 things :
The problem @Danimal696 raised is caused by the spaces. Because of them, we do not see the end of the map information and we stay in an infinite loop. To fix that, I will add a trim to the parameters read from the map and check for the EOF in the loop. |
|
For more information, i used microsoft excel 2010 to modify it; i have been using it previously on the all the other releases, this is the first one to present errors with it. |
|
My proposal: @Danimal696 Never ever use an office tool to edit OD files again. I'd propose Scite and such to do so. Sorry. |
|
is there any other option closer to what excel shows? plain text editor make it very hard to see columns |
|
After the change on creatures, there won't be columns anymore in creature definitions. |
|
Since the level was changed using an external unsupported tool, I'd propose to close this one as won't fix. |
|
Even if it was modified with an unsupported tool, I think it is not acceptable to have endless loops. We might also have corrupted files or whatever. I will add in my next PR a fix to stop map loading when after EOF (at least for the case @Danimal696 raised. Concerning the subgoals handling problem, I agree, we don't have to fix it. |
Fair enough. :) |
Might be linked to line endings according to @hwoarangmy
See here for the level tested with the windows build:
http://forum.freegamedev.net/viewtopic.php?p=59984#p59984
The text was updated successfully, but these errors were encountered: