Download
(159Kb)
Download
Updated: 05-10-11 01:09 PM
Pictures
File Info
Updated:05-10-11 01:09 PM
Created:02-02-10 01:58 PM
Downloads:16,009
Favorites:130
MD5:

broker-cashflow  Popular! (More than 5000 hits)

Version: r138
by: Aledara [More]

LDB Data Broker for your cash flow. Heavily based on FuBar_MoneyFu.

When I moved away from FuBar, I was unable to find a good replacement for my beloved MoneyFu, so I created my own. Great opportunity to learn lua as well!

Options panel
You can access the options panel by right-clicking the data button, through the Blizzard Interface->Addons panel, or though the /cashflow or /cf commands.

Features:

  • Keeps track of gold, PvP, PvP and other currencies, as well as Archaeology Fragments
  • Fully configurable tooltip.
  • Summary (Characters on current realm) can be ordered on any column
  • Individual characters can be set to ignored

Need translators!
If you can translate, please send me the appropriate localization file, and I'll include it it the following release.

Credits
phyber (Fubar_MoneyFu)
Aranarth (Ara Broker Money)
Zhinjio (Broker HitCrit)

r138:
- Updated TOC to 4.1
- Fixed alignment on tooltip
r134:
- Tooltip is now scrollable when a scrollbar is added
- Updated koKR translation
- Fixed AceLocale throwing misleading errors
r131:
- Added cuurencies: Illustrious Jewelcrafter's Token, Valor Points, Tol Barad Commendation
- Changed which sections are shown by default
r129:
- Fixed typo that would throw an error when showing the config "columns" section
r128:
- Added ruRU translation
- Swapped out the Orgimmar and Stormwind cooking awards for Chef's Award
- Hopefully fixed unconfirmed error on new toons
r125:
- Updated deDE translation
- Added Orgrimmar and Stormwind Cooking awards
- Added scrollbar when tooltip becomes too big to fit on screen (scrollbar may or may not be usable, depending on the display addon used)
- Fixed days rolling over at the wrong time (UTC instead of local time). Note that accumulated history since r121 will be off by a few hours
r121:
- Added French translation (thanks Culhag)
- Fixed button display "week total" showing per hour values instead
- Now tracks 30 days of history instead of 7
- Added month sections
- Removed faulty time offset calculation
- Database format version updated to 9 (History reset, sorry!)
r118:
- Reversed order of changelog, and fixed some typos along the way
- Register/Unregister events in central location
- Prevent current character from being deleted
- Added option to reset current session using shift-click
r117:
- Hopefully fixed this nasty one once and for all.
r116:
- Fixed session value going wacky when zoning.
r114:
- Added option to delete a character from database
- Revamped localization system to make it easier for me to spot missing entries
r105:
- Added 3rd and 4th cutton currency option
- Added icon to button currencies
- Completed localization file (hopefully)
r101:
- Fixed error on first login after upgrade
- Reverted dynamic archaeology fragment retrieving. Damn I hate blizzard sometimes!
r98:
- Major code cleanup
- Archaeology fragments are retrieved dynamically instead of pre-defined list
- Removed library Abacus
- Added gold format with coin icons
- Made button display configurable, and show a second currency
- Moved Conquest points to PvP section (Arena points are gone. the one still mission are the PvE Valor Points)
r96:
- Fixed icons (though arch.fragments show up really small)
- Disabled arena points until I know how they work in cata
r95:
- Temporary fix for error in config panel
r94:
- Updated Dalaran JC tokens and Cooking Awards from item to currency
r93:
- Updated toc (finally) for 4.0.1
- Fixed gold not being recorded when mailed
r92:
- Updated language file
r91:
- Updated for Path 4.0.1 and Cataclysm beta:
- Removed badges, emblems, Marks of honor, etc
- Added support for new currency system
- Added support for new archaeology fragment tracking
r85:
- Now also LOADS the AceDBOptions library (doh!)
r84:
- Added missing AceDBOptions library
r83:
- Updated libraries
- Fixed and completed deDE language file
- Added Venture Coin, Champion's Seal and Dalaran Jewelcrafter's Token to currency list
- Fixed "compare number with nil" error on characters with 0 gold
r75:
- Configuration options split into multiple panes
- Shows currency icons on checkboxes
- Shows enUS name of currencies (jn gray) if unavailable.
- Use question mark icon if item is not available (not in tooltip)
- Added profiles support
- Updated deDE translation
- Retrieves currency name/icon when opening configuration, instead of on login to minimize risk of item not being available
r65:
- Fixed addon not initializing properly at random occasions
r64:
- Fixed session either not resetting at all, or way too often
- Fixed all sorts of weird issues due to database not being initialized or updated correctly
- Database should be MUCH more robust. No more seemingly randomly occurring errors (I hope)
- Now stores history per character instead of per realm (old history will be reset unfortunately)
- Added sections for Today/Yesterday/This week for self only (and renamed existing ones to total)
- Added options to show/hide each section individually
- Added deDE Translation
r55:
- Fixed session being reset every time a loading screen appears
r54:
- Fixed recording of Arena and Honor points
- Added option to sort characters by name, gold or any currency (name is always secondary order)
- Now showing "Items #..." instead of "(nil)" when a toon has no access to an item
- Hopefully fixed error messages when showing tooltip once and for all
- Fixed recording for session totals and per hour
- Fixed startup error on new installation (no database)
- Added koKR Translation
r46:
- May have fixed a seemingly randomly occurring "attempt to perform arithmetic on field 'gold' (a nil value)" Cross fingers!
- Fixed items other than gold under "This week" section not being calculated (were always 0)
- Removed some redundant code
- Added Arena and Honor point icons.
- Split header for cash into two separate ones (if both are shown)
r38:
- Added localization support and library
- Some minor code cleanup and optimization
-r32:
- Got rid of dynamicly keeping track of what currencies we know about. Only keeps track of a pre-defined list of currencies. Was causing way too many headaches
- Now also keeps track of when you spend you emblems and stuff :)
- Removed the per hour column for currencies other than gold.
r34:
- Added library that would prevent it from running stand alone
- Fixed bug where it would no longer track gold at all... oops!
r28:
- Added tracking of other currency
- Added option to hide/show other characters and totals
- Added option to scale tooltip
r19: Options! (And a lot of cleanup)
r10: Fixed startup error message
r8: Repackaged
Optional Files (0)


Post A Reply Comment Options
Unread 10-28-10, 08:16 AM  
Aledara
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 48
Uploads: 1
Originally posted by Grizzly UK
Bah, forgot to say what the current gold on that character was at that particular time! It was 12230g 97s 16c and it appears as if the current gold is added to the actual session spent value and then comes a little math: Profit + Spent = Gained. I'll update to r116 and give that a test later. Will report back with the results.
Yep, that's exactly what's happening. I'll spare you the details, but it's just one of the many strange API glitches...
Report comment to moderator  
Reply With Quote
Unread 10-28-10, 07:57 AM  
Grizzly UK
A Black Drake
 
Grizzly UK's Avatar

Forum posts: 85
File comments: 143
Uploads: 0
Originally posted by Aledara
I am aware of a long standing "randomly" occurring problem similar to this, although I have never been able to duplicate it. I'm going to have to play around with zoning though, that appears to be the cause of many headaches. Does the increase make any sense though? Does you current gold get added to the session maybe? Thanks for the report!
Bah, forgot to say what the current gold on that character was at that particular time! It was 12230g 97s 16c and it appears as if the current gold is added to the actual session spent value and then comes a little math: Profit + Spent = Gained. I'll update to r116 and give that a test later. Will report back with the results.
Report comment to moderator  
Reply With Quote
Unread 10-28-10, 07:57 AM  
Navitron
A Kobold Labourer
Premium Member

Forum posts: 0
File comments: 7
Uploads: 0
Love this addon keep up the great work!
Report comment to moderator  
Reply With Quote
Unread 10-28-10, 07:24 AM  
Aledara
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 48
Uploads: 1
r116 Should fix the session values going wacky when zoning. This is most likely unrelated to the seemingly random occurring bug messing up these values as well. Also, this fix may break detecting changes in archaeology fragments, but I can not test that until tonight. Anyone running beta, please test, and let me know
Report comment to moderator  
Reply With Quote
Unread 10-28-10, 06:04 AM  
Aledara
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 48
Uploads: 1
Originally posted by Grizzly UK
I had a problem with r101 so when I updated to r114 I actually deleted the Broker_Cashflow.lua and Broker_Cashflow.lua.bak files in my SavedVariables folder to ensure the database started fresh with r114. But the same problem I had with r101 returned!
I am aware of a long standing "randomly" occurring problem similar to this, although I have never been able to duplicate it. I'm going to have to play around with zoning though, that appears to be the cause of many headaches. Does the increase make any sense though? Does you current gold get added to the session maybe? Thanks for the report!
Report comment to moderator  
Reply With Quote
Unread 10-28-10, 01:32 AM  
Grizzly UK
A Black Drake
 
Grizzly UK's Avatar

Forum posts: 85
File comments: 143
Uploads: 0
I had a problem with r101 so when I updated to r114 I actually deleted the Broker_Cashflow.lua and Broker_Cashflow.lua.bak files in my SavedVariables folder to ensure the database started fresh with r114. But the same problem I had with r101 returned!

