Thread Tools Display Modes
09/01/15, 09:37 AM   #1
@AlphaLemming
 
@AlphaLemming's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 122
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)
  Reply With Quote
09/01/15, 09:38 AM   #2
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
For Xivkyn, wait a bit, they'll pop in belkarth stores. you can get a link from here.
  Reply With Quote
09/01/15, 10:17 AM   #3
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
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
  Reply With Quote
09/01/15, 11:43 AM   #4
@AlphaLemming
 
@AlphaLemming's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 122
Thanks. Will try this script.
These links are only books, i need the pages for a single chapter
  Reply With Quote
09/01/15, 12:46 PM   #5
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
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:
|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?

Last edited by circonian : 09/01/15 at 01:07 PM.
  Reply With Quote
09/01/15, 01:05 PM   #6
Wandamey
Guest
Posts: n/a
Originally Posted by circonian View Post
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?
  Reply With Quote
09/01/15, 01:08 PM   #7
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
Originally Posted by Wandamey View Post
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.
  Reply With Quote
09/01/15, 01:11 PM   #8
Wandamey
Guest
Posts: n/a
Originally Posted by circonian View Post
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.

Last edited by Wandamey : 09/01/15 at 01:14 PM.
  Reply With Quote
09/01/15, 02:24 PM   #9
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
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
  Reply With Quote

ESOUI » AddOns » AddOn Help/Support » New Styles - ItemLinks

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