View Single Post
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