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

nu.kanga.list.mud-dev

27466: Re: [MUD-Dev] Flow of messages

[Full Header] [Plain Text]
From: "Brian Lindahl" <lindahlb@hotmail.com>
Newsgroups: nu.kanga.list.mud-dev
Date: Fri, 30 May 2003 21:36:36 -0700
Organization: Kanga.Nu
From: sanxion sanxion <sanxion2002@yahoo.com>
> From Brian Lindahl <lindahlb@hotmail.com>:

>> The model I use is one of a pipeline: brain <-> body
>> <->environment.

> Interesting as I also use brains and bodies... you seem to be
> using a very similar model.

> One problem I'm having is a simple thing such as handling the
> display/prompt. I want all related messages to appear in one
> clump, like this:

>   <115/115 hp>
>   line here
>   line here
>   line here
>   <115/115 hp>

> The problem is that the three lines above are generated by three
> seperate events. How should I make sure that a number of events
> are grouped? An obvious way would be to group events into buckets
> and simply pass the bucket to everyone interested. This solution
> sends too much information to too many.  Ideas?

Send a BEGIN_CLUMP and END_CLUMP event: at a certain time-cycle, or
event-cycle, or after/before certain events. It is then up to the
Brain to decide how to take these begins and ends into play with
regard to the prompt display.

Brian Lindahl
Development Director
The Cathyle Project

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