Go to Page... |
Updated: | 01-03-09 01:00 PM |
Created: | unknown |
Downloads: | 7,838 |
Favorites: | 48 |
MD5: |
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...
Comment Options |
09-30-08, 03:46 PM | |
|
Tip: WoWInterface has an own changelog feature, would love if you'd use it
|
|
p3lim |
View Public Profile |
Send a private message to p3lim |
Find More Posts by p3lim |
Add p3lim to Your Buddy List |
kerrang |
View Public Profile |
Send a private message to kerrang |
Find More Posts by kerrang |
Add kerrang to Your Buddy List |
10-05-08, 06:39 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 13
Uploads: 0
|
Not sure if anyone else having the problem but when i setup up I can't change the colour of the text by clicking on the colour box . It worked fine before it changed from obi to abt. Maybe a mod conflict. I have been able to get around it by putting values in manually into the saved file but its far from ideal. Could you check it out please.
I am playing on the live realms and have deleted all traces of the previous obi install
Last edited by boronak : 10-05-08 at 06:40 PM.
|
|
boronak |
View Public Profile |
Send a private message to boronak |
Find More Posts by boronak |
Add boronak to Your Buddy List |
10-06-08, 05:52 PM | |
|
Just a quick note...
In their desperation to get WOTLK out-the-door at any cost, Blizzard are resorting to some outrageously stupid changes to the API - the sort of things anyone with 2 days of formal programming training would NEVER do (renaming API calls for example)!! This is being done with little-or-no documentation being supplied to addon developers - we're just fielding masses of errors in our code and THEN they tell us what they changed - if we're lucky... With that in mind, I'm not touching my addons again until 3.0.2. goes live, because right now I'm just chasing my tail while they hack and rename and generally screw things up royally... Should only be a few weeks - well, maybe, who knows - at the rate they're thrashing builds out and the rate they're changing stuff ANYTHING could happen (the current BETA build is so unstable for me I've given up trying to login!) I recommend Warhammer Online meanwhile - it's effing excellent
Last edited by kerrang : 10-06-08 at 05:55 PM.
|
|
kerrang |
View Public Profile |
Send a private message to kerrang |
Find More Posts by kerrang |
Add kerrang to Your Buddy List |
10-16-08, 12:21 PM | |
|
0.91 uploaded and awaiting approval.
Just a quick fix to their last minute API renaming nonsense Have fun with 3.0.2 and all that!
Last edited by kerrang : 10-16-08 at 12:56 PM.
|
|
kerrang |
View Public Profile |
Send a private message to kerrang |
Find More Posts by kerrang |
Add kerrang to Your Buddy List |
10-16-08, 03:46 PM | |
A Murloc Raider
Forum posts: 5
File comments: 25
Uploads: 0
|
Weapon Buff Information
Nice to see you updating. abi and o-wheely are so flexible, usable, and unique I just love them
I wanted to know if you are aware of any way to make a player's own castable weapon buff durations i.e. Windfury Weapon, Earthliving Weapon, etc. show up on a button? (even if the button has to be a macro that does nothing or something similarly odd) I know that weapon buffs are weird to track and ABT probably cant do it... but I was hoping!! thanks |
|
sillysyra |
View Public Profile |
Send a private message to sillysyra |
Find More Posts by sillysyra |
Add sillysyra to Your Buddy List |
10-16-08, 05:18 PM | |
|
Weaponbuffs aren't handled well by the WOW API - it will tell you whether you have buffs, how long/how many charges they have left but the ONLY way to tell WHAT buff you have on a weapon - is by reading it's tooltip!!
The buffs you cast have a different name to the actual buff the weapon gets too (Windfury II become Windfury Weapon and so on) and the tooltip is, of course, localised based on your language - it's a REAL mess to sort that out. I'd hoped they'd sort it out in the 3.0.2 API but there's no sign of that (DK weapon buffs are just as bad or even WORSE than Shaman/Rogue ones) - sorry! |
|
kerrang |
View Public Profile |
Send a private message to kerrang |
Find More Posts by kerrang |
Add kerrang to Your Buddy List |
10-19-08, 05:51 PM | |
An Aku'mai Servant
Forum posts: 37
File comments: 16
Uploads: 0
|
Hi there,
I have a bit of a problem. I am trying to get the duration of a spell to show up. I want a duration indicator for mangle - cat, but not for mangle - bear. If I just put in "Mangle" in both fields, it works fine, but for both incarnations. Any combination of "Mangle - Cat" and "Mangle" (or both the former) won't work however. I tried it with both, tooltip searching enabled and disabled. I even tried to input the ranks. Is there any form of special format needed because of the "-" in the abilities name or is it just plain impossible to do what I want? |
|
Lysiander |
View Public Profile |
Send a private message to Lysiander |
Find More Posts by Lysiander |
Add Lysiander to Your Buddy List |
10-19-08, 06:46 PM | ||
|
If you make the Spellname either Mangle (Cat) or Mangle.*Cat that's a full-stop and an asterisk That should restrict it to just buttons with that spell on. You probably won't need to qualify the debuff as you're not likely to have both up at the same time!? - e.g. just Mangle will do... Let me know if this works - and I'll try to get my chars respecced to try this ASAP |
|
|
kerrang |
View Public Profile |
Send a private message to kerrang |
Find More Posts by kerrang |
Add kerrang to Your Buddy List |
10-21-08, 12:40 AM | ||
An Aku'mai Servant
Forum posts: 37
File comments: 16
Uploads: 0
|
I'll give it a shot anyway tho, maybe Bliz was lazy and didn't fix the combat log entries. |
|
|
Lysiander |
View Public Profile |
Send a private message to Lysiander |
Find More Posts by Lysiander |
Add Lysiander to Your Buddy List |
10-22-08, 06:56 AM | ||
|
I just respecced my druid tho - and entering MANGLE.*CAT as the spell AND buffname (set debuff and TARGET) works. .* is a pattern match - it means 'zero or more of any character' There is an issue in the Blizzard API because according to it strfind("Mangle - Cat","Mangle - Cat") fails! (- should not be a special character unless surrounded by [] so...) I suspect it's (mistakenly) reading the - as a pattern match tho so I'll have to figure out a way of getting around their latest half-baked untested code then...
Last edited by kerrang : 10-22-08 at 11:28 AM.
|
|
|
kerrang |
View Public Profile |
Send a private message to kerrang |
Find More Posts by kerrang |
Add kerrang to Your Buddy List |
11-09-08, 05:40 PM | ||
An Aku'mai Servant
Forum posts: 37
File comments: 16
Uploads: 0
|
|
|
|
Lysiander |
View Public Profile |
Send a private message to Lysiander |
Find More Posts by Lysiander |
Add Lysiander to Your Buddy List |
11-18-08, 11:01 AM | |
|
Updated to 1.00
Fixed the Paladin 'Judgement' default to reflect the 3 new judgements spells. Removed some old backwards-compatibility code (mostly relating to the previous addon O.B.I.) |
|
kerrang |
View Public Profile |
Send a private message to kerrang |
Find More Posts by kerrang |
Add kerrang to Your Buddy List |
11-18-08, 04:31 PM | |
A Defias Bandit
Forum posts: 3
File comments: 8
Uploads: 0
|
Any chance of adding ability to turn off tooltip scanning? Running several tooltip mods this becomes a problem.
Using a unique name for a macro rather than having it scan every tooltip to see if the buff matches for each macro would be much better. |
|
doomveteran |
View Public Profile |
Send a private message to doomveteran |
Find More Posts by doomveteran |
Add doomveteran to Your Buddy List |
11-18-08, 07:42 PM | |||
|
I ask because ABT creates it's own (hidden) tooltip using the standard UI - the same way dozens of other addons do - so if it's a problem for ABT it's a problem for MANY other addons...
ABT uses the tooltip so that macro writers to use the #showtooltip to control how ABT treats their macro. Even without that tho - reading the tooltip is the simplest (and possibly only with some actionbar mods) way to get the name of a macro from an actionbutton.
Last edited by kerrang : 11-18-08 at 07:43 PM.
|
||
|
kerrang |
View Public Profile |
Send a private message to kerrang |
Find More Posts by kerrang |
Add kerrang to Your Buddy List |