Download
(23Kb)
Download
Updated: 02-08-11 12:40 AM
Pictures
File Info
Updated:02-08-11 12:40 AM
Created:01-30-11 01:14 AM
Downloads:5,433
Favorites:11
MD5:

oUF BossBars  Popular! (More than 5000 hits)

Version: 1.02
by: kameelyan [More]

This addon is just something I wanted to share.

It simply replaces Blizzard's Boss Frames (boss1-boss4) with some oUF frames.

It includes Boss HP as a %, Boss Mana/Power bar, Boss's Target, and Boss's PowerBarAlt value as a % (for Onyxia, etc.). Additionally, it'll also show a Boss Cast Bar over the Boss HP whenever a cast begins.

This addon is compatible with oUF 1.5.8 and above.

Changes in 1.02:
I removed the oUF core from the addon, as the latest release by Haste has everything this addon needs. Secondly, I created a media folder to store the textures in instead of relying on the sharedmedia addon.

Optional Files (0)


Post A Reply Comment Options
Unread 01-30-11, 02:36 AM  
creepy_inc
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Awesome thanks. going to try this one.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 01-31-11, 08:51 PM  
Ellute
A Murloc Raider

Forum posts: 4
File comments: 20
Uploads: 0
Is there a way to spawn the bars outside of doing instances?
Report comment to moderator  
Reply With Quote
Unread 02-03-11, 07:51 PM  
kameelyan
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 17
Uploads: 2
Originally posted by Ellute
Is there a way to spawn the bars outside of doing instances?
Not really, the easiest thing to do is go into the spawn commands (at the bottom of the .lua file) and change "boss1", "boss2", "boss3", etc. to "player" instead. Then it'll use yourself as the frame. You can move them around, then change the values back to "bossX".

Similarly with "bossXtarget", you'd do "playertarget".
Report comment to moderator  
Reply With Quote
Unread 02-04-11, 08:30 PM  
Ellute
A Murloc Raider

Forum posts: 4
File comments: 20
Uploads: 0
Thanks for the reply. The new file you uploaded only has the .lua and .toc file, was this intended?
Report comment to moderator  
Reply With Quote
Unread 02-05-11, 04:19 AM  
kameelyan
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 17
Uploads: 2
Originally posted by Ellute
Thanks for the reply. The new file you uploaded only has the .lua and .toc file, was this intended?
Ah crap, sorry about that. They're there now. There is a newer version of oUF Core, I just haven't gotten around to downloading it yet. It should be compatible with these boss frames though.
Report comment to moderator  
Reply With Quote
Unread 02-07-11, 07:14 AM  
kirafishy
A Defias Bandit

Forum posts: 2
File comments: 6
Uploads: 0
hp percent text don't refresh until you target them
Last edited by kirafishy : 02-07-11 at 07:15 AM.
Report comment to moderator  
Reply With Quote
Unread 02-07-11, 10:41 AM  
kameelyan
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 17
Uploads: 2
Originally posted by kirafishy
hp percent text don't refresh until you target them
Thanks, I'm aware of this. I'm still not sure if it's a product of this addon, or the latest version of oUF. I'll be looking into this sometime this week, as long as work let's me off my chains at some point.

Latest version of oUF fixes this issue.
Last edited by kameelyan : 02-08-11 at 01:11 AM.
Report comment to moderator  
Reply With Quote
Unread 02-17-11, 02:46 AM  
kirafishy
A Defias Bandit

Forum posts: 2
File comments: 6
Uploads: 0
i can't see my own PowerBarAlt after using oUF_BossBars
Report comment to moderator  
Reply With Quote
Unread 02-17-11, 10:12 AM  
kameelyan
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 17
Uploads: 2
Originally posted by kirafishy
i can't see my own PowerBarAlt after using oUF_BossBars
I'm not having any issue with this. Are you sure you didn't leave one instance of the bossbars referencing "player" as you were moving it around? That would cause what you're describing.
Report comment to moderator  
Reply With Quote
Unread 02-18-11, 03:22 PM  
kirafishy
A Defias Bandit

Forum posts: 2
File comments: 6
Uploads: 0
Originally posted by kameelyan
I'm not having any issue with this. Are you sure you didn't leave one instance of the bossbars referencing "player" as you were moving it around? That would cause what you're describing.
I move the bossbars by oUF_MovableFrames and don't edit oUF_BossBars.lua.
when I disabled oUF_BossBars or deleted "alt power bar part" in the lua file, my own PowerBarAlt appeared again.
the addon "CustomPlayerPowerBarAlt" creates an own PlayerPowerBarAlt frame instead of the original one and i can see it. Maybe the original frame is hidden by some code.
I tested it at The Maw of Madness in Twilight Highland
Report comment to moderator  
Reply With Quote
Unread 02-21-11, 12:01 AM  
kameelyan
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 17
Uploads: 2
Originally posted by kirafishy
I move the bossbars by oUF_MovableFrames and don't edit oUF_BossBars.lua.
when I disabled oUF_BossBars or deleted "alt power bar part" in the lua file, my own PowerBarAlt appeared again.
the addon "CustomPlayerPowerBarAlt" creates an own PlayerPowerBarAlt frame instead of the original one and i can see it. Maybe the original frame is hidden by some code.
I tested it at The Maw of Madness in Twilight Highland
They way oUF works is that it hides any bars that are Blizzard bars as long as there is a "spawned" bar in some addon. It's possible that something in the oUF core is causing this to happen, but no where in this addon is it specifically referencing the player's power bar alt frame/bar.
Report comment to moderator  
Reply With Quote
Unread 03-07-11, 11:56 PM  
strifebloom
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
Originally posted by kameelyan
They way oUF works is that it hides any bars that are Blizzard bars as long as there is a "spawned" bar in some addon. It's possible that something in the oUF core is causing this to happen, but no where in this addon is it specifically referencing the player's power bar alt frame/bar.
if you take a look at altpowerbar.lua in the oUF core, it does seem to hide the frame if there is an 'altpowerbar' spawned in the layout. the workaround for this is to have either a separate addon for a custom alternate power bar (as the CustomPlayerPowerBarAlt addon) or to have a separate ouf layout that spawns the altpowerbar for the player unit.

Code:
local Enable = function(self, unit)
	local altpowerbar = self.AltPowerBar
	if(altpowerbar) then
		altpowerbar.__owner = self
		altpowerbar.ForceUpdate = ForceUpdate

		self:RegisterEvent('UNIT_POWER_BAR_SHOW', Toggler)
		self:RegisterEvent('UNIT_POWER_BAR_HIDE', Toggler)

		altpowerbar:Hide()

		PlayerPowerBarAlt:UnregisterEvent'UNIT_POWER_BAR_SHOW'
		PlayerPowerBarAlt:UnregisterEvent'UNIT_POWER_BAR_HIDE'
		PlayerPowerBarAlt:UnregisterEvent'PLAYER_ENTERING_WORLD'

		return true
	end
end

local Disable = function(self, unit)
	local altpowerbar = self.AltPowerBar
	if(altpowerbar) then
		self:UnregisterEvent('UNIT_POWER_BAR_SHOW', Toggler)
		self:UnregisterEvent('UNIT_POWER_BAR_HIDE', Toggler)

		PlayerPowerBarAlt:RegisterEvent'UNIT_POWER_BAR_SHOW'
		PlayerPowerBarAlt:RegisterEvent'UNIT_POWER_BAR_HIDE'
		PlayerPowerBarAlt:RegisterEvent'PLAYER_ENTERING_WORLD'
	end
end
Report comment to moderator  
Reply With Quote
Unread 03-24-11, 10:43 AM  
KiLLMasTer
A Deviate Faerie Dragon
 
KiLLMasTer's Avatar

Forum posts: 12
File comments: 74
Uploads: 0
ok im trying to move this with oUF_MovableFrames and i cant find it in the list?
__________________
My Toons: LVL 70 MW Monk Name Brewballs on Ysera
US. LVL 70 Restoration Druid Name Goodfel on Ysera US
Report comment to moderator  
Reply With Quote
Unread 04-16-11, 01:52 PM  
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 583
File comments: 438
Uploads: 22
Originally posted by KiLLMasTer
ok im trying to move this with oUF_MovableFrames and i cant find it in the list?
type /omf and see if it shows up, if it doesn't it's not supported
__________________
Tweets YouTube Website
Report comment to moderator  
Reply With Quote
Unread 08-31-12, 10:43 PM  
zartok
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Error from 5.0.4 update

Get this error on login from oUF_BossBars. It still seems to work, but any help with this error would be greatly apreciated.

