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.

Originally posted by SqueeG I know it's not common, but there are soulbound grey items in the game, if you could throw in a check for soulbound before trying to sell them, I would be super grateful. (It means I wouldn't have to do it after an update xD)

Also, an observation...
Compared to my former auto-seller, the auditor auto-sell seems a bit slow, I haven't pinned down why, though.

I've used this mod for.....gosh... 2? 3? years now, and love it. So I'd also like to say thank you So, Thank You. ^_^

I haven't been playing for a while now, actually, because I got a bit bored and stuff, but will probably be back for Cataclysm - if you want to PM or mail me the code you're using for soulbound checking, I'll put it in for the next update - probably post Cataclysm

Regarding the auto-selling: you're right, it is slower that other auto-sellers, but on purpose. It used to be fine for auto-sell and auto-repair to be immediate, but since Shattrath and then Dalaran, the game started lagging quite a bit when auto-selling items in these places. What that meant was that the code for checking for merchant-sold items got confused and ended up putting insta-sold items in the Unknown category, or accidentally putting it in the Repairs category if you also had auto-repair mods (hence the inclusion of these two things in Auditor, so that they got categorised properly). So anyways, the only way round it was to force a little delay.

I know it's not common, but there are soulbound grey items in the game, if you could throw in a check for soulbound before trying to sell them, I would be super grateful. (It means I wouldn't have to do it after an update xD)

Also, an observation...
Compared to my former auto-seller, the auditor auto-sell seems a bit slow, I haven't pinned down why, though.

I've used this mod for.....gosh... 2? 3? years now, and love it. So I'd also like to say thank you So, Thank You. ^_^

Originally posted by lookstwice Great addon. But I do have a question. I'm going to be changing the names of one of my characters, what do I need to do to keep the history intact? Will it know or will it be starting from scratch?

Thanks.

Auditor won't know that you've changed your character's name, but it is possible to manually poke the saved variables file. If you open the saved variables up and search for your character's name, you can replace it with the new name.

You'll have to do this in a few places, as Auditor uses character names in more than one table, but it isn't too hard to do. A simple Replace type command in Notepad should do the trick.

Do please back up/take a copy of your saved variables before you go ahead, though, because if you make a mistake, you could end up junking all your data!

Not a big deal, but I notice that when I repair or sell things using my Travelers Tundra Mammoth the source comes up as "Unknown". (Although I'm not sure if this happens ALL the time.) Is there a way to make those vendors on the mammoth come up as a Vendor source?

Originally posted by AmiYuy Is there a reason Auditor is defaulting to individual profiles for all of my toons instead of to "Default"? I'd rather not have to go in and specify the profile on every single toon. That kind of defeats the purpose of having a Default profile, doesn't it?

It's basically just to annoy you.

Seriously, though, it's because back in the day I had a lot of requests for individual profiles to be the default, due to different toons having different settings regarding notifications, repairs, guild repairs, default views, auto-sell etc etc.

The 'default' profile in this case is really just that - a default, starter profile, with generally decent settings.

Is there a reason Auditor is defaulting to individual profiles for all of my toons instead of to "Default"? I'd rather not have to go in and specify the profile on every single toon. That kind of defeats the purpose of having a Default profile, doesn't it?

Originally posted by Alarisha Hey there! I won't be adding this to Auditor, as Auditor is really all about money and where it comes from and where it goes. The currencies display is really totally separate from your money incomings and outgoings, although I have been thinking about adding it in as an optional module.

Please do? =) I really would like to favor Auditor over other similar addons.

Any chance you'll add support for other currencies also (like broker_currency) (dalaran cooking awards, champions seal etc.)? Would be really nice to have all currencies in one addon

Hey there! I won't be adding this to Auditor, as Auditor is really all about money and where it comes from and where it goes. The currencies display is really totally separate from your money incomings and outgoings, although I have been thinking about adding it in as an optional module.