[MUD-Dev] [TECH] Event Queue System
the_sage2000 at juno.com
the_sage2000 at juno.com
Thu Feb 14 17:02:32 CET 2002
Greetings everyone!
I have a few questions:
1) Has anyone implemented an event queue system and can give me
advise on doing it?
2) Can anyone give me more information on it than what I am about
to present?
3) Is the way I'm going to present it totally wrong?
Ok, first, for those of you that don't know what I'm talking about:
An event queue system is a system which uses scheduled events to
execute, rather than looping through millions of lists per second
to check that no characters have moved, picked something up, said
something over a channel, no mob has moved, tried to kill another
mob, no room has changed it's description through OLC, no object
has been enchanted, etc., etc. It, literally, just loops through
one list, and one list only. Now, this event list can have many
fields, but, unless I've forgotten a key field, all that is really
needed is the event the MUD should execute, at what time, and
who's wanting to do the event.
For more graphical people (why are you playing MUDs? :P), I've made
this diagram:
| Time | Player | Event |
|---------------------------+------------+----------|
| Feb 13 2002 4:50:05:43 PM | Nightmare | kill_mob |
| Feb 13 2002 4:50:56:23 PM | Nightmare | sacrif |
| Feb 13 2002 4:51:23:34 PM | Handyman | chat |
| Feb 13 2002 4:51:46:23 PM | Drakuu | chat |
| Feb 13 2002 4:52:02:54 PM | Handyman | soc_grin |
...
Etc., etc.
Thanks,
Eru
P.S. Anyone have any other kinds of ideas? Suggestions? Even
comments? Please mail back.
_______________________________________________
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