1999Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] Virtual machine design -->
<!--X-From-R13: Pra Uerrne <terrneNploreuvtujnl.arg> -->
<!--X-Date: Sat, 17 Apr 1999 09:33:26 &#45;0700 -->
<!--X-Message-Id: 37181714.6CA15273#cyberhighway,net -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 19990416195942.A1116#donut,dhis.org -->
<!--X-Reference: 3718094A.999AAFF1#cyberhighway,net -->
<!--X-Reference: 19990417150925.A3961#donut,dhis.org -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] Virtual machine design</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:greear#cyberhighway,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="msg00061.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00063.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00059.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00074.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00062">Author</A>
&nbsp;|&nbsp;<A HREF="#00062">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00062">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Virtual machine design</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] Virtual machine design</LI>
<LI><em>From</em>: Ben Greear &lt;<A HREF="mailto:greear#cyberhighway,net">greear#cyberhighway,net</A>&gt;</LI>
<LI><em>Date</em>: Sat, 17 Apr 1999 05:07:32 +0000</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:greear#burrito,cyberhighway.net">greear#burrito,cyberhighway.net</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>
Shane King wrote:
&gt; 
&gt; On Sat, Apr 17, 1999 at 04:08:42AM +0000, Ben Greear did spake thusly:
&gt; &gt; 1)  Common users can't program in any real language, so why implement
&gt; &gt; one
&gt; &gt; in the game.  Surely it would be easier to just write all the code in
&gt; &gt; a 'real' language of your choice and then use readily available
&gt; &gt; compilers
&gt; &gt; to make it into a binary....
&gt; 
&gt; I want common users to be able to code in a real language though. :)

I built a (IMHO) pretty damn neat GUI builder for my game.  Few
want to build (for long enough to finish).  I added scripting because
I thought it was cool...and it added some real functionality.  The
most complex scripts in the game are those I wrote to prototype new
features.

In other words, at least the players I have seen, can barely write
decent english (or any other language) or hold a thought long enough
to write an entire zone.  A few simple scripts have been attempted by
others, but nothing like conditional branches or anything...

Of course, some of this is because my scripting is pretty lame,
but it can be made to work, and it can't get much simpler.


I doubt that anyone will put forth the effort to learn a new language
to write mud code for your server.  If they are the kind of person
that will, then they really want to write the server instead :)

I'll offer an anecedote:  I used to play a Diku (JediMUD).  I got
tintin++
and learned how to use it's 'programming' language (ie a bunch of
pattern
matching and scripting).  I soon had a 300 line bot that was pretty
cool,
I thought....  However, that was really the end of gaming for me.  I had
had a taste of the _truth_.  I didn't want to be interpretting someone
else's output, I wanted to be doing the output myself!!  That is the
power,
the grail that led me to code.  I don't think there is anything short of
an OS that could hold my attention, and the possibilities I wanted to
code.  That is why I doubt that anyone would really want to use such
an in-game coding language.  It is either too restrictive, or you've
re-written UNIX.

Please pardon the bitterness :)
&gt; 
&gt; Otherwise, I would agree with you...
&gt; 
&gt; I guess that places an additional contraint on what I want to do -
&gt; there has to be some concept of privelledge levels.

Yep, it's amazing how much code you'll write for the explicit purpose of
breaking functionality that took you months of work!! :)

&gt; 
&gt; &gt; 2)  Common users can script, so I definately see the need for simple
&gt; &gt; scripting.
&gt; 
&gt; Scripting isn't good enough for what I want. I want a system where
&gt; players don't disappear from the world, but instead they can write AI's
&gt; for themselves. Of course, standard AI options need be provided for
&gt; those who don't or can't code.

I wish your target audience existed, but I'm not convinced it does....

&gt; 
&gt; Considering I also want the same option for "mobs", scripting gets both
&gt; too slow and too inflexible.

Be careful here.  It may be more efficient to run a few scripts and have
your normal code be native, than put almost everything in interpreted
code.
Those java folks weren't stupid, and they had extreme ammounts of
manpower
and time...and their performance is still shaky at best...

&gt; Yeah, I agree, to an extent. I'm not too worried about being
&gt; increadibly flexible, rather my aim is something more dynamic, which
&gt; I've thought of doing in native code but turns out to be rather clumsy
&gt; and ugly, and just plain unworkable.

