[DGD] Newbie question: command "status" always fails

Hauke Joachim Zühl hzuehl at phone-talk.de
Thu Feb 6 19:33:07 CET 2014


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




More information about the DGD mailing list