WoW:TradeSkillLink: Difference between revisions

→‎Notes: Link maldivia's TradeLinks addon
(Added Link Checking)
(→‎Notes: Link maldivia's TradeLinks addon)
Line 42: Line 42:
The bitset is encoded into a type of Base64 on a range from character '<' (ASCII 60 or 0x3C) to '{' (ASCII 123 or 0x7B) inclusive. Being Base64, there are 6 bits per digit (similar to how hexadecimal has 4 bits per digit); this allows one to easily determine if a specific bit is set by looking only at a single digit in the string.
The bitset is encoded into a type of Base64 on a range from character '<' (ASCII 60 or 0x3C) to '{' (ASCII 123 or 0x7B) inclusive. Being Base64, there are 6 bits per digit (similar to how hexadecimal has 4 bits per digit); this allows one to easily determine if a specific bit is set by looking only at a single digit in the string.


It is unknown at this time what the ordering of the bitset is, and therefore difficult to determine which bit corresponds to which recipe without experimentation and data collection.
TODO: Document bitfield ordering, perhaps by looking at [http://www.wowinterface.com/downloads/info10316-TradeLinks.html Maldivia's TradeLinks addon]


== Link Checking ==
== Link Checking ==
Line 53: Line 53:


== Notes ==
== Notes ==
<ul>
* It is easy to view a tradeSkillLink in its raw form by opening a tradeskill window and running the command
<li>It is easy to view a tradeSkillLink in its raw form by opening a tradeskill window and running the command:</li>
  /script DEFAULT_CHAT_FRAME:AddMessage(gsub([[API GetTradeSkillListLink|GetTradeSkillListLink]](), "\124", "\124\124"))
  /script DEFAULT_CHAT_FRAME:AddMessage(gsub([[API GetTradeSkillListLink|GetTradeSkillListLink]](), "\124", "\124\124"))
</ul>
 
* [http://www.wowinterface.com/downloads/info10316-TradeLinks.html Maldivia's TradeLinks addon] can create custom tradelinks
Anonymous user