This AddOn was primarily intented just to be my first foray into mod programming - but I thought I would share my (trivial) effort.
AbramsFu is a simple FuBar plugin that displays Avoidance and estimated Damage Reduction on the FuBar, with some more information and a breakdown on the tooltip. Its inspired by mods like Tankpoints and Uncrushable, and I looked over these apps when writing AbramsFu - I just wanted the information on the FuBar, easy to see.
This is version 1.0, so it may have some rough edges - although I don't believe that there are any crash-type bugs in it. In particular, I need to work on the DR portion - right now its only considering armor, and not any buffs or talents the player may have.
Note that it estimates the Damage Reduction using the level of your target - or your own level, if no one is targeted.
AbramsFu uses the new Rock libraries - mainly because I'm a fan of ckknight's mods, and I thought I'd try out the libraries/framework.
Please feel free to comment/critique in this thread - any advice is certainly appreciated, as this is my first mod.
[NOTE: I previously started this thread in the General category...then it occurred to me that it should be here. Sorry 'bout that]
I like it so far! For the avoidance % number, I assume you're using (Base 5% miss + bonus miss from defense + dodge % + parry % + block %)? Would it also be possible to include a crushing blow % calculation?
I like it so far! For the avoidance % number, I assume you're using (Base 5% miss + bonus miss from defense + dodge % + parry % + block %)? Would it also be possible to include a crushing blow % calculation?
Well, its my hope that eventually all of the combat table results will appear in the tooltip.
Currently, yes, the avoidance is based on the formula you described. I'm looking into other apps like TankPoints to try to understand how all the numbers go together - then I'll certainly add them.
After the changes/fixes made since I last tried it (comments in the original thread), this is progressing nicely. Stats are accurate and so on. Just need more stats ;).
One major issue with the current r52280 on FuBar 3.0, though. It places numerical text on FuBar...with no way to remove it unless you turn the mod off. The text takes up a very large chunk of FuBar space, which is a problem.
Most/nearly all FuBar plugins have an option to remove the bar text, yet still have access to the mod via a small icon (what I'm suggesting here). As well, with most you can have the icon in addition to the text for those that don't mind a lot of space used.
Implementing those standard FuBar mod options would make this a bit more usable.
One major issue with the current r52280 on FuBar 3.0, though. It places numerical text on FuBar...with no way to remove it unless you turn the mod off. The text takes up a very large chunk of FuBar space, which is a problem.
Most/nearly all FuBar plugins have an option to remove the bar text, yet still have access to the mod via a small icon (what I'm suggesting here). As well, with most you can have the icon in addition to the text for those that don't mind a lot of space used.
Implementing those standard FuBar mod options would make this a bit more usable.
You could even take that further and also have an option for # of significant digits in the FuBar text. I agree with Zidomo, this is coming along real nice.
One thing which would be nice to see would be an option to set a default level to use when there's no target (i.e. an option to use one's own level as currently or a user-specified level). Once you've got that and all the stats, I think you have pretty much all the functionality one could wish for in such an addon (that I can think of anyway :) ).
You could even take that further and also have an option for # of significant digits in the FuBar text. I agree with Zidomo, this is coming along real nice.
One thing which would be nice to see would be an option to set a default level to use when there's no target (i.e. an option to use one's own level as currently or a user-specified level). Once you've got that and all the stats, I think you have pretty much all the functionality one could wish for in such an addon (that I can think of anyway :) ).
Changed:
-- Localization (english only, so far) put into its own file.
Added:
-- Icon on FuBar; Just using Devotion Aura right now
-- Toggles for displaying AV and DR (either/or/both) on FuBar
-- Configurable display precision (decimal points)
-- Configurable Baseline level (0=player's level)
-- Toggles for Always Using Baseline (instead of using target,
when available)
-- Separated configuration into groups
ToDo:
-- Make a custom icon...
-- Work on Armor Stats
-- Work on DR Stats
-- Add durability stats ???
-- Add threat stats ???
Message: ..\AddOns\FuBar_AbramsFu\AbramsFu.lua line 3:
Bad argument #3 to `NewAddon'. Library "LibFuBarPlugin-3.0" is not found.
I have removed the addon and installed the new ver that you posted a couple hours ago and still no luck. I have looked and LibFuBarPlugin-3.0 is in the Abrams dir so I am at a bit of a loss on what to do now.
Message: ..\AddOns\FuBar_AbramsFu\AbramsFu.lua line 3:
Bad argument #3 to `NewAddon'. Library "LibFuBarPlugin-3.0" is not found.
I have removed the addon and installed the new ver that you posted a couple hours ago and still no luck. I have looked and LibFuBarPlugin-3.0 is in the Abrams dir so I am at a bit of a loss on what to do now.
Any help would be great.
My apologies for your difficulties. I don't use the embedded libraries, so I guess I haven't tested that as well as I should have. In looking at other apps, I note that they tend to put the embeds.xml before thhhe app.lua file...which makes sense, now that I think about it - the app needs to have those libraries loaded. So I have swapped some entries in thee .toc file in release 52413 - please let me know if that works.
Oops, should have clarified my feature request (thanks for working on it so quickly though!): I thought it would be nice to have control of the significant digits in the FuBar text, not the panel (though that's nice too). Space is usually at a premium on a Fu bar, so people would likely want the shorter numbers there. On the tablet however, people probably want to see more digits. So, separate controls for significant digits on the bar text vs. panel (or just for the bar text and always show full digits in the panel, might make a simpler UI that way).
Changed:
-- Split the precision for ToolTip and FuBar text (can be different).
Added:
-- Can display armor on FuBar
-- Can display labels (none, short, long) on FuBar
-- Can turn off sections in the ToolTip
Great minimalistic addon. Could you take resilience and talents into consideration for crit chance? The druid talent Survival of the fittest is ignored at the moment. Each point spent reduces the chance of a crit by 1%.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
AbramsFu is a simple FuBar plugin that displays Avoidance and estimated Damage Reduction on the FuBar, with some more information and a breakdown on the tooltip. Its inspired by mods like Tankpoints and Uncrushable, and I looked over these apps when writing AbramsFu - I just wanted the information on the FuBar, easy to see.
This is version 1.0, so it may have some rough edges - although I don't believe that there are any crash-type bugs in it. In particular, I need to work on the DR portion - right now its only considering armor, and not any buffs or talents the player may have.
Note that it estimates the Damage Reduction using the level of your target - or your own level, if no one is targeted.
AbramsFu uses the new Rock libraries - mainly because I'm a fan of ckknight's mods, and I thought I'd try out the libraries/framework.
Please feel free to comment/critique in this thread - any advice is certainly appreciated, as this is my first mod.
[NOTE: I previously started this thread in the General category...then it occurred to me that it should be here. Sorry 'bout that]
Well, its my hope that eventually all of the combat table results will appear in the tooltip.
Currently, yes, the avoidance is based on the formula you described. I'm looking into other apps like TankPoints to try to understand how all the numbers go together - then I'll certainly add them.
The mod now requires, for the moment, StatLogic-1.0.
One major issue with the current r52280 on FuBar 3.0, though. It places numerical text on FuBar...with no way to remove it unless you turn the mod off. The text takes up a very large chunk of FuBar space, which is a problem.
Most/nearly all FuBar plugins have an option to remove the bar text, yet still have access to the mod via a small icon (what I'm suggesting here). As well, with most you can have the icon in addition to the text for those that don't mind a lot of space used.
Implementing those standard FuBar mod options would make this a bit more usable.
Excellent idea - I'll work on that next.
One thing which would be nice to see would be an option to set a default level to use when there's no target (i.e. an option to use one's own level as currently or a user-specified level). Once you've got that and all the stats, I think you have pretty much all the functionality one could wish for in such an addon (that I can think of anyway :) ).
Also excellent ideas....thanks!
If I add the line:
AbramsFu:SetFuBarOption("iconPath", "Interface\\Icons\\Spell_Holy_DevotionAura" )
The mod fails to load. Take it out, things are peachy. I'll poke around the lists and such, but if anyone knows anything, chime up :)
Likely the most reliable way to simply put in the specific icon listed above to allow non-text mod access:
(assuming Spell_Holy_DevotionAura actually exists).
Stupid mistake - it _was_ loading, but the Show Icon and Show Text both flipped to false for some reason :-P
Changed:
-- Localization (english only, so far) put into its own file.
Added:
-- Icon on FuBar; Just using Devotion Aura right now
-- Toggles for displaying AV and DR (either/or/both) on FuBar
-- Configurable display precision (decimal points)
-- Configurable Baseline level (0=player's level)
-- Toggles for Always Using Baseline (instead of using target,
when available)
-- Separated configuration into groups
ToDo:
-- Make a custom icon...
-- Work on Armor Stats
-- Work on DR Stats
-- Add durability stats ???
-- Add threat stats ???
Let me know if there are issues!
Message: ..\AddOns\FuBar_AbramsFu\AbramsFu.lua line 3:
Bad argument #3 to `NewAddon'. Library "LibFuBarPlugin-3.0" is not found.
I have removed the addon and installed the new ver that you posted a couple hours ago and still no luck. I have looked and LibFuBarPlugin-3.0 is in the Abrams dir so I am at a bit of a loss on what to do now.
Any help would be great.
My apologies for your difficulties. I don't use the embedded libraries, so I guess I haven't tested that as well as I should have. In looking at other apps, I note that they tend to put the embeds.xml before thhhe app.lua file...which makes sense, now that I think about it - the app needs to have those libraries loaded. So I have swapped some entries in thee .toc file in release 52413 - please let me know if that works.
Now to start playing around with it. :-)
Changed:
-- Split the precision for ToolTip and FuBar text (can be different).
Added:
-- Can display armor on FuBar
-- Can display labels (none, short, long) on FuBar
-- Can turn off sections in the ToolTip
an option to show total block value in the tooltip, if it's allready in im sorry..
Thanks in advance.
I'll look into it.