1998Q4/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: mud client development systems -->
<!--X-From-R13: Ehaal Uhyngv <fhaaljvmNenqvxf.arg> -->
<!--X-Date: Sat, 12 Dec 1998 12:41:25 &#45;0800 -->
<!--X-Message-Id: 3672D4AD.7AAFD8EA#radiks,net -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 2.2.32.19981208065047.006d66ac#pop,radiks.net -->
<!--X-Reference: 36750776.228B9FDD#post10,tele.dk -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: mud client development systems</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:sunnywiz#radiks,net">
</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="msg00955.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00957.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00954.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00959.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00956">Author</A>
&nbsp;|&nbsp;<A HREF="#00956">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00956">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: mud client development systems</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: mud client development systems</LI>
<LI><em>From</em>: Sunny Gulati &lt;<A HREF="mailto:sunnywiz#radiks,net">sunnywiz#radiks,net</A>&gt;</LI>
<LI><em>Date</em>: Sat, 12 Dec 1998 14:40:13 -0600</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>
Per Vognsen wrote:
&gt; Sunny Gulati wrote:
&gt; 
&gt; [snip]
&gt; 
&gt; &gt; On the various people who are.. umm.. puzzled at my insistance on running
&gt; &gt; this over a telnet session.. I took a close look at my motivation, and this
&gt; &gt; is what I found:
&gt; &gt; 
&gt; &gt; 1. I'm not an awesome C hacker.  Playing around with a driver, dealing with
&gt; &gt; binary streams coming straight from a socket, scares me.   Especially when I
&gt; &gt; don't have a crystal clear idea of my communications protocols.
&gt;
&gt; You said you were using LPC, right? Well, here's a useable solution to
&gt; your
&gt; problem (I think, at least :); use socket-efuns. I think they're
&gt; described in the
&gt; doc/concepts/socket-efuns file in the MudOS distribution. After reading
&gt; it,
&gt; they rest should be pretty obvious. If not, mail me.
&gt; 

*nods*, I was considering that angle.  The thing that I was thinking
about was: 

a) Regarding running the actual telnet session inside my protocol: 

I want the initial versions of the client to be easily droppable into an
existing mud.  Ie, you don't need to have the client to play the mud;
but if you do have the client, you can do some nifty things.    The mud
should not have to be majorly rewritten to use the client. 

If I did *everything* through the protocol I'm coming up with, I would
efectively have to redirect stuff that went to the player object (via
write and receive()) into my custom socket stuff.  That seemed rather
complex to do (from the viewpoint of just "dropping in" functionality.)

On the other hand, running everything over telnet means that people can
muck with the internals of the protocol.   For these initial versions,
I'm willing to live with that.  Screw with your own session to the mud
at your own risk. 

b) Regarding running my protocol through a second socket, seperate from
the telnet session: 

I'm thinking, "how would I set this up"?  Two options: 

option 1.  Mud connects back to the client, like FTP.    Bad because
firewalls won't let people through and stuff. 

option 2.  Client connects to mud at specific socket number. (has to be
specific, because even right now we're tunneling a hole to our mud
through a firewall on a specific port number).  How then do I associate
the 2nd socket connection with the original player object?  

I suppose that I could tell the client some sort of secret passphrase,
and it sends that back along the second socket and that's how I make the
association.  (throw in in some public key cryptography in later
generations). 

I like this idea. 

-*-

I want to say thanks to JCL for the breakdown on writing communication
protocols.  The email is at home, else I would reply to it in more
detail.. and the archive isn't up yet. :( .. 

I'm not worried about desigining the protocol.  That I have a pretty
good handle on already (irregardless of transport mechanism).   I can
post the design stuff I came up with, although I would rather post along
with some source that implements some of it.   

I'm more worried about taking a large, pre-written piece of software
(the mud driver) and trying to fit my changes in.  Especialy since that
level of changes makes my work harder to drop into another mud.  Per
Vognsen's suggestion nicely sidesteps that thorn.  

I'm having good luck with running stuff in-band in the telnet session,
though.  I'll complete that side of things for now, and then modify it
later to run in its own socket session. 

-*- 

BTW, in having to write code, i had to come up with a prefix for what I
was doing.   I ended up with EPCS = Extendible Portable Client System. 
Don't particularly like it, but at least I can code  now :)


</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="00959" HREF="msg00959.html">[MUD-Dev] Re: mud client development systems</A></strong>
<ul compact><li><em>From:</em> Per Vognsen &lt;vognsen#post10,tele.dk&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00940" HREF="msg00940.html">[MUD-Dev] Re: mud client development systems</A></STRONG>
<UL><LI><EM>From:</EM> Sunny Gulati &lt;sunnywiz#radiks,net&gt;</LI></UL></LI>
<LI><STRONG><A NAME="00954" HREF="msg00954.html">[MUD-Dev] Re: mud client development systems</A></STRONG>
<UL><LI><EM>From:</EM> Per Vognsen &lt;vognsen#post10,tele.dk&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00955.html">[MUD-Dev] Re: Hex grids.</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00957.html">[MUD-Dev] Re: mud client development systems</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00954.html">[MUD-Dev] Re: mud client development systems</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00959.html">[MUD-Dev] Re: mud client development systems</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00956"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00956"><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] Re: mud client development systems</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00939" HREF="msg00939.html">[MUD-Dev] Re: mud client development systems</A></strong>, 
Sunny Gulati <a href="mailto:sunnywiz#radiks,net">sunnywiz#radiks,net</a>, Tue 08 Dec 1998, 06:49 GMT
</LI>
<LI><strong><A NAME="00940" HREF="msg00940.html">[MUD-Dev] Re: mud client development systems</A></strong>, 
Sunny Gulati <a href="mailto:sunnywiz#radiks,net">sunnywiz#radiks,net</a>, Tue 08 Dec 1998, 06:49 GMT
<UL>
<LI><strong><A NAME="00953" HREF="msg00953.html">[MUD-Dev] Re: mud client development systems</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Sat 12 Dec 1998, 06:58 GMT
</LI>
<LI><strong><A NAME="00954" HREF="msg00954.html">[MUD-Dev] Re: mud client development systems</A></strong>, 
Per Vognsen <a href="mailto:vognsen#post10,tele.dk">vognsen#post10,tele.dk</a>, Sat 12 Dec 1998, 18:58 GMT
<UL>
<LI><strong><A NAME="00956" HREF="msg00956.html">[MUD-Dev] Re: mud client development systems</A></strong>, 
Sunny Gulati <a href="mailto:sunnywiz#radiks,net">sunnywiz#radiks,net</a>, Sat 12 Dec 1998, 20:41 GMT
<UL>
<LI><strong><A NAME="00959" HREF="msg00959.html">[MUD-Dev] Re: mud client development systems</A></strong>, 
Per Vognsen <a href="mailto:vognsen#post10,tele.dk">vognsen#post10,tele.dk</a>, Sun 13 Dec 1998, 16:25 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00957" HREF="msg00957.html">[MUD-Dev] Re: mud client development systems</A></strong>, 
Scatter <a href="mailto:scatter#thevortex,com">scatter#thevortex,com</a>, Sat 12 Dec 1998, 23:36 GMT
</LI>
<LI><strong><A NAME="00958" HREF="msg00958.html">[MUD-Dev] Re: mud client development systems</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sun 13 Dec 1998, 07:12 GMT
</LI>
</ul>
</LI>
<LI><strong><A NAME="00915" HREF="msg00915.html">[MUD-Dev] Re: Introduction</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Mon 07 Dec 1998, 04:43 GMT
</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>