(5 Kb)
Updated: 02-15-07 06:50 PM
File Info
Updated:02-15-07 06:50 PM


Version: 2.0.4
by: Saeris [More]


This addon converts item links sent to custom chat channels into a special format, which is then converted back to the normal, clickable item links for other users of the addon. For people in the channel who are not using this addon, the text will appear in what might seem to be nonsense, but which actually follows this pattern:

{CL[data format number, currently 1]_[item's hex color]_[link's type and ID]_[name of item]}

For instance, a normal link to [Farmer's Broom] would appear as:

{CL1_ffffff_item:3335:0:0:0:0:0:0:0_Farmer's Broom}

Take note that links sent to public, server-established channels are never converted in this fashion, to prevent text from being broadcast to a channel consisting of people who probably aren't using the addon and would therefore just see the encoded version of the message.

Feedback and Inquiries

I welcome feedback for any of my addons, including this one. However, if the feedback is a bug report or feature request, please use the methods on this page (the "Bugs" and "Features" buttons below the "Download" button in the top right) to alert me, instead of posting in the "Comments" section of this page, as it will take me longer to reply to you if you post there. For feedback or inquiries not related to bugs or features, such as information about translating this addon to another language or a request for a detailed explanation of a certain bit of code, please contact me directly via one of the methods listed in the "Preamble" section of my author portal's introduction text. Following these guidelines will ensure that I read and reply to your message.

History of Changes

See the readme file in this addon's folder, or my author portal, for an explanation of the versioning system.

2.0.4 (2/15/07):
- Fixed a bug where outbound messages sent to Trade chat were being needlessly converted to the special format.

2.0.3 (2/13/07):
- Updated TOC number to 20003.

- Various efficiency boosts.

2.0.2 (11/19/06):
- Changed the TOC number to be compatible with The Burning Crusade. To use in classic WoW, check the "Load out of date AddOns" button at the addon selection screen.

2.0.1 (11/13/06):
- Fixed an issue where the addon was not loading on some occasions due to load order.

2.0.0 (11/6/06):
- Rewritten into an object-oriented format for efficiency and maintainability.

- Drastically improved efficiency in the outgoing message encoding process by changing the code which checks public channel names to do so using local copies of the string parsing functions and the localization table.

- Drastically improved efficiency in the incoming message decoding process by checking the chat type ID of the message before trying to parse it for encoded links. This means the addon no longer tries to check EVERY message for encoded links. Rather, it only looks at messages whose chat type IDs represent themselves as being from a numbered (1 - 10) custom channel. Research shows these IDs, 95 (channel 1) through 104 (channel 10), to be static across all characters, servers, accounts, and client locales. (Thanks, PA forums!)

1.1.1 (8/22/06):
- Changed TOC number to be compatible with 1.12 patch.

1.1.0 (7/21/06):
- Now converts enchant links as well. However, due to this, the data format has changed, meaning users with version 1.0.0 will not be able to see links from 1.1.0 or vise versa.

See the readme file in this addon's folder for earlier changes.

Developer Notes

The item's name and color must be part of the converted text instead of using GetItemInfo to ascertain the correct name on the receiving end, because it is possible to display a chat link without the item to which the link points being in the local cache. Such a scenario would of course cause the function to return nil for what ought to be valid input.

The static numbers which represent the IDs for custom chat channels 1 through 10 are 95 through 104, in matching order. Research shows that these numbers are identical between all characters, servers, accounts, and client locales.

Optional Files (0)

There have been no comments posted to this file.
Be the first to add one.

Category Jump: