Get an Epic Experience with Premium

DataStore

Libraries Login to Add Favorites
  • 10 Likes
  • World of Warcraft
  • 4,587 Monthly Downloads
  • Supports: 6.0.3
  • 919,936 Total Downloads
  • Updated 12/24/2014
  • Created 07/30/2009
  • 288 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 7 Next Last
  • #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!

  • #110
    Re: DataStore - Error Report

    Error Report

    Date: 2015-03-05 20:50:26
    ID: 1
    Error occured in: Global
    Count: 1
    Message: ..\AddOns\DataStore\DataStore.lua line 177:
    attempt to index field '?' (a nil value)
    Debug:
    DataStore\DataStore.lua:177:
    DataStore\DataStore.lua:168
    [string "safecall Dispatcher[2]"]:4:
    [string "safecall Dispatcher[2]"]:4
    [C]: ?
    [string "safecall Dispatcher[2]"]:13: ?()
    ...ore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90: Fire()
    ...\AddOns\DataStore\libs\AceEvent-3.0\AceEvent-3.0.lua:120:
    ...\AddOns\DataStore\libs\AceEvent-3.0\AceEvent-3.0.lua:119
    Locals:
    None
    AddOns:
    Swatter, v5.21c.5521 (SanctimoniousSwamprat)
    Altoholic, vr155
    Auctionator, v3.2.3
    CTCore, v6.0.2.0
    CTExpenseHistory, v6.0.2.0
    CTLibrary, v6.0.3.0
    CTMailMod, v6.0.2.0
    CTMapMod, v6.0.3.0
    CTUnitFrames, v6.0.3.0
    DataStore, vr53
    DataStoreAchievements, vr39
    DataStoreAgenda, vr21
    DataStoreAuctions, v6.0.001
    DataStoreCharacters, vr31
    DataStoreContainers, vr49
    DataStoreCrafts, vr65
    DataStoreCurrencies, vr28
    DataStoreGarrisons, vr9
    DataStoreInventory, vr42
    DataStoreMails, vr42
    DataStorePets, vr37
    DataStoreQuests, vr34
    DataStoreReputations, vr35
    DataStoreSpells, vr25
    DataStoreStats, vr24
    DataStoreTalents, vr50
    DBMCore, v
    DBMDefaultSkin, v
    DBMStatusBarTimers, v
    DebugLib, v5.1.DEV.337(/embedded)
    HandyNotes, vv1.3.3
    HandyNotesDraenorTreasures, v1.09b
    MoveAnything, v15.1.0
    Overachiever, v0.82
    PetBattleTeams, v3.2.8
    Skada, v1.4-29
    SlideBar, v5.21c.5521 (SanctimoniousSwamprat)
    Stubby, v5.21c.5521 (SanctimoniousSwamprat)
    Titan, v5.5.3.60100
    TitanBag, v5.5.3.60100
    TitanClock, v5.5.3.60100
    TitanGold, v5.5.3.60100
    TitanLocation, v5.5.3.60100
    TitanLootType, v5.5.3.60100
    TitanPerformance, v5.5.3.60100
    TitanRepair, v5.5.3.60100
    TitanVolume, v5.5.3.60100
    TitanXP, v5.5.3.60100
    TomTom, vv60000-1.1.1
    touchysettings, v0.0.5
    ToyBoxEnhanced, v1.1.2
    BlizRuntimeLib_enUS v6.1.0.60100 <none>
    (ck=566)

     

  • #108
    LUA error

    1x 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>

    I completely re-installed all DataStore and Altoholic modules without restoring the savedvariables files.  still getting this error at first logon.  Don't get it after reloadui.

  • #109

    revert back to r52 for now it removes the error

  • #107

    What's this? Thank you!

    1x AceLocale-3.0-6: DataStore_Auctions: Missing entry for 'CLEAR_ITEMS_DISABLED'
    DataStore_Auctions\Options.lua:12: in function `SetupOptions'
    ...aceDataStore_Auctions\DataStore_Auctions-6.0.002.lua:137: in function <...aceDataStore_Auctions\DataStore_Auctions.lua:135>
    (tail call): ?
    [C]: ?
    [string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
    (tail call): ?
    AchieveIt\libs\AceAddon-3.0\AceAddon-3.0-12.lua:558: in function `EnableAddon'
    AchieveIt\libs\AceAddon-3.0\AceAddon-3.0-12.lua:651: in function <AchieveIt\libs\AceAddon-3.0\AceAddon-3.0.lua:636>
    [C]: in function `LoadAddOn'
    FrameXML\UIParent.lua:327: in function `UIParentLoadAddOn'
    FrameXML\UIParent.lua:350: in function `CombatLog_LoadUI'
    FrameXML\UIParent.lua:830: in function <FrameXML\UIParent.lua:789>

    Locals:
    nil

  • #105

    i joined a custom "pit" group for apexis daily.. and when i did it started spamming yellow text in my chat box "No player named _____ is currently playing." i'm talking about 20 per second. everytime someone would join or leave the raid.. with 8 groups of 5 raid.. imagine the thing lol

    lately a lot of problems have been reported on multiple datastore addons .. datastore_craft and datastore_agenda to name a few... and now this.

    please who ever is in charge of this addon.. can you update it, at lest to get rid of these weird bugs/errors

  • #106

    found it! this is cause by recount... go to options and uncheck the sync option

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

G2A Giveaway