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

This forum is for the Lua scriptable clone of DM/CSB called Dungeon Strikes Back by Sophia. Use DSB to build your own highly customised games.

Moderator: Sophia

Forum rules
Please read the Forum rules and policies before posting.
Post Reply
User avatar
money
On Master
Posts: 574
Joined: Tue Apr 29, 2008 4:45 pm
Location: Newcastle

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

Post 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...
User avatar
Sophia
Concise and Honest
Posts: 4306
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

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

Post by Sophia »

I can't reproduce this.

Can you send me your savegame near where this happens?
User avatar
money
On Master
Posts: 574
Joined: Tue Apr 29, 2008 4:45 pm
Location: Newcastle

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

Post by money »

sent over :)
User avatar
Sophia
Concise and Honest
Posts: 4306
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

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

Post 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
User avatar
Joramun
Mon Master
Posts: 927
Joined: Thu May 25, 2006 7:05 pm
Location: The Universe

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

Post by Joramun »

I'm fixing that and other stuff. There could be problems with other monster step sounds.
What Is Your Quest ?
Post Reply