ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Bug Reports (https://www.esoui.com/forums/forumdisplay.php?f=187)
-   -   [notabug] Crafted inconsistencies (https://www.esoui.com/forums/showthread.php?t=7337)

Rhyono 08/30/17 08:43 PM

[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.

AssemblerManiac 09/01/17 07:32 AM

Can you grab both links and post them here? It would help to see the difference in the link text.

Rhyono 09/01/17 10:48 AM

The difference is the "crafted" boolean in the link.

AssemblerManiac 09/01/17 02:53 PM

That's just strange.

ZOS_ChipHilseberg 09/05/17 11:06 AM

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.

Rhyono 09/05/17 07:08 PM

lua Code:
  1. /script bag =  SHARED_INVENTORY:GenerateFullSlotData(nil,BAG_BACKPACK)
  2. /zgoo bag


votan 09/05/17 11:08 PM

Quote:

Originally Posted by Rhyono (Post 32535)
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".

Rhyono 09/05/17 11:28 PM

I was unaware that CraftStore adds that data on load. Not a bug.


All times are GMT -6. The time now is 03:02 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI