1997Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]  Re: Issues from the digests and Wout's list -->
<!--X-From-R13: Eunja Vnycraal <znynpunvNvanzr.pbz> -->
<!--X-Date: from fabius.globecomm.net [207.51.48.6] by mx5.ibm.net id 861997809.121776&#45;1 Fri Apr 25 19:50:09 1997 -->
<!--X-Message-Id: 3360B301.41C67EA6#iname,com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199704242056.NAA18138#xsvr3,cup.hp.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev]  Re: Issues from the digests and Wout's list</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:malachai#iname,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>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00227.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00229.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00209.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00172.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00228">Author</A>
&nbsp;|&nbsp;<A HREF="#00228">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00228">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev]  Re: Issues from the digests and Wout's list</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: [MUD-Dev]  Re: Issues from the digests and Wout's list</LI>
<LI><em>From</em>: Shawn Halpenny &lt;<A HREF="mailto:malachai#iname,com">malachai#iname,com</A>&gt;</LI>
<LI><em>Date</em>: Fri, 25 Apr 1997 09:34:58 -0400</LI>
<LI><em>Sender</em>: <A HREF="mailto:rsh#iname,com">rsh#iname,com</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
clawrenc#cup,hp.com wrote:
 
&gt; &gt;:The only solution there is to bind "drink" et all to the player
&gt; &gt;:objects (or something that all players always carry).  Drink then
&gt; &gt;:resolves on the player, and the verb then goies out looking for an
&gt; &gt;:object to satisfy.
&gt; &gt;:
&gt; &gt;:It can make for an expensive parser.
&gt; 
&gt; &gt;I have to admit, my parser can get pretty expensive, though
&gt; &gt;hardcoding helps a lot.
&gt; 
&gt; The real expense that I see is having the verb attempt to resolve its
&gt; own subjects and objects rather than having the up-front parsing do it
&gt; for you.

Yesterday I sat down and started hammering out my formal parser, and
came to that realization as well.  My parser makes sure that each
grammatical construct
in the command can be resolved, and then passes a command object
(consisting of
each resolved object, indirect object, verb, etc.) to whichever
verb-handler
should handle the command.  This way every verb-handler is assured of
having
valid data--it need only check to see if the objects are in the correct
places for it to complete its action.  I leave that up to the verbs,
since
I intend to allow certain leeway if you're an admin character (i.e.
admin's can type things like "get Bubba's bag" and have it do just that
no
matter where you are in the world, while a player will only be able to
"get
Bubba's bag" if he's in the same room as the bag, it is a top-level
content
item, etc.).

&gt; &gt;:&gt;&gt;&gt;6) Global mob AI.
&gt; &gt;:&gt;&gt;
&gt; &gt;:&gt;&gt; Ouch.  Like it.  Don't have an elegant solution yet.
&gt; &gt;:
&gt; &gt;:&gt;&lt;gurgle&gt;&lt;spastic-twitching&gt;
&gt; &gt;:
&gt; &gt;:I thought we warned you against playing with ducttape?  You really
&gt; &gt;:shouldn't get so wrapped up in your work.
&gt; 
&gt; &gt;*grin* He wasn't... he accidentaly cut the _red_ wire.
&gt; 
&gt; I thought we told him the green wire controlled the power shunt to the
&gt; ECT machine?

Eeny, meeny, miny...

--
Shawn Halpenny

"I got food poisoning today.  I don't know when I'll use it."
                                            - Steven Wright

</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="00209" HREF="msg00209.html">Re: [MUD-Dev]  Re: Issues from the digests and Wout's list</A></STRONG>
<UL><LI><EM>From:</EM> clawrenc#cup,hp.com</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00227.html">Re: [MUD-Dev]  Re: Issues from the digests and Wout's list</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00229.html">Re: [MUD-Dev]  Re: Issues from the digests and Wout's list</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00209.html">Re: [MUD-Dev]  Re: Issues from the digests and Wout's list</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00172.html">Re: Issues from the digests and Wout's list</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00228"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00228"><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]  Re: Issues from the digests and Wout's list</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00657" HREF="msg00657.html">Re: [MUD-Dev]  Re: Issues from the digests and Wout's list</A></strong>, 
Ling <a href="mailto:K.L.Lo-94#student,lut.ac.uk">K.L.Lo-94#student,lut.ac.uk</a>, Wed 21 May 1997, 19:29 GMT
</LI>
</ul>
</ul>
</ul>
</ul>
<LI><strong><A NAME="00164" HREF="msg00164.html">Re: Issues from the digests and Wout's list</A></strong>, 
Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Sun 20 Apr 1997, 05:15 GMT
</LI>
<LI><strong><A NAME="00165" HREF="msg00165.html">Re: Issues from the digests and Wout's list</A></strong>, 
Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Sun 20 Apr 1997, 05:41 GMT
<UL>
<LI><strong><A NAME="00209" HREF="msg00209.html">Re: [MUD-Dev]  Re: Issues from the digests and Wout's list</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Fri 25 Apr 1997, 11:56 GMT
<UL>
<LI><strong><A NAME="00228" HREF="msg00228.html">Re: [MUD-Dev]  Re: Issues from the digests and Wout's list</A></strong>, 
Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Sat 26 Apr 1997, 02:50 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00172" HREF="msg00172.html">Re: Issues from the digests and Wout's list</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Mon 21 Apr 1997, 10:37 GMT
</LI>
<LI><strong><A NAME="00173" HREF="msg00173.html">Re: Issues from the digests and Wout's list</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Mon 21 Apr 1997, 12:24 GMT
</LI>
<LI><strong><A NAME="00174" HREF="msg00174.html">Re: Issues from the digests and Wout's list</A></strong>, 
Ling <a href="mailto:K.L.Lo-94#student,lut.ac.uk">K.L.Lo-94#student,lut.ac.uk</a>, Tue 22 Apr 1997, 01:34 GMT
<UL>
<LI><strong><A NAME="00188" HREF="msg00188.html">Re: [MUD-Dev]  Re: Issues from the digests and Wout's list</A></strong>, 
Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Wed 23 Apr 1997, 21:41 GMT
</LI>
</UL>
</LI>
</ul>
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>