Notice something wrong, missing, or unsatisfactory? Feel free to edit pages yourself and make use of discussion pages. Wiki content is created, maintained, and administrated by players. See how you can help.
Sign up for the September 2014 Feature Pack contributor contest, contribute to the wiki, and win one of 13 Mini Llamas!
[dismiss]

Chat link format

From Guild Wars 2 Wiki
Jump to: navigation, search

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.

Contents

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:

  1. ^ a b 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 Copper coin coins. Amounts in gold Gold coin or silver Silver coin have to be multiplied by 10,000 or 100 respectively.

Examples

  • [&AQAAAAA=]Copper coin
  • [&AQEAAAA=]Copper coin
  • [&AdsnAAA=]Gold coin 2 Silver coin 3 Copper coin

Item link

The quantity of items is encoded as a single byte immediately following the header byte, before the item ID.

Examples

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

Trait links

Specifies the two byte internal trait identifier.

Examples

Recipes

Specifies the two byte internal recipe identifier.

Examples

Wardrobe skin link

Specifies the two byte wardrobe skin identifier.

Examples

See Chat link format/0x0C codes for a list of the documented codes.

Outfit link

Specifies the two byte outfit identifier.

Examples

Others

The chat links hint on other linkable data, including templates which actual format is currently still unknown, and possibly not even implemented in the game.

Personal tools
Other languages