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 12-06-10, 01:00 PM  
Aledara
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 48
Uploads: 1
Originally posted by Zidomo Not so nice: the scrollbar is not actually usable.
I know it isn't, but you really need to ask yourself if you want this much information in a tooltip to begin with, and if so, I'd scale it down a little anyway. I'll see if I can get it to work as you suggested, but it'll have low priority...
Report comment to moderator  
Reply With Quote
Unread 12-06-10, 12:54 PM  
Aledara
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 48
Uploads: 1
Re: Error on new toon

Originally posted by help137
I use this addon on all my toons and I'm getting the error below only on a new toon. For toons that I've had a while it continues to work without error. It does this every time I log in on the new toon, so I assume it's never getting to save a history field for the toon.
-A
That's probably a safe assumption, at least until you relog (or does it keep giving this error on the same toon?)

It's very odd though, I tried to replicate this by creating a new toon, and I get no errors... I can probably still fix it though. Thanks for the report!
Report comment to moderator  
Reply With Quote
Unread 12-04-10, 03:14 PM  
help137
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 31
File comments: 120
Uploads: 16
Error on new toon

I use this addon on all my toons and I'm getting the error below only on a new toon. For toons that I've had a while it continues to work without error. It does this every time I log in on the new toon, so I assume it's never getting to save a history field for the toon.

Code:
Date: 2010-12-04 16:10:30
ID: 3
Error occured in: Global
Count: 1
Message: ..\AddOns\Broker_Cashflow\Broker_Cashflow.lua line 86:
   attempt to index field 'history' (a nil value)
Debug:
   [C]: ?
   Broker_Cashflow\Broker_Cashflow.lua:86: updateTime()
   Broker_Cashflow\Broker_Cashflow.lua:398: drawTooltip()
   Broker_Cashflow\Broker_Cashflow.lua:573:
      Broker_Cashflow\Broker_Cashflow.lua:558
   Titan\LDBToTitan.lua:304:
      Titan\LDBToTitan.lua:263

-A
Report comment to moderator  
Reply With Quote
Unread 12-03-10, 11:54 AM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1046
Uploads: 0
Originally posted by Aledara
Update: I think I found the solution. Will test tonight when I get home.

Update2: Fixed in next release.
Thanks for looking into this.

r125 shows a scrollbar on the right side of the tooltip when it has data that would otherwise extend off the screen. And the tooltip no longer "flashes" at high speed when it extends past the bottom. Nice work.

Not so nice: the scrollbar is not actually usable.

Because the tooltip fades immediately when you move the mouse of off the LDB display (which shows you it), its impossible to reposition the mouse to the tooltip to get the scrollbar actually working. Instead, the data at the bottom is cut off, inaccessible. Normally use StatBlockCore, but the problem also occurs with 3 other LDB displays I tested: NinjaPanel, Bazooka & Fortress.

Normally there is a short delay (1 or 2 seconds) before the tooltip fades after removing the mouse from the LDB display. Some LDB/LibQTip mods in fact have an adjustable time in their options for how long the tooltip remains up before fading after removing your mouse from the display (i.e. Broker_HitCrit). And/or some have the tooltip not fade at all if you move your mouse towards it. It instead fades as soon as you move your mouse off it or you move "left" or "right" instead of onto the tooltip (i.e. Ara Broker Tradeskills).
Last edited by Zidomo : 12-03-10 at 11:59 AM.
Report comment to moderator  
Reply With Quote
Unread 12-03-10, 12:11 AM  
Lightning
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
The new Stormwind cooking implementation is not working on deDE clients.
The symbol is missing in the options and the overview, and it doesnt recognice in- and outgoing emblems.
Report comment to moderator  
Reply With Quote
Unread 12-01-10, 03:12 PM  
Aledara
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 48
Uploads: 1
Originally posted by Zidomo
Instead of a scrollbar being added to the right (or left) side of the tooltip as is standard behavior in LibQTip mods when this happens, the tooltip "flashes" at high speed so that you can no longer read it. The only workarounds: reducing the tooltip scale in options so that it no longer extends past the bottom of the UI. Which is not ideal if you like things easy to see. Or moving your LDB display for it to the very top of the UI, which doesn't always solve the issue if a lot of data is displayed.
Yeah, I noticed that myself the other day. It's on the todo list, but requires some investigating on how to do that exactly. I was under the impression LibQTip did that automatically, but obviously not... Thanks!

