MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

Suggestion...



I think it would be useful if you could tell when a certain object's
properties or verbs were changed.  The easiest way I can think of to
accomplish this would be to add a property to each object that is set to
time() whenever one of the object's properties are added, deleted, or set,
or when it's verbs are added, removed, or reprogrammed.  I know it's
possible to do this in-DB but it would involve disabling most of the
built-ins and writting wrappers for them all.  I know this has been at least
attempted on MOOtiny but I haven't spent much time looking into how they do
it.  Does anyone know an easier way to do it in-DB?  Or maybe Pavel would be
willing to add this into 1.8.0 somehow, maybe the name of the property to
update could be stored in an optional property on $server_options so it
doesn't interfere with existing DBs?  It wouldn't have to be very accurate,
just something so I don't have to remeasure all the objects every time, and
so I could make verbs check whether objects have been changed since the last
time they were dumped, etc.

 *****************************************************************************
 *         Don Schwarz <darkowl@mcs.net>           *     PGP fingerprint:    *
 *          http://www.mcs.net/~darkowl            * 6E 3E B9 38 CC C2 CA CD *
 * -->Come to EnigMOO  (junior.wariat.org 7777)<-- * 4A ED 48 66 27 FA 1C 37 *
 *     Dark_Wiz @ EnigMOO, ForestMOO, MOOnShine    ***************************
 *  Dark_Owl @ everymoo          "The mice will see you now."  --HHGTTG      *
 *****************************************************************************


Follow-Ups:

Home | Subject Index | Thread Index