Page 1 of 2

Could not open dungeon

Posted: Fri Sep 14, 2012 9:40 am
by Daght
[string "SoundSystem.lua"]:0: attmpt to index global 'party' (a nil value)

What does this mean?

Re: Could not open dungeon

Posted: Fri Sep 14, 2012 10:02 am
by antti
I'm taking a look into your dungeon right now and I'll see if I can spot something.

Re: Could not open dungeon

Posted: Fri Sep 14, 2012 10:09 am
by Daght
antti wrote:I'm taking a look into your dungeon right now and I'll see if I can spot something.
there's a gold key on the trap door in the secret room at lvl 2.

Re: Could not open dungeon

Posted: Fri Sep 14, 2012 10:15 am
by antti
Daght wrote:
antti wrote:I'm taking a look into your dungeon right now and I'll see if I can spot something.
there's a gold key on the trap door in the secret room at lvl 2.
The gold key crash could be due to the fact that the gold key tries to fall down to level 3, which doesn't exist. I'm still working on why the level crashes though when opening it in the dungeon editor. This far I've managed to find out that the problem is somewhere in level 1.

Re: Could not open dungeon

Posted: Fri Sep 14, 2012 10:18 am
by Daght
antti wrote:
Daght wrote:
antti wrote:I'm taking a look into your dungeon right now and I'll see if I can spot something.
there's a gold key on the trap door in the secret room at lvl 2.
The gold key crash could be due to the fact that the gold key tries to fall down to level 3, which doesn't exist. I'm still working on why the level crashes though when opening it in the dungeon editor. This far I've managed to find out that the problem is somewhere in level 1.
Very thanks for the fast reply. I'm waiting... this is my first "encounter" with an editor, so I can do a lot of mistakes. Thanks again.

Re: Could not open dungeon

Posted: Fri Sep 14, 2012 10:26 am
by antti
Ah, I found the issue. There's some funny business going on with items that are spawned on top of pressure plates at the moment. It definitely should be allowed but at this moment it crashes the editor when trying to open the saved project. I'll send you the dungeon.lua where I have moved the item off from the pressure plate (the tattered cloak at 10,22) so you can continue working on your dungeon.

edit: I'll now take a closer look on the preview crash.

edit2: nevermind, it seems like spawning the item on the pressure plate might have been causing the preview crashes as well. Let me know if your preview still freezes.

Re: Could not open dungeon

Posted: Fri Sep 14, 2012 1:13 pm
by Daght
antti wrote:Ah, I found the issue. There's some funny business going on with items that are spawned on top of pressure plates at the moment. It definitely should be allowed but at this moment it crashes the editor when trying to open the saved project. I'll send you the dungeon.lua where I have moved the item off from the pressure plate (the tattered cloak at 10,22) so you can continue working on your dungeon.

edit: I'll now take a closer look on the preview crash.

edit2: nevermind, it seems like spawning the item on the pressure plate might have been causing the preview crashes as well. Let me know if your preview still freezes.
I'm sorry for my incompentece, where i must put the dungeon.lua file?

Re: Could not open dungeon

Posted: Fri Sep 14, 2012 1:20 pm
by Daght
Done, thanks a lot!

Re: Could not open dungeon

Posted: Sun Sep 16, 2012 4:14 pm
by PurplePachyderm
Hi,

I've got the same issue with my own dungeon. I put a key on a preassure plate on the second floor and when I tried to launch the dungeon it crashes. An error message pops-up : "[string "SoundSystem.lua"]:0: attmpt to index global 'party' (a nil value)".

Could you please help me fixing it?

Thanks in advance.

Re: Could not open dungeon

Posted: Sun Sep 16, 2012 4:21 pm
by petri
This is currently the highest priority bug to fix and also a known bug (please check known bugs in the beta-1.2.7 thread). The only workaround is to not place items on pressure plates until this bug is fixed.