Download
(4 Kb)
Download
Updated: 03/15/22 09:54 PM
Compatibility:
Ascending Tide (7.3.5)
Updated:03/15/22 09:54 PM
Created:04/13/21 05:17 PM
Monthly downloads:2,552
Total downloads:324,522
Favorites:166
MD5:
LibMotif  Popular! (More than 5000 hits)
Version: 7.3.1
by: ziggr [More]
Requires LibCharacterKnowledge

LibMotif provided add-on authors with a single API call to determine if a character knew a crafting style or not.

Obsoleted as of Update 33/ESO 7.3.0/API 101033/Ascending Tide and its account-wide achievements.

Call LibCharacterKnowledge.GetMotifKnowledgeForCharacter() for correct character-specific knowledge. LibMotif now does this for you so your add-on will get correct character-specific results today. But for the future, replace LibMotif calls with LibCharacterKnowledge calls. LibMotif will not be maintained further.
7.3.1 2022-03-15
  • Update 33/ESO 7.3.0/API 101033/Ascending Tide
  • OBSOLETE. Gutted and turned into an adapter for LibCharacterKnowledge.GetMotifKnowledgeForCharacter().
  • Now requires LibCharacterKnowledge which does all the work. You really should just call LibCharacterKnowledge() directly.

7.2.1 2021-09-23
  • Update 32/ESO 7.2.0/API 101032/Deadlands
  • achievement IDs for House Hexos, Ancient Daedric, Crimson Oath, Silver Rose

7.1.1 2021-09-13
  • Update 31/ESO 7.1.0/API 101031/Walking Flame
  • Achievment IDs for motifs: Black Fin Legion, Sul-Xan

7.0.1 2021-04-28
  • Update 30/ESO 7.0.0/API 100035/Blackwood
  • Achievment IDs for Blackwood motifs: Ancestral Akaviri, True-Sworn, Waking Flame, Ivory Brigade

6.3.2 2021-04-14
  • Soul Shriven fixed.

6.3.1 2021-04-13
  • Initial release.
Optional Files (0)


Archived Files (5)
File Name
Version
Size
Uploader
Date
7.2.1
7kB
ziggr
09/23/21 01:58 PM
7.1.1
7kB
ziggr
09/13/21 12:48 PM
7.0.1
7kB
ziggr
04/28/21 10:03 PM
6.3.2
7kB
ziggr
04/14/21 03:29 PM
6.3.1
7kB
ziggr
04/13/21 05:17 PM


Post A Reply Comment Options
Unread 03/16/22, 05:37 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5989
Uploads: 78
Please add the new dependency "LibCharacterKnowledge" to the description.
It's mentioned in the text but it's not clear you will need this lib currently to use LibMotif.


btw: Ascending tides API is API 101033 not API 101032
Last edited by Baertram : 03/16/22 at 07:15 AM.
Report comment to moderator  
Reply With Quote
Unread 04/29/21, 06:24 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5989
Uploads: 78
Re: LibMotif 6.3.2/2021-04-14 fixes Soul Shriven

Alright, my fault then I only checked the code lines and did not look into the sv files. Thanks for the clarification


Originally Posted by ziggr
It was a bug in LibMotif:Export(). I erroneously favored the achievement (1418 "Soul Shriven Style Master") over my list of overrides in LibMotif.SIMPLE. Fixed now.

Baertram: As for saved variables: LibMotif doesn't even use 'em. I use them for the LibMotif_Scan.lua code myself, and was too lazy to comment them out for release. If you look in your saved vars file, it'll probably be empty except for a saved vars version number.

--Z
Report comment to moderator  
Reply With Quote
Unread 04/14/21, 03:35 PM  
ziggr
 
ziggr's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 275
Uploads: 10
LibMotif 6.3.2/2021-04-14 fixes Soul Shriven

It was a bug in LibMotif:Export(). I erroneously favored the achievement (1418 "Soul Shriven Style Master") over my list of overrides in LibMotif.SIMPLE. Fixed now.

Baertram: As for saved variables: LibMotif doesn't even use 'em. I use them for the LibMotif_Scan.lua code myself, and was too lazy to comment them out for release. If you look in your saved vars file, it'll probably be empty except for a saved vars version number.

--Z
Report comment to moderator  
Reply With Quote
Unread 04/14/21, 12:34 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5989
Uploads: 78
It's in the data file at least:
Code:
,   [ 30] = { achievement_id  =  1418 } -- Soul Shriven
Thanks for the library ziggr!
Finally something I could use to strip the old library LibMotifCategories in AdvancedFilters and just create a new plugin based on your up2date library, as it seems.

But 1 addition you should definately add at once: Server dependent SavedVariables! As the data is stored account wide and many players play on the NA and EU server with the same account this should be taken into account from the beginning.
ZO_SavedVars:NewAccountWide(savedVariableTable, version, namespace, defaults, profile, displayName)

->
Lua Code:
  1. self.saved_vars = ZO_SavedVars:NewAccountWide(
  2.                               "LibMotifVars"
  3.                             , self.saved_var_version
  4.                             , nil
  5.                             , self.default
  6.                             , GetWorldName()
  7.                             )
Last edited by Baertram : 04/14/21 at 12:44 PM.
Report comment to moderator  
Reply With Quote
Unread 04/14/21, 11:04 AM  
JN Slevin
 
JN Slevin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 84
Uploads: 4
Soul shriven missing?

Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: