Chat link format
In the chat it is possible to insert links to certain elements within the game, like waypoints, points of interest, items and skills. These links are usually entered by clicking an element while holding Ctrl or Shift. The former will immediately insert a link into the current chat channel, while the latter will append it to the current chat line, allowing for further changes.
Internally, these links are represented by a special text command that can be embedded manually. When sending it then in the chat, the client will read out information about the linked element and display it correctly for the current localization. This page describes the format of said chat links.
The creation of such links requires knowledge about the internal identifiers and involves a fair amount of calculation. As such this information is not really useful for the average player trying to link to certain elements within the game. For those purposes, the mentioned method in-game is preferred.
Содержание
General format[править]
Following the skill template format from the original Guild Wars, the links make use of Base64 to encode its information. A link is enclosed within single square brackets and preceded by an ampersand, for example [&AgEAWgAA]
will render a link for the Basic Salvage Kit.
Header[править]
The first byte of a link contains the header. It describes the type of the link:
-
0x01
– Coin link currently disabled -
0x02
– Item link -
0x03
– NPC text string currently disabled -
0x04
– Map link for waypoints and points of interest -
0x05
– PvP Game[1] -
0x06
– Skill link -
0x07
– Trait link -
0x08
– User -
0x09
– Recipe link -
0x0A
– Wardrobe link -
0x0B
– Outfit link -
0x0C
– WvW objective link
- ↑ Automatically generated by the client
Data[править]
For most types of code, the header is followed by the ID as a 4-byte little endian integer, then a null byte as terminator.
Coin link[править]
Currently disabled. Specifies at least a two byte number in copper coins. Amounts in gold or silver have to be multiplied by 10,000 or 100 respectively.
Examples[править]
Item link[править]
The quantity of items is encoded as a single byte immediately following the header byte, before the item ID.
Examples[править]
-
[&AgH1WQAA]
– Copper Harvesting Sickle (Id: 23029) -
[&AgH2WQAA]
– Copper Logging Axe (Id: 23030) -
[&AgH3WQAA]
– Copper Mining Pick (Id: 23031) -
[&AgEAWgAA]
– Basic Salvage Kit (Id: 23040)
Wardrobe skins and upgrades[править]
Additional data, such as the item ID of an attached upgrade component or wardrobe skin ID can be added by replacing the last byte of the base item.
-
0x00
– Default item -
0x40
– 1 upgrade component -
0x60
– 2 upgrade components -
0x80
– Skinned -
0xC0
– Skinned + 1 upgrade component -
0xE0
– Skinned + 2 upgrade components
Examples[править]
Items used[править]
- Weapon - Zojja's Claymore (Id: 46762 - Hex:
AA B6
) - Wardrobe Skin - Dreamthistle Greatsword Skin (Wardrobe Id. 3709, Hex:
7D 0E
) - Sigil 1 - Superior Sigil of Bloodlust (Id: 24575, Hex:
FF 5F
) - Sigil 2 - Superior Sigil of Force (Id: 24615, Hex:
27 60
)
HEX Values[править]
- Weapon
-
02 01 AA B6 00 00
-
- Weapon + Sigil 1
-
02 01 AA B6 00 40 FF 5F 00 00
-
- Weapon + Sigil 1 + Sigil 2
-
02 01 AA B6 00 60 FF 5F 00 00 27 60 00 00
-
- Weapon + Wardrobe Skin
-
02 01 AA B6 00 80 7D 0E 00 00
-
- Weapon + Wardrobe Skin + Sigil 1
-
02 01 AA B6 00 C0 7D 0E 00 00 FF 5F 00 00
-
- Weapon + Wardrobe Skin + Sigil 1 + Sigil 2
-
02 01 AA B6 00 E0 7D 0E 00 00 FF 5F 00 00 27 60 00 00
-
Chat Codes[править]
- Weapon
-
[&AgGqtgAA]
-
- Weapon + Sigil 1
-
[&AgGqtgBA/18AAA==]
-
- Weapon + Sigil 1 + Sigil 2
-
[&AgGqtgBg/18AACdgAAA=]
-
- Weapon + Wardrobe Skin
-
[&AgGqtgCAfQ4AAA==]
-
- Weapon + Wardrobe Skin + Sigil 1
-
[&AgGqtgDAfQ4AAP9fAAA=]
-
- Weapon + Wardrobe Skin + Sigil 1 + Sigil 2
-
[&AgGqtgDgfQ4AAP9fAAAnYAAA]
-
Text string[править]
Specifies the two byte internal string identifier and displays the corresponding text in the chat window (sometimes just a chat bubble), highlighted in a color that matches the chat channel. (e.g. gold for guild chat, blue for party chat, etc.)
Examples[править]
-
[&AxcnAAA=]
– Fight what cannot be fought. -
[&AxgnAAA=]
– Any secrets you want to share? -
[&AxknAAA=]
– Any news? -
[&AyAnAAA=]
– Do you need assistance?
See Chat link format/0x03 codes for a list of the documented codes.
Map links[править]
Specifies the two byte internal point of interest (internally landmarks, waypoints, and vistas are deemed as points of interest) identifier.
Examples[править]
-
[&BDgAAAA=]
– Dr. Bleent's Encampment (Id: 56) -
[&BEgAAAA=]
– Desider Atum Waypoint (Id: 72) -
[&BDkDAAA=]
– Caudecus' Estate Waypoint (Id: 825)
See Chat link format/0x04 codes for a list of the documented codes.
Skill links[править]
Specifies the two byte internal skill (including effects, buffs, and abilities) identifier.
Examples[править]
-
[&B+cCAAA=]
– Aegis (Id: 743) -
[&B3MVAAA=]
– Fireball (Id: 5491) -
[&B30VAAA=]
– Meteor Shower (Id: 5501)
Trait links[править]
Specifies the two byte internal trait identifier.
Examples[править]
-
[&B/IDAAA=]
– Opening Strike (Id: 1010)
Recipes[править]
Specifies the two byte internal recipe identifier.
Examples[править]
-
[&CgEAAAA=]
– Recipe: Soft Wood Plank (Id: 1) -
[&CgIAAAA=]
– Recipe: Ancient Wood Planks (Id: 2) -
[&CgcAAAA=]
– Recipe: Bolts of Cotton (Id: 7)
Wardrobe skin link[править]
Specifies the two byte wardrobe skin identifier.
Examples[править]
-
[&CwQAAAA=]
– Apprentice Coat
See Chat link format/0x0B codes for a list of the documented codes.
Outfit link[править]
Specifies the two byte outfit identifier.
Examples[править]
-
[&DAQAAAA=]
– Witch's Outfit
See Chat link format/0x0C codes for a list of the documented codes.
Finding game IDs from chat links[править]
For many templates found on the wiki, the game ID rather than the full chat link is required. This can be obtained by typing /wiki
, then holding Shift + clicking on the item in question. Pressing enter will then bring up your browser and return the wiki's enhanced search page which will decode the chat link into an ID at the top of the page.