Torchmodders

Modding => Modding Questions => Topic started by: Haxley on February 28, 2015, 12:50:01 pm


Title: Area Layouts Breaking..?
Post by: Haxley on February 28, 2015, 12:50:01 pm
I'm having a serious problem!

I'm designing and editting towns and areas and stuff, and for some reason, it seems random almost, my layouts get an error, so I can't open them anymore and all the work is for naught.

The error itself doesn't tell me anything, even after scrounging through the dump, it just says that there's an unhandled exception and I have to close down GUTS and re-open, and load up my backup and try again and hope the error doesn't occur.

Does anyone know what in the world is going on? I'm new to making areas and such but I'm not using anything special. Regular tiles, regular pieces, again, nothing special.

It seems that sometimes I can save the file as a different filename and occasionally it'll bypass the error.

This is causing me grief lol

So if anyone knows what's up or any way to help, please do!

Thanks~

~Haxley
Title: Re: Area Layouts Breaking..?
Post by: gytfunke on February 28, 2015, 03:30:40 pm
Backups, backups, backups.

One time, I spent 10 hours trying to fix a layout like this.  There are too many variables that could be causing the crash to really give you much of an idea.  Most often for me it's an incorrect file reference... somewhere.

Best way to troubleshoot it is to save-as with a different file name, then go through the text document and see if you can't remove a category of elements in the layout.  Personally, I split everything up into folders like 1) Tiles, 2) Monsters, 3) Treasure, etc.  So, I'd go in and remove all the tiles, then try to load the layout in GUTS.  If it doesn't open, replace the deleted category and repeat by deleting a different category.  Continue until it works and you'll know which folder the faulty piece is in.  Then carry on with the same process as you work your way deeper into the folder.
Title: Re: Area Layouts Breaking..?
Post by: Haxley on February 28, 2015, 04:00:08 pm
Good idea~ I've been doing this and found my culprit, twice. They were different both times so I'm guessing it changes for everyone/everything going on. I'll post back if there's any sort of pattern to the errors [i.e, specific file or tile, etc]