Quantcast
Download
(8 Kb)
Download
Updated: 12/04/20 01:31 PM
Pictures
File Info
Compatibility:
Markarth (6.2.5)
Updated:12/04/20 01:31 PM
Created:11/17/20 07:13 AM
Monthly downloads:4,490
Total downloads:4,691
Favorites:10
MD5:
6.2.5
LibMultiAccountSets  Updated less than 3 days ago!
Version: 1.4.1
by: code65536 [More]
This is a library for tracking Item Set Collection progress across multiple accounts.


Dependencies

Required:
  • None

Recommended/Optional:

List of addons that can use this library

Advanced features for users

LibMultiAccountSets has a settings panel (requires LibAddonMenu), which can be accessed either by navigating your Addons settings, or by using the /lmas chat command.

Using this settings panel, users can share their data with friends by exporting and importing data sets. This feature is designed to facilitate trading gear between players.


For example, let's say that after exploring a zone, you acquired a number of set gear pieces. After binding the ones that you have not yet collected, you are left with some extras. Are any of your friends missing those pieces? If they had shared their LibMultiAccountSets set collection data with you, you can easily check, and using the Uncollected Set Items filter plugin for Advanced Filters (which makes use of this library), you can compose a mail and filter for those items that your friend doesn't have right there in the mail composition window!



For addon developers

Mirrored functions:

The following functions mirror their built-in counterparts, except with an account parameter. If account is nil, these functions will just pass the call to their built-in counterparts.
Code:
LibMultiAccountSets.GetNumItemSetCollectionSlotsUnlockedForAccount( account, itemSetId )
* Built-in counterpart: GetNumItemSetCollectionSlotsUnlocked

LibMultiAccountSets.IsItemSetCollectionSlotUnlockedForAccount( account, itemSetId, slot )
* Built-in counterpart: IsItemSetCollectionSlotUnlocked

LibMultiAccountSets.IsItemSetCollectionPieceUnlockedForAccount( account, pieceId )
* Built-in counterpart: IsItemSetCollectionPieceUnlocked

LibMultiAccountSets.GetItemReconstructionCurrencyOptionCostForAccount( account, itemSetId, currencyType )
* Built-in counterpart: GetItemReconstructionCurrencyOptionCost

Other functions:

Code:
LibMultiAccountSets.IsItemSetCollectionItemLinkUnlockedForAccount( account, itemLink )
* Return type: boolean

LibMultiAccountSets.GetAccountList( excludeCurrentAccount )
* Return type: table/array of strings

Callbacks: (LibMultiAccountSets 1.2 or later)

Event codes:
Code:
LibMultiAccountSets.EVENT_INITIALIZED
* Fired when LibMultiAccountSets has completed the initial scan of the current account's item set collection.

LibMultiAccountSets.EVENT_COLLECTION_UPDATED
* Fired when the item set collection data for the current account has been updated or when data for another account has been imported.
The functions for registration and unregistration mirror the syntax for the in-game RegisterForEvent and UnregisterForEvent:
Code:
LibMultiAccountSets.RegisterForCallback( name, eventCode, callback )
LibMultiAccountSets.UnregisterForCallback( name, eventCode )
* Return type: boolean
  • Version 1.4.1 (2020/12/04)
    • The LibMultiAccountSets addon settings panel now includes a hint about the availability of an optional chat command to access the settings panel

  • Version 1.4.0 (2020/12/03)
    • Reorganized the LibMultiAccountSets addon settings panel
    • Added a third export option for the data sharing feature, to export the data for a persistent list of selected accounts; by using this new export option, users with multiple accounts can easily share their accounts' data without inadvertently re-exporting their friends' data

  • Version 1.3.3 (2020/11/30)
    • Increased the number of accounts that can be excluded from being saved

  • Version 1.3.2 (2020/11/28)
    • Outdated addons attempting to call a discontinued function will now fail gracefully instead of throwing a Lua error

  • Version 1.3.1 (2020/11/27)
    • The export function of the data sharing feature will now automatically select the export data text to facilitate copying to the clipboard

  • Version 1.3.0 (2020/11/25)
    • For addon developers: Added GetItemReconstructionCurrencyOptionCostForAccount
    • For addon developers: Removed AddAccountsCollectionStatusToTooltip

  • Version 1.2.0 (2020/11/21)
    • For addon developers: Addons using LibMultiAccountSets can now register for callbacks; see the LibMultiAccountSets web page for documentation

  • Version 1.1.0 (2020/11/18)
    • The export/import data sharing feature now includes a more robust check for data integrity; unfortunately, this required a change in the format of the exported data, and the exported data generated by LibMultiAccountSets version 1.0 is not compatible with version 1.1 and vice-versa, so two users who wish to share data with each other must both update to version 1.1
    • Added an option to change the colors of the account collection status text that can be added to item tooltips by addons using LibMultiAccountSets

  • Version 1.0.0 (2020/11/17)
    • Initial version
Optional Files (0)


Archived Files (8)
File Name
Version
Size
Uploader
Date
1.4.0
8kB
code65536
12/03/20 05:25 PM
1.3.3
7kB
code65536
11/29/20 11:49 PM
1.3.2
7kB
code65536
11/28/20 02:28 AM
1.3.1
7kB
code65536
11/27/20 07:22 AM
1.3.0
7kB
code65536
11/25/20 09:11 AM
1.2.0
7kB
code65536
11/21/20 04:06 AM
1.1.0
7kB
code65536
11/18/20 06:43 AM
1.0.0
6kB
code65536
11/17/20 07:20 AM


Post A Reply Comment Options
Unread 12/02/20, 06:07 PM  
jebbrown

Forum posts: 0
File comments: 11
Uploads: 0
Awesome

I sure they will all fit now! TYVM!


I can't tell you how many accounts I have or I would have to kill... your toons


Anyways, your lib is a huge help to me. Here... have a banana
Report comment to moderator  
Reply With Quote
Unread 11/30/20, 12:06 AM  
code65536
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 148
Uploads: 24
Originally Posted by jebbrown
This is a huge help for me as I have 3 accounts I play all the time.

But I also have a lot of storage accounts that I never actually play. I can't seem to fit them all in the 'Excluded Accounts' option box. Do I need to include the @ symbol? Without that I might be able to fit all the accounts I don't want tracked into the box.

Thanks so much for providing this
Uh... how many accounts do you have?!

Anyway, yes, the "@" is required and a name will not be recognized without it.

The text box limit had been set to 255 bytes, which would've allowed for 11 different account names, if every account name was as long as the game allowed. This limit was set arbitrarily, but it was a limit that I did not expect anyone to hit.

In any case, the limit has been increased to 4K bytes in version 1.3.3.
Report comment to moderator  
Reply With Quote
Unread 11/29/20, 03:09 PM  
jebbrown

Forum posts: 0
File comments: 11
Uploads: 0
This is a huge help for me as I have 3 accounts I play all the time.

But I also have a lot of storage accounts that I never actually play. I can't seem to fit them all in the 'Excluded Accounts' option box. Do I need to include the @ symbol? Without that I might be able to fit all the accounts I don't want tracked into the box.

Thanks so much for providing this
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.