Download
(8Kb)
Download
Updated: 10-12-10 07:28 AM
Pictures
File Info
Updated:10-12-10 07:28 AM
Created:12-15-08 07:23 AM
Downloads:30,558
Favorites:478
MD5:

Ara Broker Money  Popular! (More than 5000 hits)

Version: r12
by: Aranarth [More]

This data broker plugin keeps track of your money and displays:

- a simple balance history for: session, today, yesterday, this week (rolling last seven days) and this month (rolling last 30 days);
- a breakdown of the money owned on the server, character by character.


You can right-click this plugin to get access to the config menu. It provides the following functionnalities:

- remove money data from a (possibly deleted) character.
- switch between various display modes.


If you have AddonLoader, this addon will load as delayed.

r12
- Fixed issues where removing a toon or logging a toon unknown from AraBrokerMoney was affecting the balance history.
- Added option "Calendar mode" to switch between "Last 7 days / Last 30 days" and "This week (starting monday) / This month (starting the 1st)".
- Added option "Thousand separator": Space (default), Comma or None.


r11
- Added support for !ClassColors.


r10
- Added optional dependencies: NazScrooge and the buggy DepositBox!.


r9
- Fixed the day to end at midnight for everyone, not only french people (my bad :p).


r8
- Fixed a display mode only used by Kergoth (thank him for the useless update :p)
- No, wait, I also tried to make the day end at midnight, taking daylight saving time into account, for the obsessivly compulsive people outta there.


r7
- Fixed some display modes so that, for exemple, 0c doesn't read as 0g 00s 00c.


r6
- There's now 2 distinct display modes: one for the block and one for the tooltip.


r5
- Fixed an issue where a fresh install of r4 was not setting a default display mode.
- Better implementation of display modes.
- Code tweak.


r4
- Added "this month" (rolling last 30 days) to the balance history.
- Added some display modes.


r3
- Added class coloring. It's not retroactive: you will have to log your alts to get their class color.


r2
- Fixed a rare bug due to a global variable that should have been local (not confirmed).
- Fixed X-Credits in TOC file.
- Added an option to switch between normal and compact display mode.


r1
- Initial release.
Optional Files (0)


Post A Reply Comment Options
Unread 05-18-09, 04:14 PM  
Danno
A Murloc Raider
 
Danno's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 28
Uploads: 1
Similarly, I've been on for about 4 hours now. It just hit 15:00 server time (16:00 local time, 22:00 UTC time), and my money for the day reset. Now I have today: 13g17s, session: 382g17s, even though I haven't played through midnight. I started after lunch and now it's 16:00. I'm at US mountain time, and my server is US pacific time.

I've noticed this for a while now. It seems the midnight is relative to something other than the player's or server's local time?
Report comment to moderator  
Reply With Quote
Unread 05-18-09, 12:28 PM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 394
Uploads: 9
Originally posted by forty2j
I have to say I'm starting to question the math in this thing.

When I log in for the first time in a day, and I go the mailbox and retrieve some cash from sold AH items, the tooltip update shows something like:

Session: +7g (which is correct)
Today: + 8g (how is this not = the session value, if this is my first time on today?)
The maths are very simple and based on Blizzard's events for money, also, I checked my day light saving time formula and a day end at midnight no matter what. So 2 things come in mind:
- you have earned 1 gold after midnight the day before.
- your WoW client crashed and the earned/spent balance of that day (that could not be saved) has been postponed to your next logging day.

Also keep in mind that the balance history is for all your toons. You could have played an alternative character that won 1 gold.
Last edited by Aranarth : 05-18-09 at 12:37 PM.
Report comment to moderator  
Reply With Quote
Unread 05-18-09, 08:00 AM  
forty2j
A Cobalt Mageweaver

Forum posts: 232
File comments: 260
Uploads: 0
I have to say I'm starting to question the math in this thing.

When I log in for the first time in a day, and I go the mailbox and retrieve some cash from sold AH items, the tooltip update shows something like:

Session: +7g (which is correct)
Today: + 8g (how is this not = the session value, if this is my first time on today?)
Report comment to moderator  
Reply With Quote
Unread 05-08-09, 09:52 AM  
Pusikas
A Murloc Raider

Forum posts: 5
File comments: 98
Uploads: 0
Must be something like that. Works if I disable tekticles in AddonLoader. I don't have to understand this, I am just happy that it works now. Thanks.
Report comment to moderator  
Reply With Quote
Unread 05-08-09, 07:34 AM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 394
Uploads: 9
Originally posted by Pusikas
Say, I use most of your Broker Addons, and I also use tekticles to change the default font from Fritz to Calibri. This does not work for the tooltips of your brokers, tho. Your addons are the only ones I use that neither change to calibri automagically, nor offer an option to set the font.

Would I have to pester you for support of different fonts, or is Tekkub (author of tekticles) the right address?

(I was kinda assuming, that if all the default system fonts change, the addons using those would change their fonts as well. Maybe I am assuming wrongly here, no idea. )

Edit: Or would it help if I disabled AddonLoader for tekticles? It loads after all the Ara_ Addons, I think?
I tried tekticles and the font was properly set to Calibri for all my plugins. But maybe I got lucky with the loading order of AddonLoader.
Report comment to moderator  
Reply With Quote
Unread 05-08-09, 06:20 AM  
Pusikas
A Murloc Raider

Forum posts: 5
File comments: 98
Uploads: 0
Say, I use most of your Broker Addons, and I also use tekticles to change the default font from Fritz to Calibri. This does not work for the tooltips of your brokers, tho. Your addons are the only ones I use that neither change to calibri automagically, nor offer an option to set the font.

Would I have to pester you for support of different fonts, or is Tekkub (author of tekticles) the right address?

(I was kinda assuming, that if all the default system fonts change, the addons using those would change their fonts as well. Maybe I am assuming wrongly here, no idea. )

Edit: Or would it help if I disabled AddonLoader for tekticles? It loads after all the Ara_ Addons, I think?
Last edited by Pusikas : 05-08-09 at 06:22 AM.
Report comment to moderator  
Reply With Quote
Unread 05-05-09, 04:47 PM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 394
Uploads: 9
Originally posted by kergoth
The money formatting is broken for "full" format with a negative value. I presume GetCoinTextureString() expects a positive amount. Perhaps something like:
Code:
mode == "full" and (money < 0 and "-" .. GetCoinTextureString( -money, 0 ) or GetCoinTextureString( money, 0 )) or
instead of the current:
Code:
mode == "full" and GetCoinTextureString( money, 0 ) or
Done, thank you for reporting and not only that
Report comment to moderator  
Reply With Quote
Unread 05-05-09, 11:41 AM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
The money formatting is broken for "full" format with a negative value. I presume GetCoinTextureString() expects a positive amount. Perhaps something like:
Code:
mode == "full" and (money < 0 and "-" .. GetCoinTextureString( -money, 0 ) or GetCoinTextureString( money, 0 )) or
instead of the current:
Code:
mode == "full" and GetCoinTextureString( money, 0 ) or
Report comment to moderator  
Reply With Quote
Unread 04-26-09, 05:11 AM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 394
Uploads: 9
Originally posted by Codex
That initial /rl after the login hella sucks lol. Id assume its because depositbox isnt loading first for some reason, or one of its libraries isnt loaded till the /rl
Im sure DepositBox load first and I don't think the problem comes from libraries.

The event handling is a mess. It uses PLAYER_ENTERING_WORLD, PLAYER_LOGIN and ADDON_LOADED, and the last 2 have the same handler. Also, the ADDON_LOADED handler doesnt check the addon name, so, I concluded it's badly written
Report comment to moderator  
Reply With Quote
Unread 04-25-09, 04:34 PM  
Codex
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 280
Uploads: 12
That initial /rl after the login hella sucks lol. Id assume its because depositbox isnt loading first for some reason, or one of its libraries isnt loaded till the /rl
Report comment to moderator  
Reply With Quote
Unread 04-25-09, 11:13 AM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 394
Uploads: 9
Originally posted by Codex
I have made the change, but the LDB display still shows the total amount. I made sure the ##Title field in depositbox was indeed "DepositBox!". Is there another way?
Uncheck "AC Mode" and reload UI. It works for me; but when I log I need to reload UI first or it won't work at all. Now, I don't know where the problem lies.

I see you're a coder too, try to investigate the problem and keep me posted
Report comment to moderator  
Reply With Quote
Unread 04-25-09, 07:43 AM  
Codex
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 280
Uploads: 12
Originally posted by Aranarth
DepositBox replaces Blizzard's GetMoney() function by it's own. The problem is Ara_Broker_Money makes a local copy of the original before DepositBox is loaded. A simple solution to ensure DepositBox loads first is to open "Ara_Broker_Money.toc" and add the following line:
Code:
## OptionalDeps: DepositBox!
Note that, as a result of this sudden support, the balance history may see a money decrease.
I have made the change, but the LDB display still shows the total amount. I made sure the ##Title field in depositbox was indeed "DepositBox!". Is there another way?
Last edited by Codex : 04-25-09 at 07:44 AM.
Report comment to moderator  
Reply With Quote
Unread 04-24-09, 05:34 PM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 394
Uploads: 9
Originally posted by Codex
I use an addon DepositBox (http://www.wowinterface.com/download....2Release.html) to "hide" some of my gold from being usable and displayed from my bags, however this mod's display still seems to be able to see the "hidden" gold. Any chance to add supprot for depositbox?
DepositBox replaces Blizzard's GetMoney() function by it's own. The problem is Ara_Broker_Money makes a local copy of the original before DepositBox is loaded. A simple solution to ensure DepositBox loads first is to open "Ara_Broker_Money.toc" and add the following line:
Code:
## OptionalDeps: DepositBox!
Note that, as a result of this sudden support, the balance history may see a money decrease.
Report comment to moderator  
Reply With Quote
Unread 04-23-09, 03:04 PM  
Codex
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 280
Uploads: 12
I use an addon DepositBox (http://www.wowinterface.com/download....2Release.html) to "hide" some of my gold from being usable and displayed from my bags, however this mod's display still seems to be able to see the "hidden" gold. Any chance to add supprot for depositbox?
Report comment to moderator  
Reply With Quote
Unread 04-08-09, 03:44 PM  
search66
A Kobold Labourer

Forum posts: 0
File comments: 32
Uploads: 0
Works great! Thanks for the update!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: