1998Q4/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: Graphic design, client questions -->
<!--X-From-R13: Fuvahf Pneaneq <guvahf_oneaneqNovtsbbg.pbz> -->
<!--X-Date: Fri, 18 Dec 1998 02:51:29 &#45;0800 -->
<!--X-Message-Id: 367A1A80.D0F1B391#bigfoot,com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 001f01be29e4$197d0aa0$55e5edd0@dev&#45;18.chilisoft.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: Graphic design, client questions</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:thinus_barnard#bigfoot,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="msg00989.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00991.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00982.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00997.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00990">Author</A>
&nbsp;|&nbsp;<A HREF="#00990">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00990">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: Graphic design, client questions</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>: [MUD-Dev] Re: Graphic design, client questions</LI>
<LI><em>From</em>: Thinus Barnard &lt;<A HREF="mailto:thinus_barnard#bigfoot,com">thinus_barnard#bigfoot,com</A>&gt;</LI>
<LI><em>Date</em>: Fri, 18 Dec 1998 11:04:00 +0200</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#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>
Caliban Tiresias Darklock wrote:

&gt; A published protocol spec can change that; people who want a client for the
&gt; Foo platform just need someone to write one. If the protocol is text-based,
&gt; such a client can be scripted almost trivially using your protocol
&gt; description.

I like this. Then someone can even build a java app on it if they feel like it.
I take it the script will be something like this:
s1,s2,s3,s2;o1,o2;s1,s2,s3,s4;o6;
s1 tells the client what picture to display for the floor, s2 for the left wall,
s3 for the roof and s2 for the right wall. The room description is terminated
with the ';'. Then o1 and o2 tells the client which object pictures to display
and is terminated with the ';'. Then the next room is described if the player
has a lookahead to the next room. This is very simplified as I will need to send
names of objects and also extra commands defined but I really like the idea.

As for text mode I see a few problems.
1. I can send the text description of the room and append the string needed for
the graphics protocol. This seems like a waste if the player has got the
graphics. Instead of sending 1 line of text for the graphics protocol I now have
to send 5 lines of description plus the 1 line for the graphics.

2. Text/Graphics mode. Define two methods for displaying messages to the player.
One method sends just text and the other sends just the graphics. Maybe define 2
different player objects, one that handles graphics and one that handles text.
When the mode is switched the old object is copied to the new one and the old
one destroyed, otherwise you will have to check everytime a message is sent
whether the player is in text or graphics mode. A problem when the player is in
graphics mode and a picture is not available.

3. Always run in graphics mode. When the client cannot find a picture request
the text from the server.

A combination of 2 and 3 is probably the best way to go.

As for a fixed command set:
Caliban Tiresias Darklock wrote:

&gt; &gt;The client can force the user to only enter valid commands.
&gt;
&gt; MUD and client versions would have to match... exactly. BAD idea.

Not true. The server can tell the client what commands are available. The
standard command set can be imbedded into the standard graphics resource. When a
player enters a room the server tells the client what extra commands are
available. When the player exits the room the client can remove the commands
again. At least you can do some checking on the client and don't have to send
everything to the server. You will need a very flexible client to really get
good results through scripting. The client will have to display an inventory,
display a body graph with the inventory for using items, define some buttons on
the main form to easily get to the inventory, skills, spells, combat options,
etc. Should be an interesting scripting challenge.

Looking at the above I realize that you can implement a graphical inventory in a
client without needing any specific scripting from the server. The client can
just check for any get/take/give/drop/use type commands and update the
inventory. The client can assign default images for the items in the inventory
and allow the user to associate the items with different pictures if desired.
Has anybody done this?




</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="01027" HREF="msg01027.html">[MUD-Dev] Re: Graphic design, client questions</A></strong>
<ul compact><li><em>From:</em> J C Lawrence &lt;claw#under,engr.sgi.com&gt;</li></ul>
<li><strong><A NAME="00997" HREF="msg00997.html">[MUD-Dev] Re: Graphic design, client questions</A></strong>
<ul compact><li><em>From:</em> Sunny Gulati &lt;sunnywiz#radiks,net&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00981" HREF="msg00981.html">[MUD-Dev] Re: Graphic design, client questions</A></STRONG>
<UL><LI><EM>From:</EM> "Caliban Tiresias Darklock" &lt;caliban#darklock,com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00989.html">[MUD-Dev] Re: Graphic design, client questions</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00991.html">[MUD-Dev] Re: MUD Design doc (long)</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00982.html">[MUD-Dev] Re: Graphic design, client questions</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00997.html">[MUD-Dev] Re: Graphic design, client questions</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00990"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00990"><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>[MUD-Dev] More Laws</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="01056" HREF="msg01056.html">[MUD-Dev] More Laws</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Tue 29 Dec 1998, 08:28 GMT
<UL>
<LI><strong><A NAME="01058" HREF="msg01058.html">[MUD-Dev] Re: More Laws</A></strong>, 
J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Wed 30 Dec 1998, 06:15 GMT
</LI>
</UL>
</LI>
</ul>
</LI>
<LI><strong><A NAME="00981" HREF="msg00981.html">[MUD-Dev] Re: Graphic design, client questions</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Thu 17 Dec 1998, 17:27 GMT
<UL>
<LI><strong><A NAME="00982" HREF="msg00982.html">[MUD-Dev] Re: Graphic design, client questions</A></strong>, 
Jo Dillon <a href="mailto:emily#thelonious,new.ox.ac.uk">emily#thelonious,new.ox.ac.uk</a>, Thu 17 Dec 1998, 17:56 GMT
</LI>
<LI><strong><A NAME="00990" HREF="msg00990.html">[MUD-Dev] Re: Graphic design, client questions</A></strong>, 
Thinus Barnard <a href="mailto:thinus_barnard#bigfoot,com">thinus_barnard#bigfoot,com</a>, Fri 18 Dec 1998, 10:51 GMT
<UL>
<LI><strong><A NAME="00997" HREF="msg00997.html">[MUD-Dev] Re: Graphic design, client questions</A></strong>, 
Sunny Gulati <a href="mailto:sunnywiz#radiks,net">sunnywiz#radiks,net</a>, Fri 18 Dec 1998, 18:46 GMT
<UL>
<LI><strong><A NAME="01028" HREF="msg01028.html">[MUD-Dev] Re: Graphic design, client questions</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Mon 21 Dec 1998, 22:53 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="01027" HREF="msg01027.html">[MUD-Dev] Re: Graphic design, client questions</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Mon 21 Dec 1998, 22:47 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="01050" HREF="msg01050.html">[MUD-Dev] Re: Graphic design, client questions</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Thu 24 Dec 1998, 07:57 GMT
</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>