ID

From Hazeron Wiki
Revision as of 15:37, 31 July 2015 by Deantwo (talk | contribs) (→‎Decoding: Made the table more compact.)
Jump to navigation Jump to search

Everything in Shores of Hazeron has an ID number but may not always be displayed to the players. 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 Decimal Base-26 Decimal Base-26 Decimal Base-26
0 A 10 K 20 U 30 DB
1 B 11 L 21 V ...
2 C 12 M 22 W 676 AAB
3 D 13 N 23 X 677 BAB
4 E 14 O 24 Y 678 CAB
5 F 15 P 25 Z ...
6 G 16 Q 26 AB 17576 AAAB
7 H 17 R 27 BB 17577 BAAB
8 I 18 S 28 CB 17578 CAAB
9 J 19 T 29 DB ...