Download
(101Kb)
Download
Updated: 09-24-12 11:55 PM
Addon for:
oUF.
Pictures
File Info
Updated:09-24-12 11:55 PM
Created:01-04-09 06:56 PM
Downloads:23,232
Favorites:82
MD5:

oUF Freeb  Popular! (More than 5000 hits)

Version: 4.7.1
by: Freebaser [More]

Supported oUF Version: 1.6.x

Supported Units
-- player
-- target
-- targettarget
-- pet
-- focus
-- vehicle
-- boss frames


Supported Plugins
-- oUF_Experience
-- oUF_Smooth


Make the frames movable! oUF_MovableFrames

http://github.com/freebaser/oUF_Freeb/commits/master

v4.7.1
-- update some class elements
-- minor fixes

v4.7
-- update for oUF 1.6 and wow 5.0

v4.6.1
-- minor fix to avoid error on ptr

v4.6
-- various fixes

v4.5.1
-- tag fixes

v4.5
-- AltPowerBar
-- boss castbars
-- re-work spawning
-- add power text
-- various tweaks

v4.4
-- eclipse bar
-- enable focus castbar

v4.3.2
-- fix raid bg color
-- pixel border option

v4.3.1
-- fix background colors
-- add experience text

v4.3
-- update for oUF_Experience
-- add some color options
-- font outline
-- hp/power height option

v4.1 / 4.2
-- update for oUF changes
-- include oUF core

v4.0
-- live and beta compatible(beta requires newest oUF http://github.com/haste/oUF)

v3.1
-- update rune support

v3.0
-- support for oUF 1.4

v2.6
-- focus target
-- oUF_Totembar support
-- oUF_WeaponEnchant support
-- disable portrait option
-- scale option

v2.5
-- class colored bar option
-- aura border option
-- add tag for raid info(dead, d/c, ghost)

v2.4
-- fix boss frames
-- very basic group/raid frames(need to rename freebraid.lua file to work!)

v2.3
-- healcomm support(disabled by default)
-- fix for boss frame debuffs

v2.2
-- various fixes and tweaks
-- boss frames

v2.1
-- add aura saturation
-- add aura timers
-- fix nil value
-- misc. tweaks

v2.0
-- Complete rewrite
-- different look

v 1.5
-- update for 3.2
-- fix cpoints
-- improved druid mana
-- changed auras a bit on the target frame

Version 1.41
-- oUF_RuneBar support
-- minor fix to pet debuffs

Version 1.4
-- druid mana support(credits to P3lim)
-- oUF_Swing support
-- Truncate names and castbar names
-- Removed Party and Raid Frames
-- Health bar fades red when less than 50%
-- Moved text postions

Version 1.3
-- master loot icon
-- removed font outline
-- added font shadow
-- some buff tweaks
-- works with 1.3.3

Version 1.2.2
-- update for oUF_Experience

Version 1.2.1
-- Health Gradient fix

Version 1.2
-- Castbar options in lua
-- Raid power option in lua
-- Buff size increased
-- disabled oUF_Smooth for the Power Bar(unstable results with rage)

Version 1.1
-- Moved aura count position
-- Disallow vehicle swap(vehicle is now the pet frame)
-- BarFader support
-- Adjust Raid Icon size and position
-- Changed texture and colors a bit
-- localized font
-- Changed Unit Name to the new Tag system
-- Add level to target name
-- Add resting and pvp icon
-- Add ReadyCheck
-- Healthbar color gradient
Post A Reply Comment Options
Unread 01-21-11, 03:48 AM  
creepy_inc
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Well i added your last bit of code and this is what it looks like:

Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 01-21-11, 03:39 AM  
creepy_inc
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Originally posted by Freebaser
Make sure you have the latest github version. The current released oUF on wowi does not support the poweraltbar(my guess why there is a constant bar). If you dont restrict it to the player unit, it will be shown for bosses and party members frames too.
Yeah i do have the latest.

the following code should be placed in "func" function in freeb.lua
Could you point to the line again
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 01-20-11, 11:55 AM  
drdead
A Murloc Raider

Forum posts: 6
File comments: 20
Uploads: 0
If you dont restrict it to the player unit, it will be shown for bosses and party members frames too.
Yep, but your bossframes would just overlap this bar, 'cuz they are going one after another, gonna try unit:find('boss%d') and re-assign SetPoint for this one, but not sure this will work. Need to get to Nef 1st.

EDIT:
Okay, made it work, just checked on nef. Not much customization, bar has frame's width, but still works for target and boss frames

the following code should be placed in "func" function in freeb.lua
Code:
if not (unit == "targettarget") then
	local APB = createStatusbar(self, texture, "OVERLAY", 10, width, 1, 1, 1, 1)
	local APBbg = APB:CreateTexture(nil, "BACKGROUND")
	APBbg:SetAllPoints(APB)
	APBbg:SetTexture(texture)
	APBbg:SetVertexColor(.1,.1,.1)
		
	if (unit and unit:find('boss%d')) then
		APB:SetPoint("TOPRIGHT", self, "TOPLEFT", -5, 0)
	else
		APB:SetPoint("TOPLEFT", self, "BOTTOMLEFT", 0, -54)
	end
	self.AltPowerBar = APB
		
	local APBp = createFont(APB, "OVERLAY", font, fontsize, nil, 1, 1, 1)
	APBp:SetPoint("RIGHT", APB, -2, 0)
	self:Tag(APBp, '[freeb:apb]')
end
might add shrinking the width for the bar in the true-if-branch, but i don't rly care about this
Last edited by drdead : 01-20-11 at 01:52 PM.
Report comment to moderator  
Reply With Quote
Unread 01-20-11, 03:29 AM  
Freebaser
A Molten Kobold Bandit
 
Freebaser's Avatar
AddOn Author - Click to view AddOns

Forum posts: 135
File comments: 307
Uploads: 10
Originally posted by creepy_inc
Well mine is there when ever I add those line of code.
Make sure you have the latest github version. The current released oUF on wowi does not support the poweraltbar(my guess why there is a constant bar). If you dont restrict it to the player unit, it will be shown for bosses and party members frames too.
Last edited by Freebaser : 01-20-11 at 03:30 AM.
Report comment to moderator  
Reply With Quote
Unread 01-19-11, 09:31 AM  
drdead
A Murloc Raider

Forum posts: 6
File comments: 20
Uploads: 0
castbar is defined in the block of code below this line

https://github.com/freebaser/oUF_Fre...freeb.lua#L282

The exact lines that set the position of castbar is cb:SetPoint(<snip>)
Report comment to moderator  
Reply With Quote
Unread 01-18-11, 12:56 AM  
obeygiant
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Hi, I was wondering where can I move the castbars (player/target/focus..etc)? I just about customized everything, but couldn't seem to find where in the code that controls positioning of the castbars. Please advise, thanks!
Report comment to moderator  
Reply With Quote
Unread 01-17-11, 11:58 PM  
creepy_inc
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Originally posted by drdead
with a white bar constantly? Oo
actually the oUF's toggler enables this bar only in the fights with the boss and hides it in any other situation, at least i dont see anything until the fight starts...
Well mine is there when ever I add those line of code.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 01-16-11, 05:33 AM  
drdead
A Murloc Raider

Forum posts: 6
File comments: 20
Uploads: 0
with a white bar constantly? Oo
actually the oUF's toggler enables this bar only in the fights with the boss and hides it in any other situation, at least i dont see anything until the fight starts...
Report comment to moderator  
Reply With Quote
Unread 01-16-11, 01:10 AM  
creepy_inc
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Awesome that worked, I'll just add it next week when I fight Nefarian again. I don't wanna run around with a white bar constantly
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 01-15-11, 08:34 AM  
drdead
A Murloc Raider

Forum posts: 6
File comments: 20
Uploads: 0
i hope you dont expect target's or boss' frame to use this atm, 'cuz it's for player only atm.

https://github.com/freebaser/oUF_Fre...freeb.lua#L537

insert the 1st code snippet between highlighted "end" and "end,"

ftags.lua - add code chunk in the end of the file (may be anywhere actually)

PS dont forget to get the last oUF build from https://github.com/haste/oUF
Last edited by drdead : 01-15-11 at 08:39 AM.
Report comment to moderator  
Reply With Quote
Unread 01-15-11, 07:56 AM  
creepy_inc
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Originally posted by drdead
Well, atm i got alternate power bar working for the player's frame, haven't thought about adding to the target 'cuz Ony is the only boss which got altpowerbar at the target (or is it only bossframe? i never tried to track it - we kill ony b4 her big discharge). Using the last build of oUF with AltPowerBar element implemented in framework.
Try to assign to the bossframe or\and target's frame

freeb.lua - UnitSpecific - player's block
Code:
local APB = createStatusbar(self, texture, "OVERLAY", 10, width, 1, 1, 1, 1)
APB:SetPoint("TOPLEFT", self, "BOTTOMLEFT", 0, -54)

local APBbg = APB:CreateTexture(nil, "BACKGROUND")
APBbg:SetAllPoints(APB)
APBbg:SetTexture(texture)
APBbg:SetVertexColor(.1,.1,.1)

self.AltPowerBar = APB

local APBp = createFont(APB, "OVERLAY", font, fontsize, nil, 1, 1, 1)
APBp:SetPoint("RIGHT", APB, -2, 0)
self:Tag(APBp, '[freeb:apb]')
ftags.lua
Code:
oUF.Tags['freeb:apb'] = function(u)
	return UnitPower(u, ALTERNATE_POWER_INDEX).." / "..UnitPowerMax(u, ALTERNATE_POWER_INDEX)
end
oUF.TagEvents['freeb:apb'] = 'UNIT_POWER UNIT_MAXPOWER'
I tried adding your lines, either I add it the wrong place and get errors or it doesn't show up. My lua edit/adding skills are not great hopefully someone else can test this and maybe get an update if it's working?

EDIT: Or tell me the line number of where to add it in the file
Last edited by : 01-15-11 at 07:58 AM.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 01-15-11, 04:17 AM  
drdead
A Murloc Raider

Forum posts: 6
File comments: 20
Uploads: 0
Well, atm i got alternate power bar working for the player's frame, haven't thought about adding to the target 'cuz Ony is the only boss which got altpowerbar at the target (or is it only bossframe? i never tried to track it - we kill ony b4 her big discharge). Using the last build of oUF with AltPowerBar element implemented in framework.
Try to assign to the bossframe or\and target's frame

freeb.lua - UnitSpecific - player's block
Code:
local APB = createStatusbar(self, texture, "OVERLAY", 10, width, 1, 1, 1, 1)
APB:SetPoint("TOPLEFT", self, "BOTTOMLEFT", 0, -54)

local APBbg = APB:CreateTexture(nil, "BACKGROUND")
APBbg:SetAllPoints(APB)
APBbg:SetTexture(texture)
APBbg:SetVertexColor(.1,.1,.1)

self.AltPowerBar = APB

local APBp = createFont(APB, "OVERLAY", font, fontsize, nil, 1, 1, 1)
APBp:SetPoint("RIGHT", APB, -2, 0)
self:Tag(APBp, '[freeb:apb]')
ftags.lua
Code:
oUF.Tags['freeb:apb'] = function(u)
	return UnitPower(u, ALTERNATE_POWER_INDEX).." / "..UnitPowerMax(u, ALTERNATE_POWER_INDEX)
end
oUF.TagEvents['freeb:apb'] = 'UNIT_POWER UNIT_MAXPOWER'
Last edited by drdead : 01-15-11 at 04:41 AM.
Report comment to moderator  
Reply With Quote
Unread 01-14-11, 02:54 PM  
Freebaser
A Molten Kobold Bandit
 
Freebaser's Avatar
AddOn Author - Click to view AddOns

Forum posts: 135
File comments: 307
Uploads: 10
Originally posted by creepy_inc
+

Yeah just odd I can see sound, corrupted blood etc. but not that one bar for Ony's lightning, I'll figure it out. Maybe some mod messing with me.
I haven't done the fight, but if the bar is parented to the blizzard target frame it will most likely be hidden. If a layout spawns a target oUF disables the default frame and anything anchored to it. I'm not sure this is the case but my only guess at the moment.
Report comment to moderator  
Reply With Quote
Unread 01-14-11, 02:40 PM  
creepy_inc
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Originally posted by Freebaser
oUF_Freeb currently does nothing to hide the PowerAltBar.
+

Yeah just odd I can see sound, corrupted blood etc. but not that one bar for Ony's lightning, I'll figure it out. Maybe some mod messing with me.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 01-13-11, 02:44 AM  
Freebaser
A Molten Kobold Bandit
 
Freebaser's Avatar
AddOn Author - Click to view AddOns

Forum posts: 135
File comments: 307
Uploads: 10
Originally posted by creepy_inc
I'm of course not 100% sure this is because of oUF_Freeb but on the Nefarian fight I am missing the lightning bar/meter associated with Onyxia, if it is is there a way to get it to show?
oUF_Freeb currently does nothing to hide the PowerAltBar.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: