Get an Epic Experience with Premium

DataStore

Libraries Login to Add Favorites
  • 8 Likes
  • World of Warcraft
  • 27,793 Monthly Downloads
  • Supports: 5.4.8
  • 784,356 Total Downloads
  • Updated 07/24/2014
  • Created 07/30/2009
  • 257 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 4 of 6 Next Last
  • #41
    Its not the addons, but the Saved Variable files that are kicking up the errors!!!

    GO READ THE THEAD ON THE "ALTOHOLIC" addon PAGE.
  • #38
    It is imposable to turn in a large number of quests with this turned on. Ive tried waiting for an update but as 90% of the quests i do i cant turn in without going in turning this off reloading my UI turning it in turning this back on and reloading my UI again, im getting really pissed off at this point and you need to get this fixed soon. It is game breaking, and i have a lot of addons that use this, or i would just get rid of it.
  • #39
    Bump. I have the same issue. Fel Spirits in hellfire is one example of a quest that will not turn in. Almost all others turn in just fine.
  • #40
    Disabling the DataStore_quests is all that is needed.
  • #44
    Or doing what everyone else has said, and delete the saved variables. Remember folks, it went from 3.3.5 to 4.0.1, some things need to be erased to be reinitialized.
  • #37
    error occoured in export.lua

    reading of file...

    Exporting Datastore...
    Exporting Datastore-Achievements...
    Exporting Datastore_Charakters...
    Exporting Datastore_Containers...

    I:\lua\lua5.1.exe: export.lua:225: bad argument #3 to 'format' (string expected, got nil)
    stack traceback:
    [C]: in function 'format'

    export.lua:225 in function '?'

    attrib = format("%s rarity=\"%s\" link=\"%s\"", attrib, rarity, link)

    export.lua:592 in function 'ExportCharacters'

    specificExport[moduleName][key](file, level+1, value, character)


    export.lua:637 in function 'ExportModule'


    ExportCharacters(moduleName, f)



    export.lua:667 in main chunk


    ExportModule(moduleName)


    #### USING Datastore ver. r27 UPDATED via CurseClient ###


    Can anyone help with this ???

    [C]: ?

    ------
    configuration of of go.bat IN H:\World of Warcraft\Interface\AddOns\DataStore\Export :

    I:\lua\lua5.1.exe export.lua


    configuraton of export.lua

    local INPUT_DIR = "H:\\World of Warcraft\\WTF\\Account\\********\\SavedVariables"
    local OUTPUT_DIR = "I:\\Server\\xampp\\htdocs\\Frontend\\WOW\\Datastore\\*******"

  • #36
    Also had to Disable Datastore to do quest handins... but needless to say ... it is NOT really an option as i am sure we all want out Data to be.. well Stored. IF it is is only Altoholic that has the issue i find it hard to believe as if you disable Altoholic then the hand ins should work ... but they dont .... so maybe a combination of the two somehow..... oh and you dont need to disable Altoholic... just Datastore_Quest
  • #35
    Date: 2010-10-16 07:02:38
    ID: 1
    Error occured in: Global
    Count: 1
    Message: ...terface\AddOns\DataStore_Skills\DataStore_Skills.lua line 122:
    attempt to call global 'GetNumSkillLines' (a nil value)
    Debug:
    (tail call): ?
    ...terface\AddOns\DataStore_Skills\DataStore_Skills.lua:122:
    ...terface\AddOns\DataStore_Skills\DataStore_Skills.lua:119
    ...terface\AddOns\DataStore_Skills\DataStore_Skills.lua:152:
    ...terface\AddOns\DataStore_Skills\DataStore_Skills.lua:148
    ...terface\AddOns\DataStore_Skills\DataStore_Skills.lua:173: ?()
    ...ore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147:
    ...ore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147
    [string "safecall Dispatcher[1]"]:4:
    [string "safecall Dispatcher[1]"]:4
    [C]: ?
    [string "safecall Dispatcher[1]"]:13: ?()
    ...ore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: Fire()
    ...\AddOns\DataStore\libs\AceEvent-3.0\AceEvent-3.0.lua:120:
    ...\AddOns\DataStore\libs\AceEvent-3.0\AceEvent-3.0.lua:119
    AddOns:
    Swatter, v5.9.4933 (WhackyWallaby)
    1337AchievementHelper, v1.0.1
    NPCScan, v4.0.0.2
    ACP, v3.3.8
    Altoholic, v4.0.001
    Atlas, v1.17.1
    AtlasBattlegrounds, v1.17.1
    AtlasDungeonLocs, v1.17.1
    AtlasOutdoorRaids, v1.17.1
    AtlasTransportation, v1.17.1
    AtlasLoot, vv5.11.06
    AtlasLootFu, vv5.11.06
    AtlasMajorCities, vv1.5.2
    AucAdvanced, v5.9.4933 (WhackyWallaby)
    AucFilterBasic, v5.9.4933 (WhackyWallaby)
    AucFilterOutlier, v5.9.4933.2531
    AucMatchUndercut, v5.9.4933.2531
    AucScanData, v5.9.4933 (WhackyWallaby)
    AucStatHistogram, v5.9.4933 (WhackyWallaby)
    AucStatiLevel, v5.9.4933 (WhackyWallaby)
    AucStatPurchased, v5.9.4933 (WhackyWallaby)
    AucStatSales, v5.9.4933.2842
    AucStatSimple, v5.9.4933 (WhackyWallaby)
    AucStatStdDev, v5.9.4933 (WhackyWallaby)
    AucStatWOWEcon, v5.9.4933.2530
    AucUtilAHWindowControl, v5.9.4933.3311
    AucUtilAppraiser, v5.9.4933.2530
    AucUtilAskPrice, v5.9.4933.3175
    AucUtilAutoMagic, v5.9.4933.3142
    AucUtilCompactUI, v5.9.4933.2530
    AucUtilEasyBuyout, v5.9.4933.3583
    AucUtilFixAH, v5.8.4723 (CreepyKangaroo)
    AucUtilGlypher, v5.9.4933.2545
    AucUtilItemSuggest, v5.9.4933.3108
    AucUtilPriceLevel, v5.9.4933.2545
    AucUtilScanButton, v5.9.4933.2530
    AucUtilScanFinish, v5.9.4933.2530
    AucUtilScanProgress, v5.9.4933.2530
    AucUtilScanStart, v5.9.4933.4819
    AucUtilSearchUI, v5.9.4933.3655
    AucUtilSimpleAuction, v5.9.4933.4546
    AucUtilVendMarkup, v5.9.4933.2530
    Babylonian, v5.1.DEV.130
    BadBoy, v6.100
    Baggins, v437
    BeanCounter, v5.9.4933 (WhackyWallaby)
    BrokerGarbageFu, v3.0.24
    Chatter, v1.0
    Configator, v5.1.DEV.268
    DataStore, v4.0.001
    DataStoreAchievements, v4.0.001
    DataStoreAuctions, v4.0.001
    DataStoreCharacters, v4.0.001
    DataStoreContainers, v4.0.001
    DataStoreCrafts, v4.0.001
    DataStoreCurrencies, v4.0.001
    DataStoreInventory, v4.0.001
    DataStoreMails, v4.0.001
    DataStorePets, v4.0.001
    DataStoreReputations, v4.0.001
    DataStoreSkills, v3.3.002
    DataStoreSpells, v4.0.001
    DataStoreStats, v4.0.001
    DataStoreTalents, v4.0.001
    DebugLib, v5.1.DEV.275
    DPSCheck, v
    DPSCheckHunter, v
    EveryQuest, v2.3r163-beta
    FlightHUD, v0.9.22
    FloTotemBar, v
    Fortress, v1.14-beta3
    Gatherer, v3.1.15
    GathererHUD, v3.1.15
    GathererDBWowhead, v1.0.2009-12-09
    GuildGreet, v40000.2
    IceHUD, v1.7.0.5 (Revision: 663)
    loremaster, vv2.11
    MapCoords, v0.8
    MinimapButtonFrame, v3.1.2
    MinimapButtonFrameSkinPack, v3.0
    Omen, v3.0.11
    Postal, v3.4.2
    SexyMap, v
    SlideBar, v5.9.4933 (WhackyWallaby)
    SpellFlash, v5.20
    SpellFlashCore, v1.20
    Stubby, v5.9.4933 (WhackyWallaby)
    VendorBait, v3.3.0.5
    BlizRuntimeLib_enUS v4.0.1.40000
    (ck=a69)

  • #34
    Date: 2010-10-15 22:26:33
    ID: 1
    Error occured in: Global
    Count: 1
    Message: ..\AddOns\DataStore_Stats\DataStore_Stats.lua line 114:
    Usage: GetCombatRating(ratingIndex)
    Debug:
    (tail call): ?
    [C]: GetCombatRating()
    DataStore_Stats\DataStore_Stats.lua:114:
    DataStore_Stats\DataStore_Stats.lua:50
    [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:91: Fire()
    ...\AddOns\DataStore\libs\AceEvent-3.0\AceEvent-3.0.lua:120:
    ...\AddOns\DataStore\libs\AceEvent-3.0\AceEvent-3.0.lua:119
    AddOns:
    Swatter, v5.9.4933 (WhackyWallaby)
    1337AchievementHelper, v1.0.1
    NPCScan, v4.0.0.2
    ACP, v3.3.8
    Altoholic, v3.3.002b
    Atlas, v1.17.1
    AtlasBattlegrounds, v1.17.1
    AtlasDungeonLocs, v1.17.1
    AtlasOutdoorRaids, v1.17.1
    AtlasTransportation, v1.17.1
    AtlasLoot, vv5.11.05
    AtlasLootFu, vv5.11.05
    AtlasMajorCities, vv1.5.2
    AucAdvanced, v5.9.4933 (WhackyWallaby)
    AucFilterBasic, v5.9.4933 (WhackyWallaby)
    AucFilterOutlier, v5.9.4933.2531
    AucMatchUndercut, v5.9.4933.2531
    AucScanData, v5.9.4933 (WhackyWallaby)
    AucStatHistogram, v5.9.4933 (WhackyWallaby)
    AucStatiLevel, v5.9.4933 (WhackyWallaby)
    AucStatPurchased, v5.9.4933 (WhackyWallaby)
    AucStatSales, v5.9.4933.2842
    AucStatSimple, v5.9.4933 (WhackyWallaby)
    AucStatStdDev, v5.9.4933 (WhackyWallaby)
    AucStatWOWEcon, v5.9.4933.2530
    AucUtilAHWindowControl, v5.9.4933.3311
    AucUtilAppraiser, v5.9.4933.2530
    AucUtilAskPrice, v5.9.4933.3175
    AucUtilAutoMagic, v5.9.4933.3142
    AucUtilCompactUI, v5.9.4933.2530
    AucUtilEasyBuyout, v5.9.4933.3583
    AucUtilFixAH, v5.8.4723 (CreepyKangaroo)
    AucUtilGlypher, v5.9.4933.2545
    AucUtilItemSuggest, v5.9.4933.3108
    AucUtilPriceLevel, v5.9.4933.2545
    AucUtilScanButton, v5.9.4933.2530
    AucUtilScanFinish, v5.9.4933.2530
    AucUtilScanProgress, v5.9.4933.2530
    AucUtilScanStart, v5.9.4933.4819
    AucUtilSearchUI, v5.9.4933.3655
    AucUtilSimpleAuction, v5.9.4933.4546
    AucUtilVendMarkup, v5.9.4933.2530
    Babylonian, v5.1.DEV.130
    BadBoy, v6.100
    Baggins, v437
    BeanCounter, v5.9.4933 (WhackyWallaby)
    BrokerGarbageFu, v3.0.24
    BrokerRecZone, v3.0.92
    Chatter, v1.0
    Configator, v5.1.DEV.268
    DataStore, v3.3.001
    DataStoreAchievements, v3.3.001
    DataStoreAuctions, v3.3.001
    DataStoreCharacters, v3.3.001
    DataStoreContainers, v3.3.001
    DataStoreCrafts, v3.3.002
    DataStoreCurrencies, v3.3.001
    DataStoreInventory, v3.3.002
    DataStoreMails, v3.3.001
    DataStorePets, v3.3.001
    DataStoreQuests, v3.3.001
    DataStoreReputations, v3.3.001
    DataStoreSkills, v3.3.002
    DataStoreSpells, v3.3.001
    DataStoreStats, v3.3.001
    DataStoreTalents, v3.3.001
    DebugLib, v5.1.DEV.275
    FlightHUD, v0.9.21
    FloTotemBar, v
    Fortress, v1.14-beta3
    Gatherer, v3.1.15
    GathererHUD, v3.1.15
    IceHUD, v1.7.0.4 (Revision: 657)
    MapCoords, v0.8
    MinimapButtonFrame, v3.1.2
    MinimapButtonFrameSkinPack, v3.0
    Omen, v3.0.11
    Postal, v3.4.2
    SexyMap, v
    SlideBar, v5.9.4933 (WhackyWallaby)
    SpellFlash, v5.19
    SpellFlashHunter, v1.21.1
    SpellFlashCore, v1.20
    Stubby, v5.9.4933 (WhackyWallaby)
    BlizRuntimeLib_enUS v4.0.1.40000
    (ck=a15)


  • #32
    Seems to not allow some quest turn-ins. Had to disable the DataStore_Quests to turn in the Multiphasic survey in Shat.

    Please update for 4.0.1

  • #33
    Same here. But I just disabled all Altoholic+DataStore addons to finish the quest.
  • #31
    It looks like this is being addressed on the Altoholic end.
  • #30
    Please update this for 4.0.1
  • #29
    Getting multiple DataStore errors since the patch. Here's the latest.


    Message: ...terface\AddOns\DataStore_Skills\DataStore_Skills.lua:122: attempt to call global 'GetNumSkillLines' (a nil value)
    Time: 10/13/10 09:17:58
    Count: 2
    Stack: ...terface\AddOns\DataStore_Skills\DataStore_Skills.lua:122: in function
    ...terface\AddOns\DataStore_Skills\DataStore_Skills.lua:152: in function
    ...terface\AddOns\DataStore_Skills\DataStore_Skills.lua:173: in function `?'
    ...ist\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147: in function

    [C]: ?
    [string "safecall Dispatcher[1]"]:13: in function `?'
    ...ist\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: in function `Fire'
    ...s\AckisRecipeList\libs\AceEvent-3.0\AceEvent-3.0.lua:120: in function

    Locals: (*temporary) = nil
    (*temporary) = "attempt to call global 'GetNumSkillLines' (a nil value)"
    headerCount = 0
    headersState = {
    }
  • #27
    I am getting the following error. i have only just installed altaholic and just cannot seem to get it working
    Thanks

    Date: 2010-08-15 15:07:45
    ID: 1
    Error occured in: Global
    Count: 1
    Message: ..\AddOns\DataStore\DataStore.lua line 316:
    assertion failed!
    Debug:
    [C]: ?
    [C]: assert()
    DataStore\DataStore.lua:316: SetOption()
    [string "*:OnValueChanged"]:5:
    [string "*:OnValueChanged"]:1
    AddOns:
    Swatter, v5.8.4723 (CreepyKangaroo)
    Ace3, v
    Altoholic, v3.3.002b
    DataStore, v3.2.002b
    DataStoreAchievements, v3.3.001
    DataStoreAuctions, v3.3.001
    DataStoreCharacters, v3.3.001
    DataStoreContainers, v3.3.001
    DataStoreCrafts, v3.3.002
    DataStoreCurrencies, v3.3.001
    DataStoreInventory, v3.2.002
    DataStoreMails, v3.3.001
    BlizRuntimeLib_enUS v3.3.5.30300
    (ck=17c)
  • 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 »

VIP trip to SMITE World Championship