<!-- MHonArc v2.4.4 --> <!--X-Subject: Re: Resets and repops --> <!--X-From-R13: Oqnz Ivttvaf <avtugsnyyNvasvpnq.pbz> --> <!--X-Date: from tacitus.globecomm.net [207.51.48.7] by mx01.ny.us.ibm.net id 859528692.84705-1 Fri Mar 28 05:58:12 1997 --> <!--X-Message-Id: 199703280600.XAA13514#user2,inficad.com --> <!--X-Content-Type: text/plain --> <!--X-Reference: 199703270556.FAA129113#out1,ibm.net --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, Re: Resets and repops</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:nightfall#inficad,com"> </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="msg00244.html">Previous</a> | <a href="msg00246.html">Next</a> ] Thread: [ <a href="msg00240.html">Previous</a> | <a href="msg00246.html">Next</a> ] Index: [ <A HREF="author.html#00245">Author</A> | <A HREF="#00245">Date</A> | <A HREF="thread.html#00245">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>Re: Resets and repops</H1> <HR> <!--X-Subject-Header-End--> <!--X-Head-of-Message--> <UL> <LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI> <LI><em>Subject</em>: Re: Resets and repops</LI> <LI><em>From</em>: Adam Wiggins <<A HREF="mailto:nightfall#inficad,com">nightfall#inficad,com</A>></LI> <LI><em>Date</em>: Thu, 27 Mar 1997 23:00:50 -0700 (MST)</LI> </UL> <!--X-Head-of-Message-End--> <!--X-Head-Body-Sep-Begin--> <HR> <!--X-Head-Body-Sep-End--> <!--X-Body-of-Message--> <PRE> [AW:] > >Crystalline Tree? Wazzat? [JCL:] > An old scenario, much like the Elven forest/Sceptre/Castle Krak > scenario we used to bounce ideas off. > > The actual scenario was called "Bubba and the Crystalline Tree", and > dealt fairly simply with our friend Bubba who managed to climb a > crystalline tree. This was no mean feat as Bubba is a very heavy chap > whose weight *should* break the tree, dropping bubba to the ground. > The scenario is: > > -- Bubba is in the Crystalline Tree. > > -- Bubba has some sort of state changing effect which lessens his > weight such that the tree does not break. Typical examples are: he is > holding on to a large number of helium balloons, he is enchanted to be > lighter, etc. > > > -- Bubba now changes his weight value. This could be by letting go of > the balloons, picking up another object, receiving a "heavy" spell, > having his "light" spell wear off, having one of the objects he is > carrying receive or lose a heavy/light spell, having one of the > objects he is carrying chage its weight for any other reason etc. > > -- Having the tree respond appropriately to Bubba's weight change. Heh...well...we have the obvious, ugly solution to this. Every timer pulse (currently .25 seconds, I think) you get a set amount of gravity exerted on you, based on your gravity value (can be modified by both spells and your current environment, right now everyplace on the mud is 9.8 m/s^2) and your 'carried' weight, as well as any connection node you have attached (namely, ropes and such...could be magical in nature however). Thus, you can do whatever you want and you'll always be correctly affected by gravity at the next moment. This is the same loop in which we update other non-event stuff, such as your current vector of motion (when Uglug the Troll picked you up and tossed you over the edge of the cliff, or into a wall) and the update of your physical stats, character emotions, fatigue, and so on. Sure, loops are pretty brute-forcish, but it works well for two reasons: it generally actually saves us time vs using our event lists for things like this (because they almost always need to be updated) and two, situations like the above work just fine. A few comparisions and adds/subtracts per character with only a few hundred or possibly thousand active characters is no problem whatsoever for the processor we're running on. > Nahh. That's way too expensive. Most of us already have ways of > trapping method calls for which we don't have a defined method (and > usually calling a default method instead). All you need to do instead > is to instantiate the actual object upon receipt of such a call, and > continue working with the forgery the rest of the time. > > Cheap, effective, and workable. Real objects only get built when > something asks for them and a forgery can't do the job. Ah, okay...this wouldn't work very well for us for the reason I just mentioned, above. It would _always_ be asking for the real thing. > >After rebooting both my code machine and my debug machine a dozen > >times a day, it's somewhat refreshing to come home and type 'uptime' > >on my Linux machine and see 104 days. > > Shoot. I reboot OS/2 no more than once a fortnight or so, and then > usually because I've coded something stupid. Well, I could deal with this. What boggles me is why I have to reboot my code machine just because an array on my remote debug machine went slightly out of bounds. The program isn't even _running_ on that machine, for crying out loud! What, does MSVC Monitor send a message, "Hi, I'm crashing now, so why don't you follow suit"?! Oh yeah, we got MS Visual C++ 5.0 in the mail the other day. Not only does our project not compile (they decided to change a few key things in the way that templates work), but there's a fuckin web brouser built into the development enviroment! ARRRGGHHH!! I'm sticking with 4.2, needless to say. I think Microsoft's plan is that by the year 2000 every piece of software will just be a web brower with a few specialty components. </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="msg00244.html">Re: Mixture</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00246.html">Re: Resets and repops</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00240.html">Re: Resets and repops</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00246.html">Re: Resets and repops</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00245"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00245"><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="00232" HREF="msg00232.html">Re: Resets and repops</A></strong>, Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Thu 27 Mar 1997, 19:35 GMT </LI> <LI><strong><A NAME="00233" HREF="msg00233.html">Re: Resets and repops</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Thu 27 Mar 1997, 23:50 GMT </LI> <LI><strong><A NAME="00235" HREF="msg00235.html">Re: Resets and repops</A></strong>, claw <a href="mailto:claw#null,net">claw#null,net</a>, Fri 28 Mar 1997, 01:35 GMT </LI> <LI><strong><A NAME="00240" HREF="msg00240.html">Re: Resets and repops</A></strong>, claw <a href="mailto:claw#null,net">claw#null,net</a>, Fri 28 Mar 1997, 04:25 GMT </LI> <LI><strong><A NAME="00245" HREF="msg00245.html">Re: Resets and repops</A></strong>, Adam Wiggins <a href="mailto:nightfall#inficad,com">nightfall#inficad,com</a>, Fri 28 Mar 1997, 13:58 GMT </LI> <LI><strong><A NAME="00246" HREF="msg00246.html">Re: Resets and repops</A></strong>, Adam Wiggins <a href="mailto:nightfall#inficad,com">nightfall#inficad,com</a>, Fri 28 Mar 1997, 14:07 GMT </LI> <LI><strong><A NAME="00247" HREF="msg00247.html">Re: Resets and repops</A></strong>, Adam Wiggins <a href="mailto:nightfall#inficad,com">nightfall#inficad,com</a>, Fri 28 Mar 1997, 14:11 GMT </LI> <LI><strong><A NAME="00249" HREF="msg00249.html">Re: Resets and repops</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sat 29 Mar 1997, 04:15 GMT </LI> <LI><strong><A NAME="00251" HREF="msg00251.html">Re: Resets and repops</A></strong>, claw <a href="mailto:claw#null,net">claw#null,net</a>, Sat 29 Mar 1997, 05:54 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>