Crash on startup in Dungeon Editor

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Post Reply
Echoplex
Posts: 63
Joined: Tue Nov 04, 2014 10:59 pm

Crash on startup in Dungeon Editor

Post by Echoplex »

So I start by stating I did something incredibly stupid while working on an unstable script and saved in the editor without thinking. I received a crash to desktop and well now the editor will not load the dungeon I was working on any longer. My back up is weeks old and would really prefer not having to go back that far. Is there a way to boot up the .dungeon_editor file and sort out the issue below?

Code: Select all

mod_assets/scripts/dungeon.lua:4621: attempt to index global 'tele_1_shuff' (a nil value)
User avatar
THOM
Posts: 1281
Joined: Wed Nov 20, 2013 11:35 pm
Location: Germany - Cologne
Contact:

Re: Crash on startup in Dungeon Editor

Post by THOM »

You can load the dungeon.lua file in an editor and erase that 'tele_1_shuff' and/or everything conneted with it. Best would be to make a backup of the file before...
THOM formaly known as tschrage
_______________________________________________
My MOD (LoG1): Castle Ringfort Thread
My MOD (LoG2): Journey To Justice Thread | Download
minmay
Posts: 2790
Joined: Mon Sep 23, 2013 2:24 am

Re: Crash on startup in Dungeon Editor

Post by minmay »

dungeon.lua is a plaintext file and very easy to edit. I recommend getting used to doing so, it's the fastest way to do a lot of things, like deleting/renaming all instances of a certain object in your dungeon.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Echoplex
Posts: 63
Joined: Tue Nov 04, 2014 10:59 pm

Re: Crash on startup in Dungeon Editor

Post by Echoplex »

Thanks gentleman for the support, I was able to fix the issue. I'll definitely be backing up my folder more regularly.
Post Reply