Quantcast
Download
(9 Kb)
Download
Updated: 01-11-14 08:45 PM
Updated:01-11-14 08:45 PM
Created:12-11-11 04:13 PM
Downloads:95
Favorites:0
MD5:
LibAccounts
Version: 0.8
by: seebs [More]
This addon (based on an offhand remark by Zorba in the forums) provides account awareness. It assigns a unique ID (unique over the life of the local system's install and saved variables) to each account, and lets you query which account a given character is on, which characters a given account has, and things like that. Very primitive, but slightly handier than writing it all yourself.

(Note: This has NO ACCESS to your account name or information -- it just uses the account-specific saved variables feature to distinguish accounts.)

Update: Fixed the missing dependency on LibGetopt, which is now properly embedded.
Update: Now works again! The change from "faction" to "alliance" has been taken into account.
Update: You can change the account a character is associated with to override the default behavior.

This new feature exists because if you want to have shard-specific stuff like AH results shared between accounts, one way is by using filesystem magic to silently coerce the account-specific addon directories to be shared. But then LibAccounts can't tell the accounts apart without manual intervention. So, "/accounts -f 2" forces the current character to be considered Account #2.
0.3: Change internal representations a bit after running into issues working on LibBaggotry, update interface to add available_p()

Added copyright notice (2-clause BSD).

0.5: Improve handling of multiple shards. Provide both a numeric list of all characters as {char, faction, acctid } tables, and also char = { faction, acctid} forms.
0.6: ToC updates.
0.7: Handle alliance (no longer faction), ToC updates for Storm Legion.
0.8: Allow manual override of account number, also allow nicknames for accounts.
Optional Files (0)


Archived Files (6)
File Name
Version
Size
Author
Date
0.7
8kB
seebs
11-03-12 01:36 AM
0.6
5kB
seebs
06-22-12 09:52 PM
0.3
11kB
seebs
01-07-12 12:14 AM
0.3
10kB
seebs
12-12-11 01:31 AM
0.2
9kB
seebs
12-11-11 06:13 PM
0.2
10kB
seebs
12-11-11 04:13 PM


There have been no comments posted to this file.
Be the first to add one.



Category Jump: