[DGD] Circular Object Links

Raymond Jennings shentino at gmail.com
Sat Apr 20 21:13:26 CEST 2013


Don't forget our chat about the differences between blueprints, clones, and
lwo's

Anything you compile is a master object/blueprint
you clone_object on a master to create a clone
you new_object on a master to create an lwo, or you new_object on an lwo to
create a copy of it.

Bear in mind also that the kernel library will force you to use specific
paths for inheritables, clonables and lwoables.  Among other things it can
help you avoid confusing them


On Sat, Apr 20, 2013 at 3:35 AM, Blain <blain20 at gmail.com> wrote:

> Yeah, yeah.  In my haste, I forgot to point to the latest object instead of
> perpetually pointing to the starter object. ;)
>
> --Blain
>
>
> On Sat, Apr 20, 2013 at 5:28 AM, Felix A. Croes <felix at dworkin.nl> wrote:
>
> > Blain <blain20 at gmail.com> wrote:
> > > I would think that it'd be wiztool, code, wiztool code, etc. if I took
> > out
> > > the check for if(next == start).  Currently it's wiztool, code, code,
> > code,
> > > code, to infinity, so that check never fires.  ;o)  _code appears to
> have
> > > itself as prev and next for some reason.  (I don't know why I was
> > thinking
> > > it was an LWO.)
> >
> > objregd.c:
> >
> >     object *links(string owner)
> >     {
> >         object *list, first, obj;
> >
> >         list = ({ });
> >         first = links[owner];
> >         if (first) {
> >             obj = first;
> >             do {
> >                 list += ({ obj });
> >                 obj = obj->_Q_next();
> >             } while (obj != first);
> >         }
> >
> >         return list;
> >     }
> >
> > # code "/kernel/sys/objregd"->links("admin")
> > $0 = ({ </kernel/obj/wiztool#23>, </usr/admin/_code> })
> >
> > Regards,
> > Felix Croes
> > ____________________________________________
> > https://mail.dworkin.nl/mailman/listinfo/dgd
> >
> ____________________________________________
> https://mail.dworkin.nl/mailman/listinfo/dgd
>



More information about the DGD mailing list