ID: Difference between revisions

From Hazeron Wiki
Jump to navigation Jump to search
(→‎Acquiring: Added the Bio window to the list. Thanks Jorn.)
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category:Science]]
[[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.


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==
 
=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 117: Line 116:
|}
|}


=Acquiring=
==Acquiring==
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.


Line 124: Line 123:
* [[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 [[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.