Page 1 of 1

LUA ERROR: base/util.lua:241: Sound is nil

Posted: Tue Dec 07, 2010 9:14 pm
by money
Not sure if this is the right place - but another error found on level 6 and 8 - seems to be when getting close to Skeletons. Once they were defeated i could still hear the sound.

Taken from the log file...

Code: Select all

@@@ DEBUG VERSION 0.46.28
INIT: Parsing configuration file
Temporary path is C:\Users\Matt\AppData\Local\Temp\
INIT: Using gamedir G:\Games\Dungeon Master\DSB\Dungeons\DM (base:0)
INIT: Starting windowed mode
INIT: Using color depth of 32
INIT: Starting FMOD
INIT: Triple buffering unavailable or disabled.
LUA: Lua initialized
Parsing base/global.lua
Parsing base/graphics.lua
Parsing base/inventory_info.lua
Parsing base/util.lua
Parsing base/triggers.lua
Parsing base/conditions.lua
Parsing base/monster.lua
Parsing base/monster_ai.lua
Parsing base/methods.lua
Parsing base/damage.lua
Parsing base/xp.lua
Parsing base/magic.lua
Parsing base/msg_handlers.lua
Parsing base/hooks.lua
Parsing base/system.lua
Parsing base/render.lua
Parsing base/startup.lua
Parsing base/objects.lua
OBJ: 405 system archs
Parsing G:\Games\Dungeon Master\DSB\Dungeons\DM/objects.lua
OBJ: 406 total archs
DUNGEON: Attempting to load
Parsing G:\Games\Dungeon Master\DSB\Dungeons\DM/dungeon.lua
LUA ERROR: base/util.lua:241: Sound is nil
SHUTDOWN: Shutting down...

Re: LUA ERROR: base/util.lua:241: Sound is nil

Posted: Tue Dec 07, 2010 9:45 pm
by Sophia
I can't reproduce this.

Can you send me your savegame near where this happens?

Re: LUA ERROR: base/util.lua:241: Sound is nil

Posted: Wed Dec 08, 2010 9:02 am
by money
sent over :)

Re: LUA ERROR: base/util.lua:241: Sound is nil

Posted: Wed Dec 08, 2010 9:45 pm
by Sophia
I think the sound you were hearing was just some other skeletons that were currently out of view. There are some hidden ones that control the fireball launcher on that level.

As for the Lua error, it's ultimately harmless. It's due to a bug in the (DSB port of the) DM dungeon itself.

If you want to fix it, though, you can add the following line to startup.lua (just create startup.lua if it doesn't exist)

Code: Select all

snd.skeleton = snd.step_skeleton

Re: LUA ERROR: base/util.lua:241: Sound is nil

Posted: Thu Dec 09, 2010 10:06 am
by Joramun
I'm fixing that and other stuff. There could be problems with other monster step sounds.