Download
(226Kb)
Download
Updated: 01-18-23 03:08 PM
WL
(228kB)
Download
Updated: 09-24-22 04:48 AM
Pictures
File Info
Compatibility:
Dragonflight patch (10.0.5)
Updated:01-18-23 03:08 PM
Created:unknown
Downloads:13,838
Favorites:139
MD5:

BuffEnough  Popular! (More than 5000 hits)

Version: 2023-01-18
by: neotron, nikkodemus

--About--

BuffEnough is a personal buff monitor that answers the simple question 'Am I buff enough?' If you're like me, when a raid leader does a ready check, you go through a mental checklist as you look over your buffs and gear, to make sure that you really are ready. Did I remember to do my own buff, do I have all pally blessings, do I have the correct pet out, am I still flasked/elixired, is my durability okay, did I forget to take off my riding crop, etc, etc. This is what BuffEnough does for you. It scans the raid to figure out what you should have, and then scans your buffs and gear to figure out what you do have. If the box is green, the answer is 'yes', you're buff enough. If the box is red or yellow, then you're still missing something and hovering your mouse over the box will tell you what it is in the tooltip.

--Commands--
/be or /buffenough - brings up the command line list
/be config - brings up the config UI (can also be accessed by Blizzard's interface options)

BuffEnough
2023-01-18 (2023-01-18)
Full Changelog Previous Releases
  • Update Interface version
  • add wrath interface
  • Fixed 3.4.1 issue.
Optional Files (0)


Post A Reply Comment Options
Unread 06-04-08, 04:23 AM  
Bifidus
A Kobold Labourer

Forum posts: 0
File comments: 52
Uploads: 3
Ok, i see the file, and have to edit it with "edit", because it look strange under "notepad" (i suppose you use a unix like system ?).
But there's a prolem : buffenough seem to be broken since last update (who look very cool, only disturb the lazy buffers is better than upset the whole raid with missing buffs), so i can't test it right now. Will try again this night (raids buffs, perfect time to see if everything is ok).
Is this thread a good place to report (suposed) bugs, btw ?
Last edited by Bifidus : 06-04-08 at 04:26 AM.
Report comment to moderator  
Reply With Quote
Unread 06-04-08, 04:26 AM  
Hjalte
A Fallenroot Satyr

Forum posts: 21
File comments: 47
Uploads: 0
Simple error in latest version r75976 off of files.wowace.com:

[2008/06/04 12:16:05-4306-x1]: BuffEnough-1.0\Locales\Locale-enUS.lua:112: '=' expected near 'L'

---
Report comment to moderator  
Reply With Quote
Unread 06-04-08, 12:27 PM  
nikkodemus
A Defias Bandit
 
nikkodemus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 69
Uploads: 2
Stupid typo is stupid. Sorry about that, that's what I get for checking stuff in at 2 AM. I uploaded a fixed version here; I'll check in the fix to the wowace SVN when I get home from work.

@Bifidus:
Yes, this thread is good for bug reports, feature requests, name calling, whatever. I try to check it as often as I can.

@Footrot:
It's on my list, but it's unfortunately not as easy as it might seem. Blizzard's API for checking a player's buff is separate and different from checking buffs on any other type of unit, including pets. So checking pet buffs on the same scale as BuffEnough currently checks player buffs would require quite a bit of additional implementation. I did add a check for the pet food buff, though, as a quick hit.
Report comment to moderator  
Reply With Quote
Unread 06-04-08, 04:03 PM  
Footrot
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 420
Uploads: 9
Originally posted by nikkodemus
@Footrot:
It's on my list, but it's unfortunately not as easy as it might seem. Blizzard's API for checking a player's buff is separate and different from checking buffs on any other type of unit, including pets. So checking pet buffs on the same scale as BuffEnough currently checks player buffs would require quite a bit of additional implementation. I did add a check for the pet food buff, though, as a quick hit.
UnitBuff() works fine on both pets and players, doesn't it?
Report comment to moderator  
Reply With Quote
Unread 06-04-08, 04:42 PM  
nikkodemus
A Defias Bandit
 
nikkodemus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 69
Uploads: 2
Originally posted by Footrot
UnitBuff() works fine on both pets and players, doesn't it?
It works only in a limited fashion. UnitBuff() does not, for example, provide any duration/remaining time information for buffs that are on you ("player"), but which you did not cast. For that, you need to use GetPlayerBuffTimeLeft(), and like all the other GetPlayerBuff...() APIs, the buff index that it uses is not, for some reason, the same as the buffId that UnitBuff() uses.
Report comment to moderator  
Reply With Quote
Unread 06-04-08, 06:53 PM  
Footrot
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 420
Uploads: 9
Originally posted by nikkodemus
It works only in a limited fashion. UnitBuff() does not, for example, provide any duration/remaining time information for buffs that are on you ("player"), but which you did not cast. For that, you need to use GetPlayerBuffTimeLeft(), and like all the other GetPlayerBuff...() APIs, the buff index that it uses is not, for some reason, the same as the buffId that UnitBuff() uses.
All of these things are true, sadly. But all is not lost...

You can always abstract the difference away in a function that makes the appropriate call, for example, if we're willing to accept the limitations of interrogating pet buffs (no timers)...

Code:
local function GetUnitBuffTimeLeft(unit, buffIndex)
    local rc = nil

    if unit == "player" then
        local id = GetPlayerBuff(buffIndex, "HELPFUL|PASSIVE")

        if id > -1 then
            rc = GetPlayerBuffTimeLeft(id)
        end
    elseif unit == "pet" then
        rc = select(6, UnitBuff(unit, buffIndex))
    end

    return rc
end
... and so on for the other couple of buff query APIs. From there, the remainder of your code can simply work with indexes (not IDs as GetPlayerBuffXXXX prefers), and away you go - now we care not that the APIs are different, because we developed a small function set that makes them the same regardless of the unit.

Just a thought, an idea. Up to you of course.

EDIT:

On a different topic, the pet Phase Shift is working weirdly for me. If I ensure that my imp is not phase-shifted (and hence also not on auto-cast), then do a check, BE doesn't cry about it, no matter how much I ask it to check. If I then, for example, cancel my Fel Armor buff, BE will complain as it should - about both the phase-shift AND the Fel Armor. Then, if I reapply Fel Armor, only then will BE report phase-shift by itself. It seems I have to twiddle with my own buffs to get BE to recognize the phase-shift state.
Last edited by Footrot : 06-04-08 at 06:56 PM.
Report comment to moderator  
Reply With Quote
Unread 06-04-08, 08:15 PM  
nikkodemus
A Defias Bandit
 
nikkodemus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 69
Uploads: 2
Yep, that's a good suggestion, something I'll probably do. But the different APIs was just one example of the complication. There's also tracking a separate power type, and potentially additional configuration for different prioritization of paladin buffs. It's not impossible, just a bit more implementation work than one might think. Of course, with the time we've spent talking about it now, I probably could have just done it.

With regards to phase shift, this is due to the fact that BuffEnough only does an "auto" check on certain events, like the group changing or the player's buffs being added or removed. The imp losing his phase shift doesn't trigger any of those events, so BuffEnough doesn't automatically detect it. However, if you simply left-click the frame, you can force BuffEnough to do a manual check, and it should see that phase shift is missing at that time. One of the (many) things on my to do list is to make it smarter about things that should prompt a recheck via the combat log (since it's already checking the combat log to track who's casting the buffs now anyway).
Report comment to moderator  
Reply With Quote
Unread 06-04-08, 09:28 PM  
Footrot
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 420
Uploads: 9
Originally posted by nikkodemus
With regards to phase shift, this is due to the fact that BuffEnough only does an "auto" check on certain events, like the group changing or the player's buffs being added or removed. The imp losing his phase shift doesn't trigger any of those events, so BuffEnough doesn't automatically detect it. However, if you simply left-click the frame, you can force BuffEnough to do a manual check, and it should see that phase shift is missing at that time. One of the (many) things on my to do list is to make it smarter about things that should prompt a recheck via the combat log (since it's already checking the combat log to track who's casting the buffs now anyway). [/b]
Nah - I'm left-clicking to force the re-check, but BE will not detect the phase-shift state correctly. I'm most definitely not relying on auto-detect, since that was the first thing that crossed my mind. A forced manual check of the buffs doesn't seem to correctly check the pet for phase shift.

Also, doesn't UNIT_AURA trigger when the pet gets (or loses) phase shift? If not, yeah, the combat log will catch it. SPELL_AURA_APPLIED and SPELL_AURA_REMOVED/DISPELLED will see to that.
Report comment to moderator  
Reply With Quote
Unread 06-04-08, 09:39 PM  
nikkodemus
A Defias Bandit
 
nikkodemus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 69
Uploads: 2
Hrm, that's strange. I just checked it on my warlock. When I took his phase shift off and turns the auto-cast off, and triggered a manual check, it properly detected it...
Report comment to moderator  
Reply With Quote
Unread 06-04-08, 10:09 PM  
Footrot
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 420
Uploads: 9
Originally posted by nikkodemus
Hrm, that's strange. I just checked it on my warlock. When I took his phase shift off and turns the auto-cast off, and triggered a manual check, it properly detected it...
"Strange things are afoot at the Circle-K."

I used the currently posted version, stood in Shattrath (Scryer's Bank to be precise) and switched phase-shift off auto-cast and switched it off altogether, and left-click BE and nada - it still told me things were fine.

I'll switch off all other mods when I get home tonight and try it all again and let you know how I got on.
Report comment to moderator  
Reply With Quote
Unread 06-05-08, 04:43 AM  
Bifidus
A Kobold Labourer

Forum posts: 0
File comments: 52
Uploads: 3
So, i try to translate different things in the "buff" part of Locale-enUS.lua (just a test with "Battle Elixir" translate to "Elixir de bataille", and "of Shattrath" to "de Shattrath").
But nothing change.
Maybe i missing something... no idea.
Here some screenshots, if it can help (the red square near buffs is BuffEnough):

Report comment to moderator  
Reply With Quote
Unread 06-05-08, 11:17 AM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 371
Uploads: 0
Please add an option to only show the frame in a raid. Also, please make a forum thread on Wowace under ''General Addons'' so i can give you bug reports and/or requests if i should find any. Thanks, nice addon.
Report comment to moderator  
Reply With Quote
Unread 06-05-08, 12:14 PM  
nikkodemus
A Defias Bandit
 
nikkodemus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 69
Uploads: 2
Originally posted by Bifidus
[b]So, i try to translate different things in the "buff" part of Locale-enUS.lua (just a test with "Battle Elixir" translate to "Elixir de bataille", and "of Shattrath" to "de Shattrath").
But nothing change.
You'll want to put your translations into a separate file called Locale-frFR.lua in the same Locale directory, and also add the new file to the Locales.xml file.

In Locale-enUS.lua, the entry looks like:
L["Battle Elixir"] = true

In Locale-frFR.lua, the entry should look like:
L["Battle Elixir"] = "Elixir de bataille"
Last edited by nikkodemus : 06-05-08 at 04:38 PM.
Report comment to moderator  
Reply With Quote
Unread 06-05-08, 06:11 PM  
Bifidus
A Kobold Labourer

Forum posts: 0
File comments: 52
Uploads: 3
I try again, with this file, but no sucess (first time i let "enUS" inside, with same result).
My total lack of knowledge about coding don't help a lot, i'm afraid.
Report comment to moderator  
Reply With Quote
Unread 06-05-08, 06:23 PM  
nikkodemus
A Defias Bandit
 
nikkodemus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 69
Uploads: 2
Originally posted by Bifidus
I try again, with this file, but no sucess (first time i let "enUS" inside, with same result).
My total lack of knowledge about coding don't help a lot, i'm afraid.
Tell you what. If you feel inclined to do the translations, I'll make sure it gets integrated properly into the addon. Appreciate the help and effort!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: