ldmud-3.2.9/doc/
ldmud-3.2.9/doc/efun/
ldmud-3.2.9/mud/
ldmud-3.2.9/mud/heaven7/
ldmud-3.2.9/mud/heaven7/lib/
ldmud-3.2.9/mud/lp-245/
ldmud-3.2.9/mud/lp-245/banish/
ldmud-3.2.9/mud/lp-245/doc/
ldmud-3.2.9/mud/lp-245/doc/examples/
ldmud-3.2.9/mud/lp-245/doc/sefun/
ldmud-3.2.9/mud/lp-245/log/
ldmud-3.2.9/mud/lp-245/obj/Go/
ldmud-3.2.9/mud/lp-245/players/lars/
ldmud-3.2.9/mud/lp-245/room/death/
ldmud-3.2.9/mud/lp-245/room/maze1/
ldmud-3.2.9/mud/lp-245/room/sub/
ldmud-3.2.9/mud/lp-245/secure/
ldmud-3.2.9/mud/morgengrauen/
ldmud-3.2.9/mud/morgengrauen/lib/
ldmud-3.2.9/mud/sticklib/
ldmud-3.2.9/mud/sticklib/src/
ldmud-3.2.9/mudlib/uni-crasher/
ldmud-3.2.9/pkg/
ldmud-3.2.9/pkg/debugger/
ldmud-3.2.9/pkg/diff/
ldmud-3.2.9/pkg/misc/
ldmud-3.2.9/src/autoconf/
ldmud-3.2.9/src/bugs/
ldmud-3.2.9/src/bugs/MudCompress/
ldmud-3.2.9/src/bugs/b-020916-files/
ldmud-3.2.9/src/bugs/doomdark/
ldmud-3.2.9/src/bugs/ferrycode/ferry/
ldmud-3.2.9/src/bugs/ferrycode/obj/
ldmud-3.2.9/src/bugs/psql/
ldmud-3.2.9/src/done/
ldmud-3.2.9/src/done/order_alist/
ldmud-3.2.9/src/done/order_alist/obj/
ldmud-3.2.9/src/done/order_alist/room/
ldmud-3.2.9/src/gcc/
ldmud-3.2.9/src/gcc/2.7.0/
ldmud-3.2.9/src/gcc/2.7.1/
ldmud-3.2.9/src/hosts/
ldmud-3.2.9/src/hosts/GnuWin32/
ldmud-3.2.9/src/hosts/amiga/NetIncl/
ldmud-3.2.9/src/hosts/amiga/NetIncl/netinet/
ldmud-3.2.9/src/hosts/amiga/NetIncl/sys/
ldmud-3.2.9/src/hosts/i386/
ldmud-3.2.9/src/hosts/msdos/byacc/
ldmud-3.2.9/src/hosts/msdos/doc/
ldmud-3.2.9/src/hosts/os2/
ldmud-3.2.9/src/hosts/win32/
ldmud-3.2.9/src/util/
ldmud-3.2.9/src/util/erq/
ldmud-3.2.9/src/util/indent/hosts/next/
ldmud-3.2.9/src/util/xerq/
ldmud-3.2.9/src/util/xerq/lpc/
ldmud-3.2.9/src/util/xerq/lpc/www/
Subject: Master.c update
From: Michael <virus@mpinet.net>
Date: Tue, 30 Mar 1999 11:21:07 -0500
Type: Feature
State: Unclassified

Over at Realm of the Magi (stormbringer.sysconn.com 1501), we are
developing an enhanced 2.4.5 mudlib called Magilib and wanted to provide
you with something we added to out master.c to provide support for MudOS
and Amylaar 'creation' functions through either reset() or create(). We
hope your LD driver (which we have been using the entire time) could
come of use with this additional enhancement to the master.c code.

-- Michael  (Mystic of RotM)


Master.c update
===============
Applying these new lines of code into the master.c, will allow the mud
to handle either the Amylaar (Compat) or MudOS (Native) reset/create
functions in objects to be handled in one mudlib thus allowing porting
of code for testing and use.

In your master.c, replace this:

    set_driver_hook(H_CREATE_SUPER, "reset");
    set_driver_hook(H_CREATE_OB,    "reset");
    set_driver_hook(H_CREATE_CLONE, "reset");


With this:

    set_driver_hook( H_CREATE_SUPER, unbound_lambda(0, ({#',,
          ({#'call_other, ({#'this_object}), "create"}),
            ({#'call_other, ({#'this_object}), "reset"})
            }) ) );
    set_driver_hook( H_CREATE_OB, unbound_lambda(0, ({#',,
          ({#'call_other, ({#'this_object}), "create"}),
            ({#'call_other, ({#'this_object}), "reset"})
            }) ) );
    set_driver_hook( H_CREATE_CLONE, unbound_lambda(0, ({#',,
          ({#'call_other, ({#'this_object}), "create"}),
            ({#'call_other, ({#'this_object}), "reset"})
            }) ) );