Getting error after cloning gear_necklace

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Getting error after cloning gear_necklace

Post 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.
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
antti
Posts: 688
Joined: Thu Feb 23, 2012 1:43 pm
Location: Espoo, Finland
Contact:

Re: Getting error after cloning gear_necklace

Post by antti »

Does the editor still crash if you try use a different necklace, like bone_amulet, as the base object?
Steven Seagal of gaming industry
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Getting error after cloning gear_necklace

Post by Neikun »

I have since removed the scripting from the items.lua
but that hasn't resolved the issue.
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Getting error after cloning gear_necklace

Post by Neikun »

I also didn't have a chance to put it anywhere on my map.
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
Grimwold
Posts: 511
Joined: Thu Sep 13, 2012 11:45 pm
Location: A Dungeon somewhere in the UK

Re: Getting error after cloning gear_necklace

Post 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.
Image

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.
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Getting error after cloning gear_necklace

Post 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?
Last edited by Neikun on Tue Sep 18, 2012 1:32 pm, edited 1 time in total.
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
antti
Posts: 688
Joined: Thu Feb 23, 2012 1:43 pm
Location: Espoo, Finland
Contact:

Re: Getting error after cloning gear_necklace

Post by antti »

Ah, I see. This issue is fixed in the upcoming new beta version.
Steven Seagal of gaming industry
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Getting error after cloning gear_necklace

Post by Neikun »

Thanks everyone for the speedy responses.

In the words of Jim Carrey's Grinch, "But that's what these tests are for!"
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
Post Reply