[MUD-Dev] X, Y & Z.

Scott Cade scade at protocol.co.uk
Fri Sep 11 18:01:17 CEST 1998


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. :)


Scott Cade.




More information about the mud-dev-archive mailing list