View Single Post
06/20/14, 12:28 PM   #8
CrazyDutchGuy
 
CrazyDutchGuy's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 89
Itemlinks are now different. This is how itemlink looks like on PTS:
Code:
|H0:item:54513:3:9:45870:3:9:0:0:0:0:0:0:0:0:0:5:0:0:0:0|h|h
|H0:item:793:1:5:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
|H0:item:45024:19:12:26848:19:12:0:0:0:0:0:0:0:0:0:9:0:0:124:0|h|h
New format is:
Lua Code:
  1. "|H" .. linkStyle .. ":" .. linkType .. ":" .. data .. "|h" .. text .. "|h"

Okay this change kinda cracks me up as i had some custom links with different colors, and a ton of normal itemlinks ...

Anyways linkStyle
0 = no brackets
1 = brackets
linkstyle only seems to apply on official item links, for custom links it doesn't

If you want to manual color links, didn't find another way.
Lua Code:
  1. "|c"..hexcolor.."|H" .. linkStyle .. ":" .. linkType .. ":" .. data .. "|h" .. text .. "|h".."|r"
  Reply With Quote