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

nu.kanga.list.mud-dev

14558: Re: [MUD-Dev] A new combat system

[Full Header] [Plain Text]
From: "Ben" <bjchambers@phoenixdsl.com>
Newsgroups: nu.kanga.list.mud-dev
Date: Fri, 14 Jul 2000 19:35:51 -0400
References: [1] [2] [3] <-newest
Organization: Kanga.Nu
Hey again, I have been reading about how it would be hard to implement my
system because of the fact that you would not be able to time things
appropriately.  What I propose to solve this is a new method of threading
the server.  If instead of processing the command on the player thread, you
process it on a generic server thread.

The threads would:
    Player thread- Accepts input and adds to a command qeue, after first pre
            processing the data
    Server thread- processes command qeue and performs the actions/output

In this way it becomes almost event oriented...




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