Get an Epic Experience with Premium

DataStore

Libraries Login to Add Favorites
  • 9 Likes
  • World of Warcraft
  • 10,500 Monthly Downloads
  • Supports: 5.4.8
  • 794,364 Total Downloads
  • Updated 07/24/2014
  • Created 07/30/2009
  • 260 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: All Rights Reserved
  • Newest File: 5.4.007
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)

------------------------------------------------------------------------
r45 | thaoky | 2014-07-24 16:13:37 +0000 (Thu, 24 Jul 2014) | 1 line
Changed paths:
   A /tags/5.4.007 (from /trunk:44)

Tagging as 5.4.007
------------------------------------------------------------------------
r44 | thaoky | 2014-07-22 13:29:32 +0000 (Tue, 22 Jul 2014) | 1 line
Changed paths:
   M /trunk/DataStore.lua

Fixed a bug related to connected realms
------------------------------------------------------------------------
r43 | thaoky | 2014-07-21 10:05:12 +0000 (Mon, 21 Jul 2014) | 1 line
Changed paths:
   M /trunk/DataStore.lua

Added support for merged realms
------------------------------------------------------------------------
r42 | thaoky | 2013-10-06 07:06:32 +0000 (Sun, 06 Oct 2013) | 1 line
Changed paths:
   M /trunk/DataStore.lua

Version number updated.
------------------------------------------------------------------------

Comments

