<!-- MHonArc v2.4.4 --> <!--X-Subject: {MUD} Re: roleplaying & combat --> <!--X-From-R13: Ibhg [regraf <Ibhg.[regrafNeht.np.or> --> <!--X-Date: from 194.78.48.181 [194.78.48.181] by mx01.ny.us.ibm.net id 840824657.48810-1 Fri Aug 23 18:24:17 1996 --> <!--X-Message-Id: Pine.SOL.3.94.960823200000.20373L-100000#eduserv1,rug.ac.be --> <!--X-Content-Type: text/plain --> <!--X-Reference: 9608231002.ZM4986#xsvr1,cup.hp.com --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, {MUD} Re: roleplaying & combat</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:Wout.Mertens#rug,ac.be"> </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="msg00002.html">Previous</a> | <a href="msg00004.html">Next</a> ] Thread: [ <a href="msg00004.html">Previous</a> | <a href="msg00019.html">Next</a> ] Index: [ <A HREF="author.html#00003">Author</A> | <A HREF="#00003">Date</A> | <A HREF="thread.html#00003">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>{MUD} Re: roleplaying & combat</H1> <HR> <!--X-Subject-Header-End--> <!--X-Head-of-Message--> <UL> <LI><em>To</em>: <A HREF="mailto:mud#megami,ibase.be">mud#megami,ibase.be</A></LI> <LI><em>Subject</em>: {MUD} Re: roleplaying & combat</LI> <LI><em>From</em>: Wout Mertens <<A HREF="mailto:Wout.Mertens#rug,ac.be">Wout.Mertens#rug,ac.be</A>></LI> <LI><em>Date</em>: Fri, 23 Aug 1996 20:15:00 +0200 (MET DST)</LI> <LI><em>Reply-To</em>: <A HREF="mailto:mud#megami,ibase.be">mud#megami,ibase.be</A></LI> <LI><em>Sender</em>: <A HREF="mailto:owner-mud#megami,ibase.be">owner-mud#megami,ibase.be</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 Fri, 23 Aug 1996, Chris Lawrence wrote: > On Aug 22, 11:23am, Chris Gray wrote: > > [ChrisL:] > > > : 1) by default commands must compleat in submission order. > > : 2) a command must be able to be explicitly excepted from having to > > : compleat in submission order. > > : 3) a command must be able to control the processing of prior commands > > > > Why have 3) at all? It seems to be the trigger of all of the complexity. > > Real life doesn't let you undo or change something already done. I would > > guess that most DM's in RPG's done allow it either. > > To allow a player to enter a command ala: > > > do this then that then the other then kill fred Ok, how about this: The scheduler keeps a list of on-commit events. This is sorted by event ID (a number that stays across rescheduling), and has a returnvalue field, and a to-run event field. When an event commits, it can give a return value, and the scheduler then checks the list to see if the ID is there and then matches the return value with the saved field. The matching one(s) gets put on the to process list, and the others are killed. When you add an event, you ask the object that is to run it if it should only run after another event. if so, fill that event in in the list. So for exaple, the player object could be asked if north should be run now or later, and since the player object knows that east is the last command that had something to do with movement, it says the ID of east. The scheduler checks to see if east already compleated and if not, adds north to the on-compleat list. Whaddayathink? Wout. </PRE> <!--X-Body-of-Message-End--> <!--X-MsgBody-End--> <!--X-Follow-Ups--> <HR> <!--X-Follow-Ups-End--> <!--X-References--> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00002.html">{MUD} Re: MUD: language</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00004.html">Re: {MUD} threads</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00004.html">Re: {MUD} threads</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00019.html">Re: {MUD} Re: roleplaying & combat</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00003"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00003"><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><A NAME="00008" HREF="msg00008.html">{MUD} Expanding the mud list</A></strong>, Alex Oren <a href="mailto:alexo#sapiens,com">alexo#sapiens,com</a>, Sun 25 Aug 1996, 14:55 GMT <UL> <LI><strong><A NAME="00020" HREF="msg00020.html">Re: {MUD} Expanding the mud list</A></strong>, Chris Lawrence <a href="mailto:clawrenc#xsvr1,cup.hp.com">clawrenc#xsvr1,cup.hp.com</a>, Mon 26 Aug 1996, 23:50 GMT </LI> <LI><strong><A NAME="00032" HREF="msg00032.html">Re: {MUD} Expanding the mud list</A></strong>, Wout Mertens <a href="mailto:Wout.Mertens#rug,ac.be">Wout.Mertens#rug,ac.be</a>, Tue 27 Aug 1996, 19:05 GMT </LI> </UL> </LI> <LI><strong><A NAME="00004" HREF="msg00004.html">Re: {MUD} threads</A></strong>, Chris Lawrence <a href="mailto:clawrenc#xsvr1,cup.hp.com">clawrenc#xsvr1,cup.hp.com</a>, Sat 24 Aug 1996, 03:10 GMT <LI><strong><A NAME="00003" HREF="msg00003.html">{MUD} Re: roleplaying & combat</A></strong>, Wout Mertens <a href="mailto:Wout.Mertens#rug,ac.be">Wout.Mertens#rug,ac.be</a>, Sat 24 Aug 1996, 01:24 GMT <UL> <LI><EM>Message not available</EM><UL> <LI><strong><A NAME="00019" HREF="msg00019.html">Re: {MUD} Re: roleplaying & combat</A></strong>, Chris Lawrence <a href="mailto:clawrenc#xsvr1,cup.hp.com">clawrenc#xsvr1,cup.hp.com</a>, Mon 26 Aug 1996, 23:20 GMT <UL> <LI><strong><A NAME="00024" HREF="msg00024.html">Re: {MUD} Re: roleplaying & combat</A></strong>, Alex Oren <a href="mailto:alexo#sapiens,com">alexo#sapiens,com</a>, Tue 27 Aug 1996, 01:12 GMT <UL> <LI><strong><A NAME="00029" HREF="msg00029.html">Re: {MUD} Re: roleplaying & combat</A></strong>, Chris Lawrence <a href="mailto:clawrenc#xsvr1,cup.hp.com">clawrenc#xsvr1,cup.hp.com</a>, Tue 27 Aug 1996, 05:05 GMT <UL> <LI><strong><A NAME="00030" HREF="msg00030.html">Re: {MUD} Re: roleplaying & combat</A></strong>, Alex Oren <a href="mailto:alexo#sapiens,com">alexo#sapiens,com</a>, Tue 27 Aug 1996, 15:08 GMT </LI> </UL> </LI> </UL> </LI> </UL> </LI> </UL> </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>