(fixed) Problem with dsb_delete

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

(fixed) Problem with dsb_delete

Post by Joramun »

and message_to_targets :

Code: Select all

OBJ: 405 system archs
OBJ: 405 total archs
FATAL LUA ERROR: D:\Jeux\DM\DSB\dungeons\chaos_hack\dungeon.lua:100: attempt to call global 'dsb_delete' (a nil value)
@@@ LUA STACK @@@
[{@_G}][{ resume yield status wrap create running }][{ sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower }][{ setn insert getn foreachi maxn foreach concat sort remove }][{ log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan }][{ __index __gc }][S:D:\Jeux\DM\DSB\dungeons\chaos_hack\dungeon.lua:100: attempt to call global 'dsb_delete' (a nil value)]
I'm trying to remove insts that are used... for some chaotic hack in DSB.
What Is Your Quest ?
User avatar
Sophia
Concise and Honest
Posts: 4306
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: Problem with dsb_delete

Post by Sophia »

The problem is that it is trying to call the function dsb_delete but it thinks it doesn't exist. You've apparently undefined it somehow.

I'm assuming your dungeon.lua is not ESB generated... are you sure you don't accidentally do something like "dsb_delete = nil"
User avatar
Joramun
Mon Master
Posts: 927
Joined: Thu May 25, 2006 7:05 pm
Location: The Universe

Re: Problem with dsb_delete

Post by Joramun »

I'm absolutely sure I didn't do anything like dsb_delete = nil.

The problem may arise for the fact most of the content in my dungeon is actually created by functions in "startup.lua"

PS:
Spoiler
"Chaos Hack", alpha 1, aka "In the dungeon, no one will hear your screamer", soon to be released
What Is Your Quest ?
User avatar
Sophia
Concise and Honest
Posts: 4306
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: Problem with dsb_delete

Post by Sophia »

Well, that happened caused dsb_delete to get undefined, as best as I can tell!

It's either a bug in your code or a bug in DSB, I guess. :shock:
User avatar
Sophia
Concise and Honest
Posts: 4306
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: (fixed) Problem with dsb_delete

Post by Sophia »

Sorry, I only now got around to looking into this further... you never told me you were trying to use ESB, not DSB.
That's the problem.dsb_delete never gets defined in ESB, because ESB-generated dungeon.lua files don't need it. I'll make it available though. :)
Post Reply