Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(87 Kb)
Download
Updated: 02-07-12 04:49 PM
Pictures
File Info
Updated:02-07-12 04:49 PM
Created:10-03-09 02:06 PM
Downloads:3,233
Favorites:29
MD5:
Broker TankInfo
Version: 1.4
by: Sandron [More]
What does this Addon?
This is an addon, which shows defensive stats for tanks in a databroker plugin. You can change the enemy's level, so you can see, what avoidance you have i.e. vs a level 85 enemy.

Bugs and features ;-)
Please report any bugs you discover to me. If you have a feature request, please use the ticket system of curse(forge).com

Help to localize?
Do this at the localization page of CurseForge (http://wow.curseforge.com/addons/ldb-tankinfo/localization/)

License
This addon is released under a Sat's Addon License (included in the package)
------------------------------------------------------------------------
r60 | laroawen | 2012-02-07 22:38:38 +0000 (Tue, 07 Feb 2012) | 1 line
Changed paths:
A /tags/v1.4 (from /trunk:59)

Tagging as v1.4
------------------------------------------------------------------------
r59 | laroawen | 2012-01-25 13:32:51 +0000 (Wed, 25 Jan 2012) | 1 line
Changed paths:
M /trunk/config.lua
M /trunk/core.lua

the Broker display can be updated automatically now
------------------------------------------------------------------------
r58 | laroawen | 2012-01-23 19:28:26 +0000 (Mon, 23 Jan 2012) | 1 line
Changed paths:
A /tags/v1.3 (from /trunk:57)

Tagging as v1.3
------------------------------------------------------------------------
r57 | laroawen | 2012-01-23 19:25:18 +0000 (Mon, 23 Jan 2012) | 1 line
Changed paths:
M /trunk/core.lua

finally added mastery bonus calculation for tank classes (not paladin since they get only block chance)
------------------------------------------------------------------------
r56 | laroawen | 2011-12-14 12:30:40 +0000 (Wed, 14 Dec 2011) | 1 line
Changed paths:
A /tags/v1.2.7 (from /trunk:55)

Tagging as v1.2.7
------------------------------------------------------------------------
r55 | laroawen | 2011-12-14 12:30:13 +0000 (Wed, 14 Dec 2011) | 1 line
Changed paths:
M /trunk/Broker_TankInfo.toc

toc bump for 4.3
------------------------------------------------------------------------
r54 | laroawen | 2011-08-15 15:31:32 +0000 (Mon, 15 Aug 2011) | 1 line
Changed paths:
A /tags/v1.2.6 (from /trunk:53)

Tagging as v1.2.6
------------------------------------------------------------------------
r53 | laroawen | 2011-08-15 15:23:20 +0000 (Mon, 15 Aug 2011) | 2 lines
Changed paths:
M /trunk/core.lua

wrong programming language :/
ticket 7 should be fixed now
------------------------------------------------------------------------
r52 | laroawen | 2011-08-15 15:12:27 +0000 (Mon, 15 Aug 2011) | 2 lines
Changed paths:
M /trunk/core.lua

added enemy level into avoidance calculation
added Night Elf race talent Quickness
------------------------------------------------------------------------
r51 | laroawen | 2011-08-15 14:28:33 +0000 (Mon, 15 Aug 2011) | 1 line
Changed paths:
M /trunk/core.lua

Removed talent block modifiers because of talent changes
------------------------------------------------------------------------
r50 | laroawen | 2011-08-15 12:28:46 +0000 (Mon, 15 Aug 2011) | 1 line
Changed paths:
M /trunk/core.lua

fixed armor damage reduction formula for level 81+ enemies
------------------------------------------------------------------------
r49 | laroawen | 2011-08-10 15:17:08 +0000 (Wed, 10 Aug 2011) | 1 line
Changed paths:
A /tags/v1.2.5 (from /trunk:48)

Tagging as v1.2.5
------------------------------------------------------------------------
r48 | laroawen | 2011-08-10 15:11:40 +0000 (Wed, 10 Aug 2011) | 1 line
Changed paths:
M /trunk/core.lua

fixed missing localization table for critical strike chance reduction talents, should work on non-English clients now (ticket 6)
------------------------------------------------------------------------
r47 | laroawen | 2011-07-14 20:11:28 +0000 (Thu, 14 Jul 2011) | 1 line
Changed paths:
A /tags/v1.2.4 (from /trunk:46)

Tagging as v1.2.4
------------------------------------------------------------------------
r46 | laroawen | 2011-07-14 20:10:47 +0000 (Thu, 14 Jul 2011) | 1 line
Changed paths:
M /trunk/Broker_TankInfo.toc

toc bump
------------------------------------------------------------------------
r45 | laroawen | 2011-04-28 11:09:26 +0000 (Thu, 28 Apr 2011) | 1 line
Changed paths:
A /tags/v1.2.3 (from /trunk:44)

Tagging as v1.2.3
------------------------------------------------------------------------
r44 | laroawen | 2011-04-28 11:07:58 +0000 (Thu, 28 Apr 2011) | 1 line
Changed paths:
M /trunk/Broker_TankInfo.toc

toc bump
------------------------------------------------------------------------
r43 | laroawen | 2011-01-01 13:42:16 +0000 (Sat, 01 Jan 2011) | 1 line
Changed paths:
A /tags/v1.2.2 (from /trunk:42)

Tagging as v1.2.2
------------------------------------------------------------------------
r42 | laroawen | 2011-01-01 13:41:20 +0000 (Sat, 01 Jan 2011) | 1 line
Changed paths:
M /trunk/core.lua

fixed armor damage reduction calculation formula
------------------------------------------------------------------------
r41 | laroawen | 2010-10-30 10:15:15 +0000 (Sat, 30 Oct 2010) | 1 line
Changed paths:
M /trunk/core.lua

fixed typo
------------------------------------------------------------------------
r40 | laroawen | 2010-10-29 19:10:40 +0000 (Fri, 29 Oct 2010) | 2 lines
Changed paths:
M /trunk/config.lua
M /trunk/core.lua

added right-click for options
added rudimentary mastery support (caveat: no bonuses yet)
------------------------------------------------------------------------
r39 | laroawen | 2010-10-24 22:56:25 +0000 (Sun, 24 Oct 2010) | 1 line
Changed paths:
M /trunk/core.lua

added armor changes for level 81+
------------------------------------------------------------------------
r38 | laroawen | 2010-10-14 02:01:27 +0000 (Thu, 14 Oct 2010) | 1 line
Changed paths:
A /tags/v1.2.1 (from /trunk:37)

Tagging as v1.2.1
------------------------------------------------------------------------
r37 | laroawen | 2010-10-14 02:01:01 +0000 (Thu, 14 Oct 2010) | 1 line
Changed paths:
M /trunk/core.lua

fixed bug
------------------------------------------------------------------------
r34 | laroawen | 2010-10-13 19:36:46 +0000 (Wed, 13 Oct 2010) | 1 line
Changed paths:
M /trunk/Broker_TankInfo.toc

toc bump
------------------------------------------------------------------------
r32 | laroawen | 2010-10-11 11:35:51 +0000 (Mon, 11 Oct 2010) | 9 lines
Changed paths:
M /trunk/core.lua

PLEASE DON'T UPDATE BEFORE PATCH 4.0.1! IT WILL BREAK THIS ADDON, IF YOU INSTALL IT ON 3.3.5 AND BELOW!
updated ldb-tankinfo for 4.0.1 tanking changes, including:
- removal of defense
- other changes
known caveats:
- mastery has to be added
- armor damage reduce is inaccurate
i'm currently working at this problems
------------------------------------------------------------------------
r31 | laroawen | 2010-09-18 15:29:09 +0000 (Sat, 18 Sep 2010) | 1 line
Changed paths:
A /tags/v1.1.8 (from /trunk:30)

Tagging as v1.1.8
------------------------------------------------------------------------
r30 | laroawen | 2010-09-18 15:28:19 +0000 (Sat, 18 Sep 2010) | 4 lines
Changed paths:
M /trunk/config.lua
M /trunk/core.lua

- fixed option frame opening
- first launch message is now a message in chat frame
- causes less cpu usage
- other minor fixes
------------------------------------------------------------------------
r28 | laroawen | 2010-09-18 15:02:39 +0000 (Sat, 18 Sep 2010) | 1 line
Changed paths:
M /trunk/core.lua

fixed bug in crit chance calculation
------------------------------------------------------------------------
r25 | laroawen | 2010-08-07 23:31:37 +0000 (Sat, 07 Aug 2010) | 1 line
Changed paths:
A /tags/v1.1.6 (from /trunk:24)

Tagging as v1.1.6
------------------------------------------------------------------------
r24 | laroawen | 2010-08-07 23:31:00 +0000 (Sat, 07 Aug 2010) | 1 line
Changed paths:
A /trunk/libs/LibCopyStuff
A /trunk/libs/LibCopyStuff/LibCopyStuff.lua
M /trunk/libs/libs.xml

added missing library
------------------------------------------------------------------------
r23 | laroawen | 2010-08-05 21:33:20 +0000 (Thu, 05 Aug 2010) | 1 line
Changed paths:
A /tags/v1.1.5 (from /trunk:22)

Tagging as v1.1.5
------------------------------------------------------------------------
r22 | laroawen | 2010-08-05 21:27:22 +0000 (Thu, 05 Aug 2010) | 3 lines
Changed paths:
M /trunk/config.lua
M /trunk/core.lua

- fixed a bug where the button to show the config dialog was shown in the config dialog
- added a button to the config to reset the settings
This will probably be the last update of Broker TankInfo before the Cataclysm ;)
------------------------------------------------------------------------
r21 | laroawen | 2010-03-30 15:12:22 +0000 (Tue, 30 Mar 2010) | 1 line
Changed paths:
A /tags/v1.1.2 (from /trunk:20)

