View Single Post
06-25-16, 08:29 AM   #32
Rainrider
A Firelord
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 454
Originally Posted by myrroddin View Post
Would you be willing to test LibUtilities to see if the item string parse works with the additions and changes? I want to know if I have bugfixing to do with Legion.

The relevant API is DecodeItemString.
Code:
Dump: value=GetInventoryItemLink("player",16)
[1]="|cffe6cc80|Hitem:128826::137313:137412:137411::::110:254:256:9:1:727:210:3:1826:1467:3339:2:1726:1477:2:1826:1457|h[Thas'dorah, Legacy of the Windrunners]|h|r"
Code:
Dump: value=LibStub("LibUtilities-1.0"):DecodeItemString(GetInventoryItemLink("player",16))
[1]="|cffe6cc80|Hitem",
[2]="128826",
[3]="",
[4]="137313",
[5]="137412",
[6]="137411",
[7]="",
[8]="",
[9]="",
[10]="110",
[11]="254",
[12]="256",
[13]="9",
[14]="1",
[15]={
  [1]="7271"
},
[16]="210"
@topic
Fixed:
  • Only scan the bank when it is opened and inform the user if data is missing
  • Account for being able to purchase traits for non-equipped artifacts when at the forge
  • Inventory scanning does not try to socket every item of artifact quality anymore (like Artifact Research Notes)

Thank you, kokomala, for the pointers!

Pending:
  • Picking relics updates only if needed
  • Getting knowledge level without ARTIFACT_UPDATE
  • Flagging the currently active artifact (this is not necessary the equipped one)
  • Flagging banked artifacts (low prio since I want to avoid inventory management)

Do you guys need something else?