Page 1 of 1

Editor corrupted dungeon files?

Posted: Sat Nov 08, 2014 3:31 pm
by The cube
So, i was editing the custom dungeon i have been working with, with the only tabs currently open being my browser and dungeon editor. I was testing it, then putted it to pause and edited the text on a scroll in a alcove. When i tried to refresh, it crashed. Me being the silly me, i closed the crash window and tried to restart the editor. I still have the error logs on my computer but have no idea how to find them. So then when i tried to restart and load my dungeon, the editor gave me this warning:

Image

Now, that is one of the lua files of the dungeon i am working on, but i swear i have not touched those at all for this dungeon. Also, it is SOOOOO long that i have no hopes of finding that spot.

I have no other saves for the dungeon, do i need to start over or can this still be fixed?

Thanks.

Re: Editor corrupted dungeon files?

Posted: Sat Nov 08, 2014 3:53 pm
by NutJob
The cube wrote:Also, it is SOOOOO long that i have no hopes of finding that spot.
Have you considered looking on line 2039 in dungeon.lua?

Re: Editor corrupted dungeon files?

Posted: Sat Nov 08, 2014 4:12 pm
by The cube
Yeah, but i have no text editor that shows lines..

Re: Editor corrupted dungeon files?

Posted: Sat Nov 08, 2014 4:37 pm
by Batty
Notepad++ or Sublime Text

Both reasonably priced... :D

Re: Editor corrupted dungeon files?

Posted: Sat Nov 08, 2014 4:40 pm
by NutJob
MS o/s Notepad: View -> Show Status Bar

FYI: look at line 2038 first to see if that conforms to proper syntax.

Re: Editor corrupted dungeon files?

Posted: Sat Nov 08, 2014 4:48 pm
by GoldenShadowGS
This happened to me when I accidently named an entity something "dungeondoor1--" The two dashes broke the syntax of the dungeon.lua script. Open dungeon.lua and do a charcter search for --

Re: Editor corrupted dungeon files?

Posted: Sat Nov 08, 2014 6:11 pm
by The cube
So, i spent some time fixing the errors, and it worked, thank you notepad++ (oh and you others too)