Basically, it seems that after zoning the per session amount gets seriously messed up! I'd taken one of my lvl 80 toons round some candy buckets, and, when I got to Ratchet to take the boat over to Booty Bay, I took a screenshot on the Ratchet Docks showing the Broker Cashflow tooltip which showed the following for "This Session":
Gained 59g 67s 1c
Spent 76s 32c
Profit 58g 90s 69c

The boat arrived, I got on and after zoning over to Booty Bay I checked the Broker Cashflow tooltip and took another screenshot. Now the tooltip showed the following for "This Session":
Gained 12290g 64s 17c
Spent 12231g 73s 48c
Profit 58g 90s 69c

As you can see, only the Profit lines remained the same. The 2 screenshots were taken 4 minutes apart, and, as much as I wish I had made that much in those 4 minutes, I obviously hadn't. If there's any more info needed to help troubleshoot this one then let me know.
Report comment to moderator  
Reply With Quote
Unread 10-27-10, 09:37 PM  
help137
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 31
File comments: 120
Uploads: 16
Issue with r114

Something's gone wrong in r114. My cash has gained a place to the left of the decimal. i.e. if I have 1234.5 gold, it's showing 12345.0 gold. Unfortunatly, it's not real

-A
Report comment to moderator  
Reply With Quote
Unread 10-27-10, 10:40 AM  
Aledara
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 48
Uploads: 1
Originally posted by Aratar
- As for localization: at least for deDE localization 'Button' and 'Tooltip' is missing

