<!-- MHonArc v2.4.4 --> <!--X-Subject: [MUD-Dev] Re: PDMud thread summary --> <!--X-From-R13: @vxynf Syzdivfg <q97ryzNqgrx.punyzref.fr> --> <!--X-Date: Fri, 23 Oct 1998 01:03:22 -0700 --> <!--X-Message-Id: Pine.SOL.3.96.981023094549.14571C-100000#licia,dtek.chalmers.se --> <!--X-Content-Type: text/plain --> <!--X-Reference: 58eeb518.362fcebd#aol,com --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, [MUD-Dev] Re: PDMud thread summary</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:d97elm#dtek,chalmers.se"> </head> <body background="/backgrounds/paperback.gif" bgcolor="#ffffff" text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000"> <font size="+4" color="#804040"> <strong><em>MUD-Dev<br>mailing list archive</em></strong> </font> <br> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] <br clear=all><hr> <!--X-Body-Begin--> <!--X-User-Header--> <!--X-User-Header-End--> <!--X-TopPNI--> Date: [ <a href="msg00389.html">Previous</a> | <a href="msg00391.html">Next</a> ] Thread: [ <a href="msg00371.html">Previous</a> | <a href="msg00377.html">Next</a> ] Index: [ <A HREF="author.html#00390">Author</A> | <A HREF="#00390">Date</A> | <A HREF="thread.html#00390">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>[MUD-Dev] Re: PDMud thread summary</H1> <HR> <!--X-Subject-Header-End--> <!--X-Head-of-Message--> <UL> <LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI> <LI><em>Subject</em>: [MUD-Dev] Re: PDMud thread summary</LI> <LI><em>From</em>: Niklas Elmqvist <<A HREF="mailto:d97elm#dtek,chalmers.se">d97elm#dtek,chalmers.se</A>></LI> <LI><em>Date</em>: Fri, 23 Oct 1998 10:00:32 +0200 (MET DST)</LI> <LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI> </UL> <!--X-Head-of-Message-End--> <!--X-Head-Body-Sep-Begin--> <HR> <!--X-Head-Body-Sep-End--> <!--X-Body-of-Message--> <PRE> On Thu, 22 Oct 1998 ApplePiMan#aol,com wrote: > At 10/22/98 6:20 AM Niklas Elmqvist (d97elm#dtek,chalmers.se) altered the > fabric of reality by uttering: > > >IMHO, the driver should consist of a few primitives which provide the > >minimal functionality of any game server. One such thing is an event > >manager (c'mon! almost all games need one), > > Yes, as long as care is given to keeping the event manager low-level > enough to not "box in" world designers. That is, make sure you're dealing > with computer events and not game events, which could vary widely from > game to game (and thus are perfect candidates for a module). Allow me to once again to shamelessly plug external inheritance, which would allow us to define a very generic event class in the core executable (one that is a computer event, but with no functionality besides that of an abstract event), and then promote this to game events, system events or IO events, etc in the modules. External inheritance is sort of a design pattern for C++ software systems. I whipped together a little description of the technique yesterday which can be found on <URL: <A HREF="http://artoo.hemmet.s-hem.chalmers.se/~crozius/resources/exinh.html">http://artoo.hemmet.s-hem.chalmers.se/~crozius/resources/exinh.html</A>> IMHO, this method is ideally suited to a project like this (but it would almost require that we use C++). > One thing that just occurred to me: are we going to allow module > hierarchies? I suppose this actually comes back to the question that's > been raised before re direct communication between modules: if we allow > that, a designer could easily implement a hierarchy of modules. If we use an OS-like pipe communication system (no reason, of course, why we can't use other OS IPC mechanisms), this would be certainly be doable. > An example of what I have in mind is that my commercial project calls for > a Drama Manager that sits on top of, and can modify the results of, just > about every other module. I realize there are ways I could handle that > without having the hooks directly pre-built into DevMUD, but it might be > a cool feature to support anyway (tho' I'm talking off the top of my head > and possibly not seeing all the ramifications of supporting inter-module > communication). Comments, anyone? Hmm, this Drama Manager should only be concerned about things pertaining to the game logic (right?). IOW, it should sit above things such as the Physics, Magic, Movement, Senses, Quest and Skill modules, but *not* above the parser, the command handlers (these call the game logic modules if they need anything anyway), the VM, the DB handler, and so on. With a pipe system for inter-module communication, the Drama Manager could just position itself between the game logic modules and the parser and command handlers, among others. This way, all messages that pass between these would be routed through the Drama Manager, which may interfere and alter them at will. > -Rick. -- Niklas Elmqvist (d97elm#dtek,chalmers.se) ---------------------- "The trouble with being a god is that you've got no one to pray to." -- Terry Pratchett, Small Gods </PRE> <!--X-Body-of-Message-End--> <!--X-MsgBody-End--> <!--X-Follow-Ups--> <HR> <!--X-Follow-Ups-End--> <!--X-References--> <UL><LI><STRONG>References</STRONG>: <UL> <LI><STRONG><A NAME="00371" HREF="msg00371.html">[MUD-Dev] Re: PDMud thread summary</A></STRONG> <UL><LI><EM>From:</EM> ApplePiMan#aol,com</LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00389.html">[MUD-Dev] Re: PDMud thread summary</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00391.html">[MUD-Dev] Re: PDMud thread summary</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00371.html">[MUD-Dev] Re: PDMud thread summary</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00377.html">[MUD-Dev] Re: PDMud thread summary</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00390"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00390"><STRONG>Thread</STRONG></A></LI> </UL> </LI> </UL> <!--X-BotPNI-End--> <!--X-User-Footer--> <!--X-User-Footer-End--> <ul><li>Thread context: <BLOCKQUOTE><UL> <LI><STRONG>[MUD-Dev] Re: PDMud thread summary</STRONG>, <EM>(continued)</EM> <ul compact> <ul compact> <ul compact> <ul compact> <ul compact> <ul compact> <ul compact> <ul compact> <ul compact> <LI><strong><A NAME="00578" HREF="msg00578.html">[MUD-Dev] Re: PDMud thread summary</A></strong>, Vadim Tkachenko <a href="mailto:vt#freehold,crocodile.org">vt#freehold,crocodile.org</a>, Thu 29 Oct 1998, 05:04 GMT </LI> </ul> </ul> </ul> <LI><strong><A NAME="00452" HREF="msg00452.html">[MUD-Dev] Re: PDMud thread summary</A></strong>, Darrin Hyrup <a href="mailto:shades#mythicgames,com">shades#mythicgames,com</a>, Sat 24 Oct 1998, 04:27 GMT </LI> </ul> <LI><strong><A NAME="00453" HREF="msg00453.html">[MUD-Dev] Re: PDMud thread summary</A></strong>, Niklas Elmqvist <a href="mailto:d97elm#dtek,chalmers.se">d97elm#dtek,chalmers.se</a>, Sat 24 Oct 1998, 05:34 GMT </LI> </ul> </ul> </ul> </ul> <LI><strong><A NAME="00371" HREF="msg00371.html">[MUD-Dev] Re: PDMud thread summary</A></strong>, ApplePiMan <a href="mailto:ApplePiMan#aol,com">ApplePiMan#aol,com</a>, Fri 23 Oct 1998, 00:39 GMT <UL> <LI><strong><A NAME="00390" HREF="msg00390.html">[MUD-Dev] Re: PDMud thread summary</A></strong>, Niklas Elmqvist <a href="mailto:d97elm#dtek,chalmers.se">d97elm#dtek,chalmers.se</a>, Fri 23 Oct 1998, 08:03 GMT </LI> </UL> </LI> <LI><strong><A NAME="00377" HREF="msg00377.html">[MUD-Dev] Re: PDMud thread summary</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Fri 23 Oct 1998, 03:17 GMT </LI> <LI><strong><A NAME="00379" HREF="msg00379.html">[MUD-Dev] Re: PDMud thread summary</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Fri 23 Oct 1998, 03:33 GMT <UL> <LI><strong><A NAME="00431" HREF="msg00431.html">[MUD-Dev] Re: PDMud thread summary</A></strong>, Jon Leonard <a href="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</a>, Fri 23 Oct 1998, 23:21 GMT </LI> </UL> </LI> <LI><strong><A NAME="00398" HREF="msg00398.html">[MUD-Dev] Re: PDMud thread summary</A></strong>, Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Fri 23 Oct 1998, 15:05 GMT </LI> </ul> </LI> </UL></BLOCKQUOTE> </ul> <hr> <center> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] </center> <hr> </body> </html>