[DGD] Newbie question: command "status" always fails
Raymond Jennings
shentino at gmail.com
Fri Feb 7 03:35:59 CET 2014
Are any of the objects you're using destructed in the middle of a call?
I checked the source code in question and it appears to nil out if
this_object() has been destructed.
On Thu, Feb 6, 2014 at 10:33 AM, Hauke Joachim Zühl <hzuehl at phone-talk.de>wrote:
> Hi all,
>
> I am playing around with DGD and its kernel lib, which means: I am
> migrating
> an old mud lib just to learn LPC and so.
>
> I am running DGD 1.4.18, Kernel 1.3.4.
>
> My problem is that I cannot use (e.g.) the "status" command, since I added
> some files as documented into /usr/System/[obj|sys].
>
> This is the error, DGD tells me:
> Feb 6 17:34:46 ** Value is not an array
> 55 receive_message /kernel/obj/telnet (#29)
> 217 receive_message /kernel/lib/connection (/kernel/obj/telnet#29)
> 228 receive_message /usr/System/obj/user (#30)
> 54 input /usr/System/obj/wiztool (#31)
> 818 call_limited /kernel/lib/auto (/usr/System/obj/wiztool#31)
> 119 process /usr/System/obj/wiztool (#31)
> 1954 cmd_status /kernel/lib/wiztool (/usr/System/obj/wiztool#31)
>
> So, in /kernel/lib/auto.c it is line 612:
> if (!this_object()) {
> return nil;
> }
>
> which alway returns nil.
>
> wiztool calls this command by
> call_other(this_object(), "cmd_" + str, user, str, arg);
>
> It will be nice if one can point to the right direction.
>
> If you need further information, just ask.
>
> Thanks and regards,
> Hauke
>
> ____________________________________________
> https://mail.dworkin.nl/mailman/listinfo/dgd
>
More information about the DGD
mailing list