Thread Tools Display Modes
Prev Previous Post   Next Post Next
09/12/16, 11:38 PM   #20
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
2.6.1 popped yesterday, I've updated sourcecode.

/script d(zo_strformat("I am a <<1>>", "<<player{male/female}>>")) -> I am a <<player{male/female}>>

is not fixed but API have here and there be modified, format has been dropped. not everywhere and not in C++ code neither.
for now I wait for the final solution .. ^^





I've also updated http://wiki.esoui.com/Collectibles
There is now a ton of collectibles.

Those flagged with TORECHECK are.. to recheck, because they'll surely evolve.
The 3rd value is the CollectibleCategoryType.

We now have ~200 collectible added per update. and the number raise.


Few things to get collectibles (Chip, please don't fix )

Lua Code:
  1. local oldFunc = ItemTooltip.SetCollectible
  2. ZO_PreHook(ItemTooltip, "SetCollectible", function(self, collectibleId, addNickname, showHint, showBlockReason)
  3.     local displayedCollectibleId = tonumber(MultiCraftDisplay:GetText())
  4.     local collectibleName, _, _, _, _, _, _, categoryType = GetCollectibleInfo(displayedCollectibleId)
  5.     if collectibleName then
  6.         d(categoryType .. ";" .. displayedCollectibleId .. ";".. collectibleName)
  7.     end
  8.     oldFunc(self, displayedCollectibleId, false, true, true)
  9.     return true
  10. end)

+ a spinner to play with mouse.

I personally used MultiCraft addon () line 571 :

Lua Code:
  1. --if value > maxCraftable then value = maxCraftable end
  2.  
  3. MultiCraft:GetNamedChild("Display"):SetText(value)
  4.  
  5. ClearTooltip(ItemTooltip)
  6. InitializeTooltip(ItemTooltip, GuiRoot, BOTTOM, 0, -200, BOTTOM)
  7. ItemTooltip:SetCollectible(1)

+ /script MultiCraft:SetHidden(false)


It will show you the collectible, and if Collectible is leaked to Lua, will dump a message in chat.
Not all collectibles are leaked to Lua, so you can have tooltips and API returnin empty values; but with a good tool (your eyes) you can rewrite them, or make screenshots.
  Reply With Quote
 

ESOUI » Developer Discussions » Tutorials & Other Helpful Info » 2.6 Update


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