• World of Warcraft Addons
  • World of Warcraft
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

DataStore

 
Project Updated:
Files Updated: Thu, Dec 10 2009
Supports Game Version: 3.3.0
Category: Libraries
Tags:

[Edit Tags]

Project Manager: Thaoky
Additional Authors: No additional authors
Current Version: DataStore 3.3.001
License: All Rights Reserved
Development Site: CurseForge.com
Avg Daily DL (last 30 days): 78
Downloads Total: 20,937
Favorites: 27
Comments: 12
  • About DataStore
  •  

DataStore is the main component of a series of addons that serve as data repositories in game. Their respective purpose is to offer scanning and storing services to other addons.

The advantages of this approach are:

  • data is scanned only once for all client addons (performance gain).
  • data is stored only once for all client addons (memory gain).
  • addon authors can spend more time coding higher level features.
  • each module is an independant addon, and therefore has its own SavedVariables file, meaning that you could clean _Crafts without disturbing _Containers.

Scope : a note to contributing authors

The core of the database is based on my work in Altoholic, and is thus designed with multiple-account support in mind. If client addons want to store data from foreign accounts, the database will be ready for it. Nothing is final at this point though, feel free to contribute, as the concept can and will be perfected.

The scope of each addons is to provide common methods for client addons. For instance, DataStore_Crafts embeds LibPeriodicTable-3.1-Tradeskill allowing it to give more than just scanning & storing data. However, the goal is not to put _everything_ into these addons, they must be seen as an abstraction layer and a service provider, nothing more.

These libraries cannot and should not be embedded, as they all manage their respective SavedVariables.

Existing modules

Each module will exist as a separate addon, so that authors can package only the ones they want with their own project.

More modules will come later.

Information Pages

  • Project overview : A slightly more detailed overview of the scope
  • API : Samples of commonly used methods (work-in-progress)
  • Downloads (4)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  DataStore 3.3.001 Beta 3.3.0 1,439 12/10/2009
  DataStore 3.2.002b Release 3.2.0 15,821 9/19/2009
  DataStore 3.2.002 Release 3.2.0 843 9/14/2009
  DataStore 3.2.001 Beta 3.2.0 2,826 8/10/2009
  • 1 page(s)
  • Comments

Add Comment

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • mdhurley said

    I loved Altoholic, but DataStore was just giving me too many errors. For example, when I would accept a quest, it wouldn't show in my quest log for at least half an hour, wouldn't show the objectives on my map, and didn't show as complete when I talked to an NPC, though I was still able to turn it in. A GM suggested I disable this addon, and I no longer have these issues.

    Reply Report Permalink
  • Heya man great addon, i was just wondering is there a way to turn off the messages, i keep getting this "DataStore_Quests: Quest History successfully retrieved!" when i finish quests and it's kinda annoying

    Reply Report Permalink
  • Thaoky said

    I've cleared the lengthy error logs for clarity, since they have been fixed in recent updates.

    Reply Report Permalink
  • baldeagle said

    I have installed both Altoholic as well as Data Store addons. Whenever I update Altoholic, or visa versa, the other then says it is out of date. I am wondering if I need to uninstall the addon(s) DataStore? I love Altoholic, and I don't have this problem on my other pc. I don't ever recall installing DataStore before, but it's on this pc. What should I do?

    Reply Report Permalink
  • Thaoky said

    I'm about to push the latest DataStore addons as release. If Altoholic runs fine, just stick to what you have, the latest versions are the ones that come with altoholic. The curse client sees these addons as out of date because I didn't push the alphas to the curse site, but that will change soon.

    Reply Report Permalink
  • Solithius said

    I seem to be having a problem and not sure if anybopdy else is, when I mouse over a quest objective it spams my screen "DataStore: Method<Version> is missing". Thats what I believe the report says but it spams my screen quite a few times. For example in Borean Tundra Horde side, there is a quest to kill the necromancers to get keys to unlock cages to free horde prisoners, when i mouse over the cage it spams my screen. and it happens other times but i cant say exactly when. Any idea?

    Reply Report Permalink
  • Thaoky said

    This has been fixed in a while ago, you can either get the update on svn, update altoholic to get the latest datastore, or edit DataStore.lua yourself & comment that line.

    Reply Report Permalink
  • yoshimo said

    Since this morning i get a lot of

    16:29:08]DataStore : method <IsGuildMemberOnline> is missing.
    printed to the chat, my curseclient updated to the most recent version

    Reply Report Permalink
  • Thaoky said

    Answered on irc.

    Reply Report Permalink
  • Goatbert said

    I updated this and am still getting Method <Version> is missing spam - I checked and the only version of datastore I have is the current one. Any ideas?

    Reply Report Permalink
  • Thaoky said

    You have the spam even in 3.2.002b ?

    Reply Report Permalink
  • SevenOdd said

    One issue that I have come across is the inventory data in regards to what is in the mail can easily get inaccurate.

    For example the other night I scanned the mail in my mail box but I didn't bother to receive any of it. So Altoholic showed the inventory as being in the mail which is all great. But then last night I took possession of it and went and did a couple other things in WOW, but my client decided to crash and thus lost all the data for the current session . Now the inventory keeps show as being in the mail which is incorrect.

    Is there a command in data store I could use to force a clean scan of my mail for this character. What I have been doing is deleting all of the saved variables and starting fresh, loading up each character.

    Reply Report Permalink
  • SevenOdd said

    The mail inventory has seems to have fixed itself not sure how.

    However there is still issue but it relates to AH mail. Items received from an AH expiry mail shows as being still posted on the AH in the game tooptip if the client crashes.

    I really enjoy using Altoholic, think it is fanatasic way to keep tabs on my toons especially my banker when I get into a crafting session.

    Sorry if I got this posted in the wrong spot.

    Cheers,

    Reply Report Permalink
  • Thaoky said

    It's ok, I did fix a small issue with the mail counter while removing attachments. And it would fix itself anyway if you open/close your mailbox again.

    About the AH thing, there's another bug that has just been fixed (not uploaded yet, I need to test it live, but realms are down). Note that the AH mails do not allow me to make the connection with an item that is tracked at the AH, ie: there's no unique identifier that tells me that the item in the mail refers to auction xyz.

    Reply Report Permalink
  • WaxPaper said

    Sounds promising. I'd be interested to see an example once someone integrates it.

    Reply Report Permalink
  • Thaoky said

    You can already see it in action in Altoholic.

    Reply Report Permalink
  • ckaotik said

    Actually, both your Crafts and Skills module (and probalby more) conflict with the German client. I changed your

    local skillUpMsg = gsub(ERR_SKILL_UP_SI, "%%s", "(.+)")
    skillUpMsg = gsub(skillUpMsg, "%%d", "(%%d+)")
    to
    local skillUpMsg = gsub(ERR_SKILL_UP_SI, "%%[0-9]?$?s", "(.+)")
    skillUpMsg = gsub(skillUpMsg, "%%[0-9]?$?d", "(%%d+)")
    as the German pattern is "Eure Fertigkeit '%1$s' hat sich auf %2$d erhöht.". Seems to work for me ;)

    Reply Report Permalink
  • Thaoky said

    I had already fixed it in Skills, I'll apply it in Crafts tomorrow morning too :)

    Reply Report Permalink
  • ckaotik said

    Great to see so active addon developers :) Thanks for the work!

    Reply Report Permalink
  • Thaoky said

    Thanks :)

    I'm glad the efforts are appreciated, and I hope authors will follow and build on what is already there.

    I will make a post on wowace to make DataStore gain some visibility among authors, and also detail the api. I'll start doing that next week, once my work on stabilizing the latest version of altoholic will be done.

    Reply Report Permalink
  • Addon Packs Containing DataStore
  • Similar Addons
  •  

Average downloads per day

  1. 487 Ace3 Libraries
  2. 437 Addon Control Panel Libraries, Development Tools...
  3. 268 Ace2 Libraries
  4. 240 LibBabble-Boss-3.0 Libraries
  5. 207 LibRock-1.0 Libraries