[DGD] Newbie question: command "status" always fails
Blain
blain20 at gmail.com
Fri Feb 7 04:41:14 CET 2014
Hey folks. The MUD I'm a wizard on is still chugging along these days.
It's been around since '92 and is an LPMUD, but is rich in story and has a
lot of areas, 9 classes, and a few active social guilds. Come check it out
and say hi. You can find me as Mordecai on there.
Felix, you should stop by if you've got the time. =P
On Thu, Feb 6, 2014 at 8:35 PM, Raymond Jennings <shentino at gmail.com> wrote:
> 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
> >
> ____________________________________________
> https://mail.dworkin.nl/mailman/listinfo/dgd
More information about the DGD
mailing list