[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

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

[Full Header] [Plain Text]
From: J C Lawrence <claw@kanga.nu>
Newsgroups: nu.kanga.list.mud-dev
Date: Thu, 04 Dec 2003 17:21:29 -0500
References: [1]
Organization: Kanga.Nu
On Tue, 2 Dec 2003 08:15:09 -0800 (PST) 
Tony Hoyt <gmtonyhoyt@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@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@kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev