<!-- MHonArc v2.4.4 --> <!--X-Subject: Re: Room coding --> <!--X-From-R13: @nguna Kbfcr <lbfcrNunjnvv.rqh> --> <!--X-Date: from tacitus.globecomm.net [207.51.48.7] by mx01.ca.us.ibm.net id 858220174.53513-1 Thu Mar 13 02:29:34 1997 --> <!--X-Message-Id: Pine.GSO.3.95q.970312155257.19623B-100000@uhunix2 --> <!--X-Content-Type: text/plain --> <!--X-Reference: Pine.SOL.3.95.970312234259.29366C-100000@sun-cc203 --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, Re: Room coding</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:yospe#hawaii,edu"> </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="msg00097.html">Previous</a> | <a href="msg00099.html">Next</a> ] Thread: [ <a href="msg00267.html">Previous</a> | <a href="msg00104.html">Next</a> ] Index: [ <A HREF="author.html#00098">Author</A> | <A HREF="#00098">Date</A> | <A HREF="thread.html#00098">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>Re: Room coding</H1> <HR> <!--X-Subject-Header-End--> <!--X-Head-of-Message--> <UL> <LI><em>To</em>: Furball <<A HREF="mailto:K.L.Lo-94#student,lut.ac.uk">K.L.Lo-94#student,lut.ac.uk</A>></LI> <LI><em>Subject</em>: Re: Room coding</LI> <LI><em>From</em>: Nathan Yospe <<A HREF="mailto:yospe#hawaii,edu">yospe#hawaii,edu</A>></LI> <LI><em>Date</em>: Wed, 12 Mar 1997 16:29:20 -1000</LI> <LI><em>cc</em>: Multiple Recipients of MUD Design Mailing List <<A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A>></LI> <LI><em>Reply-To</em>: Nathan Yospe <<A HREF="mailto:yospe#hawaii,edu">yospe#hawaii,edu</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 Wed, 12 Mar 1997, Furball wrote: :This will be hard to correct... :Transparent exits, imagine this: I'm gonna forward this to the mud-dev list. Everybody, Furball here is a lurker with a lot more to offer. I've been chatting with him via email for a bit now, and he's got some good ideas. Furball, you might want to introduce yourself with a short post. The discussion so far is this: we are assuming an alternative system to the generic room with defined rectangular dimensions, and want to implement visability from one room to the next. Exits can transmit visual pictures to a virtual location on the other side of the exit position, thus creating an accurate image description to be transmitted to the viewer. :An assassin waits in an airduct above a corridor looking down waiting for :his target to stroll pass, he unholsters his rifle, gets settled and :waits... I assume the assassin's visibility is limited by the airduct... perhaps a reduced region in the display function? My version of the function is String Item::display(coordinates& viewerPosition, charState& viewerPerception){ // condition handling to return a select String... shame I cannot have // an alternate version that returns a const String& not to be // discarded at a later date. On the other hand, with any luck, the Lazy // copying will take care of that. String tempString = showDesc; // lazy copy. tempString.descSubstitute(viewerPerception, location.getConditions()); if(transparency > 0) tempString.descSubstitute(viewerPosition, viewerPerception, transparency); // . . . more irrelevant stuff. } Unless I miss my guess, this situation would have whatever your equivalent of a very low transparency is. (Approximating slits through which the assassin looks.) :Ross looks down the corridor and notice there is a red spot just below a :vent in the ceiling. After some thought, he decides to make a pact with :the devil and runs down the corridor! : :Zzzip! (some other sound effect) Hmmm. OK, this really depends on how your run works. Mine does a stage by stage movement. If the assassin were watching the corridor, there would have to be a waiting state event for anything intersecting that part of the corridor. Run should just do a faster update through the corridor, polling each segment moved through for verification that the move was successful. Now, if there is a successful "go ahead and move"... :The assassin waits patiently... The assassin should have recieved a message when Ross zipped by, triggered by the request to the room to move Ross from point A to point B in the assassin's corridor. Now, if the event waiting state of the assassin was tight on the trigger, fire on the first thing that moves, there should have been a toss up between Ross and the assassin, no typing needed on the assassin's part, in that permission to move request. :Ross, now on the other side, whistles tune 'I will survive!'. In my version, he's whistling out of the hole in the top of his head. :The reason I present such a weird scenario is coz, if there are :transparent exits and characters run, in my system, the characters would :appear in the mudworld at certain points skipping the intervening space... Right, noticed this. :Any ideas on this one? Running should poll ahead, not just for assassins, but for covered pits, loose gravel, etc, etc, etc. Of course, this does work better in an event driven system with sleeping events, a concept I borrowed from threads. My events are very much based on threads, in fact. Aside from that, perhaps smaller, faster steps? If you are running on a pulsed cycle, that may not be possible.... __ _ __ _ _ , , , , /_ / / ) /_ /_) / ) /| /| / /\ First Light of a Nova Dawn / / / \ /_ /_) / \ /-|/ |/ /_/ Final Night of a World Gone Nathan F. Yospe - University of Hawaii Dept of Physics - yospe#hawaii,edu </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="msg00097.html">Re: Just a bit of musing</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00099.html">RE: Just a bit of musing</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00267.html">Re: Resets and repops</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00104.html">Re: Room coding</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00098"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00098"><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>Re: Resets and repops</STRONG>, <EM>(continued)</EM> <ul compact> <LI><strong><A NAME="00255" HREF="msg00255.html">Re: Resets and repops</A></strong>, claw <a href="mailto:claw#null,net">claw#null,net</a>, Sat 29 Mar 1997, 11:45 GMT </LI> <LI><strong><A NAME="00257" HREF="msg00257.html">Re: Resets and repops</A></strong>, claw <a href="mailto:claw#null,net">claw#null,net</a>, Sat 29 Mar 1997, 13:26 GMT </LI> <LI><strong><A NAME="00266" HREF="msg00266.html">Re: Resets and repops</A></strong>, S001GMU <a href="mailto:S001GMU#nova,wright.edu">S001GMU#nova,wright.edu</a>, Mon 31 Mar 1997, 23:04 GMT </LI> <LI><strong><A NAME="00267" HREF="msg00267.html">Re: Resets and repops</A></strong>, S001GMU <a href="mailto:S001GMU#nova,wright.edu">S001GMU#nova,wright.edu</a>, Mon 31 Mar 1997, 23:27 GMT </LI> </ul> </LI> <LI><strong><A NAME="00098" HREF="msg00098.html">Re: Room coding</A></strong>, Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Thu 13 Mar 1997, 10:29 GMT <UL> <li><Possible follow-up(s)><br> <LI><strong><A NAME="00104" HREF="msg00104.html">Re: Room coding</A></strong>, Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Thu 13 Mar 1997, 23:00 GMT <UL> <LI><strong><A NAME="00107" HREF="msg00107.html">Re: Room coding</A></strong>, Furball <a href="mailto:K.L.Lo-94#student,lut.ac.uk">K.L.Lo-94#student,lut.ac.uk</a>, Fri 14 Mar 1997, 05:32 GMT </LI> </UL> </LI> <LI><strong><A NAME="00109" HREF="msg00109.html">Re: Room coding</A></strong>, Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Fri 14 Mar 1997, 12:45 GMT </LI> <LI><strong><A NAME="00111" HREF="msg00111.html">Re: Room coding</A></strong>, S001GMU <a href="mailto:S001GMU#nova,wright.edu">S001GMU#nova,wright.edu</a>, Fri 14 Mar 1997, 23:19 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>