Tagging as v1.1.2
------------------------------------------------------------------------
r20 | laroawen | 2010-03-30 15:10:47 +0000 (Tue, 30 Mar 2010) | 1 line
Changed paths:
M /trunk/libs/libs.xml

fixed a stupid bug, where people, who don't have other Ace-based addons installed, got an error that AceLocale was missing
------------------------------------------------------------------------
r19 | laroawen | 2010-02-28 16:44:19 +0000 (Sun, 28 Feb 2010) | 1 line
Changed paths:
A /tags/v1.1 (from /trunk:18)

Tagging as v1.1
------------------------------------------------------------------------
r18 | laroawen | 2010-02-28 16:43:46 +0000 (Sun, 28 Feb 2010) | 1 line
Changed paths:
M /trunk/core.lua

re-removed some diminishing returns, cause it isn't confirmed that there really are DRs (most sources say, there are none)
------------------------------------------------------------------------
r17 | laroawen | 2010-02-27 21:22:47 +0000 (Sat, 27 Feb 2010) | 2 lines
Changed paths:
A /tags/v1.0.0 (from /trunk:16)

Tagging as v1.0.0
i think it's time to end the beta phase, it's an official release now!
------------------------------------------------------------------------
r16 | laroawen | 2010-02-27 21:22:11 +0000 (Sat, 27 Feb 2010) | 2 lines
Changed paths:
M /trunk/core.lua

