Download
(20Kb)
Download
Updated: 01-03-09 01:00 PM
Pictures
File Info
Updated:01-03-09 01:00 PM
Created:unknown
Downloads:7,801
Favorites:48
MD5:

ActionButtonText  Popular! (More than 5000 hits)

Version: 1.02
by: kerrang [More]

ActionButtonText - Version 1.02
(formerly known as O.B.I. - On Button Information - users should check the 0.9 upgrade notes for details)
by <Damage Inc> of (EU)Draenor - email damageinc [at] theedgeofthevoid.com

Adds text to your actionbuttons including
Last Damage/Heal Done or Miss (Block/Parry/Dodge)
Casts until OOM
Combo Points
Energy Deficit (Energy or Ticks)
Rune Power Deficit (Death Knights)
Buff/Debuff remaining time/stacks
Supports spells,items and macros

Tested with standard Blizzard Action Bars, Bartender3/4, Bongos2/3, Trinity 1.0/2.0(*), CogsBar, Dominos, idActionBar and nMainBar
Should work with any bar addon which is based on the Blizzard Action Bars
(*) Trinity 2.0 needs a small 'hack' to make it work - see "Changes in Version 0.5" for details (at the end of this document)


How to add ActionButtonText to your actionbuttons
Type /abt (or access ActionButtonText from Menu>>Interface>>Addons)

Presets specific to you race/class are shown here - simply tick the ones you'd like to use.

To change font size/color/position - or to create your own ActionButtonTexts - click through to the Configuratron


ActionButtonText Configuratron! (/abt config)
Select an existing Spell or "New ActionButtonText" to create a new ActionButtonText (/abt add)
Spells which begin "PRESET" are created by the Presets you selected - you can edit these if you wish.

Add ActionButtonText to which buttons
Spell/Item/Macro: (the only thing you MUST enter)
A full (or partial e.g. "Seal of") spell, item (or macro) name.
Note: Any text preceding a # is NOT included when matching spells/items/macros - it's just to comment/describe the ActionButtonText e.g. MYABT#SEAL OF

Search Tooltip?:
Whether Spell/Item/Macro should be matched against the spell/item/macro tooltip rather than just the name

What ActionButtonText to show about Spell(s)
Show Damage/Heal/Miss/Block/Parry
Checking this will show the amount of damage or healing done or a miss (block, parry etc.)

Show Casts until OOM?
Show how many times you can cast a spell with your current mana
No=never, Yes=always, 1-9 =show when this or fewer casts remain

Show CPs?
Show Combo Points on your current target.
No=never, 0=always, 1=show 1 or more CPs

Show Energy Deficit
Shows how much energy you need before you can use an ability.
No=never, As Energy=shows energy required, As Ticks=shows energy ticks required

Show RP Deficit
Shows how much Rune Power you need before you can use an ability.
No=never, In-Combat=shows deficit only when in-combat, Always=shows deficit everywhere

What ActionButtonText to show about Buff/Debuff(s)
Buff:
A full (or partial e.g. "Poison") buff/debuff you wish to track
If blank, defaults to the spell matched (e.g. "Seal of Righteousness")

Debuff?
Whether the Buff is actually a Debuff (e.g. "Recently Bandaged" or "Shadow Word: Pain")

Anyones?
Whether to show a Buff/Debuff from any source (by default only your own Buffs/Debuffs will appear)

Player/Target/Pet
Whether the Buff/Debuff appears on the PLAYER, TARGET or PET

Hide Time?
Check if you DON'T want to see time remaining on the Buff/Debuff

Show Stacks?
Check if you want to see number of stacks of the Buff/Debuff

How ActionButtonText should look
You can set the Position, Font Size, Style and Color for the ActionButtonText text here
The example button shows how it will look.

Save Changes/Cancel Changes/Delete this ActionButtonText
Are self-explanatory...


How to add macros
Macros are identified by reading their tooltip.
You can either 'force' a spellname to show using #showtooltip or you can add the macroname as a 'Spell'

Example 1 - forcing spellnames inside the macro
#showtooltip judgement
[macro code]
This will behave as if you were using the Judgement spell

Example 2 - referencing the macroname
In /abt, select "New ActionButtonText" and enter the macroname in 'Spell'
Spell: TESTMACRO
Buff: SEAL OF
This will show the remaining time on any "Seal of" spell on macro "TESTMACRO"

Macros which use modifiers to change the spell being cast also work
#showtooltip
/cast [modifier:alt] seal of command; seal of righteousness
This will show remaining time on SoR normally and SoC if [ALT] is held down


FAQ
Q - Is this an ACE/ACE2/ACE3 Mod?
A - No - partly because I'm not familiar with ACE and partly because it wouldn't greatly benefit from ACE's framework/libraries.
It's very low-cpu and low-memory - it typically uses < 60kb memory and less than .1% CPU

Q - ActionButtonText seems to use quite a lot of CPU time
A - ActionButtonText has to check the status of buffs/spells and update upto 120 actionbuttons AT LEAST once a second.
It works constantly - even out of combat - hence it will clock-up CPU time constantly.
I've never seen it exceed 1% usage at any one time and it's overall usage is always less than my actionbars/inventory addon tho.
and my PC is old and creaky!!


Known Issues
Q - The 'example' button on the config. screen is black/invisible.
A - It's icon/texture is taken from from the spell you enter OR from ActionButton1
If neither exist/are valid - nothing will appear here...


Credits

Credit to Gagorian for his addon DrDamage
His code for finding and adding text to actionbuttons (Blizzard AND addon-based) was ENORMOUSLY helpful

Credit to Mikk for MSBT - the MSBTOptions frame creation code is used as-is for the Configuratron

My thanks go to these authors for granting permission to use their code...

1.02
BUFFNAME can now contain multiple names separated by "~" (or)
It's possible to show anyone's buffs/debuffs (by default only your own will appear)
The longest duration buff/debuff will be shown when more than one (by name or caster) is matched

1.01
Fixed 'seeing other peoples buffs' as per 3.0.2. changes
Removed Weaponbuff 'test' code
Removed 'absorb' code
Removed OBI_ references
Added API - initial support for ShieldLeft addon

1.00
Fixed width of Delete button in config panel
Fixed issue with Druid 'Mangle' for debuffs...
Changed the Paladin 'Judgement' default to account for the multiple Judgements now possible
Removed 'IF_WRATH' code
Removed all code backwards compatible with O.B.I. - O.B.I. users should upgrade 'through' Version 0.9

0.91
3.0.2. optionsframe change made

0.9
Renamed to ActionButtonText
Slash command now /abt ...
Former O.B.I. users:
Keep O.B.I. installed the first time you login with ActionButtonText (for each character you play) and their settings will be copied over
Once this has been done for every character, you can then delete O.B.I.
You MAY see some odd things with both mods active, but at least you won't lose your settings...

0.8
Fixed error caused by "numeric" macronames being mistaken for spellids
Fixed error which could cause 'Damage/Miss' to be toggled 'on' when it shouldn't have been
Death Knight: Removed Rune Timers (as cooldown addons now work AOK with Rune-based spells)
Code heavily rewritten to reduce reliance on globals

0.7
Font Size now goes down to 8pt (for the more eagle-eyed out there!)
Font Style now includes 'NORMAL' - which means "no border" (another one for the 20-20 vision squad!)
Configuratron! reorganised to make it a bit easier to use (I hope!)
Configuratron! now shows options relevant to your class only (e.g. CTOOM to mana classes, CPs to Rogues/Druids, Runes to DeathKnights etc.)
Tooltips/Hints added to the Configuratron!
"/abt add" will take you straight to the 'Create New ActionButtonText' screen
Death Knights: Runic Power Deficit added - can be showm in-combat or 'always' - new Preset added to put this on all spells which use RP
Hunters: "PET" added as a Buff/Debuff Unit - new preset for Mend Pet added
Support for the WOTLK release of Trinity 2.0 (no hack will be required once that is released)

0.6a
Fixed problem with items on bars in Trinity 2.0

0.6
Better support for Clearcasting on EDEF and CTOOM (shows "00" when Clearcasting active)
idActionBar and nMainBar now supported and some problems with Dominos fixed
Warriors rejoice I remembered to put your ActionBar back in this time! (SORRY!)
DeathKnight Rune Timers added - shows time until all runes spell requires are available - understands death runes - assumes no spell uses more than 1 of a 'type'
TARGET is now a choice of PLAYER/TARGET only - existing ActionButtonText which used black, PLAYER or TARGET will be converted - others will cease to work - sorry!
Added 'Font Style' - a choice of outline thickness for the text.
/abt now shows presets as easy-to-use checkboxes (/abt) - for more detailed ActionButtonText click through to the Configuratron!

0.5
Core code rewritten to support more actionbars and smooth-out updates.
ActionButtonText can now be placed Top/Centre/Bottom of buttons on a per-spell basis
'Damage/Heals/Misses' can now be enabled on buttons (Experimental - feedback greatly apprec. on this!)
Trinity 1.0 support is back!
Trinity 2.0 support is back IF you make a small change to the Trinity 2.0 sourcecode
In WOW\interface\addons\TrinityBars2\bars.lua find the line which looks like this
local spellIndex = {}
and change it (delete the 'local' bit) so it looks like
spellIndex = {}
I've sent a PM to Maul (Trinity developer) for a more permanent solution but he's not been around for some months so in the meanwhile - hack it!

