[MUD-Dev] PirateMUD and CSL

clawrenc at cup.hp.com clawrenc at cup.hp.com
Tue Aug 12 16:05:05 CEST 1997


In <1.5.4.16.19970804192213.250f870e at pop.algonet.se>, on 08/04/97 
   at 07:41 PM, Niklas Elmqvist <croziys at algonet.se> said:

>This worked tremendously well, and has allowed us to write some very
>nice puzzles and quests. However, there is one little problem with
>this approach: Since the MUD engine gets confirmation of an event
>from the CSL function, things may happen in the wrong order. 

Possible address:

  Every IO, be it from the server or from the CLS function is assigned
a "weight" value in the statement that generates the IO.

  During the execution of a CSl function all IO is buffered as it is
now.

  Upon compleation of the CSl function the IO from the server is added
to that buffer.

  Upon compleation of the CSl function and the server's processing,
the contents of the buffer are sorted by their weight values and
ouput.

--
J C Lawrence                           Internet: claw at null.net
(Contractor)                           Internet: coder at ibm.net
---------------(*)               Internet: clawrenc at cup.hp.com
...Honorary Member Clan McFUD -- Teamer's Avenging Monolith...




More information about the mud-dev-archive mailing list