2000Q1/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] How to handle/display partial language skill -->
<!--X-From-R13: Uert Gaqrejbbq <thaqrejbbqNqbarg.pbz> -->
<!--X-Date: Tue, 18 Jan 2000 21:33:43 &#45;0800 -->
<!--X-Message-Id: 3.0.6.32.20000118235357.00828a60#donet,com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 000801bf622f$763f2d20$f6088d18#busy1,on.wave.home.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] How to handle/display partial language skill</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:gunderwood#donet,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="msg00149.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00151.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00142.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00155.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00150">Author</A>
&nbsp;|&nbsp;<A HREF="#00150">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00150">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] How to handle/display partial language skill</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] How to handle/display partial language skill</LI>
<LI><em>From</em>: Greg Underwood &lt;<A HREF="mailto:gunderwood#donet,com">gunderwood#donet,com</A>&gt;</LI>
<LI><em>Date</em>: Tue, 18 Jan 2000 23:53:57 +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: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>
At 07:44 PM 1/18/00 -0800, "Joe Kingry" &lt;jkingry#uwaterloo,ca&gt; wrote:
&gt;We have a very basic way of handling languages on our mud. Currently each
&gt;language has a table of sylables/words and a mapping to a some assortment of
&gt;letters. 
[...]
&gt;But how do you handle non 100% skill in a language? I imagine in our case
&gt;with a table that maps various fragments you could do a reverse map of the
&gt;fragment only if you passed a skill check.  I've experimented with this with
&gt;varying results.  I'm just looking for other ideas at this time.
&gt;
&gt;Any suggestions on how to handle languages?

mmm... how about something like this.  Your % skill in the langauge
determines not only whether you got the translation at all, but what % of
it you got.  IE: a 50% in the skill might result in a correct translation
of half of the phrase, or an incorrect translation of the whole phrase, or
a mix.

Something like:

results = throwdice();

if (results &lt;= skill[target_lang])
{
   // give them an accurate translation, but not 
   // necessarily of the whole sentance
}
else if ((results &gt; skill[target_lang]) &amp;&amp; 
         (results &lt; skill[target_lang] + 
            ((100-skill[target_lang])/2))  )
{
   // IE: skill[target_lang] = 50%, and they roll
   // between 50 and 75 give them some correct,
   // and some incorrect, and some not at all.
}
else if (results &gt; skill[target_lang] + 
            ((100-skill[target_lang])/2) )
{
   // give them an incorrect translation/gobbly-gook
}

Just some thoughts.

-Greg




_______________________________________________
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>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00142" HREF="msg00142.html">[MUD-Dev] How to handle/display partial language skill</A></STRONG>
<UL><LI><EM>From:</EM> "Joe Kingry" &lt;jkingry#uwaterloo,ca&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00149.html">RE: [MUD-Dev] Question about multithreaded servers</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00151.html">Re: [MUD-Dev] Question about multithreaded servers</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00142.html">[MUD-Dev] How to handle/display partial language skill</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00155.html">Re: [MUD-Dev] How to handle/display partial language skill</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00150"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00150"><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] Simulated Populations</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00209" HREF="msg00209.html">Re: [MUD-Dev] Simulated Populations</A></strong>, 
Dundee <a href="mailto:SkeptAck#antisocial,com">SkeptAck#antisocial,com</a>, Fri 21 Jan 2000, 18:04 GMT
<UL>
<LI><strong><A NAME="00212" HREF="msg00212.html">Re: [MUD-Dev] Simulated Populations</A></strong>, 
Wes Connell <a href="mailto:wconnell#adhesive,com">wconnell#adhesive,com</a>, Fri 21 Jan 2000, 23:28 GMT
</LI>
</UL>
</LI>
</ul>
</ul>
</LI>
<LI><strong><A NAME="00153" HREF="msg00153.html">[MUD-Dev] Signing off...</A></strong>, 
IronWolf <a href="mailto:ironwolf#ewa,net">ironwolf#ewa,net</a>, Wed 19 Jan 2000, 07:15 GMT
<LI><strong><A NAME="00142" HREF="msg00142.html">[MUD-Dev] How to handle/display partial language skill</A></strong>, 
Joe Kingry <a href="mailto:jkingry#uwaterloo,ca">jkingry#uwaterloo,ca</a>, Wed 19 Jan 2000, 02:56 GMT
<UL>
<LI><strong><A NAME="00150" HREF="msg00150.html">Re: [MUD-Dev] How to handle/display partial language skill</A></strong>, 
Greg Underwood <a href="mailto:gunderwood#donet,com">gunderwood#donet,com</a>, Wed 19 Jan 2000, 05:33 GMT
</LI>
<LI><strong><A NAME="00155" HREF="msg00155.html">Re: [MUD-Dev] How to handle/display partial language skill</A></strong>, 
Matt Chatterley <a href="mailto:chattemp#ee,port.ac.uk">chattemp#ee,port.ac.uk</a>, Wed 19 Jan 2000, 14:58 GMT
</LI>
<LI><strong><A NAME="00160" HREF="msg00160.html">Re: [MUD-Dev] How to handle/display partial language skill</A></strong>, 
Wes Connell <a href="mailto:wconnell#adhesive,com">wconnell#adhesive,com</a>, Wed 19 Jan 2000, 18:20 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00136" HREF="msg00136.html">[MUD-Dev] Planet/Solar System Generation</A></strong>, 
Wes Connell <a href="mailto:wconnell#adhesive,com">wconnell#adhesive,com</a>, Tue 18 Jan 2000, 20:52 GMT
<UL>
<LI><strong><A NAME="00138" HREF="msg00138.html">Re: [MUD-Dev] Planet/Solar System Generation</A></strong>, 
icecube <a href="mailto:icecube#ihug,co.nz">icecube#ihug,co.nz</a>, Tue 18 Jan 2000, 22:14 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>