Addon Info.
Change Log
Archived (10)
Comments (9)
  Category: Data Broker
Addon Information
Works with WoTLK
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
VagrantEsha's Portal Bug Reports Feature Requests
Author:
Version:
2.4.3-1.4
Date:
08-30-2008 04:00 AM
Size:
8.77 Kb
Downloads:
1,907
Favorites:
104
MD5:
Pictures
Click to enlarge
Attrition   Popular!
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
  Change Log - Attrition
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.
  Archived Versions - Attrition
File Name
Version
Size
Author
Date
2.4.3-1.4-Test
9kB
VagrantEsha
08-29-2008 03:39 PM
2.4.3-1.3
9kB
VagrantEsha
08-28-2008 11:52 AM
2.4.3-1.2
9kB
VagrantEsha
08-28-2008 04:18 AM
2.4.3-1.1
9kB
VagrantEsha
08-27-2008 06:20 AM
2.4.3-1.0
9kB
VagrantEsha
08-26-2008 03:11 PM
2.4.3-0.9
9kB
VagrantEsha
08-26-2008 12:17 PM
2.4.3-0.8
9kB
VagrantEsha
08-26-2008 07:39 AM
2.4.3-0.6
8kB
VagrantEsha
08-26-2008 03:56 AM
2.4.3-0.5
8kB
VagrantEsha
08-24-2008 05:30 PM
2.4.3-0.4
8kB
VagrantEsha
08-24-2008 03:35 PM
  Comments - Attrition
Post A Reply
Author Comments Comment Options
Old 11-10-2008, 10:02 AM  
WayfarerOmega
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
I just installed Attrition with Fortress. It's not listing the shoulder slot items of any of my characters. It's also not listing 2h weapons and on a character who is dual wielding 2 Light Emberforged Hammers it only lists one hammer in the tooltip. These are all items with durability. Am I doing something wrong?
WayfarerOmega is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-01-2008, 11:05 AM  
saltorio
A Murloc Raider
 
saltorio's Avatar

Forum posts: 8
File comments: 143
Uploads: 0
Quote:
Originally posted by saltorio
It isn't showing for me using FuBar + Broker2FuBar.

There's no options for it in B2F, and I can't pull up any kind of command via the console.
OK. NM regarding FuBar2Broker. I've dropped FuBar in favor of Fortress (where Attrition works perfectly).

Request:
I'd love to have a 3rd column that lists the slot of the item in the tooltip. It's great having the actual name of the item, but for quick reference it's nice to be able to look at the tooltip and see "Head" with a durability listing next to it.

My suggestion would be to have such a column as the first column, followed by the item name (left justified), and then the durability (right justified).

Thanks, and keep up the wonderful work.
saltorio is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-30-2008, 07:29 PM  
saltorio
A Murloc Raider
 
saltorio's Avatar

Forum posts: 8
File comments: 143
Uploads: 0
It isn't showing for me using FuBar + Broker2FuBar.

There's no options for it in B2F, and I can't pull up any kind of command via the console.
saltorio is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-18-2008, 08:44 PM  
Torhal
A Murloc Raider
 
Torhal's Avatar
Interface Author - Click to view interfaces

Forum posts: 9
File comments: 17
Uploads: 3
Quote:
Originally posted by VagrantEsha
That's actually by design. If no durability values are found, then the mod shows "Loading..." on the basis that it's hoping that it'll eventually be shown durability values. I'm open to suggestions as to what I should change it to, though. But indeed, I expected that that would happen for characters who're wearing clothes with no durability.
I'd suggest just defaulting to 100% as there is no damage to be reported and it's aesthetically better than "Loading..."

Minor bug report here: After I repair, the data object is not updated until I click on it. The first time it happened I thought Attrition was lying to me about repairing my gear...
Torhal is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-30-2008, 12:46 AM  
VagrantEsha
Premium Member
 
VagrantEsha's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 20
File comments: 220
Uploads: 32
That's actually by design. If no durability values are found, then the mod shows "Loading..." on the basis that it's hoping that it'll eventually be shown durability values. I'm open to suggestions as to what I should change it to, though. But indeed, I expected that that would happen for characters who're wearing clothes with no durability.
VagrantEsha is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-29-2008, 07:37 PM  
Vytae
A Murloc Raider

Forum posts: 4
File comments: 46
Uploads: 0
well the issues are gone YAY
but I did come across one weird thing.. when using my bank alt, the text displays "Loading" as opposed to showing the % of durability.
She is wearing the green holiday outfit and I'm guessing since it doesn't have a durability rating, the mod is unsure on what to do so it just stays at "Loading"..
Vytae is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-29-2008, 03:41 PM  
VagrantEsha
Premium Member
 
VagrantEsha's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 20
File comments: 220
Uploads: 32
This is really odd, because I don't actually have those errors at all. I use attrition regularly on both my Tauren and Night Elf characters, and I've not seen hide nor hair of it. It's downright peculiar.

The problem here is that I'm fixing in the dark, I have absolutely no idea what I'm supposed to be fixing. So I'm passing this along to those having the error, could you test the latest version and let me know? This is fortuitous because right now I'm unable to test it myself.
VagrantEsha is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-29-2008, 12:10 PM  
Vytae
A Murloc Raider

Forum posts: 4
File comments: 46
Uploads: 0
Getting an error

Quote:
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
Quote:
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-2008 at 03:05 PM.
Vytae is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-27-2008, 07:42 PM  
Pseudopod
A Kobold Labourer

Forum posts: 0
File comments: 27
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]?)
Pseudopod is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:



The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOUI | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


MMOInterface.com Copyright ©2008
World of Warcraft is a registered Trademark of Blizzard Entertainment.
vBulletin - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.