I think dynamic is the best argument for interpretted code.  Still,
though,
I wonder how much easier it will be to add your own code at run time,
versus
writing it in c/c++/java/?? and promoting into the [CVS??] load.  Either
way you have security issues that will be hard to beat.

Enjoy,
Ben

-- 
Ben Greear (greear#cyberhighway,net)  <A  HREF="http://www.primenet.com/~greear">http://www.primenet.com/~greear</A> 
Author of ScryMUD:  mud.primenet.com 4444        (Released under GPL)
<A  HREF="http://www.primenet.com/~greear/ScryMUD/scry.html">http://www.primenet.com/~greear/ScryMUD/scry.html</A>


_______________________________________________
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="00087" HREF="msg00087.html">Re: [MUD-Dev] Virtual machine design</A></strong>
<ul compact><li><em>From:</em> Alex Stewart &lt;riche#crl,com&gt;</li></ul>
<li><strong><A NAME="00074" HREF="msg00074.html">Re: [MUD-Dev] Virtual machine design</A></strong>
<ul compact><li><em>From:</em> claw#kanga,nu</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00054" HREF="msg00054.html">[MUD-Dev] Virtual machine design</A></STRONG>
<UL><LI><EM>From:</EM> Shane King &lt;thandor#donut,dhis.org&gt;</LI></UL></LI>
<LI><STRONG><A NAME="00057" HREF="msg00057.html">Re: [MUD-Dev] Virtual machine design</A></STRONG>
<UL><LI><EM>From:</EM> Ben Greear &lt;greear#cyberhighway,net&gt;</LI></UL></LI>
<LI><STRONG><A NAME="00059" HREF="msg00059.html">Re: [MUD-Dev] Virtual machine design</A></STRONG>
<UL><LI><EM>From:</EM> Shane King &lt;thandor#donut,dhis.org&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00061.html">Re: [MUD-Dev] Virtual machine design</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00063.html">Re: [MUD-Dev] Virtual machine design</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00059.html">Re: [MUD-Dev] Virtual machine design</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00074.html">Re: [MUD-Dev] Virtual machine design</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00062"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00062"><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[2]: [MUD-Dev] Sockets</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00269" HREF="msg00269.html">[MUD-Dev] Re[2]: [MUD-Dev] Sockets</A></strong>, 
Travis Casey <a href="mailto:efindel#io,com">efindel#io,com</a>, Sun 16 May 1999, 21:07 GMT
</LI>
</ul>
</ul>
</LI>
<LI><strong><A NAME="00054" HREF="msg00054.html">[MUD-Dev] Virtual machine design</A></strong>, 
Shane King <a href="mailto:thandor#donut,dhis.org">thandor#donut,dhis.org</a>, Fri 16 Apr 1999, 06:56 GMT
<UL>
<LI><strong><A NAME="00057" HREF="msg00057.html">Re: [MUD-Dev] Virtual machine design</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Sat 17 Apr 1999, 04:43 GMT
<UL>
<LI><strong><A NAME="00059" HREF="msg00059.html">Re: [MUD-Dev] Virtual machine design</A></strong>, 
Shane King <a href="mailto:thandor#donut,dhis.org">thandor#donut,dhis.org</a>, Sat 17 Apr 1999, 05:09 GMT
<UL>
<LI><strong><A NAME="00062" HREF="msg00062.html">Re: [MUD-Dev] Virtual machine design</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Sat 17 Apr 1999, 16:33 GMT
<UL>
<LI><strong><A NAME="00074" HREF="msg00074.html">Re: [MUD-Dev] Virtual machine design</A></strong>, 
claw <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Sun 18 Apr 1999, 17:09 GMT
</LI>
<LI><strong><A NAME="00087" HREF="msg00087.html">Re: [MUD-Dev] Virtual machine design</A></strong>, 
Alex Stewart <a href="mailto:riche#crl,com">riche#crl,com</a>, Mon 19 Apr 1999, 19:02 GMT
</LI>
</UL>
</LI>
<LI><EM>Message not available</EM><UL>
<LI><strong><A NAME="00090" HREF="msg00090.html">Re: [MUD-Dev] Virtual machine design</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Tue 20 Apr 1999, 05:39 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00061" HREF="msg00061.html">Re: [MUD-Dev] Virtual machine design</A></strong>, 
Niklas Elmqvist <a href="mailto:d97elm#dtek,chalmers.se">d97elm#dtek,chalmers.se</a>, Sat 17 Apr 1999, 16:33 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>