Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(1 MB)
Download
Updated: 10-17-14 11:25 AM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Updated:10-17-14 11:25 AM
Created:unknown
Downloads:213,119
Favorites:1,952
MD5:
Categories:Bags, Bank, Inventory, Character Advancement, Mail, TradeSkill Mods
Altoholic  Popular! (More than 5000 hits)
Version: 6.0.001
by: Thaoky [More]
Hi, my name is Thaoky, and I'm an Altoholic

Altoholic is an Ace 3 addon written for people who dedicate most of their time to leveling alts, and who want to have as much information as possible in one addon. The main feature of the addon is the search functionality which allows users to search their alts' bags or loot tables in an Auction-House-like frame (see screenshots). All this with multiple-realms/accounts support.

Paypal donations accepted at : thaoky.altoholic@yahoo.com



About the addon & the author

I've been playing WoW since the European release, and I used to rely on addons like character viewer to check my alts' inventory, but since it was more or less abandoned and not always stable for me, I decided to write an addon myself and to improve the search feature as much as I could. I hope you'll enjoy it as much as I do

The addon has been in development since December 2007 and was officially released in late March 2008. It's still not final, and although it has considerably evolved since the initial release, there are still a lot of things I haven't had time to implement yet.
Please note that this is my first addon, and that English is not my native language.

Features:

- Languages supported: enUS, frFR, deDE, esES, ruRU, zhCN & zhTW.

- Account-wide data summary:
  • Characters' talents: Full talent trees & glyphs are supported for both specializations.
  • Money, /played, rest xp for each character, subtotals by realm, and grandtotals for the account.
  • Bag usage: see at a glance which characters should get bigger bags (bag size, free slots and types included)
  • Characters' skills: skill summary on one screen, namely the 2 main professions + the 3 secondary skills as well as riding. I may add more if there's demand. Profession cooldowns included.
  • Reputations: a list of all the reputations of the current realm's characters. You can see at a glance if all your alts are at least honored with Honor Hold if you want to get the new 2.4 blue PVP set. Suggestions on how to gring reputations will be available soon.

- View containers (bags, bank, keyring) of all alts, on all realms.

- Guild banks : You have 10 alts in 10 different guilds on the same server, all of them with access to a guild bank ? Not a problem, you can see them all here.

