Quantcast ESOUI - View Single Post - 2.2 Update
Thread: 2.2 Update
View Single Post
10/24/15, 04:30 AM   #19
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,080
I think I found a bug with item link rendering on the pts.
When I print a link that was returned from any function that accepts a link style while passing LINK_STYLE_BRACKETS, I always see [] instead of the item name.
Strangely enough it works when I send it to the chat input field and post it or print it like below.

Lua Code:
  1. /script d(GetItemLink(BAG_BACKPACK, 1, LINK_STYLE_BRACKETS)) -- does not work
  2. /script d(GetItemLink(BAG_BACKPACK, 1)) -- works
  3. /script StartChatInput(GetItemLink(BAG_BACKPACK, 1, LINK_STYLE_BRACKETS)) -- works
  4. /script d("|H1:item:33898:164:50:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h") -- works

Functions tested: GetTradingHouseSearchResultItemLink, GetTradingHouseListingItemLink, GetGuildSpecificItemLink, GetStoreItemLink, GetBuybackItemLink, GetItemLinkRecipeResultItemLink, GetItemLinkRefinedMaterialItemLink
Achievement and Book links that get returned from similar functions do work fine.
__________________
>siri.exe MyAddon
Does your addon work? [y/n] n
There is a typo in there.
  Reply With Quote