Thread Tools Display Modes
08/30/17, 08:43 PM   #1
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 659
[notabug] Crafted inconsistencies

I'm not sure if this is intended but I thought it might be an anomaly.

If you grab bag data like so

Code:
local bag =  SHARED_INVENTORY:GenerateFullSlotData(nil,<some bags>)
and find a glyph and do IsItemLinkCrafted() on the data's "lnk" it will always fail.

But if you take the bag and slot ids from it and build a link like so: GetItemLink(bag.bagId,bag.slotIndex)

IsItemLinkCrafted() will return properly.
 
09/01/17, 07:32 AM   #2
AssemblerManiac
AddOn Author - Click to view addons
Join Date: Jun 2014
Posts: 51
Can you grab both links and post them here? It would help to see the difference in the link text.
 
09/01/17, 10:48 AM   #3
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 659
The difference is the "crafted" boolean in the link.
 
09/01/17, 02:53 PM   #4
AssemblerManiac
AddOn Author - Click to view addons
Join Date: Jun 2014
Posts: 51
That's just strange.
 
09/05/17, 11:06 AM   #5
ZOS_ChipHilseberg
ZOS Staff!
Premium Member
Yes this person is from ZeniMax!
Join Date: Oct 2014
Posts: 551
Where is the link coming from? Shared inventory doesn't put an item link on the returned data table as far as I can tell.
 
09/05/17, 07:08 PM   #6
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 659
lua Code:
  1. /script bag =  SHARED_INVENTORY:GenerateFullSlotData(nil,BAG_BACKPACK)
  2. /zgoo bag

 
09/05/17, 11:08 PM   #7
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
Originally Posted by Rhyono View Post
lua Code:
  1. /script bag =  SHARED_INVENTORY:GenerateFullSlotData(nil,BAG_BACKPACK)
  2. /zgoo bag
@Chip: I did the same and I do not have a member "lnk". And lnk does not look like a ZOS naming convention.
@Rhyono: You may scan your addons for "lnk".
 
09/05/17, 11:28 PM   #8
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 659
I was unaware that CraftStore adds that data on load. Not a bug.
 

ESOUI » Developer Discussions » Bug Reports » [notabug] Crafted inconsistencies

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off