[MUD-Dev] DGN - Method of controling NPC's.

J C Lawrence claw at kanga.nu
Thu Dec 4 17:21:29 CET 2003


On Tue, 2 Dec 2003 08:15:09 -0800 (PST) 
Tony Hoyt <gmtonyhoyt at yahoo.com> wrote:

> The ideas was this, Mobs/NPC's in general where seperate applications
> that where launched via Cron jobs and then acted like a local client
> to the server. 

You might like to look at Joey Hess' MOOix.

> The jobs where cron-ed due to allow for a random selected time to
> occure before the NPC to spawn.  

Cron won't/can't do this.  If you do use first class processes for NPC
scheduling you can have them reschedule as `at` jobs, which is realted
to but not quite the same as cron.

More simply you need to examine what the benefits are, if any, of moving
into a discrete process.  It becomes a smaller piece of work to be sure,
but you also lose all the ready access to state information and
non-user-level interfaces.

--
J C Lawrence
---------(*)                Satan, oscillate my metallic sonatas.
claw at kanga.nu               He lived as a devil, eh?
http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.

_______________________________________________
MUD-Dev mailing list
MUD-Dev at kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev



More information about the mud-dev-archive mailing list