- E-mail: allows you to see which alts have mail without having to reconnect them. The addon will tell you when mail is about to expire on a character. Threshold configurable (up to 15 days). Multiple realm support as well. Mails sent to a known alt (one you've logged on at least once) will be visible in the addon without having to reconnect it.

- Equipment: See the equipment of the current realm's alts in one screen. Very useful when purchasing stuff for your alts at the AH. Multiple realms supported. Right-clicking any equipment piece will allow you to find an upgrade, this feature is similar to the official wow armory feature, and is quite performant, even though it doesn't match the accuracy of the official one.

- Search: the most important feature of the addon, it uses an AH-like frame to display search results. You can either search bags on the current realm, on all realms, or a loot table.
The loot table is a table based on AtlasLoot, but which contains only item id's, and therefore keeps memory usage minimal.

The Search menu allows you to find items based on their name (even partial), level, type or rarity, almost like at the AH. It is also possible to search known recipes.

- Quest Log: See the quest logs of all your alts, as well as an indication of which alts are on a specific quest. Clicking on a quest link in the chat log will tell you which alts are on that quest.

- Suggestions: Currently, only profession leveling suggestions are available when mousing over your current level in a specific profession. Suggestions are based on the leveling guides posted on the official US forums (credit goes to their respective authors). The addon also suggests you where to quest/grind xp depending on your character level.

Suggestions were also added for the most recent factions. More to come later.

- Auction house: You can see which auctions/bids you've placed with an alt without being logged in or being at the AH.

- Professions: You can browse all known recipes in a thotbot like frame (see screenshot).

- Mounts & Pets of all your alts.

- Achievements are tracked for all you alts (see screenshot).

- Guild Members: a list of your connected guildmates, along with their alts (if they're using Altoholic too), and their average item level. Clicking their AiL will also allow you to "remotely" inspect their equipment.

- Guild Skills: a list of altoholic users in your guild, along with their alts and direct profession links. All professions are available in one click.

- Guild Bank tabs: a list of altoholic users and the time at which they last visited the guild bank. If you haven't visited the guild bank for a few days, you can remotely update your local data without going to a capital city.

FAQ

The FAQ has been moved here : http://www.wowinterface.com/portal.php?id=372&a=faq


Credits

- I'd like to thank my guild, Odysseüs on EU-Marécages de Zangar, for assisting me since the earliest phases, thanks guys for everything you've done
- Thanks to the wowace community, you've been very helpful and this addon would not be there without the technical answers you gave me (especially Xinhuan, author of BankItems)
- Thanks to all the guys who are behind AtlasLoot, keeping the loot table up-to-date is a tremendous work, and the search functionality of Altoholic would not be what it is without your hard work.
- Thanks to Ayindi (wowace) & sLiz3r (curse) for the German translation.
- Thanks to NightOwl (wowace) for the zhTW translation.
- Thanks to Wang (wowace) for the zhCN translation.
- Thanks to Hellbot for the ruRU translation.
- Thanks to Laumac for the frFR translation.
- Thanks to IrregularByte for the esES translation.
- Brykrys for the LinkWrangler support.
Join the #altoholic IRC channel on Freenode : irc://irc.freenode.net:6667/

IMPORTANT NOTE: As with every new expansion, many things have changed in the API, and it is REQUIRED to clear your Saved Variables for the addon.
This means cleaning the following files in \WTF\Account\<your_account>\SavedVariables : Altoholic.lua & All DataStore*.lua

There WILL be bugs if you use your old files without cleaning them first.
Some fixes to work around API changes are too time consuming, so cleaning is required. A meager price to pay once per expansion.

6.0.001 (17/10/2014)

- Added a pane in the Grids tab to track LFR lockouts across alts.
- Added support for the new void storage tab + reagent bank.
- Updated achievement lists.
- Updated tradeskills data (Grids tab)
- Fixed WoD related issues.
- DataStore_Reputations: fixed WoD compatibility.
- DataStore_Reputations: LibBabble-Factions is back.
Note : seriously Blizzard why on earth is GetFactionInfoByID no longer returning data for the opposite faction's reputations?
- DataStore_Talents: talents & glyph scanning is temporarily fully disabled. UI is still missing too, sorry about that.
- DataStore_Quests: fixed WoD compatibility.
- DataStore_Containers: Added support for the new void storage tab.
- DataStore_Containers: Added support for the new reagent bank.
- LibCraftInfo: updated for WoD.
- LibCraftLevels: updated for WoD.
- LibCraftReagent: updated for WoD.
- Currencies pane: removed unrequired tooltip.


5.4.009 (08/08/2014)

- Uncommented the code that actually deletes linked realms.. silly me !
- DataStore_Crafts: reworked the processing of events that actually trigger profession scanning.
Note: The current implementation is based (not 100%) on how professions are scanned in Ackis Recipe List (thanks Ackis :D).
So far the tests I have made show a serious improvement, but the way events are triggered may not be 100% consistent, especially with regards to the TRADE_SKILL_UPDATE event.
The addon should no longer miss scans (please report if you notice problems).
- DataStore_Mails: fixed some problems related to merged realms, it should now work without problems anymore.
- DataStore_Mails: fixed issues where mail attachments (sent or returned) could be saved twice in the recipient's mailbox.

Changes by ckaotik (Huge thanks !)
- DataStore : Read addon version from .toc
- DataStore : Current character/guild key can now be used by character/guild based methods
- DataStore : added a few methods to support overriding methods
- Many minor fixes in DataStore_Achievements, Agenda, Containers, Crafts, Inventory, Mails, Talents
- DataStore_Quests : fixed tracking of completed quests

5.4.008 (27/07/2014)

- Fixed MoP factions showing up as numbers.
- Suggested leveling zones are back in the account summary.
- Added an option to reset links between merged realms (some realms were marked as linked though they were not)
=> DataStore dropdown in the Account Summary
- Added an option to completely reset the DataStore databases, without having to manually delete the files in the SavedVariables folder
=> DataStore dropdown in the Account Summary

- Added an option to remember the faction filter across sessions. (Grids -> Reputations)
- Added an option to remember the currency filter across sessions. (Grids -> Currencies)
- Added an option to remember the companion filter across sessions. (Grids -> Companions)
- Added an option to remember the mount filter across sessions. (Grids -> Mounts)
- Added an option to remember the tradeskills filter across sessions. (Grids -> Tradeskills)
- Added an option to remember the archaeology filter across sessions. (Grids -> Archaeology)
- Item counts for guilds on merged realms should now be visible too (sorry can't test this myself).


5.4.007 (24/07/2014)

- Added missing faction "Emperor Shaohao".
- Altoholic: removed LibBabble-Faction
- DataStore_Reputations: removed LibBabble-Faction.
- Fixed lua error when using the search function.

5.4.006 (22/07/2014)

- Fixed double item counts in the tooltip.
- Improved the search functionality to be less restrictive.
- DataStore_Containers now triggers extra events for client addons.
- DataStore_Inventory now triggers extra events for client addons.
- DataStore_Auctions now triggers extra events for client addons.
- DataStore_Mails now triggers extra events for client addons.

5.4.005 (21/07/2014)

- Fixed bugs related to full names (name+realm) in the Guild tab.
- Added a pane in the account summary to show the PVE & PVP currencies.
- Added tooltip support for connected realms.
Note: DataStore needs to learn about connected realms, to do so, send 1 mail to an alt on a connected realm.
The connection is understood both ways (realm A to B, and B to A) with a single mail.
If you are connected to more than 1 realm, send 1 mail per link.
Ex: for 3 realms, send 1 mail from realm A to B, one from A to C, and one from B to C.
The mail can consist of just text, no attachment or gold required.
- Added an option to show/hide item count from connected realms.
- Added support for mails sent to/returned from alts on connected realms.
Note: Realm names are packed ("Marécage de Zangar" => "MarécagedeZangar") by Blizzard, this is supported.
If you notice something weird with your realm, please report it.
- Altoholic: removed LibBabble-Zone
- Updated the internal loot table and removed duplicate entries also found in LPT.
- DataStore_Inventory: removed LibBabble-Zone.
- DataStore_Reputations: removed LibBabble-Zone.
- Removed leveling suggestions from the character level tooltip in the account summary, as this information is now part of the game's world map.
- Updated the AiL tooltip, level 60 & 70 dungeons are now commented (tooltip was getting long), and level 90 was added. (Thanks Pseudopath on WoWinterface)
- Fixed issues related to scanning void storage (Thanks Lombra !)
- Several minor fixes (Thanks Lombra again !!)

Older patch notes : see changelog.txt
Archived Files (41)
File Name
Version
Size
Author
Date
5.4.009
1MB
Thaoky
08-08-14 09:23 AM
5.4.008
1MB
Thaoky
07-27-14 07:36 AM
5.4.007
1MB
Thaoky
07-24-14 10:32 AM
5.4.006
1MB
Thaoky
07-22-14 07:40 AM
5.4.004
1MB
Thaoky
10-07-13 10:09 AM
5.4.003
1MB
Thaoky
10-06-13 01:37 AM
5.4.002
1MB
Thaoky
09-17-13 10:26 AM
5.4.001
1MB
Thaoky
09-11-13 09:46 AM
5.3.003
2MB
Thaoky
08-01-13 07:10 AM
5.3.002
1MB
Thaoky
05-29-13 12:28 PM
5.3.001
1MB
Thaoky
05-28-13 11:29 AM
5.2.001
1MB
Thaoky
03-12-13 04:02 AM
5.1.002
1MB
Thaoky
02-24-13 06:19 AM
5.1.001
1MB
Thaoky
11-29-12 11:00 AM
5.0.003
1MB
Thaoky
11-28-12 12:14 PM
5.0.002
1MB
Thaoky
10-06-12 04:56 AM
5.0.001d
1MB
Thaoky
09-13-12 12:08 PM
5.0.001c
1MB
Thaoky
09-03-12 10:59 AM
5.0.001b
1MB
Thaoky
09-02-12 11:38 AM
5.0.001
1MB
Thaoky
09-02-12 05:27 AM
4.3.003b
1MB
Thaoky
05-05-12 03:43 AM
4.3.003
1MB
Thaoky
05-04-12 08:51 AM
4.3.002
1MB
Thaoky
01-29-12 05:05 AM
4.3.001
1MB
Thaoky
12-10-11 03:24 PM
4.2.002
1MB
Thaoky
10-30-11 04:59 AM
4.2.001
1MB
Thaoky
06-29-11 12:20 PM
4.1.001b
1MB
Thaoky
05-01-11 09:31 AM
4.1.001
1MB
Thaoky
04-30-11 01:06 PM
4.0.006b
1MB
Thaoky
04-02-11 11:55 PM
4.0.006
1MB
Thaoky
03-02-11 08:03 AM
4.0.005d
1MB
Thaoky
02-16-11 10:11 AM
4.0.005c
1MB
Thaoky
02-15-11 07:28 AM
4.0.005b
1MB
Thaoky
02-11-11 09:23 AM
4.0.005
1MB
Thaoky
12-03-10 09:24 AM
4.0.004c
1MB
Thaoky
11-24-10 12:25 PM
4.0.004b
1MB
Thaoky
11-21-10 08:00 AM
4.0.004
1MB
Thaoky
11-20-10 07:28 AM
4.0.003
1MB
Thaoky
10-26-10 04:49 AM
4.0.002
1MB
Thaoky
10-17-10 06:39 AM
4.0.001
1MB
Thaoky
10-15-10 09:02 AM
4.0.001
1MB
Thaoky
10-15-10 08:04 AM


Post A Reply Comment Options
Unread 08-10-09, 06:05 PM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5034
File comments: 294
Uploads: 25
And also, on logging out I get the following error:

[2009/08/11 01:01:23-586-x1]: Altoholic-v3.2.001\Frames\TabOptions.lua:260: attempt to index field 'options' (a nil value)
Altoholic-v3.2.001\Altoholic.lua:1614: in function `?'
CallbackHandler-1.0-3:146: in function <...ore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:146>
<string>:"safecall Dispatcher[1]":4: in function <[string "safecall Dispatcher[1]"]:4>
<in C code>: ?
<string>:"safecall Dispatcher[1]":13: in function `?'
CallbackHandler-1.0-3:91: in function `Fire'
AceEvent-3.0-3 (DataStore):119: in function <...\AddOns\DataStore\libs\AceEvent-3.0\AceEvent-3.0.lua:118>

---
But, on logging in a second character I don't seem to have received the previous error again so perhaps as I thought and just crying about a lack of a wtf file.
__________________
Xrystal is offline Report comment to moderator  
Reply With Quote
Unread 08-10-09, 06:38 PM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2388
Uploads: 6
Originally posted by Xrystal
But, on logging in a second character I don't seem to have received the previous error again so perhaps as I thought and just crying about a lack of a wtf file.
Likely. I haven't received any of these errors (didn't wiped previous settings).
Last edited by AnrDaemon : 08-10-09 at 06:39 PM.
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 08-10-09, 07:24 PM  
thegabbert
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 96
Uploads: 3
I got the "attempt to concatenate local 'level' (a nil value)" error when mousing over a hunter quest. It's possible (just a guess, I haven't looked into it) that the quest link parser is choking on the fact that quest levels can be negative; quests that scale with level (class/holiday/etc.) have a listed level of -1.

Edit:

DataStore_Quests.lua, line 75: insert "-?" (without the quotes) before the second "%d+". This got rid of the error for me. YMMV.
Last edited by thegabbert : 08-10-09 at 07:43 PM.
thegabbert is offline Report comment to moderator  
Reply With Quote
Unread 08-10-09, 09:58 PM  
thegabbert
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 96
Uploads: 3
Also, the Scan Mail Body option doesn't work; I have it set to 0 but it does the scan regardless.

DataStore_Mails.lua, line 260: insert " == 1" before "then". (0 and 1 are both "true", you have to do a comparison to get a boolean true/false.) This seems to fix it for me. YMMV.
thegabbert is offline Report comment to moderator  
Reply With Quote
Unread 08-10-09, 10:16 PM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2388
Uploads: 6
Originally posted by thegabbert
DataStore_Mails.lua, line 260: insert " == 1" before "then". (0 and 1 are both "true", you have to do a comparison to get a boolean true/false.) This seems to fix it for me. YMMV.
Unforunately, this is true.
Lua does not comply with ANSI standards... :/
In which other language the
Code:
/script if 0 then print(1) end;
would ever work?
Last edited by AnrDaemon : 08-10-09 at 10:20 PM.
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 08-10-09, 10:27 PM  
thegabbert
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 96
Uploads: 3
Lua actually used to behave as expected there; a lot of mods (mine included) broke when they (the Lua people, not Blizzard) changed it.

For what it's worth, there are a lot of languages (C#, for example) that won't let you do a comparison on a non-boolean at all: in C#, "if (0)" won't even compile.
thegabbert is offline Report comment to moderator  
Reply With Quote
Unread 08-11-09, 01:42 AM  
Thaoky
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 609
Uploads: 2
Re: Errors with 3.2.001

Originally posted by Meloric
"Altoholic-v3.2.001\\Frames\\Quests.lua:86: attempt to concatenate local 'level' (a nil value)
I made a quick fix for this, but I would need your DataStore_Quests.lua to find out what caused the issue (I suspect the pattern I used to match data in the quest link is not entirely correct, so I'd need to know which quest caused this).
Thaoky is offline Report comment to moderator  
Reply With Quote
Unread 08-11-09, 01:43 AM  
Thaoky
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 609
Uploads: 2
Originally posted by Ookami.kun
Is there any way to change the time that Altoholic perceives when I'm playing WoW?
Implemented in 3.2.001 (actually, it was also in one of the 3.1.x alphas).
Thaoky is offline Report comment to moderator  
Reply With Quote
Unread 08-11-09, 01:52 AM  
Thaoky
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 609
Uploads: 2
Originally posted by AnrDaemon
Uhm... I don't know what to say, but... well, let me be honest.
Since you're referencing DataStore as required dep in your sub-modules, you do not need to reference same common libraries in them.
You can safely submit such critics, I am open to criticism as long as it's positive. My goal is that DataStore gets used by addons other than Altoholic, as you've probably read in the addon description, so I wanted to make all modules independant. That said, now that I've gained some experience with it, I agree that a few libs could be removed, or rather gathered in the main module.

At least all Ace libs & the main LPT could go in there, since all modules have a dependency on the main one. Point noted

For your other comments:

- Additional debug info : removed
- .level = nil, care to send me your DataStore_Quests.lua ?
- nil'ing old data = done, thanks for the suggestion
Thaoky is offline Report comment to moderator  
Reply With Quote
Unread 08-11-09, 01:55 AM  
Thaoky
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 609
Uploads: 2
Originally posted by Xrystal
I just installed 3.2.001 version with the new datastore folders and removed the WTF data file as suggested on the changes page. I received the following error on logging into my first character. Hopefully just an offshoot of having no data available but thought I would point it out for you. Although, on second look, it may not be just if at all altoholic causing the problem. Let me know if you don't see anything in the altoholic, datastore_characters files.
I suspect an issue with an other addon. The problem might be on my side, but if it conflicts with something else, it might be worth checking. Can you make a test with altoholic alone ? Let me know what you find out.
Thanks in advance.
Thaoky is offline Report comment to moderator  
Reply With Quote
Unread 08-11-09, 02:02 AM  
Thaoky
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 609
Uploads: 2
Originally posted by thegabbert
Also, the Scan Mail Body option doesn't work; I have it set to 0 but it does the scan regardless.

DataStore_Mails.lua, line 260: insert " == 1" before "then". (0 and 1 are both "true", you have to do a comparison to get a boolean true/false.) This seems to fix it for me. YMMV.
Thanks for this & the other suggestion, I guess forgetting "== 1" is a reminiscence of my C experience :>
Thaoky is offline Report comment to moderator  
Reply With Quote
Unread 08-11-09, 02:35 AM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2388
Uploads: 6
Originally posted by Thaoky
You can safely submit such critics, I am open to criticism as long as it's positive. My goal is that DataStore gets used by addons other than Altoholic, as you've probably read in the addon description, so I wanted to make all modules independant.
But they are all depend on DataStore, and since their data used through (I suppose) function calls, rather than messing with global variables, it's just no difference, but would solve a mess for potential end-user in times of complete reinstall/remove of addon.

See for example, what Norganna guys did:

Coding environment (and nightly snaps, you can get 'em at http://zip.norganna.org/ ) - a long-long list of many addons. Only these directly named after Auc- are counted over 30 right now, plus libs and stuff like Informant, Enchantrix... In short, it's 45 different addon folders.
Production environment - 18 (yes!) folders, from which - Auc-Auctioneer, being a hub for most of the framework, one library (Stubby), two supplementary addons (blessed !Swatter and small and handy SlideBar) and rest are addons that either have external dependencies/special meaning and can't work embedded (not properly, at least), or need separate storage due to large (and I mean - really large) amount of information being saved in their lifecycle (potentially - gigabytes... it's just not limited by addon).

For DataStore, I doubt you could reach level of several megabytes. For quick measurement, half-full account on one pvp server with moderately packed bagzz - half a megabyte. My estimation is that it'll be around 1Mb per account per faction for most cases.

Also, pick a case of hand-sharing of said information between, say, home and office *smile* computer. Wouldn't it be easier to distribute single file, rather than multiple (moreover - potentially, multiple unknown files, if we ever see people writing their own modules for DataStore) ones?

Taking this into account, and having good-working example of similar framework, I don't see a reason in splitting storage into multiple files. Descending from that, I assume it would be easier for end-user to install/manage two folders, rather than ten+. Will also semi-auto-solve library duplication across DataStore, since it will come in a single pack, with already shared libraries.

--
Oh, well, back to my own coding, will I? >.>
Last edited by AnrDaemon : 08-11-09 at 02:38 AM.
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 08-11-09, 04:25 AM  
Thaoky
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 609
Uploads: 2
Originally posted by AnrDaemon
But they are all depend on DataStore, and since their data used through (I suppose) function calls, rather than messing with global variables, it's just no difference, but would solve a mess for potential end-user in times of complete reinstall/remove of addon.

See for example, what Norganna guys did:

Coding environment (and nightly snaps, you can get 'em at http://zip.norganna.org/ ) - a long-long list of many addons. Only these directly named after Auc- are counted over 30 right now, plus libs and stuff like Informant, Enchantrix... In short, it's 45 different addon folders.
Production environment - 18 (yes!) folders, from which - Auc-Auctioneer, being a hub for most of the framework, one library (Stubby), two supplementary addons (blessed !Swatter and small and handy SlideBar) and rest are addons that either have external dependencies/special meaning and can't work embedded (not properly, at least), or need separate storage due to large (and I mean - really large) amount of information being saved in their lifecycle (potentially - gigabytes... it's just not limited by addon).

For DataStore, I doubt you could reach level of several megabytes. For quick measurement, half-full account on one pvp server with moderately packed bagzz - half a megabyte. My estimation is that it'll be around 1Mb per account per faction for most cases.

Also, pick a case of hand-sharing of said information between, say, home and office *smile* computer. Wouldn't it be easier to distribute single file, rather than multiple (moreover - potentially, multiple unknown files, if we ever see people writing their own modules for DataStore) ones?

Taking this into account, and having good-working example of similar framework, I don't see a reason in splitting storage into multiple files. Descending from that, I assume it would be easier for end-user to install/manage two folders, rather than ten+. Will also semi-auto-solve library duplication across DataStore, since it will come in a single pack, with already shared libraries.

--
Oh, well, back to my own coding, will I? >.>
Good points. In my original attempts, all modules were really independent, meaning that there was no main DataStore module, but I quickly found out that I was copy-pasting several functions from one module to another, so I went with the current approach.

The design goals were multiple:

- reaching a data abstraction layer, in order to decrease the need to clean sv file(s) all the time. I was a bit tired of asking users to clean them so often.

- Admittingly, I sometimes had the bad habit of addressing my data directly into the db, sure it might be a few microseconds faster, but it can sometimes be a pain to maintain. With a single point of access to my data (DataStore:GetWhatever()), it forces me to be clean (and that's a good thing ).

- make the whole thing more manageable, and possibly reusable by others. If in the end, I'm the only user of DataStore, it's not a problem at all.

- allow external applications to read character data from a single place (even though "single place" might mean "many files"). If one day I stop coding altoholic, I hope someone will go on and maintain just datastore, as external apps (like websites) could easily maintain it to keep their business running.
In that context, I'd rather see external solutions depend on DataStore than Altoholic.

- about the one dir vs 16 dirs, the reason behind this is twofold : for users, being able to select only the modules they want, and for authors, just the same, assuming more modules see the light of day, there might even be modules I will not use in alto, but they'd remain part of the solution.

In the end, I did remove the libs from each module (the common ones, some remain specific, that may change), and I have to say that although it took me time & effort, I'm glad to have adopted this approach, be it only for what it brought me in the account sharing feature
Last edited by Thaoky : 08-11-09 at 05:52 AM.
Thaoky is offline Report comment to moderator  
Reply With Quote
Unread 08-11-09, 06:12 AM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2388
Uploads: 6
Well, having independednt data providers and having independent data storage... :P well, well, i'm silenced from now... just growing tired from digging hacky code >.<
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 08-11-09, 11:38 AM  
tnbp
A Kobold Labourer

Forum posts: 1
File comments: 92
Uploads: 0
How far away are we from having the ability to track badges, stone shards, and other forms of currency? That's one thing I would LOVE to see in a future release (especially because of heirlooms for alts.)
tnbp is offline 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.