Auditor

PLEASE NOTE: Auditor is now made for LibDataBroker (LDB). A list of LDB Display Addons and other addons using LDB can be found here.

If you use FuBar, then just grab Broker2FuBar, and Auditor will merrily show up as it always has done for you, once you have enabled it in the Broker2FuBar options.

Author: Alarisha - alarisha [.at.] gmail [.dot.] com

Description:
Auditor is a nifty addon that tracks your incoming and outgoing money from a variety of sources, and provides an easy to use Data Broker interface to choose whose data you would like to look at, and for what time period. It is, essentially, MoneyFu for those who have obsessive information disorder. Like me. Yes, I *must* know how much I spent on training last week. Why? I dunno. But I must.

Features:
- LDB at last! Yes, your eyes don't deceive you. Probably.
- Money tracking, and lots of it.
- Data separated by realm.
- Character totals.
- Combined totals.
- Clickable tooltip to customise what you can and can't see.
- Ability to look at all your characters' specific data from any of your other characters on that realm.
- Accounts can be viewed per session, day, last seven days, or in their full, all-time glory.
- Cash notification options.
- Optional auto-repairs (per-character preference).
- Optional auto-sell for grey items (per-realm preference).
- Time offsets, so you can set Auditor to reset when dailies reset!
- Many things. Just get it and see!

What does Auditor track?
- Loot money! Whether you are solo, in a party or in a raid.
- Vendor money! Stuff you buy from or sell to vendors.
- Quest money! Money you gain from quests, and money you spend on quests (e.g. the Scholomance Key quest).
- Trade money! Doing enchants or transmutes? Yep, it catches money exchanged in trade.
- Mail money! Sending money to/from your alts or friends? Tracked.
- AH money! At last, both outgoing AND incoming Auction House money is tracked.
- Training money! How much did you spend on training and respecs? Do you care? Well, you'll know anyway.
- Flight money! Spent a day flying about Azeroth? See how much you should claim back on your tax expenses.
- Repairs money! See how much money you really spent on repairing your kit after those instances.
- Unknown money! Money gained/lost, but for whatever reason, Auditor can't work out where it's from. Better than nothing, anyway.
- Reconciliation money! That's money for when you just installed Auditor, and it has to account for the cash you have right now, or for when you crashed, or were logged on at a friend's house. It's all good.
- Guild Bank money! Money you deposit or withdraw from your Guild Bank. Exciting, I know.
- LFG reward money! Guild contributions money! Reforging money!

When does it track it for?
Auditor tracks your money on a per session, per day, per last-seven-days and all-time basis.

Version 4.3.0
* Omg, so much awesome new clicky stuff.
* Right-click now cycles backwards.
* You can now click-through to Absurd and back again. It's pretty awesome. Try clicking a category and see what happens!
* Fix for tooltip not showing with NinjaPanel. Thanks, Torhal! <3

Version 3.2.0
* Finally fixed timezone issues, which was seriously complicated!
* New option: Time Offset - you can use this to make Auditor reset at a time other than midnight, local time. Useful for dailies etc.
* Reworked date storage system: A random side-effect of this is that if you play in a non-English locale, the month should bizarrely be localised for your language!
* Combined totals: You can now access this option by clicking on 'Total' at the bottom of the tooltip. It is a toggleable, per-realm option, and will override the 'Character to show...' option while active.
* PLEASE NOTE: Your seven day audit will be cleared out upon installing this update. Your Total audit will not be affected. Essentially, it will just appear like you haven't logged on for a week. No data is lost!

Version 3.1.0
* Added in optional use of guild bank for auto-repairs. This function also keeps a running total of the amount of guild money you have used so far for repairs, per toon, displayed in chat (like the Cash Notify stuff).
* Reworked Auto-Repair function to work properly with faction reductions. This does, however, mean that Auto-Sell Grey Items mods will screw up the categorisation of repairs. So...
* Added Auto-Sell Grey Items function. This is accessible in the options menu under Merchant Options --> Auto-Sell. If you want to use Auto-Repair and Auto-Sell mods with Auditor, feel free - but the functions now included in Auditor are the only ones 99% likely to work properly. It is defaulted to off, and is a per-realm option.
* Changed menu options and options storage layout. These will be clarified below:
Merchant Options --> Auto-Repair (per-character option), Guild Repair (per-character option) and Auto-Sell (per-realm option).
Cash Notify --> AH, Mailbox, Vendor, Trainer, Guild Bank (per-realm options)
And various other cleanups of tooltip options into better organised categories.
* P.S. Using other Auto-Repair and Auto-Sell mods is cool, like I said, nothing will break - but your Repair and Vendor categories will not maintain accuracy.
* .toc bump for 2.4.

Version 3.0.4
* Fixed some library issues for those running without FuBar.

Version 3.0.3
* Added option to allow display of Realm Total on FuBar, e.g. 101.7g/5342.6g.

Version 3.0.2
* Nil check added for when AuditorFu has been disabled, or hasn't finished loading.

Just come back to game after a 6month break to see the patch changes and getting some of the errors said below. Please find a copy of what my bugsack/grabber had contained with.. hopefully it will be of some help (note I am still running a lot of other addons but this is the only one that flags). If this is of no use and you need me to disable other mods and reproduce the problems then just say

Just come back to game after a 6month break to see the patch changes and getting some of the errors said below. Please find a copy of what my bugsack/grabber had contained with.. hopefully it will be of some help (note I am still running a lot of other addons but this is the only one that flags). If this is of no use and you need me to disable other mods and reproduce the problems then just say

Looks like Broker_Auditor didn't load properly, so you got a ton of errors when Auditor2 tried to call it. I'd just check to make sure you have both the Auditor2 and the Broker_Auditor directories in your AddOns directory, and that you have them both ticked in the AddOn screen.

Auditor does work fine in patch 4, so if you've definitely got both of the folders and addons loaded, I'd check by disabling other (possibly broken) LDB addons, in case one of them is breaking and stopping the Broker part of Auditor loading.

Originally posted by Alarisha Looks like Broker_Auditor didn't load properly, so you got a ton of errors when Auditor2 tried to call it. I'd just check to make sure you have both the Auditor2 and the Broker_Auditor directories in your AddOns directory..... <SNIP>

Heya.. I'll go quietly sit in the corner with my dunce cap on..

Appears I coppied over the original Auditor2 folder but umm.. umm.. perhaps didnt copy the broker one over! (I guess some other people may be as stupid as me so perhaps this will help them out too if they are suddenly getting errors!)

Thanks for the addon, hope all is going well for you outside of WoW (I have done much the same, gone from hardcore raiding 6months ago to just logging on once a week or so).

Appears I coppied over the original Auditor2 folder but umm.. umm.. perhaps didnt copy the broker one over! (I guess some other people may be as stupid as me so perhaps this will help them out too if they are suddenly getting errors!)

Thanks for the addon, hope all is going well for you outside of WoW (I have done much the same, gone from hardcore raiding 6months ago to just logging on once a week or so).

It fires everytime the message "Your share of the loot is XX Silver, XX Copper." or "You loot XX Silver, XX Copper." shows in chat. Is it because line 390 of Core.lua is trying to parse for Gold, but there is none (only Silver and Copper)?

Seems to deliver that error everytime loot is gathered, so by the end of a random Heroic I'll have 30-50 of them in my Bugsack.

EDIT: Okay, take that back. Just ran another random, no errors at all. So basically - I logged in, ran a random, got an error msg on every loot; ran another, got an error on every loot; ran a third, no errors at all. The only difference (besides the instances themselves) was that the one with no error messages, I had a Guildie in the group, the first two were total PuGs.

Would there be any way possible to add to the list the amount you've contributed to the guild funds? You know, the bits that are at the end of the sentence in the chatbox that says how much you've looted, and right after that is how much gets put into the guild funds.

While I realize those funds are not coming out of our own pockets, perhaps it could be a new heading? Like "Guild Gold Contributions"?

Originally posted by Petrah Would there be any way possible to add to the list the amount you've contributed to the guild funds? You know, the bits that are at the end of the sentence in the chatbox that says how much you've looted, and right after that is how much gets put into the guild funds.

While I realize those funds are not coming out of our own pockets, perhaps it could be a new heading? Like "Guild Gold Contributions"?

Just an idea that I would really really love to see in this addon.

I like the idea. Would the total be per character? The only thing that might not be so easy to deal with would be if you change guild - in that situation should the total be cleared, or just keep going?

Originally posted by Alarisha I like the idea. Would the total be per character? The only thing that might not be so easy to deal with would be if you change guild - in that situation should the total be cleared, or just keep going?

Per character would probably be better, especially for people like me with 10 characters and some of them in different guilds.

Hmmm... not sure how you could handle what to do with a toons total if they leave a guild. I suppose the default could be to keep the total, and perhaps have an option to clear it.... giving the user control over it might be the better way to go. Would that be feasible?