ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   AddOn Help/Support (https://www.esoui.com/forums/forumdisplay.php?f=164)
-   -   New Styles - ItemLinks (https://www.esoui.com/forums/showthread.php?t=5102)

@AlphaLemming 09/01/15 09:37 AM

New Styles - ItemLinks
 
Did anyone has a itemlink for a new Glass-Style-Chapter and/or Xivkyn-Chapter?
(for exemple like the dwemer chapter motifs)

Ayantir 09/01/15 09:38 AM

For Xivkyn, wait a bit, they'll pop in belkarth stores. you can get a link from here.

Garkin 09/01/15 10:17 AM

Lua Code:
  1. for i = 1, 70000 do
  2.    local itemLink = ("|H1:item:%d:299:50:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"):format(i)
  3.    local itemType = GetItemLinkItemType(itemLink)
  4.    if itemType == ITEMTYPE_RACIAL_STYLE_MOTIF then
  5.       d(itemLink)
  6.    end
  7. end

Run this script from ZAM Notebook and you will get all links you want.

Racial Motifs 16: Glass - |H1:item:64669:299:50:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
Racial Motifs 17: Xivkyn - |H1:item:57834:299:50:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
Racial Motifs 18: Akaviri - |H1:item:57590:299:50:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
Racial Motifs 19: Mercenary - |H1:item:64715:299:50:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
Racial Motifs 20: Yokudan - |H1:item:57605:299:50:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h

Crown Racial Motifs 16: Glass - |H1:item:64684:299:50:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
Crown Racial Motifs 17: Xivkyn - |H1:item:64556:299:50:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
Crown Racial Motifs 18: Akaviri - |H1:item:64554:299:50:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
Crown Racial Motifs 19: Mercenary - |H1:item:64730:299:50:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h
Crown Racial Motifs 20: Yokudan - |H1:item:64555:299:50:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h

@AlphaLemming 09/01/15 11:43 AM

Thanks. Will try this script.
These links are only books, i need the pages for a single chapter :)

circonian 09/01/15 12:46 PM

Well, I thought this is all you would need. It looks like it prints out the links you want, but clicking on them displays broken/empty tooltips.
Example of links copied from chat:
Quote:

|H0:book:3079|h|h
|H0:book:3074|h|h
Am I missing something, did I make a mistake somewhere or is this broken?

Lua Code:
  1. -- If there are constants defined for these I couldn't find them
  2. -- But 2 seems to be the Eidetic Memory category (1 is Shalldors library)
  3. -- 27 is the collection index for Glass style
  4. local categoryIndex = 2
  5. local collectionIndex = 27
  6.  
  7. local name, description, numKnownBooks, totalBooks, hidden  = GetLoreCollectionInfo(categoryIndex, collectionIndex)
  8.  
  9. for bookIndex = 1, totalBooks do
  10.     local link = GetLoreBookLink(categoryIndex, collectionIndex, bookIndex, LINK_STYLE_DEFAULT)
  11.     d(link)
  12. end

EDIT: If you open the Lore Library & right click on one of the books & link it to chat it dumps out the same broken link. I didn't check them all but I checked a few books in various collections & they all dump out broken links when right clicking & selecting "Link to Chat"
Can anyone confirm?

Wandamey 09/01/15 01:05 PM

Quote:

Originally Posted by circonian (Post 23135)
Well, I thought this is all you would need. It looks like it prints out the links you want, but clicking on them displays broken/empty tooltips.
Example of links copied from chat:


Am I missing something, did I make a mistake somewhere or is this broken?

Lua Code:
  1. -- If there are constants defined for these I couldn't find them
  2. -- But 2 seems to be the Eidetic Memory category (1 is Shalldors library)
  3. -- 27 is the collection index for Glass style
  4. local categoryIndex = 2
  5. local collectionIndex = 27
  6.  
  7. local name, description, numKnownBooks, totalBooks, hidden  = GetLoreCollectionInfo(categoryIndex, collectionIndex)
  8.  
  9. for bookIndex = 1, totalBooks do
  10.     local link = GetLoreBookLink(categoryIndex, collectionIndex, bookIndex, LINK_STYLE_DEFAULT)
  11.     d(link)
  12. end

EDIT: Nope, it appears to just be broken. If you open the Lore Library & right click on one of the books & link it to chat it dumps out the same broken link.
Can anyone confirm?

have the lorebooks ever been clickable items?

circonian 09/01/15 01:08 PM

Quote:

Originally Posted by Wandamey (Post 23136)
have the lorebooks ever been clickable items?

Oh, I have no idea. Since you can create links I just assumed they were. I've never messed with any of that stuff before.
Why else would you be able to right click on them in the journal though & link to chat AND it creates a clickable link ? So I would assume they are supposed to be.

Wandamey 09/01/15 01:11 PM

Quote:

Originally Posted by circonian (Post 23137)
Oh, I have no idea. Since you can create links I just assumed they were. I've never messed with any of that stuff before.
Why else would you be able to right click on them in the journal though & link to chat AND it creates a clickable link ? So I would assume they are supposed to be.

but it opens the setlink which is a method for itemtooltip edit and here pop up too. maybe thats the problem. ZOS issue anyway and i dont remember having seen them linked before.

merlight 09/01/15 02:24 PM

From zone spam in Belkarth (Glass motif fragment): |H1:item:69432:5:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h


All times are GMT -6. The time now is 10:52 PM.

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