Download
(9Kb)
Download
Updated: 08-30-08 02:00 AM
Pictures
File Info
Updated:08-30-08 02:00 AM
Created:unknown
Downloads:6,620
Favorites:108
MD5:

Attrition  Popular! (More than 5000 hits)

Version: 2.4.3-1.4
by: VagrantEsha [More]

Attrition: A DataBroker Plugin

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.

- Fortress: http://www.wowinterface.com/downloads/info10401-Fortress.html
- ButtonBin: http://www.wowinterface.com/downloads/info10474-ButtonBin.html
- StatBlockCore: http://www.wowinterface.com/downloads/info9221-StatBlockCore.html
- MakeRocketGoNow: http://www.wowinterface.com/downloads/info9771-MakeRocketGoNow.html
- Carousel: http://www.wowinterface.com/downloads/info10295-Carousel.html
- Titan: http://www.wowinterface.com/downloads/info8092-TitanPanel.html

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. )

http://github.com/tekkub/libdatabroker-1-1/wikis

2.4.3-1.4

- 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.

2.4.3-1.4-Test

- Fix for the login errors (hopefully).
- Drycoded, will be classified as a normal version after testing.

2.4.3-1.3

- 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.

2.4.3-1.2

- The colour has been removed from the toc name, as this caused issues with alphabetical categorisation.

2.4.3-1.1

- 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.

2.4.3-1.0

- Tooltip now shows repair costs, per item and total.

2.4.3-0.9

- 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.

2.4.3-0.8

- 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.

2.4.3-0.7

- 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.

2.4.3-0.6

- 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.

2.4.3-0.5

- 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.

2.4.3-0.4

- First release on WoWI.
Post A Reply Comment Options
Unread 08-29-08, 10:10 AM  
Vytae
A Murloc Raider

Forum posts: 6
File comments: 62
Uploads: 0
Getting an error

Interface\AddOns\Attrition\Embeds\LibCrayon.lua:68: attempt to compare nil with number
[C]: ?
Interface\AddOns\Attrition\Embeds\LibCrayon.lua:68: in function <Interface\AddOns\Attrition\Embeds\LibCrayon.lua:54>
(tail call): ?
Interface\AddOns\Attrition\Embeds\LibCrayon.lua:109: in function `GetThresholdColor'
Interface\AddOns\Attrition\Embeds\LibCrayon.lua:123: in function `GetThresholdHexColor'
Interface\AddOns\Attrition\Attrition.lua:103: in function <Interface\AddOns\Attrition\Attrition.lua:44>
This happens on login and UI reset. Any idea what could be causing it?

Now this error is popping up
Interface\AddOns\Attrition\Attrition.lua:101: attempt to perform arithmetic on local 'average' (a nil value)
[C]: ?
Interface\AddOns\Attrition\Attrition.lua:101: in function <Interface\AddOns\Attrition\Attrition.lua:44>
very odd
Last edited by Vytae : 08-29-08 at 01:05 PM.
Report comment to moderator  
Reply With Quote
Unread 08-27-08, 05:42 PM  
Pseudopod
A Deviate Faerie Dragon

Forum posts: 16
File comments: 104
Uploads: 0
Any plans on displaying more detailed repair cost info in some form? I'd like to know the repair costs for no discount / exalted discount (those damn repair bots are expensive). It's the only thing that keeps me using FuBar_DurabilityFu, no databroker plugin supports that info afaik. But your displays the single item repair costs so that's really nice. (but made me wonder about the repair cost discounts, maybe an option to set it to display the cost for [your chosen faction repair discount level]?)
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: