ID: Difference between revisions

From Hazeron Wiki
Jump to navigation Jump to search
m (→‎Decoding: Made the table more compact.)
mNo edit summary
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
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.
[[Category:Science]]
Everything in ''Hazeron'' has an ID number but may not always be displayed to the players. Most notable being [[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=
==Format==
The ID number is commonly displayed as a series of letters. The length can vary from anywhere from 1 letter and up.
The ID number is commonly displayed as a series of letters. The length can vary from anywhere from 1 letter and up.


Line 34: Line 35:
| U
| U
| style="text-align:right;" | 30
| style="text-align:right;" | 30
| DB
| EB
|-
|-
| style="text-align:right;" | 1
| style="text-align:right;" | 1
Line 114: Line 115:
| colspan=2 style="text-align:center;" | ...
| colspan=2 style="text-align:center;" | ...
|}
|}
==Acquiring==
There is a number of ways to find the ID of different things, here are a few.
* 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.
* 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 [[planet]]s, [[system]]s, and [[sector]]s.

Latest revision as of 10:38, 5 March 2024

Everything in Hazeron has an ID number but may not always be displayed to the players. Most notable being 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.