0.4
Fixed some issues with "Energy Deficit" and "Casts til OOM" options being saved correctly
'Always show CTOOM' now previews correctly
Show 1 or more CPs will now show '1' as well as more than '1' *coughs*
Added Support for Cogsbar and Dominos
Removed support for Trinity Bars1/2 - some issues I just can't workaround atm - sorry!
Now works with WOTLK BETA Client (at least it does with Blizzard's Action Bars - NOT tested other addons as yet!)

0.3
Users upgrading WILL LOSE ANY EXISTING SPELLS - sorry about that!
No spells are setup by default now.
Presets exist for most classes - mainly intended as examples of what you can do NOT as a definitive list of possibilities for each class!
Spells are now character-specific - meaning you can have diff. spells on each character without the list getting unmanageably large
"Energy Deficit" and "Casts til OOM" added
Font size, color and 'Example' button added (can be different for each spell)

0.2
UI Added (/abt) - more lines of code than the actual ADDON!!

0.1
Initial Release - manual editing of spells only
Optional Files (0)


Post A Reply Comment Options
Unread 10-27-10, 04:52 AM  
Fionn
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 25
Uploads: 1
Thx for the tip boronak, will try it.
Report comment to moderator  
Reply With Quote
Unread 10-23-10, 02:12 AM  
boronak
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
unfortunately I doubt it, it wasn't updated by the author for 3.3. Of all the mods I use this is probably the one I was most dependant on. I hope a fan can perhaps fix it or take it over. Does anyone know of an alternative perhaps?

edit: discovered inline auras, does practically the same thing with the added bonus of coloured bordered on the buttons as well as the timer, I recommend to try it out if your missing actionbuttontext
Last edited by boronak : 10-24-10 at 06:39 PM.
Report comment to moderator  
Reply With Quote
Unread 10-22-10, 08:59 AM  
Agata
A Murloc Raider

Forum posts: 7
File comments: 42
Uploads: 0
Any hope for an update?
Report comment to moderator  
Reply With Quote
Unread 04-19-09, 05:49 PM  
boronak
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
Originally posted by Aladondris
Ok I think I have found the problem with 3.1 UnitDebuff API changes and my preliminary testing seems to have put this mod back into it old working state pre-3.1

Change line 94 of ABT.lua from

Code:
      if (ismine or notmine) and (ABT_NS.find(strupper(testname),strupper(buffname)) or testname == buffname) then
to:

Code:
      if (ismine=="player" or notmine) and (ABT_NS.find(strupper(testname),strupper(buffname)) or testname == buffname) then

Once again ty for this excellent MOD hope I'm not stepping on any toes by posting these code changes here
Thanks for this, I am lost in raids without this mod, especially with being marksmen with 4 other hunters in our 25 man raids haha. I not tried it but will do tomorrow, heres hoping :O)
Report comment to moderator  
Reply With Quote
Unread 04-19-09, 01:06 PM  
Aladondris
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Ok I think I have found the problem with 3.1 UnitDebuff API changes and my preliminary testing seems to have put this mod back into it old working state pre-3.1

Change line 94 of ABT.lua from

Code:
      if (ismine or notmine) and (ABT_NS.find(strupper(testname),strupper(buffname)) or testname == buffname) then
to:

Code:
      if (ismine=="player" or notmine) and (ABT_NS.find(strupper(testname),strupper(buffname)) or testname == buffname) then

Once again ty for this excellent MOD hope I'm not stepping on any toes by posting these code changes here
Last edited by Aladondris : 04-19-09 at 01:09 PM.
Report comment to moderator  
Reply With Quote
Unread 04-18-09, 06:06 PM  
Aladondris
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
OK, it appears with 3.1 the Ismine argument has been deprecated and replace with a UnitCaster argument which return UnitID (i.e. "TARGET","PLAYER", ect...). Gonna play around with this and see if I can come up with a solution. If i manage to fix this ill post here.
Report comment to moderator  
Reply With Quote
Unread 04-16-09, 02:20 PM  
boronak
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
Same as Aladondris working fine in 3.1 except for debuffs not singling out your own buffs from other peoples. I really hope you can fix it pls, as this mod is so vital to me as a hunter, thanks and i hope your enjoying 3.1 :O)
Report comment to moderator  
Reply With Quote
Unread 04-15-09, 06:35 PM  
Aladondris
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Bummer, Still mostly functional for 3.1 but now my serpent Sting Dot get refreshed whenever ANYONE reapplies Serpent Sting not just when I do even though the "Anyone's" box is NOT checked. Anyone know whether or not the 3.1 changes allow for this to continue to function as it did in 3.0.9 where it would only refresh the timer if I cast Serpent Sting on the target or do the changes in 3.1 prevent this form taking place?
Report comment to moderator  
Reply With Quote
Unread 04-10-09, 07:19 PM  
porkpiehats
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Hey there, great addon as always.

I have shown your addon to some friends and they have bought up a minor point that I was wondering if it could be worked into your addon.

When combining ABT with OmniCC the text from OmniCC, it's an addon that adds the cooldown to an action button, overlap the text from ABT for tracking the duration of that button.

For example when using Pain Suppression, and setting in ABT to show the time on target, OmniCC shows 2.3M overlapping the 8s from ABT. I have worked around this but making OmniCC show a much smaller text than ABT, but this workaround doesn't work that well cince the OmniCC text still overlaps and some buff with <1min cd such as barkskin doesn't work.

Also I'm wondering if it's possible to add in a tracking for vehicles? For now it'll be helpful for stacking the abilities on the drakes for Eye of Eternity and when the patch hits it might be very helpful for Ulduar.

Thanks again for your work and appreciation of you could look at this .
Last edited by porkpiehats : 04-10-09 at 08:04 PM.
Report comment to moderator  
Reply With Quote
Unread 04-04-09, 05:19 PM  
Aladondris
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
1st off just wanted to say thanx for a great mod but I needed to modify it slightly to suit my needs, i hope you dont mind. Basically I added the ability to check the focus frame for buffs and debuffs. Easily doable with only 2 minor text changes:

localisation.en.lua line 41 from:

Code:
ABT_NS.targetvals = {"PLAYER","TARGET","PET"}
to:

Code:
ABT_NS.targetvals = {"PLAYER","TARGET","PET","FOCUS"}

And ABTConfig.lua line 397 from

Code:
target:SetMinMaxValues(1,3)
to:

Code:
target:SetMinMaxValues(1,4)
Dont know if this change helps anyone else out but it does for me.... Once again ty for the awesome mod
Report comment to moderator  
Reply With Quote
Unread 01-28-09, 09:04 AM  
kerrang
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 109
File comments: 96
Uploads: 4
Originally posted by Kithicor
Haven't seen anyone else with this problem, but when I enable this addon and try to get rezzed, the rez window doesn't show up. When it's the only one enabled as well =(
That's weird - I can't say Iv'e seen it and I'd assume someone else would have mentioned that by now...

WOW stores the positions of some windows (not sure if the 'Res' window is one of them) in a layout-cache file (on a character-by-character basis) so could you test it with more than 1 character (perhaps a new char?) and see if this works?
Report comment to moderator  
Reply With Quote
Unread 01-20-09, 02:47 AM  
BFSskepsis
Premium Member
 
BFSskepsis's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 39
File comments: 192
Uploads: 1
Haven't seen anyone else with this problem, but when I enable this addon and try to get rezzed, the rez window doesn't show up. When it's the only one enabled as well =(
__________________
Report comment to moderator  
Reply With Quote
Unread 01-14-09, 05:02 AM  
toothpix
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
ABT is more about showing when you don't need to reuse something (because a DoT or Buff is still active or you have charges left) rather than highlighting when something IS available...


Uh.. I'm playing as an Arms warrior, and I actually find myself using ABT to monitor what I HAVE available as well.. Is it considered a mod abuse?

ABT helps me prioritize and not lose opportunities when I have time-limited Sudden Death and Overpower procs and need to do something in between, e.g. run to another monster or refresh a buff..
Report comment to moderator  
Reply With Quote
Unread 01-12-09, 05:18 PM  
kerrang
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 109
File comments: 96
Uploads: 4
Originally posted by toothpix
Is there a way to track the 20/25 seconds during which you can use Victory Rush on warrior? There is no apparent buff when you get to use it, your ability icon just lightens up after you kill a monsit'ster..
It's one of those abilities which only works under certain circumstances and so there's no buff/debuff to track for it.

I'd have thought a better approach would be to have your Scrolling Combat Text (in-game or addon-based) throw up a BIG message when it's available (this sort of thing is built-into most SCT-type addons usually)??

ABT is more about showing when you don't need to reuse something (because a DoT or Buff is still active or you have charges left) rather than highlighting when something IS available...
Report comment to moderator  
Reply With Quote
Unread 01-12-09, 12:03 PM  
toothpix
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Is there a way to track the 20/25 seconds during which you can use Victory Rush on warrior? There is no apparent buff when you get to use it, your ability icon just lightens up after you kill a monster..
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: