The screenshot will tell you everything you'll need to know about this plugin, but basically it's a durability display.
What is DataBroker?
DataBroker is part of a system that's similar to FuBar and its plugins, what you have here is a plugin but you'll also need something to display the output of the plugin. You have many options for this, and I've listed a number of them below for your perusal, just pick the one that interests you the most.
If you want further information, that nice feller tekkub has put together some information on his wiki. And it's good information too, information that you should probably read if you're just getting into DataBroker plugins. (Not to mention that poor old tek puts these pages together and not many people seem to read them, so I thought I'd do my part to help remedy that situation. )
- The errors at load/login have been fixed.
- If you're wearing items that have no durability, Attrition's display will blank itself (no value), and the tooltip will tell you that you're wearing items with no durability. If Attrition is ever blank when you're sure you have at least one item with a durability value, let me know.
- Fix for the login errors (hopefully).
- Drycoded, will be classified as a normal version after testing.
- Added a check at resurrecting, just in case the PLAYER_DEAD event doesn't fire properly (experimentation has shown that it doesn't always). We need our values to stay as accurate as possible, after all.
- The colour has been removed from the toc name, as this caused issues with alphabetical categorisation.
- I've got a new direction with the tooltips, it took me a while to decide on this. It was discussed with a few people too and it was generally and mutually decided that the new direction I'm taking them in is better. So this is the New Unification of Tooltip Styles for my plugins. NUTS v1! I'm pretty much going to model all my DataBroker plugins after this layout, to try to keep them as easy to understand at a glance as possible. The basic idea is: Keybinds at the bottom, the most important information at the top, and all the straggler-lines cushioned in the middle. Credit where credit is due, too; this all started because of a suggestion by Nyte, so kudos for Nyte for giving me reason to think about all this! This is far too long for a changelog update, I know... but necessary!
- I've corrected the toc-version, I am scared and confused by toc-versions.
- Tooltip now shows repair costs, per item and total.
- The 'most damaged item' setting wasn't always updating properly, got that fixed. Silly thing I did really... just forgot to nil a variable.
- When toggling to most damaged, then average, then most damaged again, Attrition would become confused. Attrition has been given a good clout with a cluebat, so this won't happen anymore.
- Added a check to make sure that the guild allows for using its funds to auto-repair items.
- Added a warning saying that if a guild bank's funds can't meet the cost of a repair, the player's own funds will be used. So if anyone doesn't bother to read the warning, that's their own fault and they can't sue me over the loss of the 5g they accidentally spent auto-repairing their armour!
- Thanks to Tristanian who gave me some pointers on how the system for pulling money for repairs for the guild bank works.
- The new settings system wasn't actually saving between sessions due to a stupid mistake I made with the database, fatigue got the best of me there, sorry. That's been fixed, now. And I've learned from the mistake I made there so the upcoming version of The Traveller's Reference, which also has a new settings system, won't suffer that problem.
- Added the option to show the average of damaged items or the most damaged.
- added the option to repair using your own funds or guild-bank funds.
- Put in some code to make sure the tooltip is always the right size, should the amount of text in the tooltip change.
- Due to extra settings, settings now save on a per-character basis.
- Your saved setting for auto-repair will be cleared with this version due to changes in the way the settings are handled. Sorry.
- Fixed a weird bug where the auto-repair feature wouldn't work unless it was enabled > disabled > enabled. It now works as soon as it's enabled the first time, as intended.
- Attrition now tells you exactly how much the repairs cost when auto-repair is on.