ID: Difference between revisions

From Hazeron Wiki
Jump to navigation Jump to search
(Haxus is "Q", I wonder if that is on purpose.)
 
No edit summary
Line 10: Line 10:


=Decoding=
=Decoding=
Decoding an ID into a base-10 decimal number requires a little math. The ID is encoded in base-26 using only the alphabet.
Decoding an ID into a base-10 decimal number requires a little math. The ID is encoded in base-26 using only the alphabet. The digits are in little-endian order, so the first digit is the lowest order of magnitude.


This website has a converter: http://www.dcode.fr/base-26-cipher
This website has a converter: http://www.dcode.fr/base-26-cipher

Revision as of 01:12, 25 July 2015

Everything in Shores of Hazeron has an ID number but may not always be disabled. Most notable is avatar IDs, as they allow you to distinguish two avatars with the same name. The most common ID number is however the default name of a spacecraft, before a spacecraft is given a name it uses its ID as its name.

Format

The ID number is commonly displayed as a series of letters. The length can vary from anywhere from 1 letter and up.

For example:

  • Q
  • MCPMB
  • LCOPXB

Decoding

Decoding an ID into a base-10 decimal number requires a little math. The ID is encoded in base-26 using only the alphabet. The digits are in little-endian order, so the first digit is the lowest order of magnitude.

This website has a converter: http://www.dcode.fr/base-26-cipher

Decimal Base-26
0 A
1 B
2 C
3 D
4 E
5 F
6 G
7 H
8 I
9 J
10 K
11 L
12 M
13 N
14 O
15 P
16 Q
17 R
18 S
19 T
20 U
21 V
22 W
23 X
24 Y
25 Z
26 BA
27 BB
28 BC
...
676 BAA
...