DataStore_Currencies is part of the DataStore series.

Its purpose is to scan and store data related to Currencies for all your characters, and act as a data abstraction layer for client addons, which no longer have to scan or store this information.

More information can be found on the main page : DataStore

Specific details (usage/scope) will be posted later as separate pages on this project.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of kaladora kaladora Dec 20, 2014 at 18:20 UTC - 0 likes

    Getting this eror frequently from DataStore on character load (or Altoholic UI activated):

    Date: 2014-12-20 09:08:08 ID: -1 Error occured in: Global Count: 5 Message: ...AddOns\DataStore_Currencies\DataStore_Currencies.lua line 199: bad argument #2 to 'strsplit' (string expected, got nil) Debug: [C]: strsplit() ...AddOns\DataStore_Currencies\DataStore_Currencies.lua:199: ...AddOns\DataStore_Currencies\DataStore_Currencies.lua:187 (tail call): ? Altoholic_Summary\Activity.lua:207: OnEnter() [string "*:OnEnter"]:1: [string "*:OnEnter"]:1 Locals: (*temporary) = "|" (*temporary) = nil (*temporary) = "string expected, got nil"

    AddOns: Swatter, v5.21c.5521 (SanctimoniousSwamprat) Altoholic, v5.4.008 AltoholicSummary, v6.0.001 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) 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) Enchantrix, v5.21c.5521 (SanctimoniousSwamprat) EnchantrixBarker, v5.21c.5521 (SanctimoniousSwamprat) Grail, v067 GrailAchievements, v011 GrailReputations, v007 HandyNotes, vv1.3.2 HealBot, v6.0.3.4 HealBotTips, v6.0.3.4 Informant, v5.21c.5521 (SanctimoniousSwamprat) ISBoxer, v1.0 Jamba, v6.0.3-3 JambaAdvancedLoot, v6.0.3-3 JambaDisplayTeam, v6.0.3-3 JambaFollow, v6.0.3-3 JambaFTL, v6.0.3-3 JambaItemUse, v6.0.3-3 JambaMacro, v6.0.3-3 JambaProc, v6.0.3-3 JambaPurchase, v6.0.3-3 JambaQuest, v6.0.3-3 JambaQuestWatcher, v6.0.3-3 JambaSell, v6.0.3-3 JambaTalk, v6.0.3-3 JambaTarget, v6.0.3-3 JambaTaxi, v6.0.3-3 JambaToon, v6.0.3-3 JambaTrade, v6.0.3-3 LibExtraTip, v5.12.DEV.363(/embedded) LibSharedMedia30, v3.0-89 Recount, vv6.0.3d release SlideBar, v5.21c.5521 (SanctimoniousSwamprat) Stubby, v5.21c.5521 (SanctimoniousSwamprat) TipHelper, v5.12.DEV.351(/embedded) Wholly, v049 BlizRuntimeLib_enUS v6.0.3.60000 <none> (ck=cae)


  • Avatar of BloodyFess BloodyFess Oct 18, 2012 at 15:09 UTC - 0 likes

    Date: 2012-10-15 13:16:24

    ID: -1

    Error occured in: Global

    Count: 69

    Message: ...AddOns\DataStore_Currencies\DataStore_Currencies.lua line 168:

    bad argument #1 to 'bAnd' (number expected, got string)


    [C]: ?

    [C]: ?





    (tail call): ?



    [C]: ?

    ...AddOns\Auc-Advanced\Libs\LibExtraTip\LibExtraTip.lua:290: SetCurrencyToken()

    [string "*:OnEnter"]:2:

    [string "*:OnEnter"]:1


    AddOns: InspectFix, v4.2 Swatter, v4.0.5 (<%codename%>) Altoholic, v5.0.002 Archy, v1.8.26_beta AtlasLoot, vv7.03.01 AtlasLootCataclysm, vv7.03.01 AtlasLootLoader, vv7.03.01 AtlasLootMistsofPandaria, vv7.03.01 AucAdvanced, v5.14.5335 (KowariOnCrutches) AucFilterBasic, v5.14.5335 (KowariOnCrutches) AucFilterOutlier, v5.14.5335.5335(5.14/embedded) AucMatchUndercut, v5.14.5335.5225(5.14/embedded) AucStatHistogram, v5.14.5335 (KowariOnCrutches) AucStatiLevel, v5.14.5335 (KowariOnCrutches) AucStatPurchased, v5.14.5335 (KowariOnCrutches) AucStatSales, v5.14.5335.5335(5.14/embedded) AucStatSimple, v5.14.5335 (KowariOnCrutches) AucStatStdDev, v5.14.5335 (KowariOnCrutches) AucStatWOWEcon, v5.14.5335.5335(5.14/embedded) AucUtilAHWindowControl, v5.14.5335.5133(5.14/embedded) AucUtilAppraiser, v5.14.5335.5335(5.14/embedded) AucUtilAskPrice, v5.14.5335.5160(5.14/embedded) AucUtilAutoMagic, v5.14.5335.5335(5.14/embedded) AucUtilCompactUI, v5.14.5335.5335(5.14/embedded) AucUtilEasyBuyout, v5.14.5335.5238(5.14/embedded) AucUtilFixAH, v5.14.5335 (KowariOnCrutches) AucUtilItemSuggest, v5.14.5335.5335(5.14/embedded) AucUtilPriceLevel, v5.14.5335.5237(5.14/embedded) AucUtilScanButton, v5.14.5335.5335(5.14/embedded) AucUtilScanFinish, v5.14.5335.5153(5.14/embedded) AucUtilScanProgress, v5.14.5335.4979(5.14/embedded) AucUtilScanStart, v5.14.5335.5153(5.14/embedded) AucUtilSearchUI, v5.14.5335.5335(5.14/embedded) AucUtilSimpleAuction, v5.14.5335.5208(5.14/embedded) AucUtilVendMarkup, v5.14.5335.4828(5.14/embedded) AutoProfitX, vr82 Babylonian, v5.1.DEV.312(/embedded) BrokerMail, v1.0 caelLib, v caelMedia, v caelNamePlates, v ClassTimer, v2.3 Configator, v5.1.DEV.330(/embedded) CTBarMod, v5.0004 CTBottomBar, v5.0004 CTCore, v5.0004 CTMailMod, v5.0003 CTMapMod, v5.0004 CTPartyBuffs, v5.0002 DataStore, v5.0.001 DataStoreAchievements, v5.0.001 DataStoreAgenda, v5.0.001 DataStoreAuctions, v5.0.001 DataStoreCharacters, v5.0.001 DataStoreContainers, v5.0.001 DataStoreCrafts, v5.0.001 DataStoreCurrencies, v5.0.001 DataStoreInventory, v5.0.001 DataStoreMails, v5.0.001 DataStorePets, v5.0.001 DataStoreQuests, v5.0.001 DataStoreReputations, v5.0.001 DataStoreSpells, v5.0.001 DataStoreStats, v5.0.001 DBMCore, v DBMVictorySound, v1.9 DebugLib, v5.1.DEV.312(/embedded) Decursive, v2.7.2.2 eAlign, v epgp, v5.8.6 epgplootmaster, v0.6.22 epgplootmasterml, v0.6.22 FBOutfitDisplayFrame, v1.0.9 FBTrackingFrame, v1.0.9b FishingBuddy, v1.1b Glamour, v1.4.3 HandyNotes, v1.2.0 IceHUD, v1.8.9 (Revision: 918) InFlightLoad, v5.0.001 Informant, v5.14.5335 (KowariOnCrutches) LFGForwarder, v2.30 LibExtraTip, v5.12.DEV.324(/embedded) MobInfo2, v5.0.4.0 Omen, v3.1.7 OmniCC, v5.0.4 OneBag3, vv3.4.7 OneBank3, vv3.3.17 PawnRU, v1.6.9 PhoenixStyle, v1.609 Prat30, v3.5.1 Prat30Libraries, v Quartz, v3.1.1 QuestGuru, v2.2.13-50001 RaidAchievement, v1.105 RaidAchievementAchieveReminder, v RaidBuffStatus, v5.2.1 RaidIconBar, v5.2 RaidRoll, v RaidRollLootTracker, v RaidSlackCheck, v1.35 RangeDisplay, vv4.1.0 RatingBuster, v5.0.4.361 Recount, v ShadowedUFIndicators, vv2.3.2 ShadowedUnitFrames, vv3.6.1 Stubby, v5.14.5335 (KowariOnCrutches) TellMeWhen, v6.0.3 TipHelper, v5.12.DEV.315(/embedded) Titan, v5.1.7.50001 TitanBag, v5.1.7.50001 TitanGold, v5.1.5.50001 TitanGuild, v5.0.0.6 TitanLocation, v5.1.7.50001 TitanLootType, v5.1.7.50001 TitanPerformance, v5.1.7.50001 TitanRepair, v5.1.7.50001 TitanReputation, v3.7.7 TitanVolume, v5.1.7.50001 TotemTimers, v11.0.7 TradeskillInfo, vv2.2.4 VuhDo, v3.13 VuhDoOptions, v3.13 XLoot, v0.91.7 XLootGroup, vz15-repack-release BlizRuntimeLib_ruRU v5.0.5.50001

    I`m very sorry, but this error presents in addon more then year. May be author can eliminate this problem? Or someone, who have knowledges about *.lua a lot?

    Last edited Oct 18, 2012 by BloodyFess
  • Avatar of Takika Takika Aug 10, 2011 at 18:47 UTC - 0 likes

    Do you plan add currency caps (weekly and global)?

  • Avatar of Thaoky Thaoky Jul 29, 2010 at 08:31 UTC - 0 likes

    Thanks, implemented on my side (Not pushing to svn yet though, other changes are in progress in preparation of Cataclysm).

  • Avatar of ckaotik ckaotik Jul 08, 2010 at 22:11 UTC - 0 likes

    You might want to register the CHAT_MSG_SYSTEM event as well. It fires when you refund an item previously bought with a currency. Checking the first argument for ITEM_REFUND_MSG will tell you if it's the one you want ;)
    Basic refunding creates two CHAT_MSG_SYSTEM:
    CHAT_MSG_SYSTEM - ITEM_REFUND_MSG which contains the basic string
    CHAT_MSG_SYSTEM - which then contains the amount and currency name refunded



Date created
Jul 30, 2009
Last update
Apr 06, 2015
Development stage
All Rights Reserved
Curse link
Recent files
  • A: r29 for 6.1.0 Apr 06, 2015
  • A: r28 for 6.1.0 Feb 25, 2015
  • R: 6.0.002 for 6.0.3 Dec 24, 2014
  • A: r26 for 6.0.3 Dec 24, 2014
  • A: r25 for 6.0.2 Oct 17, 2014