<!-- MHonArc v2.4.4 --> <!--X-Subject: Re: [MUD-Dev] Text Parsing --> <!--X-From-R13: [nggurj [vunyl <qvnoybNorfg.pbz> --> <!--X-Date: Thu, 10 Jun 1999 15:15:46 -0700 --> <!--X-Message-Id: Pine.BSF.4.10.9906101453240.6989-100000#shell9,ba.best.com --> <!--X-Content-Type: text/plain --> <!--X-Reference: Pine.SGI.3.96.990610113118.15044C-100000#zazu,angel.com --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, Re: [MUD-Dev] Text Parsing</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:diablo#best,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="msg00716.html">Previous</a> | <a href="msg00718.html">Next</a> ] Thread: [ <a href="msg00721.html">Previous</a> | <a href="msg00722.html">Next</a> ] Index: [ <A HREF="author.html#00717">Author</A> | <A HREF="#00717">Date</A> | <A HREF="thread.html#00717">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>Re: [MUD-Dev] Text Parsing</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>: Re: [MUD-Dev] Text Parsing</LI> <LI><em>From</em>: Matthew Mihaly <<A HREF="mailto:diablo#best,com">diablo#best,com</A>></LI> <LI><em>Date</em>: Thu, 10 Jun 1999 14:57:41 -0700 (PDT)</LI> <LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI> <LI><em>Sender</em>: <A HREF="mailto:mud-dev-admin#kanga,nu">mud-dev-admin#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, 10 Jun 1999, Adam Wiggins wrote: > On Wed, 9 Jun 1999, Matthew Mihaly wrote: > > Machine has k6 400 processor, w/128 megs RAM. The server is written in C, > > I believe, but I didn't write the server (I may not have an exact > > understanding of what constitutes the server, but what I mean by it is the > > thing that handles the low-level connection stuff). > > You need more RAM. Right-o. Ordered another 128 megs today. > For example, the first thing I did was add a room field num_pcs_in_room. > This number started at 0, was incremented when a player entered the room, > and decremented when they left. > > Then at the top of act(), which is the routine which get called to turn the > markup language into text that everyone in the room can see, I simply checked > to see if num_pcs_in_room was greater than zero. If not, I just returned without > doing any processing. This made quite a difference; up until then it had been > constructing the "You leave north" and "A hobbit arrives from the south" strings > every time a mobile moved, whether a PC was present or not. ahh, that's a good idea. We do SOMETHING like that currently, by moving a persona to a holding room when they log off, and putting them back where they were when they log on. Then, we just do a quick check to see if there are any persona in that room. Your method is probably faster though. > Finally, hardware is cheap. If you'd rather spend your time improving the gameplay > rather than optimizing (I know I would), and you have the cash, I'd shell out for > something more powerful, probably SMP. Go for dual Celerons, or dual PII/PIII's > if you can afford it. (Personally, I'm waiting for my dual K7-800's, although > I guess I shouldn't hold my breath on that one.) Money isn't a serious issue, but the problem is that we have a single-threaded server, so, unless I've been informed incorrectly, dual processors won't help us. --matt _______________________________________________ MUD-Dev maillist - MUD-Dev#kanga,nu <A HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</A> </PRE> <!--X-Body-of-Message-End--> <!--X-MsgBody-End--> <!--X-Follow-Ups--> <HR> <ul compact><li><strong>Follow-Ups</strong>: <ul> <li><strong><A NAME="00741" HREF="msg00741.html">Re: [MUD-Dev] Text Parsing</A></strong> <ul compact><li><em>From:</em> Petri Virkkula <pvirkkul#iki,fi></li></ul> <li><strong><A NAME="00727" HREF="msg00727.html">Re: [MUD-Dev] Text Parsing</A></strong> <ul compact><li><em>From:</em> Katrina McClelan <kitkat#marcus,pants.nu></li></ul> <li><strong><A NAME="00722" HREF="msg00722.html">Re: [MUD-Dev] Text Parsing</A></strong> <ul compact><li><em>From:</em> Adam Wiggins <adam#angel,com></li></ul> </UL></LI></UL> <!--X-Follow-Ups-End--> <!--X-References--> <UL><LI><STRONG>References</STRONG>: <UL> <LI><STRONG><A NAME="00709" HREF="msg00709.html">Re: [MUD-Dev] Text Parsing</A></STRONG> <UL><LI><EM>From:</EM> Adam Wiggins <adam#angel,com></LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00716.html">Re: [MUD-Dev] Text Parsing</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00718.html">Re: [MUD-Dev] Game Economies</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00721.html">Re: [MUD-Dev] Text Parsing</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00722.html">Re: [MUD-Dev] Text Parsing</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00717"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00717"><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: [MUD-Dev] Text Parsing</STRONG>, <EM>(continued)</EM> <ul compact> <ul compact> <LI><strong><A NAME="00679" HREF="msg00679.html">Re: [MUD-Dev] Text Parsing</A></strong>, Matthew Mihaly <a href="mailto:diablo#best,com">diablo#best,com</a>, Thu 10 Jun 1999, 06:13 GMT <UL> <LI><strong><A NAME="00709" HREF="msg00709.html">Re: [MUD-Dev] Text Parsing</A></strong>, Adam Wiggins <a href="mailto:adam#angel,com">adam#angel,com</a>, Thu 10 Jun 1999, 18:43 GMT <UL> <LI><strong><A NAME="00715" HREF="msg00715.html">Re: [MUD-Dev] Text Parsing</A></strong>, Katrina McClelan <a href="mailto:kitkat#marcus,pants.nu">kitkat#marcus,pants.nu</a>, Thu 10 Jun 1999, 21:57 GMT <UL> <LI><strong><A NAME="00721" HREF="msg00721.html">Re: [MUD-Dev] Text Parsing</A></strong>, Adam Wiggins <a href="mailto:adam#angel,com">adam#angel,com</a>, Thu 10 Jun 1999, 22:41 GMT </LI> </UL> </LI> <LI><strong><A NAME="00717" HREF="msg00717.html">Re: [MUD-Dev] Text Parsing</A></strong>, Matthew Mihaly <a href="mailto:diablo#best,com">diablo#best,com</a>, Thu 10 Jun 1999, 22:15 GMT <UL> <LI><strong><A NAME="00722" HREF="msg00722.html">Re: [MUD-Dev] Text Parsing</A></strong>, Adam Wiggins <a href="mailto:adam#angel,com">adam#angel,com</a>, Thu 10 Jun 1999, 22:55 GMT </LI> <LI><strong><A NAME="00727" HREF="msg00727.html">Re: [MUD-Dev] Text Parsing</A></strong>, Katrina McClelan <a href="mailto:kitkat#marcus,pants.nu">kitkat#marcus,pants.nu</a>, Fri 11 Jun 1999, 01:35 GMT <UL> <LI><strong><A NAME="00745" HREF="msg00745.html">Re: [MUD-Dev] Text Parsing</A></strong>, Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Fri 11 Jun 1999, 05:52 GMT </LI> </UL> </LI> <LI><strong><A NAME="00741" HREF="msg00741.html">Re: [MUD-Dev] Text Parsing</A></strong>, Petri Virkkula <a href="mailto:pvirkkul#iki,fi">pvirkkul#iki,fi</a>, Fri 11 Jun 1999, 04:09 GMT </LI> </UL> </LI> </UL> </LI> </UL> </LI> </ul> </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>