Page 1 of 1
Getting error after cloning gear_necklace
Posted: Tue Sep 18, 2012 12:41 pm
by Neikun
I cloned the gear_necklace and gave it a description and resist shock 25. I saved the items.lua and reloaded my project. It was there. shortly after, the editor crashed. I'm trying to open my dungeon, but it says: [string: "SoundSystem.lua"]:0: attempt to index global 'party' (a nil value)
I'm not sure what happened.
Re: Getting error after cloning gear_necklace
Posted: Tue Sep 18, 2012 12:53 pm
by antti
Does the editor still crash if you try use a different necklace, like bone_amulet, as the base object?
Re: Getting error after cloning gear_necklace
Posted: Tue Sep 18, 2012 12:54 pm
by Neikun
I have since removed the scripting from the items.lua
but that hasn't resolved the issue.
Re: Getting error after cloning gear_necklace
Posted: Tue Sep 18, 2012 12:55 pm
by Neikun
I also didn't have a chance to put it anywhere on my map.
Re: Getting error after cloning gear_necklace
Posted: Tue Sep 18, 2012 1:09 pm
by Grimwold
Neikun wrote:I cloned the gear_necklace and gave it a description and resist shock 25. I saved the items.lua and reloaded my project. It was there. shortly after, the editor crashed. I'm trying to open my dungeon, but it says: [string: "SoundSystem.lua"]:0: attempt to index global 'party' (a nil value)
I'm not sure what happened.
This sounds exactly like the error message I got with the "Item placed on pressure plate" bug.
In the process of what you were doing, did you happen to place an item on a pressure plate somewhere in your dungeon?
The only way I found to get back into my map was to edit dungeon.lua and delete the entry for the offending item.
Re: Getting error after cloning gear_necklace
Posted: Tue Sep 18, 2012 1:29 pm
by Neikun
There is in fact a pair of nomad gloves on a pressure plate on the lowest floor.
Tested, that does indeed solve my problem.
I take it that items on pressure plates is a known bug?
Re: Getting error after cloning gear_necklace
Posted: Tue Sep 18, 2012 1:31 pm
by antti
Ah, I see. This issue is fixed in the upcoming new beta version.
Re: Getting error after cloning gear_necklace
Posted: Tue Sep 18, 2012 1:36 pm
by Neikun
Thanks everyone for the speedy responses.
In the words of Jim Carrey's Grinch, "But that's what these tests are for!"