added diminishing returns to defensive stats ==> more accurate

------------------------------------------------------------------------
Archived Files (13)
File Name
Version
Size
Author
Date
1.3
85kB
Sandron
01-23-12 01:36 PM
1.2.7
85kB
Sandron
12-14-11 06:52 AM
1.2.5
85kB
Sandron
08-10-11 09:23 AM
1.2.4
84kB
Sandron
07-18-11 10:38 AM
1.2.2
84kB
Sandron
01-01-11 07:49 AM
1.2.1
83kB
Sandron
10-14-10 09:23 AM
1.2.0
83kB
Sandron
10-13-10 02:25 PM
1.1.8
83kB
Sandron
09-18-10 09:34 AM
1.1.6
83kB
Sandron
08-07-10 05:37 PM
1.1.5
82kB
Sandron
08-05-10 03:41 PM
1.1
81kB
Sandron
02-28-10 11:03 AM
1.0.0
81kB
Sandron
02-27-10 03:31 PM
b0.3.1beta
149kB
Sandron
10-03-09 02:06 PM


Post A Reply Comment Options
Unread 09-03-10, 05:15 AM  
Sandron
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 5
Originally posted by Zidomo
Right, but why does it need to check for new data every 5 seconds, in combat or not (or whatever; when I tested, the CPU spiked every 2-3)? Why not just update when someone invokes showing the LDB tooltip/mouses over the LDB display?

As noted before, no other mod tested that provides similar info to TankInfo uses CPU on idle. Likely due to refraining from updating until its actually needed (i.e. a display is shown).
Okay, you may be right, I will change this in a future version, I have not much time at the moment, but it is on top of my to do list.
Sandron is offline Report comment to moderator  
Reply With Quote
Unread 09-02-10, 09:25 AM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1048
Uploads: 0
Originally posted by Sandron
Well, this data isn't really static, it can be changed by buffs, debuffs, and so on. The addon checks for new data every 5 seconds. I think this is, what causes the cpu usage.
Right, but why does it need to check for new data every 5 seconds, in combat or not (or whatever; when I tested, the CPU spiked every 2-3)? Why not just update when someone invokes showing the LDB tooltip/mouses over the LDB display?

As noted before, no other mod tested that provides similar info to TankInfo uses CPU on idle. Likely due to refraining from updating until its actually needed (i.e. a display is shown).
Zidomo is offline Report comment to moderator  
Reply With Quote
Unread 08-15-10, 11:37 AM  
Sandron
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 5
Originally posted by Zidomo
Testing the new v1.1.7dev from Curse (it hasn't been uploaded here), a couple of new problems.

The most serious: this is now using CPU time every 2 to 3 ticks/seconds.

Ace3 have disembedded, other 4 libraries are embedded (CallBackHandler-1.0, LibStub & LibDataBroker-1.1 use no CPU; don't know about the new "LibCopyStuff.lua" that's in this version). Testing with OptionHouse with CPU profiling enabled, Broker_TankInfo v1.1.7dev uses 0.180 CPU/second every 2-3 ticks/seconds (Ace3 on its own medians 0.775 CPU/second continually).

Not a lot, but a mod like this that provides static data should not be using CPU at all. Similar mods such as the aforementioned lowAvoidance & idhitthat as well as Broker_Unhittable, Broker Hittable & so on use no CPU at any time.

Well, this data isn't really static, it can be changed by buffs, debuffs, and so on. The addon checks for new data every 5 seconds. I think this is, what causes the cpu usage.

Second issue is that the new pop-up box when you log on am not a fan of. That info--if its really necessary--could just as easily be put in chat.
I'll think about this.

Another problem with it: the "This is your first launch, thank you for using Broker TankInfo! For configuration, type /tankinfo config into your chat window!" text, although cool, is incorrect. That command does not open the Blizzard options frame.
True, but it should. This is a bug, I will take a look into it. Thank you for the feedback.

The new v1.1.7dev hasn't been uploaded here, because it's a beta.
Sandron is offline Report comment to moderator  
Reply With Quote
Unread 08-12-10, 11:31 AM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1048
Uploads: 0
Testing the new v1.1.7dev from Curse (it hasn't been uploaded here), a couple of new problems.

The most serious: this is now using CPU time every 2 to 3 ticks/seconds.

Ace3 have disembedded, other 4 libraries are embedded (CallBackHandler-1.0, LibStub & LibDataBroker-1.1 use no CPU; don't know about the new "LibCopyStuff.lua" that's in this version). Testing with OptionHouse with CPU profiling enabled, Broker_TankInfo v1.1.7dev uses 0.180 CPU/second every 2-3 ticks/seconds (Ace3 on its own medians 0.775 CPU/second continually).

Not a lot, but a mod like this that provides static data should not be using CPU at all. Similar mods such as the aforementioned lowAvoidance & idhitthat as well as Broker_Unhittable, Broker Hittable & so on use no CPU at any time.

Second issue is that the new pop-up box when you log on am not a fan of. That info--if its really necessary--could just as easily be put in chat.

Another problem with it: the "This is your first launch, thank you for using Broker TankInfo! For configuration, type /tankinfo config into your chat window!" text, although cool, is incorrect. That command does not open the Blizzard options frame.
Zidomo is offline Report comment to moderator  
Reply With Quote
Unread 08-07-10, 05:36 PM  
Sandron
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 5
Originally posted by Zidomo
The new v1.1.5 is bugged. Log on and the following errors are thrown. The mod doesn't load either:

1x Broker_TankInfo-v1.1.5\core.lua:12: attempt to call field 'OnClick' (a nil value)
&
1x Broker_TankInfo-v1.1.5\config.lua:60: attempt to call field 'copy' (a nil value)

USEnglish client/server, WoW 3.3.5 live, StatBlockCore LDB display. The prior v1.1.2 produces no errors at logon or any other time.

Fixed in 1.1.6, uploading right now

Second problem that is also present in v1.1.2. The data this provides doesn't align with that provided by other, similar mods.

For example, on a level 65 Paladin tank with 395 defense (& so on), Broker_TankInfo v1.1.2 states that vs. a level 68 mob/boss: "Chance to get critically hit: 13.4%". But with the following mods, the chance to get critically hit stated is much less vs. a level 68:
--lowAvoidance: 2.17%
--idhitthat (a fork of lowAvoidance): same
--Stomped Shear (vs. a level 68 targeted): 5.60%

So not sure what your incoming crit chance formula is, but it sure seems "off" compared with these other mods. Unless there is a mistake where it is actually calculating vs. a level 83 boss target, even though the character is only 65.
Did you check the enemy level in settings?
Edit: confirmed, this is a bug, going to fix this.
Last edited by Sandron : 08-07-10 at 05:46 PM.
Sandron is offline Report comment to moderator  
Reply With Quote
Unread 08-07-10, 04:40 AM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1048
Uploads: 0
The new v1.1.5 is bugged. Log on and the following errors are thrown. The mod doesn't load either:

1x Broker_TankInfo-v1.1.5\core.lua:12: attempt to call field 'OnClick' (a nil value)
&
1x Broker_TankInfo-v1.1.5\config.lua:60: attempt to call field 'copy' (a nil value)

USEnglish client/server, WoW 3.3.5 live, StatBlockCore LDB display. The prior v1.1.2 produces no errors at logon or any other time.

Second problem that is also present in v1.1.2. The data this provides doesn't align with that provided by other, similar mods.

For example, on a level 65 Paladin tank with 395 defense (& so on), Broker_TankInfo v1.1.2 states that vs. a level 68 mob/boss: "Chance to get critically hit: 13.4%". But with the following mods, the chance to get critically hit stated is much less vs. a level 68:
--lowAvoidance: 2.17%
--idhitthat (a fork of lowAvoidance): same
--Stomped Shear (vs. a level 68 targeted): 5.60%

So not sure what your incoming crit chance formula is, but it sure seems "off" compared with these other mods. Unless there is a mistake where it is actually calculating vs. a level 83 boss target, even though the character is only 65.
Last edited by Zidomo : 08-07-10 at 05:15 AM.
Zidomo is offline Report comment to moderator  
Reply With Quote
Unread 02-27-10, 09:27 PM  
Sandron
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 5
Originally posted by Taryble
Why did you choose a level 85 enemy?

There are no enemies in the game that are level 85 currently - the highest are raid bosses, which are level 83.
The default enemy level is player level plus 3, which should be 83. You can change this to higher levels, i.e. when Cataclysm comes out or if you're doing forbidden things (I hope you won't). If you don't use this feature, where's the problem? ;-)
Sandron is offline Report comment to moderator  
Reply With Quote
Unread 02-27-10, 07:18 PM  
Taryble
A Molten Giant
 
Taryble's Avatar

Forum posts: 811
File comments: 37
Uploads: 0
Why did you choose a level 85 enemy?

There are no enemies in the game that are level 85 currently - the highest are raid bosses, which are level 83.
__________________
-- Taryble
Taryble is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.