| Mailing List | | Home | | MUD Dev - Discussion of MUD system design, development, and implementation | | Mac Game - Mac game development | | Rivers of MUD - a Diku and Merc based multiuser dungeon | | SMAUG | | DirGames - Director, Shockwave, and Flash Game Production |
|
|
  | |  | DGN - Method of controling NPC 's. | DGN - Method of controling NPC 's. 2003-12-04 - By J C Lawrence
Back On Tue, 2 Dec 2003 08:15:09 -0800 (PST) Tony Hoyt <gmtonyhoyt@(protected)> 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@(protected) 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@(protected) https://www.kanga.nu/lists/listinfo/mud-dev
|
|
 |