Update: I think I found the solution. Will test tonight when I get home.

Update2: Fixed in next release.
Last edited by Aledara : 12-02-10 at 07:44 AM.
Report comment to moderator  
Reply With Quote
Unread 12-01-10, 12:56 PM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1046
Uploads: 0
r121, USEnglish client/server, WoW 4.0.3a live. When the tooltip extends down past the bottom of the UI as can happen when you have it set to show a lot of data, there is a big usability problem.

Instead of a scrollbar being added to the right (or left) side of the tooltip as is standard behavior in LibQTip mods when this happens, the tooltip "flashes" at high speed so that you can no longer read it. The only workarounds: reducing the tooltip scale in options so that it no longer extends past the bottom of the UI. Which is not ideal if you like things easy to see. Or moving your LDB display for it to the very top of the UI, which doesn't always solve the issue if a lot of data is displayed.

Hopefully you can implement a scrollbar when the tooltip extends past the bottom of the UI so that the mod is usable in that circumstance.
Report comment to moderator  
Reply With Quote
Unread 11-30-10, 06:57 AM  
Aledara
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 48
Uploads: 1
Originally posted by Lightning
For deDE:
Code:
L["CFGNAME_MONTHSELF"]		= "Dieser Monat (Selbst)"
L["CFGNAME_MONTHTOTAL"]		= "Dieser Monat (Alle)"
Thanks!
Report comment to moderator  
Reply With Quote
Unread 11-30-10, 06:26 AM  
Lightning
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
For deDE:
Code:
L["CFGNAME_MONTHSELF"]		= "Dieser Monat (Selbst)"
L["CFGNAME_MONTHTOTAL"]		= "Dieser Monat (Alle)"
Report comment to moderator  
Reply With Quote
Unread 11-29-10, 09:59 AM  
Aledara
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 48
Uploads: 1
Originally posted by Lightning
I'm playing with a 24h format ...
sometimes I see a odd behaviour of my "(self) money" (i dont use the "all chars" options).

Today, i startet at 10:00 and endet at 17:00.
I got the result:
money (self) session = 500g
money (self) today = 350g
money (self) yesterday = 150g
(And i am pretty sure, that i didnt play that twink yesterday ^^)
Hmm.. that's odd indeed. It looks like it rolled over midnight, but in the wrong timezone, or maybe at 12:00 instead of 24:00... Never noticed that behavior myself... I'll look into that. Thanks for the report!
Report comment to moderator  
Reply With Quote
Unread 11-12-10, 02:33 PM  
Lightning
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
I'm playing with a 24h format ...
sometimes I see a odd behaviour of my "(self) money" (i dont use the "all chars" options).

Today, i startet at 10:00 and endet at 17:00.
I got the result:
money (self) session = 500g
money (self) today = 350g
money (self) yesterday = 150g
(And i am pretty sure, that i didnt play that twink yesterday ^^)
Report comment to moderator  
Reply With Quote
Unread 11-02-10, 10:04 AM  
Marthisdil
An Onyxian Warder
AddOn Author - Click to view AddOns

Forum posts: 363
File comments: 115
Uploads: 1
Thanks for this!

Would it be possible to have the option to show your Total Money as the display (i.e. all of the money added up across all characters on the account)?

Thanks again for a great plugin!
__________________

Marth



Report comment to moderator  
Reply With Quote
Unread 10-30-10, 04:59 PM  
Aledara
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 48
Uploads: 1
Originally posted by Grizzly UK
Thanks very much for fixing the problem and also a huge thanks for the fast response in dealing with the issues!
Awesome, glad it finally works! And thanks for letting me know it does
Report comment to moderator  
Reply With Quote
Unread 10-30-10, 03:34 PM  
Grizzly UK
A Black Drake
 
Grizzly UK's Avatar

Forum posts: 85
File comments: 143
Uploads: 0
A little late reporting back, but better late than never! Updated to r117 and didn't have any problems. Checked with 6 different toons, took the boat from Ratchet to Booty Bay with each of them and none of the values changed.

Thanks very much for fixing the problem and also a huge thanks for the fast response in dealing with the issues!
Report comment to moderator  
Reply With Quote
Unread 10-28-10, 05:59 PM  
Aledara
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 48
Uploads: 1
Ok, r117 should do it guys, sorry for the mess.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: