ID: Difference between revisions

From Hazeron Wiki
Jump to navigation Jump to search
m (→‎Acquiring: I shouldn't be writing this on my phone.)
(→‎Acquiring: Added the Bio window to the list. Thanks Jorn.)
Line 120: Line 120:
There is a number of ways to find the ID of different things, here are a few.
There is a number of ways to find the ID of different things, here are a few.


* The [http://hazeron.com/EmpireStandings2015/Avatars.html avatar list] contains the ID of all [[avatar]]s.
* The [[Bio]] (F8) window contains the [[avatar]]'s ID.
* The [http://hazeron.com/EmpireStandings2015/Avatars.html avatar list] contains the ID of all avatars.
* [[Skull]]s are automatically inscripted with the name and ID of the [[creature]] or avatar that dropped it.
* [[Skull]]s are automatically inscripted with the name and ID of the [[creature]] or avatar that dropped it.
* Anything that sends messages on the [[comm]]/chat, for example; avatars, [[officer]]s, [[crew]], [[spacecraft]], and [[cities]]. Simply hover the cursor over a message and the ID will be displayed in the tooltip.
* Anything that sends messages on the [[comm]]/chat, for example; avatars, [[officer]]s, [[crew]], [[spacecraft]], and [[cities]]. Simply hover the cursor over a message and the ID will be displayed in the tooltip.
* [[Star_Map|Star map]] exported XML files contain the ID of all [[plant]]s, [[system]]s, and [[sector]]s.
* [[Star_Map|Star map]] exported XML files contain the ID of all [[plant]]s, [[system]]s, and [[sector]]s.

Revision as of 22:01, 9 November 2015


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 EB
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 ...

Acquiring

There is a number of ways to find the ID of different things, here are a few.