-As for the Bartender/UI problems with latest Libs: it appears that the latest Bartender update fixes the problem ('Libs' folder from higher than cashflow r96 was causing 'Blizzard Art Bar' to appear in Bartender for some reason..... but it's not a cashflow related issue, it also happened with other addons that updated their libraries)
Thanks for the localization issue! Will be added in next release.
I saw that somebody tried to fix a problem in the Ace libraries, but broke numerous other addons in the process. It was quickly reverted to a previous version, but not before I released r101... Confused me for a minute though when the bug reports started pouring in! Guess that's the risk of running bleedind edge I don't use bartender or other affected addons, so I didn't notice it.
Report comment to moderator  
Reply With Quote
Unread 10-27-10, 10:33 AM  
Aratar
A Kobold Labourer

Forum posts: 0
File comments: 36
Uploads: 0
- As for localization: at least for deDE localization 'Button' and 'Tooltip' is missing

-As for the Bartender/UI problems with latest Libs: it appears that the latest Bartender update fixes the problem ('Libs' folder from higher than cashflow r96 was causing 'Blizzard Art Bar' to appear in Bartender for some reason..... but it's not a cashflow related issue, it also happened with other addons that updated their libraries)
Last edited by Aratar : 10-27-10 at 10:33 AM.
Report comment to moderator  
Reply With Quote
Unread 10-27-10, 08:04 AM  
Aledara
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 48
Uploads: 1
Re: Re: Re: Re: Re: Display Current Gold?

Originally posted by bobr3940
I know that the addon doesn't display anything but several of my other addons that are displayed using fortress have dynamically updating titles. (ie Broker_Location updates with the current location and picoFriends updates with a current count of how many friends are currently logged in.)

Does your addon have any control over the title that is displayed? if so can you change it so that it displays the gold count?
Go to fortress's settings, under "Master plugin settings", check "Show Text". Problem solved
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 08:22 PM  
Aledara
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 48
Uploads: 1
Ok, that's a weird one. I'm not exactly sure what causes it, but if you install r101, then delete the libs folder, and replace it with the libs folder from r96, everything works as expected.

Apparently something changed in the libraries that causes some issues. I'll dig into it further, but this is a workaround for now
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 07:17 PM  
Taigen
A Defias Bandit
 
Taigen's Avatar

Forum posts: 3
File comments: 82
Uploads: 0
Yes, no error code with r101 but both Bartender and Quest Reward freaked OUT until I reverted back to an older version of this mod.
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 05:49 PM  
anahok
A Kobold Labourer

Forum posts: 1
File comments: 32
Uploads: 0
For some odd reason, after the update, my screen starts freaking out and bars appear where I have them hidden, etc...

http://img149.imageshack.us/img149/8...2610194742.jpg

It's totally freaked the hell out. I get no error codes, but something is definitely broken.
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 05:36 PM  
Talia
A Kobold Labourer

Forum posts: 0
File comments: 52
Uploads: 0
I just updated to the latest version, and on login I get this error:

Code:
Date: 2010-10-26 16:34:46
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Broker_Cashflow\Broker_Cashflow.lua line 599:
   attempt to compare string with number
Debug:
   (tail call): ?
   Broker_Cashflow\Broker_Cashflow.lua:599: UpdateLabel()
   Broker_Cashflow\Broker_Cashflow.lua:969:
      Broker_Cashflow\Broker_Cashflow.lua:837
   (tail call): ?
   [C]: ?
   [string "safecall Dispatcher[1]"]:9:
      [string "safecall Dispatcher[1]"]:5
   (tail call): ?
   Ace3\AceAddon-3.0\AceAddon-3.0.lua:541: EnableAddon()
   Ace3\AceAddon-3.0\AceAddon-3.0.lua:634:
      Ace3\AceAddon-3.0\AceAddon-3.0.lua:619
   [C]: LoadAddOn()
   ..\FrameXML\UIParent.lua:242: UIParentLoadAddOn()
   ..\FrameXML\UIParent.lua:316: TimeManager_LoadUI()
   ..\FrameXML\UIParent.lua:517:
      ..\FrameXML\UIParent.lua:492
AddOns:
  Swatter, v3.1.16 (<%codename%>)
  Ace3, v
  ACP, v3.3.8 
  Altoholic, v4.0.003
  AucAdvanced, v5.9.4960 (WhackyWallaby)
  AucFilterBasic, v5.9.4960 (WhackyWallaby)
  AucFilterOutlier, v5.9.4960.2531
  AucMatchUndercut, v5.9.4960.2531
  AucStatHistogram, v5.9.4960 (WhackyWallaby)
  AucStatiLevel, v5.9.4960 (WhackyWallaby)
  AucStatPurchased, v5.9.4960 (WhackyWallaby)
  AucStatSales, v5.9.4960.2842
  AucStatSimple, v5.9.4960 (WhackyWallaby)
  AucStatStdDev, v5.9.4960 (WhackyWallaby)
  AucStatWOWEcon, v5.9.4960.2530
  AucUtilAHWindowControl, v5.9.4960.3311
  AucUtilAppraiser, v5.9.4960.2530
  AucUtilAskPrice, v5.9.4960.3175
  AucUtilAutoMagic, v5.9.4960.3142
  AucUtilCompactUI, v5.9.4960.2530
  AucUtilEasyBuyout, v5.9.4960.3583
  AucUtilFixAH, v5.9.4960 (WhackyWallaby)
  AucUtilGlypher, v5.9.4960.2545
  AucUtilItemSuggest, v5.9.4960.3108
  AucUtilPriceLevel, v5.9.4960.2545
  AucUtilScanButton, v5.9.4960.2530
  AucUtilScanFinish, v5.9.4960.2530
  AucUtilScanProgress, v5.9.4960.2530
  AucUtilScanStart, v5.9.4960.4819
  AucUtilSearchUI, v5.9.4960.3655
  AucUtilSimpleAuction, v5.9.4960.4546
  AucUtilVendMarkup, v5.9.4960.2530
  Babylonian, v5.1.DEV.130
  BadBoy, v6.154
  Bagnon, v2.14.0
  BagnonForever, v1.1.2
  BagnonTooltips, v
  BeanCounter, v5.9.4960 (WhackyWallaby)
  BrokerCashflow, v
  Chatter, v1.0
  ChocolateBar, vv2.0.6
  Configator, v5.1.DEV.282
  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
  DataStoreQuests, v4.0.001
  DataStoreReputations, v4.0.001
  DataStoreSpells, v4.0.001
  DataStoreStats, v4.0.001
  DataStoreTalents, v4.0.001
  DebugLib, v5.1.DEV.275
  Enchantrix, v5.9.4960 (WhackyWallaby)
  FollowFelankor, v2.4.0 [40000]
  GnomishVendorShrinker, v4.0.0.7
  GoblinVendorFilter, vv1.0.1
  NoMouseoverCrash, v1
  Postal, v3.4.4
  Stubby, v5.9.4960 (WhackyWallaby)
  TipTac, v10.10.19
  TipTacItemRef, v10.10.19
  TipTacTalents, v10.10.19
  TypingIndicator, v
  Volumizer, v4.0.1-1.2.5
  WOWEconPriceMod, v
  BlizRuntimeLib_enUS v4.0.1.40000 <us>
  (ck=8b8)
Wasn't happening yesterday, and I run the Curse Client to update before every login, so it's something with this latest version.
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 06:40 AM  
Aledara
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 48
Uploads: 1
Re: Re: Re: Re: Re: Display Current Gold?

Originally posted by bobr3940
I am using Fortress. Here is a screen shot of what I see.

Does your addon have any control over the title that is displayed? if so can you change it so that it displays the gold count?
My first reaction is that it is a problem/feature of Fortress, showing the wrong info, since others seem to work correctly. But I will into it, and do some digging.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: