Page 1 of 1

(fixed) Problem with dsb_delete

Posted: Sat Jul 03, 2010 2:33 pm
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.

Re: Problem with dsb_delete

Posted: Sun Jul 04, 2010 8:07 am
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"

Re: Problem with dsb_delete

Posted: Sun Jul 04, 2010 12:08 pm
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

Re: Problem with dsb_delete

Posted: Sun Jul 04, 2010 8:34 pm
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:

Re: (fixed) Problem with dsb_delete

Posted: Sun Jul 11, 2010 3:53 am
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. :)