[MUD-Dev] Flow of messages

Brian Lindahl lindahlb at hotmail.com
Fri May 30 21:36:36 CEST 2003


From: sanxion sanxion <sanxion2002 at yahoo.com>
> From Brian Lindahl <lindahlb at 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 at kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev




More information about the mud-dev-archive mailing list