<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD-Dev] Re: X, Y & Z. -->
<!--X-From-R13: Pra Uerrne <terrneNploreuvtujnl.arg> -->
<!--X-Date: Fri, 11 Sep 1998 15:53:57 -0700 -->
<!--X-Message-Id: Pine.LNX.3.96.980911154750.332A-100000#shamen,cyberhighway.net -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: E3E295CA3643D211B9890800097A1EAD1CC4@ARBORETUM1 -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: X, Y & Z.</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>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->
Date:
[ <a href="msg01019.html">Previous</a>
| <a href="msg01021.html">Next</a>
]
Thread:
[ <a href="msg01016.html">Previous</a>
| <a href="msg01012.html">Next</a>
]
Index:
[ <A HREF="author.html#01020">Author</A>
| <A HREF="#01020">Date</A>
| <A HREF="thread.html#01020">Thread</A>
]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: X, Y & Z.</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>'" <<A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A>></LI>
<LI><em>Subject</em>: [MUD-Dev] Re: X, Y & Z.</LI>
<LI><em>From</em>: Ben Greear <<A HREF="mailto:greear#cyberhighway,net">greear#cyberhighway,net</A>></LI>
<LI><em>Date</em>: Fri, 11 Sep 1998 15:49:22 -0700 (MST)</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>
On Fri, 11 Sep 1998, Scott Cade wrote:
> Coo... my first post after being a lurker here for quite a while :)
>
> I'm after a formula for producing a single unique number, given any
> combination
> of 3 large other numbers (all unsigned long integers) - those being X,Y & Z
> grid
> coordinates. I can do this easily using just X & Y, and given defined
> WORLD_WIDTH
> & WORLD_HEIGHT values, but the extra Z coordinate has got me stumped.
>
> Apologies if i've not explained this very well, and thanks in advance for
> any
> suggestions if I have. :)
I unless I mis-understand, you cannot do this. You must have as many bits
(information) in your result as in your input(s) if you want a one-to-one
mapping.
I don't think that is what you want however, so please re-word your
question..let us know what you are really trying to do.
Ben
>
>
> Scott Cade.
>
> --
> MUD-Dev: Advancing an unrealised future.
>
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
<A HREF="http://www.primenet.com/~greear/ScryMUD/scry.html">http://www.primenet.com/~greear/ScryMUD/scry.html</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="01015" HREF="msg01015.html">[MUD-Dev] X, Y & Z.</A></STRONG>
<UL><LI><EM>From:</EM> Scott Cade <scade#protocol,co.uk></LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg01019.html">[MUD-Dev] Off-topic! Re: Windows->Linux TCP/IP stack performance problems</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg01021.html">[MUD-Dev] Equipment fit revisited</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg01016.html">[MUD-Dev] Re: X, Y & Z.</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg01012.html">[MUD-Dev] Re: Windows->Linux TCP/IP stack performance problems</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#01020"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#01020"><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><A NAME="01023" HREF="msg01023.html">[MUD-Dev] An accidental experiment with language</A></strong>,
Damion Schubert <a href="mailto:zjiria#texas,net">zjiria#texas,net</a>, Sat 12 Sep 1998, 05:35 GMT
<LI><strong><A NAME="01021" HREF="msg01021.html">[MUD-Dev] Equipment fit revisited</A></strong>,
Andy Cink <a href="mailto:ranthor#earthlink,net">ranthor#earthlink,net</a>, Sat 12 Sep 1998, 00:00 GMT
<LI><strong><A NAME="01015" HREF="msg01015.html">[MUD-Dev] X, Y & Z.</A></strong>,
Scott Cade <a href="mailto:scade#protocol,co.uk">scade#protocol,co.uk</a>, Fri 11 Sep 1998, 17:22 GMT
<UL>
<LI><strong><A NAME="01016" HREF="msg01016.html">[MUD-Dev] Re: X, Y & Z.</A></strong>,
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Fri 11 Sep 1998, 17:42 GMT
</LI>
<LI><strong><A NAME="01020" HREF="msg01020.html">[MUD-Dev] Re: X, Y & Z.</A></strong>,
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Fri 11 Sep 1998, 22:53 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="01012" HREF="msg01012.html">[MUD-Dev] Re: Windows->Linux TCP/IP stack performance problems</A></strong>,
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Fri 11 Sep 1998, 02:42 GMT
<UL>
<li><Possible follow-up(s)><br>
<LI><strong><A NAME="01044" HREF="msg01044.html">[MUD-Dev] Re: Windows->Linux TCP/IP stack performance problems</A></strong>,
Alex Stewart <a href="mailto:riche#crl,com">riche#crl,com</a>, Mon 14 Sep 1998, 17:10 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="01009" HREF="msg01009.html">[MUD-Dev] Windows->Linux TCP/IP stack performance problems</A></strong>,
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Thu 10 Sep 1998, 22:34 GMT
<UL>
<LI><strong><A NAME="01011" HREF="msg01011.html">[MUD-Dev] Re: Windows->Linux TCP/IP stack performance problems</A></strong>,
Vadim Tkachenko <a href="mailto:vt#freehold,crocodile.org">vt#freehold,crocodile.org</a>, Fri 11 Sep 1998, 02:35 GMT
</LI>
</UL>
</LI>
</UL></BLOCKQUOTE>
</ul>
<hr>
<center>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
</center>
<hr>
</body>
</html>