Download
(177 Kb)
Download
Updated: 08-30-12 03:12 PM
Pictures
File Info
Compatibility:
Mists of Pandaria (5.0.4)
Updated:08-30-12 03:12 PM
Created:unknown
Downloads:205,361
Favorites:1,043
MD5:
Elkano's BuffBars  Popular! (More than 5000 hits)
Version: 2.3.2 - r169
by: Elkano [More]
If you want to support development, consider donating:
Click here to lend your support!

EBB provides groups of statusbar style indicators to show (de)buffs currently affecting your char or some other units (currently focus, pet and target). For the player, it can also show indicators for temporary enchants place on it's weapons.

Due to changes Blizzard made with WoW 4.x it's no longer possible to cancel buffs without the use of secure frames. Currently EBB limits canceling of buffs to out-of-fight since using SecureAuraHeader would have required a major code restructuring. This will be coming in a later version.

Version 2.x is a total recode based on the Ace2 framework which became necessary in order to support some of the longtime wanted and suggested features.
It's now possible to show different groups of bars which can be configured in many ways. Each group can be assigned an individual look and filter settings.
EBB can be configured via a dropdown menu which is accessible via chat (/ebb config), FuBar plugin or (for the group settings) by right clicking the groups anchor.
After setting up a group, its anchor can be hidden by alt-left clicking a bar or the anchor itself in order to lock the group in place.

In order to get additional bar textures and fonts for EBB simply install SharedMedia which is available for download under http://wow.curse.com/downloads/wow-addons/details/sharedmedia.aspx

If you have bug reports or feature request, create a ticket: http://www.wowace.com/projects/elkbuffbars/create-ticket/
You can also check my thread at the WoWAce forums: http://forums.wowace.com/showthread.php?t=5290
The most recent development version of EBB is available directly from the WoWAce SVN via http://www.wowace.com/projects/elkbuffbars/files/
2.3.2 - r169 | 2012/08/30
- updated for WoW 5.0.4
- anchor visibility no longer depends on configuration mode
- changed time formats (now including 1/10s if length < 1min)

2.3.0 - r165 | 2010/12/10
- updated for WoW 4.x
- buff canceling currently only out-of-fight

2.2.5 - r150 | 2009/08/14
- updated TOC for 3.2
- reduced garbage generation (thx Antiarc)

2.2.4 - r149 | 2009/04/20
- pushed TOC 30100
- changes for detection of selfcast buffs (player, pet, vehicle)
- some code to prevent "TexCoord out of range"; no idea why it happened at all :/

some other changes since r73803 release:
- added an optional spark to the bars
- added scaling
- added shift-click-instering to chat editbox
Optional Files (0)


Archived Files (4)
File Name
Version
Size
Author
Date
2.3.0 - r165
183kB
Elkano
12-10-10 07:16 AM
2.2.5 - r150
182kB
Elkano
08-27-09 01:24 AM
2.2.4 - r149
182kB
Elkano
04-21-09 01:53 AM
2.1 (r73803)
171kB
Elkano
05-19-08 12:19 AM


Post A Reply Comment Options
Unread 07-09-06, 05:14 AM  
Nyrine
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 4
Uploads: 3
Hi,

Love the bars - but I dont like any of the timer options, I have add a new definition EXT, so that the timers display as [HH:MI:SS] - I just prefer the consistent look :

In SlashCommandHandler()

Code:
		DEFAULT_CHAT_FRAME:AddMessage(" - timer [DEFAULT/NONE/FULL/EXT] : sets the timer style (is |cffff0000"..ElkBuffBarOptions.timer.."|r)")

			if carg2 ~= "DEFAULT" and carg2 ~= "NONE" and carg2 ~= "FULL" and carg2 ~= "EXT" then
				DEFAULT_CHAT_FRAME:AddMessage("|cffffff00[ElkBuffBar]|r TIMER must be DEFAULT, NONE, FULL or EXT")
In OnUpdate()
Code:
			elseif ElkBuffBarOptions.timer == "EXT" then
				local hh = floor(timeleft/3600)
				local mi = floor(mod(timeleft,3600)/60)
				local ss = mod(timeleft,60)
				duration:SetText(string.format("[%02d:%02d:%02d]",hh,mi,ss))
				duration:Show()
I dont know if you would consider adding this as an option - I know it'd save me changing your code every release =)
Nyrine is offline Report comment to moderator  
Reply With Quote
Unread 07-09-06, 01:47 AM  
Cold
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 3
i will try to add an "right-click selfdecurse" function
Edit:
(ElkClickDecurse)
localization:
Code:
-- Classes
ElkCDC_PRIEST = "Priest";
ElkCDC_PALADIN = "Paladin";
ElkCDC_SHAMAN = "Shaman";
ElkCDC_MAGE = "Mage";
ElkCDC_DRUID = "Druid";
ElkCDC_WARLOCK = "Warlock";

-- Types
ElkCDC_MAGIC = "Magic";
ElkCDC_DISEASE = "Disease";
ElkCDC_POISON = "Poison";
ElkCDC_CURSE = "Curse";
--ElkCDC_WEAKENEDSOUL = "Weakened Soul";
--ElkCDC_RECENTLYBANDAGED = "Recently Bandaged";
--ElkCDC_MINDVISION = "Mind Vision";
--ElkCDC_DREAMLESSSLEEP = "Dreamless Sleep";
--ElkCDC_GREATERDREAMLESSSLEEP = "Greater Dreamless Sleep";

-- Cures
ElkCDC_DISPELMAGIC = "Dispel Magic";
ElkCDC_ABOLISHDISEASE = "Abolish Disease";
ElkCDC_ABOLISHPOISON = "Abolish Poison";
ElkCDC_CLEANSE = "Cleanse";
ElkCDC_PURIFY = "Purify";
ElkCDC_REMOVECURSE = "Remove Curse";
ElkCDC_CUREDISEASE = "Cure Disease";
ElkCDC_CUREPOISON = "Cure Poison";
ElkCDC_REMOVELESSERCURSE = "Remove Lesser Curse";
ElkCDC_DEVOURMAGIC = "Devour Magic";

-- Pets
ElkCDC_FELHUNTER = "Felhunter";
addition:
Code:
function ElkBuffBar:ButtonOnClick()
	if this.type == "BUFF" or this.type == "DEBUFF" then
		CancelPlayerBuff(this.id)
		if this.type == "DEBUFF" then
			ElkBuffBar_PlayerDecurse()
		end
	end
end

function ElkBuffBar_PlayerDecurse()
	local i = 0
	while true do
		local buffIndex, untilCancelled = GetPlayerBuff(i, "HARMFUL")
		if buffIndex < 0 then break end

		ElkBuffTooltip:SetOwner(WorldFrame, "ANCHOR_NONE");

		ElkBuffTooltip:SetText("");
		ElkBuffTooltip:SetUnitDebuff("player", buffIndex);
		local buffType = ElkBuffTooltipTextRight1:GetText();
		--local buffName = ElkBuffTooltipTextLeft1:GetText();
		
		ElkBuffTooltip:Hide(); -- just in case it becomes visible

		if (buffType) then
			local playerClass = UnitClass("player")
			if (playerClass == ElkCDC_PRIEST) then
				if(buffType == ElkCDC_MAGIC) then
					SpellStopCasting()
					TargetUnit("player")
					CastSpellByName(ElkCDC_DISPELMAGIC)
					TargetLastTarget()
					break
				elseif (buffType == ElkCDC_DISEASE) then
					SpellStopCasting()
					TargetUnit("player")
					CastSpellByName(ElkCDC_ABOLISHDISEASE)
					TargetLastTarget()
					break
				else
					--
				end
			elseif (playerClass == ElkCDC_PALADIN) then
				if(buffType == ElkCDC_MAGIC) then
					SpellStopCasting()
					TargetUnit("player")
					CastSpellByName(ElkCDC_CLEANSE)
					TargetLastTarget()
					break
				elseif (buffType == ElkCDC_DISEASE) then
					SpellStopCasting()
					TargetUnit("player")
					if(UnitLevel("player") >= 42)then
						CastSpellByName(ElkCDC_CLEANSE)
					else
						CastSpellByName(ElkCDC_PURIFY)
					end
					TargetLastTarget()
					break
				elseif (buffType == ElkCDC_POISON) then
					SpellStopCasting()
					TargetUnit("player")
					if(UnitLevel("player") >= 42)then
						CastSpellByName(ElkCDC_CLEANSE)
					else
						CastSpellByName(ElkCDC_PURIFY)
					end
					TargetLastTarget()
					break
				else
					--
				end
			elseif (playerClass == ElkCDC_SHAMAN) then
				if(buffType == ElkCDC_MAGIC) then
					--CastSpellByName("Purge")
				elseif (buffType == ElkCDC_POISON) then
					SpellStopCasting()
					TargetUnit("player")
					CastSpellByName(ElkCDC_CUREPOISON)
					TargetLastTarget()
					break
				elseif (buffType == ElkCDC_DISEASE) then
					SpellStopCasting()
					TargetUnit("player")
					CastSpellByName(ElkCDC_CUREDISEASE)
					TargetLastTarget()
					break
				else
					--
				end
			elseif (playerClass == ElkCDC_MAGE) then
				if(buffType == ElkCDC_CURSE) then
					SpellStopCasting()
					TargetUnit("player")
					CastSpellByName(ElkCDC_REMOVELESSERCURSE)
					TargetLastTarget()
					break
				else
					--
				end
			elseif (playerClass == ElkCDC_DRUID) then
				if (buffType == ElkCDC_CURSE) then
					SpellStopCasting()
					TargetUnit("player")
					CastSpellByName(ElkCDC_REMOVECURSE)
					TargetLastTarget()
					break
				elseif (buffType == ElkCDC_POISON) then
					SpellStopCasting()
					TargetUnit("player")
					CastSpellByName(ElkCDC_ABOLISHPOISON)
					TargetLastTarget()
					break
				else
					--
				end
			elseif (playerClass == ElkCDC_WARLOCK) then
				if(buffType == ElkCDC_MAGIC) then
					local pettype = UnitCreatureFamily("pet");
					if (pettype ~= nil and pettype == ElkCDC_FELHUNTER) then
						SpellStopCasting()
						TargetUnit("player")
						CastSpellByName(ElkCDC_DEVOURMAGIC)
						TargetLastTarget()
						break
					else
						--
					end
				else
					--
				end
			else
				--
			end
		end
		i = i + 1
	end
end
Last edited by Cold : 07-09-06 at 04:16 AM.
Cold is offline Report comment to moderator  
Reply With Quote
Unread 07-06-06, 03:51 AM  
Elkano
A Flamescale Wyrmkin
 
Elkano's Avatar
AddOn Author - Click to view AddOns

Forum posts: 119
File comments: 165
Uploads: 12
the debuff icon borders have been colored in the debuff color since 1.0.
With 1.2, the timer bar will be colored too by default. So simply learn the colors
I will not add any additional marks if you can cure the debuff yourself since this would require a lot more detection code. Simply know which colors you can cure and it should be fine.
Elkano is offline Report comment to moderator  
Reply With Quote
Unread 07-06-06, 03:40 AM  
Cold
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 3
please, can you add:
- Debuff Types
- Debuff Highlighting, Debuff Type text colored based on if you can dispel it or not.
like Gypsymod Buffbar - Reborn
Cold is offline Report comment to moderator  
Reply With Quote
Unread 07-04-06, 05:14 AM  
Elkano
A Flamescale Wyrmkin
 
Elkano's Avatar
AddOn Author - Click to view AddOns

Forum posts: 119
File comments: 165
Uploads: 12
locking only keeps you from moving it. The current version leaves remembering of the position to Blizzard and that sees not to work as good as it should :/
So for the next version I've written my own code.
Also: make sure that no other mods like MoveAnything and those of it's kind try to position the bars...
Elkano is offline Report comment to moderator  
Reply With Quote
Unread 07-03-06, 03:27 PM  
Y3KPanic
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
I've noticed that it doesn't remember where I put my bar. Every time I log in I have to re-move it...anyone else having this problem? Doesn't seem to matter whether I lock it or not.
Y3KPanic is offline Report comment to moderator  
Reply With Quote
Unread 07-03-06, 08:28 AM  
Elkano
A Flamescale Wyrmkin
 
Elkano's Avatar
AddOn Author - Click to view AddOns

Forum posts: 119
File comments: 165
Uploads: 12
I am already working on the next version and hopefully that will show the frame in the center of the screen on first login. But there is still some debuging I'll have to do before the release.
Elkano is offline Report comment to moderator  
Reply With Quote
Unread 07-02-06, 03:46 PM  
Axium
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Originally posted by Elkano
hmm, good point. I still have my minimap in the default position but I think you're right ^^
Is that gonna be fixed in a future version? My ebb starts off at the bottom of the screen unless I put a setting in visor for it (b/c that's where my minimap is).
Axium is offline Report comment to moderator  
Reply With Quote
Unread 06-30-06, 03:49 AM  
Elkano
A Flamescale Wyrmkin
 
Elkano's Avatar
AddOn Author - Click to view AddOns

Forum posts: 119
File comments: 165
Uploads: 12
hmm, good point. I still have my minimap in the default position but I think you're right ^^
Elkano is offline Report comment to moderator  
Reply With Quote
Unread 06-30-06, 03:13 AM  
sam.freak
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Nice one, thanks! I used Soru's hacked together version of the gypsybuffbars, but yours are much nicer all in all. Although as a little tip: You might not want to attach your bars to the minimap by default, took me a while to figure out why mine wouldn't show (I've got my minimap at the bottom of the screen )
sam.freak is offline Report comment to moderator  
Reply With Quote
Unread 06-28-06, 04:46 PM  
Valeronsidhe
A Defias Bandit

Forum posts: 2
File comments: 11
Uploads: 0
I love this mod! Can't wait for an expand upwards function and categorization.
Valeronsidhe is offline Report comment to moderator  
Reply With Quote
Unread 06-28-06, 01:21 PM  
Graloth
Premium Member
 
Graloth's Avatar

Forum posts: 15
File comments: 31
Uploads: 2
how do you lock the movement?
Graloth is offline Report comment to moderator  
Reply With Quote
Unread 06-28-06, 05:33 AM  
Elkano
A Flamescale Wyrmkin
 
Elkano's Avatar
AddOn Author - Click to view AddOns

Forum posts: 119
File comments: 165
Uploads: 12
at the moment, there is no ingame way to change the width. but changing it in the XML file should work, just look for the "250" in the beginning of the file

Ingame commands will come soon (well, as soon as I find time to add them )
Last edited by Elkano : 06-28-06 at 05:45 AM.
Elkano is offline Report comment to moderator  
Reply With Quote
Unread 06-28-06, 02:07 AM  
Y3KPanic
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Is there any way I can adjust the width of the bar? I tried looking up the code of the .lua file but was unsuccessful. Perhaps if I edit the bar texture itself in photoshop?
Y3KPanic is offline Report comment to moderator  
Reply With Quote
Unread 06-27-06, 04:18 AM  
Elkano
A Flamescale Wyrmkin
 
Elkano's Avatar
AddOn Author - Click to view AddOns

Forum posts: 119
File comments: 165
Uploads: 12
Re: Sorting request

Originally posted by Aleron
Sorry for posting it here but I couldn't find a thread for requesting features in the forums, as the message above the comment box states...

Is there any possibility to sort the buffs on the bar on time remaining? I prefer to have all my unending buffs first (e.g. aura's), and then all the other buffs with the longest lasting first. That way I only have to look at the bottom of the list to see which buffs need to be redone.

If you have a piece of code to do this I can add it myself, otherwise would it be an option for a future version?

Regards,
Aleron
You can use my author's portal to request features http://elkano.wowinterface.com.
wrt the request:
I will be adding more features as I find time and sorting of the buffs will be one of them. I planned to sort the buffs based on their max. time but sorting based on time left should then also be possible
Elkano 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.