Date: 2012-08-31 23:40:16
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\oUF_BossBars\oUF_BossBars.lua line 14:
attempt to index field 'TagEvents' (a nil value)
Debug:
(tail call): ?
[C]: ?
oUF_BossBars\oUF_BossBars.lua:14: in main chunk
Locals:
None
AddOns:
Swatter, v4.0.1 (<%codename%>)
NPCScan, v5.0.0.1
NPCScanOverlay, v5.0.0.1
NPCScanOverlayBroker, v1.2.0
AckisRecipeList, v2.4
ACP, v3.4
Align, v
Archy, v1.8.26_beta
AtlasLootLoader, vv7.00.01
AucAdvanced, v5.14.5335 (KowariOnCrutches)
AucFilterBasic, v5.14.5335 (KowariOnCrutches)
AucFilterOutlier, v5.14.5335.5335(5.14/embedded)
AucMatchUndercut, v5.14.5335.5225(5.14/embedded)
AucStatHistogram, v5.14.5335 (KowariOnCrutches)
AucStatiLevel, v5.14.5335 (KowariOnCrutches)
AucStatPurchased, v5.14.5335 (KowariOnCrutches)
AucStatSales, v5.14.5335.5335(5.14/embedded)
AucStatSimple, v5.14.5335 (KowariOnCrutches)
AucStatStdDev, v5.14.5335 (KowariOnCrutches)
AucStatWOWEcon, v5.14.5335.5335(5.14/embedded)
AucUtilAHWindowControl, v5.14.5335.5133(5.14/embedded)
AucUtilAppraiser, v5.14.5335.5335(5.14/embedded)
AucUtilAskPrice, v5.14.5335.5160(5.14/embedded)
AucUtilAutoMagic, v5.14.5335.5335(5.14/embedded)
AucUtilCompactUI, v5.14.5335.5335(5.14/embedded)
AucUtilEasyBuyout, v5.14.5335.5238(5.14/embedded)
AucUtilFixAH, v5.14.5335 (KowariOnCrutches)
AucUtilItemSuggest, v5.14.5335.5335(5.14/embedded)
AucUtilPriceLevel, v5.14.5335.5237(5.14/embedded)
AucUtilScanButton, v5.14.5335.5335(5.14/embedded)
AucUtilScanFinish, v5.14.5335.5153(5.14/embedded)
AucUtilScanProgress, v5.14.5335.4979(5.14/embedded)
AucUtilScanStart, v5.14.5335.5153(5.14/embedded)
AucUtilSearchUI, v5.14.5335.5335(5.14/embedded)
AucUtilSimpleAuction, v5.14.5335.5208(5.14/embedded)
AucUtilVendMarkup, v5.14.5335.4828(5.14/embedded)
Babylonian, v5.1.DEV.312(/embedded)
BagBrother, v
Bagnon, v5.0.3
Bazooka, vv2.1.5
BeanCounter, v5.14.5335 (KowariOnCrutches)
Coconuts, v3.0.257
ColorPickerPlus, v
CombustionHelper, v3.2
Configator, v5.1.DEV.330(/embedded)
DBMArchaeology, v
DBMCore, v
DebugLib, v5.1.DEV.312(/embedded)
Decursive, v2.7.1
Dominos, v5.0.9
DominosRoll, v
Enchantrix, v5.14.5335 (KowariOnCrutches)
EnchantrixBarker, v5.14.5335 (KowariOnCrutches)
FactionAddict, v1.06
FishingBuddy, v1.0.9a
Gatherer, v4.0.1
Gnosis, vv3.12
KuiNameplates, v
LibExtraTip, v5.12.DEV.324(/embedded)
MikScrollingBattleText, v5.7.119
MiniPet, v5.1.258
Omen, v3.1.7
OmniCC, v5.0.1
oUF, v1.6.0
oUFBossBars, v1.02
Outfitter, v5.5.2
Overachiever, v0.66
PocketPlot, v2.14.2
Poisonous, v5.0.1
Postal, v3.5.0
Prat30, v3.5
Prat30HighCPUUsageModules, v
Prat30Libraries, v
Rarity, v1.0
RarityOptions, v
Recount, v
SilverDragon, vv2.6.3
SocialState, v5.0-Release1
SpellStealer, v1.79
Stubby, v5.14.5335 (KowariOnCrutches)
TipHelper, v5.12.DEV.315(/embedded)
TipTop, v2.11.1
WhoFramedWatcherWabbit, v1.7.4
WoWDBProfiler, v
XPBarNone, vv1.5.9
BlizRuntimeLib_enUS v5.0.4.50001 <us>
(ck=aee)
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: