Get an Epic Experience with Premium

DataStore

Libraries Login to Add Favorites
  • 10 Likes
  • World of Warcraft
  • 4,208 Monthly Downloads
  • Supports: 6.0.3
  • 923,912 Total Downloads
  • Updated 12/24/2014
  • Created 07/30/2009
  • 293 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: All Rights Reserved
  • Newest File: 6.0.002
or

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)

------------------------------------------------------------------------
r50 | thaoky | 2014-12-24 14:10:58 +0000 (Wed, 24 Dec 2014) | 1 line
Changed paths:
   A /tags/6.0.002 (from /trunk:49)

Tagging as 6.0.002
------------------------------------------------------------------------
r49 | thaoky | 2014-12-24 13:41:50 +0000 (Wed, 24 Dec 2014) | 1 line
Changed paths:
   M /trunk/DataStore.toc

.toc update to use project-version
------------------------------------------------------------------------
r48 | thaoky | 2014-10-17 17:01:33 +0000 (Fri, 17 Oct 2014) | 1 line
Changed paths:
   M /trunk/DataStore.lua
   M /trunk/DataStore.toc

6.0.001 Commit
------------------------------------------------------------------------

Comments

First Previous Page 1 of 8 Next Last
  • #126

    This is becoming a huge issue.  I have several addon's that use this one.  I wish I could get them all to stop using this one if it is not going to be updated but I can't really. I get errors all day, using my garrison items or opening this or that addon.  I've had to even stop using some because the errors have become so numerous.  Now I am getting errors just for 'data store' and I have no idea which addon is triggering it.  Please please find a way to update this.  

  • #125

    This is showing as out of date as well.  Help, great stuff here.

     

  • #124

    Date: 2015-07-20 14:28:13
    ID: 4
    Error occured in: Global
    Count: 11
    Message: ..\FrameXML\BankFrame.lua line 72:
    attempt to index local 'button' (a nil value)
    Debug:
    (tail call): ?
    [C]: ?
    ..\FrameXML\BankFrame.lua:72: BankFrameItemButton_Update()
    ..\FrameXML\BankFrame.lua:282:
    ..\FrameXML\BankFrame.lua:249
    Locals:
    (*temporary) = "PLAYERREAGENTBANKSLOTS_CHANGED"
    (*temporary) = 86
    (*temporary) = "PLAYERREAGENTBANKSLOTS_CHANGED"
    (*temporary) = 86
    (*temporary) = <function> defined =[C]:-1

    AddOns:
    Swatter, v5.21e.5566 (SanctimoniousSwamprat)
    WowheadLooter, v60011
    NPCScan, v6.2.0.2
    NPCScanOverlay, v6.2.0.2
    AckisRecipeList, v6.2.0.4
    AckisRecipeListEngineering, v6.2.0.2
    AckisRecipeListQuickScan, v6.2.0.1
    Altoholic, vr160
    AltoholicGrids, vr160
    AltoholicSearch, vr160
    AltoholicSummary, vr160
    AskMrRobot, v28
    AucAdvanced, v5.21e.5566 (SanctimoniousSwamprat)
    AucFilterBasic, v5.21e.5566 (SanctimoniousSwamprat)
    AucFilterOutlier, v5.21e.5566.5459(5.21e/embedded)
    AucMatchUndercut, v5.21e.5566.5507(5.21e/embedded)
    AucScanData, v5.21e.5566 (SanctimoniousSwamprat)
    AucStatHistogram, v5.21e.5566 (SanctimoniousSwamprat)
    AucStatiLevel, v5.21e.5566 (SanctimoniousSwamprat)
    AucStatPurchased, v5.21e.5566 (SanctimoniousSwamprat)
    AucStatSales, v5.21e.5566.5476(5.21e/embedded)
    AucStatSimple, v5.21e.5566 (SanctimoniousSwamprat)
    AucStatStdDev, v5.21e.5566 (SanctimoniousSwamprat)
    AucStatWOWEcon, v5.21e.5566.5323(5.21e/embedded)
    AucUtilAHWindowControl, v5.21e.5566.5347(5.21e/embedded)
    AucUtilAppraiser, v5.21e.5566.5545(5.21e/embedded)
    AucUtilAskPrice, v5.21e.5566.5447(5.21e/embedded)
    AucUtilAutoMagic, v5.21e.5566.5537(5.21e/embedded)
    AucUtilCompactUI, v5.21e.5566.5550(5.21e/embedded)
    AucUtilEasyBuyout, v5.21e.5566.5507(5.21e/embedded)
    AucUtilFixAH, v5.21e.5566 (SanctimoniousSwamprat)
    AucUtilItemSuggest, v5.21e.5566.5417(5.21e/embedded)
    AucUtilPriceLevel, v5.21e.5566.5535(5.21e/embedded)
    AucUtilScanButton, v5.21e.5566.5403(5.21e/embedded)
    AucUtilScanFinish, v5.21e.5566.5515(5.21e/embedded)
    AucUtilScanProgress, v5.21e.5566.4979(5.21e/embedded)
    AucUtilScanStart, v5.21e.5566.5347(5.21e/embedded)
    AucUtilSearchUI, v5.21e.5566.5556(5.21e/embedded)
    AucUtilSimpleAuction, v5.21e.5566.5531(5.21e/embedded)
    AucUtilVendMarkup, v5.21e.5566.4828(5.21e/embedded)
    Babylonian, v5.1.DEV.332(/embedded)
    BeanCounter, v5.21e.5566 (SanctimoniousSwamprat)
    CandyBuckets, v6.0.0.141030
    CollectMe, v2.7.3
    Configator, v5.1.DEV.382(/embedded)
    DailyGrind, v3.0
    DataStore, vr54
    DataStoreAchievements, vr39
    DataStoreAgenda, vr21
    DataStoreAuctions, v6.0.001
    DataStoreCharacters, vr34
    DataStoreContainers, vr50
    DataStoreCrafts, vr67
    DataStoreCurrencies, vr29
    DataStoreGarrisons, vr13
    DataStoreInventory, vr42
    DataStoreMails, vr42
    DataStorePets, vr37
    DataStoreQuests, vr34
    DataStoreReputations, vr35
    DataStoreSpells, vr25
    DataStoreStats, vr24
    DataStoreTalents, vr50
    DBMCore, v
    DBMDefaultSkin, v
    DBMGarrisonInvasions, v
    DBMLDB, v
    DBMSpellTimers, v
    DBMStatusBarTimers, v
    DebugLib, v5.1.DEV.337(/embedded)
    Decursive, v2.7.4.3
    Enchantrix, v5.21e.5566 (SanctimoniousSwamprat)
    EnchantrixBarker, v5.21e.5566 (SanctimoniousSwamprat)
    Gatherer, v5.0.0
    Grail, v070
    GrailAchievements, v011
    GTFO, v4.37.3
    HealBot, v6.2.0.0
    HealBotTips, v6.2.0.0
    Informant, v5.21e.5566 (SanctimoniousSwamprat)
    KCrazyArrowHide, v1.21
    LibExtraTip, v5.12.DEV.390(/embedded)
    LibSharedMedia30, v3.0-93
    Loremaster, v005
    MasterPlan, v0.66.1
    MasterPlanA, v
    MogIt, v3.5.3
    MogItAccessories, v
    MoveAnything, v15.1.8
    Overachiever, v0.82
    OverachieverTrade, v0.82
    PetJournalEnhanced, v2.9.16
    PetTracker, v6.2.3
    PetTrackerBreeds, v
    PetTrackerConfig, v
    PetTrackerJournal, v
    PetTrackerSwitcher, v
    PetTrackerUpgrades, v
    Postal, v3.5.4
    Rarity, v1.0
    RarityOptions, v
    Recount, vv6.2.0f release
    SavedInstances, v6.2.1
    SlideBar, v5.21e.5566 (SanctimoniousSwamprat)
    Stubby, v5.21e.5566 (SanctimoniousSwamprat)
    TabardAddict, v2.29
    TidyPlates, v6.16.1
    TidyPlatesClassicPlates, v
    TidyPlatesGraphite, v
    TidyPlatesGrey, v
    TidyPlatesNeon, v
    TidyPlatesQuatre, v
    TidyPlatesHub, v
    TidyPlatesWidgets, v
    TipHelper, v5.12.DEV.389(/embedded)
    Titan, v5.6.8.60200
    TitanBag, v5.6.8.60200
    TitanClock, v5.6.8.60200
    TitanGold, v5.6.8.60200
    TitanLocation, v5.6.8.60200
    TitanLootType, v5.6.8.60200
    TitanPerformance, v5.6.8.60200
    TitanRepair, v5.6.8.60200
    TitanVolume, v5.6.8.60200
    TitanXP, v5.6.8.60200
    TomTom, vv60200-1.0.0
    TradeForwarder, v2.22-2
    TradeSkillMaster, vv2.10.26
    TradeSkillMasterAccounting, vv2.4.5
    TradeSkillMasterAdditions, vv2.1.6
    TradeSkillMasterAuctionDB, vv2.7.1
    TradeSkillMasterAuctioning, vv2.4.6
    TradeSkillMasterCrafting, vv2.6.19
    TradeSkillMasterDestroying, vv2.1.13
    TradeSkillMasterItemTracker, vv2.1.4
    TradeSkillMasterMailing, vv2.2.13
    TradeSkillMasterShopping, vv2.4.6
    TradeSkillMasterWarehousing, vv2.1.4
    BlizRuntimeLib_enUS v6.2.0.60200 <none>
    (ck=11c1)

     

  • #123

    Please update ASAP.  Error messages too numerous to list.  I need this for Altoholic ... went to that site and read that it has done what it can, now it is up to DataStore to do its thing, which I do not understand as the author is the same as here, and also pomp is associated with Ackis, which is finally working well enough.  If I could write code, I would help.  PLEASE!!  Broken since 6.2, and getting worse each time Blizz jiggers with the game.  : (

    Last edited by Gwynydd on 7/18/2015 4:39:47 PM
  • #122

    Yo, we badly need an update for 6.2.0. 

    A lot of addons uses Datastore and they are almost all experiencing errors -

    Thank you for your time

    Author of

    Garrison Commander
    ItemLevelDisplay
    MrFish
    Jeeves
    PetCare

    Lead server developer for

    Gates of Horizon

  • #121

    Yo,
    Getting this error from time to time. Its when looting, mouseover on different items and so on. I just reinstalled the complete datastore library

    --------

    Date: 2015-07-04 08:29:57

    ID: 5
    Error occured in: Global
    Count: 1
    Message: ...e\libs\LibPeriodicTable-3.1\LibPeriodicTable-3.1.lua line 291:
    Invalid arg1: invalid item.
    Debug:
    [C]: ?
    ...e\libs\LibPeriodicTable-3.1\LibPeriodicTable-3.1.lua:291: ItemInSet()
    ...dOns\DataStore_Reputations\DataStore_Reputations.lua:431: GetSource()
    Altoholic\Loots.lua:614: GetSource()
    Altoholic\Tooltip.lua:463:
    Altoholic\Tooltip.lua:447
    Altoholic\Tooltip.lua:554:
    Altoholic\Tooltip.lua:545
    [C]: ?
    [C]: ?
    ...AddOns\Auc-Advanced\Libs\LibExtraTip\LibExtraTip.lua:395: SetTradeSkillItem()
    ...dOns\Blizzard_TradeSkillUI\Blizzard_TradeSkillUI.lua:1011:
    ...dOns\Blizzard_TradeSkillUI\Blizzard_TradeSkillUI.lua:1008
    Locals:
    (*temporary) = false
    (*temporary) = "Invalid arg1: invalid item."

    AddOns:
    Swatter, v5.21e.5566 (SanctimoniousSwamprat)
    AchieveIt, v
    AckisRecipeList, v6.2.0.3
    AckisRecipeListQuickScan, v6.2.0.1
    Altoholic, vr160
    Arh, v1.4.4
    AucAdvanced, v5.21e.5566 (SanctimoniousSwamprat)
    AucFilterBasic, v5.21e.5566 (SanctimoniousSwamprat)
    AucFilterOutlier, v5.21e.5566.5459(5.21e/embedded)
    AucMatchUndercut, v5.21e.5566.5507(5.21e/embedded)
    AucScanData, v5.21e.5566 (SanctimoniousSwamprat)
    AucStatHistogram, v5.21e.5566 (SanctimoniousSwamprat)
    AucStatiLevel, v5.21e.5566 (SanctimoniousSwamprat)
    AucStatPurchased, v5.21e.5566 (SanctimoniousSwamprat)
    AucStatSales, v5.21e.5566.5476(5.21e/embedded)
    AucStatSimple, v5.21e.5566 (SanctimoniousSwamprat)
    AucStatStdDev, v5.21e.5566 (SanctimoniousSwamprat)
    AucStatWOWEcon, v5.21e.5566.5323(5.21e/embedded)
    AucUtilAHWindowControl, v5.21e.5566.5347(5.21e/embedded)
    AucUtilAppraiser, v5.21e.5566.5545(5.21e/embedded)
    AucUtilAskPrice, v5.21e.5566.5447(5.21e/embedded)
    AucUtilAutoMagic, v5.21e.5566.5537(5.21e/embedded)
    AucUtilBSH, vRelease-r24
    AucUtilCompactUI, v5.21e.5566.5550(5.21e/embedded)
    AucUtilEasyBuyout, v5.21e.5566.5507(5.21e/embedded)
    AucUtilFixAH, v5.21e.5566 (SanctimoniousSwamprat)
    AucUtilItemSuggest, v5.21e.5566.5417(5.21e/embedded)
    AucUtilJeweler, vV2.1.0
    AucUtilJewelerPost, vB0.9.2
    AucUtilPriceLevel, v5.21e.5566.5535(5.21e/embedded)
    AucUtilScanButton, v5.21e.5566.5403(5.21e/embedded)
    AucUtilScanFinish, v5.21e.5566.5515(5.21e/embedded)
    AucUtilScanProgress, v5.21e.5566.4979(5.21e/embedded)
    AucUtilScanStart, v5.21e.5566.5347(5.21e/embedded)
    AucUtilSearchUI, v5.21e.5566.5556(5.21e/embedded)
    AucUtilSimpleAuction, v5.21e.5566.5531(5.21e/embedded)
    AucUtilVendMarkup, v5.21e.5566.4828(5.21e/embedded)
    Babylonian, v5.1.DEV.332(/embedded)
    Bartender4, v4.6.10
    BeanCounter, v5.21e.5566 (SanctimoniousSwamprat)
    CLCRet, v
    Collectinator, v6.2.0.1
    Configator, v5.1.DEV.382(/embedded)
    DataStore, vr54
    DataStoreAchievements, vr39
    DataStoreAgenda, vr21
    DataStoreAuctions, v6.0.001
    DataStoreCharacters, vr34
    DataStoreContainers, vr50
    DataStoreCrafts, vr67
    DataStoreCurrencies, vr29
    DataStoreGarrisons, vr13
    DataStoreInventory, vr42
    DataStoreMails, vr42
    DataStorePets, vr37
    DataStoreQuests, vr34
    DataStoreReputations, vr35
    DataStoreSpells, vr25
    DataStoreStats, vr24
    DataStoreTalents, vr50
    DBMArchaeology, v
    DBMCore, v
    DBMDefaultSkin, v
    DBMGarrisonInvasions, v
    DBMRaidLeadTools, v
    DBMStatusBarTimers, v
    DebugLib, v5.1.DEV.337(/embedded)
    ErrorFilter, v2.13
    Factionizer, v6.02.00.07 15.06.24
    Gatherer, v5.0.0
    GathererDBWowhead, v1.0.2011-11-03
    Informant, v5.21e.5566 (SanctimoniousSwamprat)
    LibExtraTip, v5.12.DEV.390(/embedded)
    LibSharedMedia30, v3.0-93
    MarkingBar, v2.2.1
    MasterPlanA, v
    MinimapButtonFrame, v3.1.10d
    MinimapButtonFrameSkinPack, v3.0.1b
    Omen, v3.1.11
    oRA3, v891
    Overachiever, v0.82
    OverachieverTrade, v0.82
    PetJournalEnhanced, v2.9.16
    PetTracker, v6.2.2
    PetTrackerBreeds, v
    PetTrackerConfig, v
    PetTrackerJournal, v
    PetTrackerSwitcher, v
    PetTrackerUpgrades, v
    Postal, v3.5.4
    Prat30, v3.5.16
    Prat30Libraries, v
    Rarity, v1.0
    RarityOptions, v
    Skada, v1.4-31
    SkadaAvoidanceMitigation, v1.3.3
    SlideBar, v5.21e.5566 (SanctimoniousSwamprat)
    SpartanUI, v3.3.4
    SpartanUIArtwork, v3.3.0
    SpartanUIPlayerFrames, v3.3.0
    Stubby, v5.21e.5566 (SanctimoniousSwamprat)
    TidyPlates, v6.16.1
    TidyPlatesGraphite, v
    TidyPlatesGrey, v
    TidyPlatesNeon, v
    TidyPlatesQuatre, v
    TidyPlatesSimple, v6.0
    TidyPlatesThreatPlates, v6.008
    TidyPlatesHub, v
    TidyPlatesWidgets, v
    TipHelper, v5.12.DEV.389(/embedded)
    VuhDo, v3.67
    VuhDoOptions, v3.67
    BlizRuntimeLib_enUS v6.2.0.60200 <none>
    (ck=ea6)

     

  • #120

    I'm also getting errors from lots of stuff in 6.2. 

    This was broken out of Altoholic a while back to be a database library for other modders to use outside of Altoholic. I really love Altoholic, but if these errors keep up, I'll miss it. 

     

    Edit: Alpha of DataStore (r54) seems to have cleared this up. It sure would be nice to not use an alpha version, but if you just can't do without, that's an option. 

    Edit2: Altoholic still throwing an error on the Tanaan Arrakoa rep vendor... ugh. At least the garrison error is gone. 

    Last edited by duckilama on 7/3/2015 1:46:40 PM
  • #119

    Is this addon being updated anymore? Getting multiple errors spawned from DataStore and dependents since 6.2 launched but there hasn't been an update since December 2014...

    I'm not even sure which of my addons is dependent on DataStore. :p

  • #116

    2x DataStore\DataStore-r53.lua:177: attempt to index field '?' (a nil value) DataStore\DataStore-r53.lua:177: in function <DataStore\DataStore.lua:168> [string "safecall Dispatcher[2]"]:4: in function <[string "safecall Dispatcher[2]"]:4> [C]: ? [string "safecall Dispatcher[2]"]:13: in function `?' ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0-999999999.lua:92: in function `Fire' Ace3\AceEvent-3.0\AceEvent-3.0-3.lua:120: in function <Ace3\AceEvent-3.0\AceEvent-3.0.lua:119> Locals: nil

  • #117
    Quote from aajimbo »

    2x DataStore\DataStore-r53.lua:177: attempt to index field '?' (a nil value) DataStore\DataStore-r53.lua:177: in function <DataStore\DataStore.lua:168> [string "safecall Dispatcher[2]"]:4: in function <[string "safecall Dispatcher[2]"]:4> [C]: ? [string "safecall Dispatcher[2]"]:13: in function `?' ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0-999999999.lua:92: in function `Fire' Ace3\AceEvent-3.0\AceEvent-3.0-3.lua:120: in function <Ace3\AceEvent-3.0\AceEvent-3.0.lua:119> Locals: nil

    I have this problem too

  • #118

    4x DataStore\DataStore-r53.lua:177: attempt to index field '?' (a nil value)
    DataStore\DataStore-r53.lua:177: in function <DataStore\DataStore.lua:168>
    [string "safecall Dispatcher[2]"]:4: in function <[string "safecall Dispatcher[2]"]:4>
    [C]: ?
    [string "safecall Dispatcher[2]"]:13: in function `?'
    ...edia-3.0\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:92: in function `Fire'
    ...aceTomTom\libs\AceEvent-3.0\AceEvent-3.0-3.lua:120: in function <...aceTomTom\libs\AceEvent-3.0\AceEvent-3.0.lua:119>

    Locals:
    nil

     

    Same message problem here. Already for a while.

    It's a nice addon, I hope the problem will be found and fixed soon.

    thumbs up anyway. :P

    ¡The Devil may care, but I Bloody Don't.!

  • #115

    Great addon!  I'm getting this message when I check the AH.  So far it doesn't stop me from using the AH or AH addons like TradeSkillMaster or Auctionator.  If I /reload I can go back to the AH without error, but thhis is random.

    106x ...ace\AddOns\DataStore_Auctions\DataStore_Auctions-r42.lua:167: attempt to index local 'link' (a nil value)

    ...ace\AddOns\DataStore_Auctions\DataStore_Auctions-r42.lua:167: in function <...ace\AddOns\DataStore_Auctions\DataStore_Auctions.lua:149>

    [string "safecall Dispatcher[1]"]:4: in function <[string "safecall Dispatcher[1]"]:4>

    [C]: ?

    [string "safecall Dispatcher[1]"]:13: in function `?'

    ...ore\libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:90: in function `Fire'

    ...\AddOns\DataStore\libs\AceEvent-3.0\AceEvent-3.0-3.lua:120: in function <...\AddOns\DataStore\libs\AceEvent-3.0\AceEvent-3.0.lua:119>

    Locals:

    nil

  • #112

    Hi, I got this after switching guild

    Date: 2015-03-19 10:21:06

    ID: 1
    Error occured in: Global
    Count: 1
    Message: ..\AddOns\DataStore\DataStore.lua line 177:
    attempt to index field '?' (a nil value)

    Edited for removal, problem got solved by link from dj4aces

    Last edited by lonewulf9999 on 3/19/2015 9:42:54 AM
  • #111

    Anyone receiving the DataStore.lua Line 177 error, this comment on the Altoholic page will point you in the right direction:

    http://www.curse.com/addons/wow/altoholic#c6692

  • #113

    Thank you sir, that corrected my problem!

  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Gamepedia Free-shirt Giveaway