First Previous Page 1 of 7 Next Last
  • #96

    Is this mod abandoned? I sure hope not because some other mods that are up to date (notably Altoholic) depend on it. As far as I can tell there's been no word from the author since long before Patch 6 came out.

  • #95

    I'm NOT a program coder so I'm not sure which of the data store modules this goes on but it is very irritating. can you please direct this to "agenda" section.

    Date: 2014-11-18 09:16:40
    ID: 1
    Error occured in: Global
    Count: 1
    Message: ...terface\AddOns\DataStore_Agenda\DataStore_Agenda.lua line 529:
       attempt to compare string with nil
    Debug:
       ...terface\AddOns\DataStore_Agenda\DataStore_Agenda.lua:529:
          ...terface\AddOns\DataStore_Agenda\DataStore_Agenda.lua:510
       ...terface\AddOns\DataStore_Agenda\DataStore_Agenda.lua:604:
          ...terface\AddOns\DataStore_Agenda\DataStore_Agenda.lua:590
       (tail call): ?
       [C]: ?
       [string "safecall Dispatcher[1]"]:9:
          [string "safecall Dispatcher[1]"]:5
       (tail call): ?
       ...\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:558: EnableAddon()
       ...\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:651:
          ...\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:636
       [C]: LoadAddOn()
       ..\FrameXML\UIParent.lua:327: UIParentLoadAddOn()
       ..\FrameXML\UIParent.lua:401: TimeManager_LoadUI()
       ..\FrameXML\UIParent.lua:828:
          ..\FrameXML\UIParent.lua:789
    Locals:
    None
    AddOns:
      Swatter, v5.21c.5521 (SanctimoniousSwamprat)
      Altoholic, v5.4.008
      AskMrRobot, v17
      AtlasLoot, vv8.00.00beta3
      AucAdvanced, v5.21c.5521 (SanctimoniousSwamprat)
      AucFilterBasic, v5.21c.5521 (SanctimoniousSwamprat)
      AucFilterOutlier, v5.21c.5521.5459(5.21c/embedded)
      AucMatchUndercut, v5.21c.5521.5507(5.21c/embedded)
      AucStatHistogram, v5.21c.5521 (SanctimoniousSwamprat)
      AucStatiLevel, v5.21c.5521 (SanctimoniousSwamprat)
      AucStatPurchased, v5.21c.5521 (SanctimoniousSwamprat)
      AucStatSales, v5.21c.5521.5476(5.21c/embedded)
      AucStatSimple, v5.21c.5521 (SanctimoniousSwamprat)
      AucStatStdDev, v5.21c.5521 (SanctimoniousSwamprat)
      AucStatWOWEcon, v5.21c.5521.5323(5.21c/embedded)
      AucUtilAHWindowControl, v5.21c.5521.5347(5.21c/embedded)
      AucUtilAppraiser, v5.21c.5521.5495(5.21c/embedded)
      AucUtilAskPrice, v5.21c.5521.5447(5.21c/embedded)
      AucUtilAutoMagic, v5.21c.5521.5443(5.21c/embedded)
      AucUtilCompactUI, v5.21c.5521.5496(5.21c/embedded)
      AucUtilEasyBuyout, v5.21c.5521.5507(5.21c/embedded)
      AucUtilFixAH, v5.21c.5521 (SanctimoniousSwamprat)
      AucUtilItemSuggest, v5.21c.5521.5417(5.21c/embedded)
      AucUtilPriceLevel, v5.21c.5521.5458(5.21c/embedded)
      AucUtilScanButton, v5.21c.5521.5403(5.21c/embedded)
      AucUtilScanFinish, v5.21c.5521.5515(5.21c/embedded)
      AucUtilScanProgress, v5.21c.5521.4979(5.21c/embedded)
      AucUtilScanStart, v5.21c.5521.5347(5.21c/embedded)
      AucUtilSearchUI, v5.21c.5521.5515(5.21c/embedded)
      AucUtilSimpleAuction, v5.21c.5521.5514(5.21c/embedded)
      AucUtilVendMarkup, v5.21c.5521.4828(5.21c/embedded)
      Babylonian, v5.1.DEV.332(/embedded)
      BattlePetBreedID, vv1.1.7
      BeanCounter, v5.21c.5521 (SanctimoniousSwamprat)
      Configator, v5.1.DEV.376(/embedded)
      Coordinates, v1.16
      DataStore, v6.0.001
      DataStoreAchievements, v6.0.001
      DataStoreAgenda, v6.0.001
      DataStoreAuctions, v6.0.001
      DataStoreCharacters, v6.0.001
      DataStoreContainers, v6.0.001
      DataStoreCrafts, v6.0.001
      DataStoreCurrencies, v6.0.001
      DataStoreInventory, v6.0.001
      DataStoreMails, v6.0.001
      DataStorePets, v6.0.001
      DataStoreQuests, v6.0.001
      DataStoreReputations, v6.0.001
      DataStoreSpells, v6.0.001
      DataStoreStats, v6.0.001
      DataStoreTalents, v6.0.001
      DBMCore, v
      DBMDefaultSkin, v
      DBMStatusBarTimers, v
      DebugLib, v5.1.DEV.337(/embedded)
      DugisGuideViewerZ, v7.064
      Enchantrix, v5.21c.5521 (SanctimoniousSwamprat)
      EnchantrixBarker, v5.21c.5521 (SanctimoniousSwamprat)
      GTFO, v4.35.3
      HandyNotes, vv1.3.2
      HandyNotesLorewalkers, v1
      HandyNotesTimelessIsleChests, v1.11
      HandynotesTimelessTreasures, v1.0.2
      HealBot, v6.0.3.1
      LibExtraTip, v5.12.DEV.363(/embedded)
      MoPRares, v1.1.4
      Recount, vv6.0.3b release
      SavedInstances, v6.0.5
      SlideBar, v5.21c.5521 (SanctimoniousSwamprat)
      Stubby, v5.21c.5521 (SanctimoniousSwamprat)
      TabardTracker, v20130110
      TipHelper, v5.12.DEV.351(/embedded)
      Titan, v5.4.0.60000
      TitanBag, v5.4.0.60000
      TitanClock, v5.4.0.60000
      TitanGold, v5.4.0.60000
      TitanLocation, v5.4.0.60000
      TitanLootType, v5.4.0.60000
      TitanPerformance, v5.4.0.60000
      TitanRepair, v5.4.0.60000
      TitanSocial, v6.0r30
      TitanVolume, v5.4.0.60000
      TitanXP, v5.4.0.60000
      BlizRuntimeLib_enUS v6.0.3.60000 <none>
      (ck=c83)

  • #94

    When will the next upgrade hit? Can't wait to take it for a spin in WoD.

  • #93

    Message: ...terface\AddOns\DataStore_Agenda\DataStore_Agenda.lua:529: attempt to compare string with nil
    Time: 11/05/14 15:46:59
    Count: 1
    Stack: ...terface\AddOns\DataStore_Agenda\DataStore_Agenda.lua:529: in function <...terface\AddOns\DataStore_Agenda\DataStore_Agenda.lua:510>
    ...terface\AddOns\DataStore_Agenda\DataStore_Agenda.lua:604: in function <...terface\AddOns\DataStore_Agenda\DataStore_Agenda.lua:590>
    (tail call): ?
    [C]: ?
    [string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
    (tail call): ?
    ...\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:558: in function `EnableAddon'
    ...\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:651: in function <...\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:636>
    [C]: in function `LoadAddOn'
    Interface\FrameXML\UIParent.lua:327: in function `UIParentLoadAddOn'
    Interface\FrameXML\UIParent.lua:401: in function `TimeManager_LoadUI'
    Interface\FrameXML\UIParent.lua:828: in function <Interface\FrameXML\UIParent.lua:789>

    Locals: <none>

    I don't get this if I disable the agenda component for datastore and altoholic. I have made the chage to comm.lua on line 288 to make altoholic work if a player is not in combat

  • #92

    pls update it for wod, so many bugs

  • #91

    Date: 2014-10-15 19:42:35 ID: 30 Error occured in: Global Count: 1 Message: ...rface\AddOns\DataStore_Talents\DataStore_Talents.lua line 177:    attempt to call global 'GetNumTalents' (a nil value) Debug:    (tail call): ?    (tail call): ?    ...rface\AddOns\DataStore_Talents\DataStore_Talents.lua:177:       ...rface\AddOns\DataStore_Talents\DataStore_Talents.lua:155    ...rface\AddOns\DataStore_Talents\DataStore_Talents.lua:320:       ...rface\AddOns\DataStore_Talents\DataStore_Talents.lua:319    [string "safecall Dispatcher[1]"]:4:       [string "safecall Dispatcher[1]"]:4    [C]: ?    [string "safecall Dispatcher[1]"]:13: ?()    ...nel\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: Fire()    ...ace\AddOns\TomTom\libs\AceEvent-3.0\AceEvent-3.0.lua:120:       ...ace\AddOns\TomTom\libs\AceEvent-3.0\AceEvent-3.0.lua:119 Locals: None AddOns:   Swatter, v5.21.5490 (SanctimoniousSwamprat)   NPCScan, v6.0.2.2-1-g9cbfa6a   NPCScanOverlay, v6.0.2.1   AckisRecipeList, v3.0.7   AckisRecipeListQuickScan, v6.0.2.1   Altoholic, v5.4.008   AskMrRobot, v6   AucAdvanced, v5.21.5490 (SanctimoniousSwamprat)   AucFilterBasic, v5.21.5490 (SanctimoniousSwamprat)   AucFilterOutlier, v5.21.5490.5459(5.21a/embedded)   AucMatchUndercut, v5.21.5490.5364(5.21a/embedded)   AucStatHistogram, v5.21.5490 (SanctimoniousSwamprat)   AucStatiLevel, v5.21.5490 (SanctimoniousSwamprat)   AucStatPurchased, v5.21.5490 (SanctimoniousSwamprat)   AucStatSales, v5.21.5490.5476(5.21a/embedded)   AucStatSimple, v5.21.5490 (SanctimoniousSwamprat)   AucStatStdDev, v5.21.5490 (SanctimoniousSwamprat)   AucStatWOWEcon, v5.21.5490.5323(5.21a/embedded)   AucUtilAHWindowControl, v5.21.5490.5347(5.21a/embedded)   AucUtilAppraiser, v5.21.5490.5462(5.21a/embedded)   AucUtilAskPrice, v5.21.5490.5447(5.21a/embedded)   AucUtilAutoMagic, v5.21.5490.5443(5.21a/embedded)   AucUtilCompactUI, v5.21.5490.5444(5.21a/embedded)   AucUtilEasyBuyout, v5.21.5490.5458(5.21a/embedded)   AucUtilFixAH, v5.21.5490 (SanctimoniousSwamprat)   AucUtilItemSuggest, v5.21.5490.5417(5.21a/embedded)   AucUtilPriceLevel, v5.21.5490.5458(5.21a/embedded)   AucUtilScanButton, v5.21.5490.5403(5.21a/embedded)   AucUtilScanFinish, v5.21.5490.5347(5.21a/embedded)   AucUtilScanProgress, v5.21.5490.4979(5.21a/embedded)   AucUtilScanStart, v5.21.5490.5347(5.21a/embedded)   AucUtilSearchUI, v5.21.5490.5481(5.21a/embedded)   AucUtilSimpleAuction, v5.21.5490.5452(5.21a/embedded)   AucUtilVendMarkup, v5.21.5490.4828(5.21a/embedded)   Babylonian, v5.1.DEV.332(/embedded)   BeanCounter, v5.21.5490 (SanctimoniousSwamprat)   CollectMe, v2.4.13   Configator, v5.1.DEV.359(/embedded)   DailyGrind, v2.0.6   DataStore, v5.4.001   DataStoreAchievements, v5.4.001   DataStoreAgenda, v5.4.001   DataStoreAuctions, v5.4.001   DataStoreCharacters, v5.4.001   DataStoreContainers, v5.4.001   DataStoreCrafts, v5.4.001   DataStoreCurrencies, v5.4.001   DataStoreInventory, v5.4.001   DataStoreMails, v5.4.001   DataStorePets, v5.4.001   DataStoreQuests, v5.4.001   DataStoreReputations, v5.4.001   DataStoreSpells, v5.4.001   DataStoreStats, v5.4.001   DataStoreTalents, v5.4.001   DBMCore, v   DBMDefaultSkin, v   DBMLDB, v   DBMSpellTimers, v   DBMStatusBarTimers, v   DebugLib, v5.1.DEV.337(/embedded)   Decursive, v2.7.3.5   Enchantrix, v5.21.5490 (SanctimoniousSwamprat)   EnchantrixBarker, v5.21.5490 (SanctimoniousSwamprat)   Gatherer, v4.4.1   GTFO, v4.35   HealBot, v5.4.8.5   HealBotTips, v5.4.8.5   Informant, v5.21.5490 (SanctimoniousSwamprat)   KCrazyArrowHide, v1.21   LibAboutPanel, v1.6.2   LibExtraTip, v5.12.DEV.363(/embedded)   LibSharedMedia30, v3.0-81   LightwellBuddy, v5.0.1.37   Malkorok, v   Mendeleev, v3.0   MogIt, vv3.3.3   MoveAnything, v15.0.0   oqueue, v1.7.3   Overachiever, v0.73   PetTracker, v   PetTrackerBreeds, v   PetTrackerConfig, v   PetTrackerSwitcher, v   PetTrackerUpgrades, v   Postal, v3.5.1   RareAnnouncer, v1.0   RareCoordinator, v   Rarity, v1.0   RarityOptions, v   Recount, vr1273   SavedInstances, v5.8.2   SlideBar, v5.21.5490 (SanctimoniousSwamprat)   Stubby, v5.21.5490 (SanctimoniousSwamprat)   TabardAddict, v2.23   TidyPlates, v6.15.0.1   TidyPlatesGraphite, v   TidyPlatesGrey, v   TidyPlatesNeon, v   TidyPlatesQuatre, v   TidyPlatesThreatPlates, v6.008   TidyPlatesHub, v   TidyPlatesWidgets, v   TipHelper, v5.12.DEV.351(/embedded)   Titan, v5.2.3.50400   TitanBag, v5.2.3.50400   TitanClock, v5.2.3.50400   TitanGold, v5.2.3.50400   TitanLocation, v5.2.3.50400   TitanLootType, v5.2.3.50400   TitanPerformance, v5.2.3.50400   TitanRepair, v5.2.3.50400   TitanVolume, v5.2.3.50400   TitanXP, v5.2.3.50400   TomTom, vv50400-1.0.0   TradeForwarder, v2.20   TradeSkillMaster, vv2.9.10   TradeSkillMasterAccounting, vv2.4.1   TradeSkillMasterAdditions, vv2.1.3   TradeSkillMasterAuctionDB, vv2.5.1   TradeSkillMasterAuctioning, vv2.4.2   TradeSkillMasterCrafting, vv2.6   TradeSkillMasterDestroying, vv2.1.3   TradeSkillMasterItemTracker, vv2.1.1   TradeSkillMasterMailing, vv2.2.3   TradeSkillMasterShopping, vv2.4.1   TradeSkillMasterWarehousing, vv2.1   TradeSkillMasterWoWuction, vv2.4   BlizRuntimeLib_enUS v6.0.2.60000 <none>   (ck=10b0)

     

  • #90

    DataStore causes a taint whenever you try to set focus (using either XPerl or SUF Unit Frames)

    3x [ADDON_ACTION_FORBIDDEN] AddOn 'DataStore' tried to call the protected function 'FocusUnit()'.
    !BugGrabber\BugGrabber.lua:586: in function <!BugGrabber\BugGrabber.lua:586>
    [C]: in function `FocusUnit'
    FrameXML\UnitPopup.lua:1692: in function <FrameXML\UnitPopup.lua:1426>
    [C]: in function `func'
    FrameXML\UIDropDownMenu.lua:730: in function `UIDropDownMenuButton_OnClick'
    [string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

    Locals:
    nil

  • #87

    I made a small website where you could upload your DataStore_Containers.lua and view all the data of it.

    You can see all characters and their items and you can search for item names and get a list of characters with those items. Keep in mind it's beta :)

    http://container.divine-pride.net/

  • #86

    I keep trying to uninstall this addon and each time i do, it just comes right back on to my comp. WTF? how do i get rid of this addon that i dont even use anymore?

  • #89

    do you use Altoholic? Its dependent on the datastore addon.

  • #84

    Date: 2013-11-09 14:33:42

     ID: 1

     Error occured in: Global Count: 1 Message: ...rface\AddOns\DataStore_Talents\DataStore_Talents.lua line 163:    attempt to call global 'GetActiveTalentGroup' (a nil value)

    Debug:

        ...rface\AddOns\DataStore_Talents\DataStore_Talents.lua:163:       ...rface\AddOns\DataStore_Talents\DataStore_Talents.lua:155    ...rface\AddOns\DataStore_Talents\DataStore_Talents.lua:353:       ...rface\AddOns\DataStore_Talents\DataStore_Talents.lua:352

    [string "safecall Dispatcher[1]"]:4:

    [string "safecall Dispatcher[1]"]:4

    [C]: ?

    [string "safecall Dispatcher[1]"]:13: ?()

        ...er2\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: Fire()

        ...AchScreenshotter2\Libs\AceEvent-3.0\AceEvent-3.0.lua:120:

           ...AchScreenshotter2\Libs\AceEvent-3.0\AceEvent-3.0.lua:119

    Locals: None

  • #82
    Re: DataStore (bug)

    Date: 2013-10-31 07:54:33
    ID: 1
    Error occured in: AddOn: DataStore
    Count: 1
    Message: Error: AddOn DataStore attempted to call a forbidden function (IsDisabledByParentalControls()) from a tainted execution path.
    Debug:
    [C]: IsDisabledByParentalControls()
    ..\FrameXML\MainMenuBarMicroButtons.lua:229:
    ..\FrameXML\MainMenuBarMicroButtons.lua:76
    [C]: UpdateMicroButtons()
    ..\FrameXML\FriendsFrame.lua:258:
    ..\FrameXML\FriendsFrame.lua:254
    [C]: Show()
    ..\FrameXML\UIParent.lua:1819: SetUIPanel()
    ..\FrameXML\UIParent.lua:1663: ShowUIPanel()
    ..\FrameXML\UIParent.lua:1545:
    ..\FrameXML\UIParent.lua:1541
    [C]: SetAttribute()
    ..\FrameXML\UIParent.lua:2262: ShowUIPanel()
    ..\FrameXML\FriendsFrame.lua:1166: ToggleFriendsFrame()
    ElvUI\modules\datatexts\friends.lua:219:
    ElvUI\modules\datatexts\friends.lua:169

  • #81

    First off i would like to say thank you for your great addons. I was wondering if and when their will be an update for datsore.  I seem to have the same issue with altoholic and this one.  I get Instalation failed when I try to update datastore and altoholic.

  • #80
    Calling Mindbender (Priest) on target

    Message: [ADDON_ACTION_BLOCKED] AddOn "DataStore" hat versucht die geschützte Funktion "CompactRaidFrame1:Show()" aufzurufen.
    Time: 10/10/13 00:53:06
    Count: 5
    Stack: [C]: in function `Show'
    Interface\FrameXML\CompactUnitFrame.lua:285: in function `CompactUnitFrame_UpdateVisible'
    Interface\FrameXML\CompactUnitFrame.lua:243: in function `CompactUnitFrame_UpdateAll'
    Interface\FrameXML\CompactUnitFrame.lua:98: in function <Interface\FrameXML\CompactUnitFrame.lua:45>

    Locals: <none>

  • #77
    Re: DataStore Stats Error

    39x DataStore_Stats\DataStore_Stats-r17.lua:105: attempt to call global "GetArenaTeam" (a nil value) DataStore_Stats\DataStore_Stats-r17.lua:105: in function <DataStore_Stats\DataStore_Stats.lua:27> DataStore_Stats\DataStore_Stats-r17.lua:117: in function <DataStore_Stats\DataStore_Stats.lua:116> <string>:"safecall Dispatcher[1]":4: in function <string>:"safecall Dispatcher[1]":4 <in C code> <string>:"safecall Dispatcher[1]":13: in function "?" libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:92: in function "Fire" AdiBags-v1.6.6\libs\AceEvent-3.0\AceEvent-3.0-3.lua:120: in function <AdiBags\libs\AceEvent-3.0\AceEvent-3.0.lua:119>

    Locals: nil

  • 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 »

Win an Alienware Alpha!