Download
(818Kb)
Download
Updated: 09-16-13 07:43 PM
Pictures
File Info
Updated:09-16-13 07:43 PM
Created:01-19-09 05:04 AM
Downloads:62,328
Favorites:241
MD5:

oUF Freebgrid  Popular! (More than 5000 hits)

Version: 6.9.13
by: Freebaser [More]

Supported oUF Version: 1.6.x

Party/Raid unit frames using the oUF framework.

Units Supported:
-- party
-- raid
-- maintanks
-- pets and vehicles

Features:
-- Class corner indicators
-- Raid (de)buffs icons with priority
-- Class dispel icons
-- Aggro highlighting
-- Mouseover highlight
-- Out of range arrow
-- Range alpha
-- Heal Predication bar and/or text
-- Alt Power text
-- Health text - percent, deficit or actual
-- Vertical and horizontal layouts
-- Mana bars
-- Target and Focus border
-- AFK / DC timer
-- SharedMedia support
-- oRA3 tank support

FAQs
/freeb will unlock the frames
/freeb <something> will open the interface panel.

oUF is included in this addon but it is only accessible to Freebgrid.

Q: How do I create new indicators?
A: Edit tags.lua (some lua skills required). I've added at least one indicator to every healing class, so you can use those as an example(always open to suggestions). Then add the tag name to your class table at the bottom of the tags.lua.

Q: How do I add raid (de)buffs?
A: Use the aura_list.lua file to add spell names or GetSpellInfo(spellid) to the aura table and set a priority number >= 1(Higher numbers show over lower).

Most of the general setting can be done in the interface panel and usually requires a ReloadUI when your done.

version 6.9.12
-- fix toc

version 6.9.11
-- aura_list update
-- oUF update

version 6.9.10
-- fix heal texture and aura border

version 6.9.9
-- fix for 5.1
-- toc bump
-- aura list update

version 6.9.8
-- fix vertical hp reversed

version 6.9.7
-- add monk to indicator table

version 6.9.6
-- update some tags
-- add monk to dispel list

version 6.9.5
-- fix pom tag

version 6.9.4
-- fix healbar error

version 6.9.3
-- more 5.0 fixes

version 6.9.1
-- update for 5.0.4 / oUF 1.6

version 6.9

-- remove talent detect for class dispels(hard code types instead)
-- option to scale raid based on number of members
-- option to invert fill direction
Optional Files (0)


Post A Reply Comment Options
Unread 01-27-11, 09:44 AM  
Toran
A Nerdscale Dorkin
 
Toran's Avatar
Premium Member

Forum posts: 143
File comments: 433
Uploads: 0
Freebaser, you are pure WIN. Just sayin.

(separate width/height setting for Pets and MainTanks would still be great)
Last edited by Toran : 01-27-11 at 03:18 PM.
Report comment to moderator  
Reply With Quote
Unread 01-27-11, 05:42 AM  
Spazzze
A Kobold Labourer
 
Spazzze's Avatar

Forum posts: 0
File comments: 8
Uploads: 0
Thanks

Freebaser thanks for your amazing addon! With it healing becomes such pleasure as it could even be in cata-random-heroics Thanks for your great job and for new updates I like it!
Report comment to moderator  
Reply With Quote
Unread 01-24-11, 08:18 PM  
Freebaser
A Molten Kobold Bandit
 
Freebaser's Avatar
AddOn Author - Click to view AddOns

Forum posts: 135
File comments: 307
Uploads: 10
Re: Re: Re: Re: Chimaeron Low Health Debuff

Originally posted by viva
Just to be clear are you saying if I'm using an enUS client I can use ["Malevolent Strikes"] = 7, instead of the spellids? Or would I need both as you typed it in the code box?
one or the other, not both
Report comment to moderator  
Reply With Quote
Unread 01-24-11, 06:19 PM  
viva
A Fallenroot Satyr

Forum posts: 29
File comments: 24
Uploads: 0
Re: Re: Re: Chimaeron Low Health Debuff

Originally posted by Freebaser
GetSpellInfo and spellids are used so the aura list won't be locale specific. The following would be do the same thing if you were on an enUS client.

Code:
[GetSpellInfo(39171)] = 7, -- Malevolent Strikes

["Malevolent Strikes"] = 7,
Only one spellid is needed since we are getting the locale name.

Just to be clear are you saying if I'm using an enUS client I can use ["Malevolent Strikes"] = 7, instead of the spellids? Or would I need both as you typed it in the code box?
Report comment to moderator  
Reply With Quote
Unread 01-24-11, 05:28 PM  
Freebaser
A Molten Kobold Bandit
 
Freebaser's Avatar
AddOn Author - Click to view AddOns

Forum posts: 135
File comments: 307
Uploads: 10
Re: Re: Chimaeron Low Health Debuff

Originally posted by viva
I too have found instances where raid debuffs which were supposedly on the aura list were not showing up.

As far as editing the watch list I have a couple of questions. Here's an example of what a line of code looks like in the lua file:

[L["The Bastion of Twilight"]] = {
--Halfus
[GetSpellInfo(39171)] = 7, -- Malevolent Strikes
[GetSpellInfo(86169)] = 8, -- Furious Roar
--Valiona & Theralion
[GetSpellInfo(86788)] = 6, -- Blackout
[GetSpellInfo(86622)] = 7, -- Engulfing Magic

What are the numbers after the equal sign signifying?
If there were four different spell id numbers all with the same spell name, would they each require a different line to be entered into the file, with the same syntax as above, or could multipl spell id numbers be combined in a single line somehow?

An example of the issue is Gravity Crush in the Twiight Ascendants encounter (and which is not in the aura list at all). Wowhead lists 2 spell id numbers: 92488 and 92487 with no further explanation.

Is it impossible to have a white list/black list that can be edited in game that references just the spell NAME and not the spell id like the origianal grid did?
There was a bug with showing raid debuffs, so make sure you have one of the latest versions. The numbers are priority in showing, 1-4 are taken by dispelable debuffs. So raid debuffs should be given a value greater than 5 in most cases(you can still add dispelable debuffs to the aura list with a higher priority ex. "Blackout").

GetSpellInfo and spellids are used so the aura list won't be locale specific. The following would be do the same thing if you were on an enUS client.

Code:
[GetSpellInfo(39171)] = 7, -- Malevolent Strikes

["Malevolent Strikes"] = 7,
Only one spellid is needed since we are getting the locale name.

Gravity Crush is included, I just gave it the wrong comment "Gravity Well" .
Report comment to moderator  
Reply With Quote
Unread 01-24-11, 09:14 AM  
Maxen
A Fallenroot Satyr

Forum posts: 23
File comments: 235
Uploads: 0
Raid Debuffs

For the record, I have killed Chimaeron yesterday with the latest version and it was showing the Low Health debuff without having to add another spellId.

What are the numbers after the equal sign signifying?
These numbers are the priority of the debuff that will show over others. Since it can shows only one icon at a time, you need to specify which one are the most important.
Report comment to moderator  
Reply With Quote
Unread 01-24-11, 07:32 AM  
viva
A Fallenroot Satyr

Forum posts: 29
File comments: 24
Uploads: 0
Re: Chimaeron Low Health Debuff

Originally posted by Maxen
Yesterday, I had to add this spell Id (76143) to make the Low Health debuff showing on 10 man regular.

My guess is that there is more then one spell Ids for raid size / version. Is that the case or a bug ?
I too have found instances where raid debuffs which were supposedly on the aura list were not showing up.

As far as editing the watch list I have a couple of questions. Here's an example of what a line of code looks like in the lua file:

[L["The Bastion of Twilight"]] = {
--Halfus
[GetSpellInfo(39171)] = 7, -- Malevolent Strikes
[GetSpellInfo(86169)] = 8, -- Furious Roar
--Valiona & Theralion
[GetSpellInfo(86788)] = 6, -- Blackout
[GetSpellInfo(86622)] = 7, -- Engulfing Magic

What are the numbers after the equal sign signifying?
If there were four different spell id numbers all with the same spell name, would they each require a different line to be entered into the file, with the same syntax as above, or could multipl spell id numbers be combined in a single line somehow?

An example of the issue is Gravity Crush in the Twiight Ascendants encounter (and which is not in the aura list at all). Wowhead lists 2 spell id numbers: 92488 and 92487 with no further explanation.

Is it impossible to have a white list/black list that can be edited in game that references just the spell NAME and not the spell id like the origianal grid did?
Report comment to moderator  
Reply With Quote
Unread 01-21-11, 10:39 AM  
Toran
A Nerdscale Dorkin
 
Toran's Avatar
Premium Member

Forum posts: 143
File comments: 433
Uploads: 0
Freebaser, another feature request. It would be handy to be able to adjust the sorting of the pets separate to the rest of the groups (and ultimately the height/width of the frame). I have the main groups expanding horizontally (and down). To the right of them I have the pets, which currently do the same. Might work better if the pets were able to be aligned vertically instead, so they nestle nicely next to the rest.
Report comment to moderator  
Reply With Quote
Unread 01-18-11, 03:57 AM  
Skyggesang
A Kobold Labourer
 
Skyggesang's Avatar

Forum posts: 1
File comments: 16
Uploads: 0
Originally posted by Toran
Nice update. What an overhaul. Most everything I tweaked manually before is now available as options.
Very nice options update indeed. Thank you again, Freebaser.
Report comment to moderator  
Reply With Quote
Unread 01-17-11, 08:14 PM  
Maxen
A Fallenroot Satyr

Forum posts: 23
File comments: 235
Uploads: 0
Also, if you could put a Use defined colors for PowerBars, that would be it ! No more Winmerge to do !
Report comment to moderator  
Reply With Quote
Unread 01-17-11, 10:52 AM  
Maxen
A Fallenroot Satyr

Forum posts: 23
File comments: 235
Uploads: 0
Chimaeron Low Health Debuff

Yesterday, I had to add this spell Id (76143) to make the Low Health debuff showing on 10 man regular.

My guess is that there is more then one spell Ids for raid size / version. Is that the case or a bug ?
Last edited by Maxen : 01-17-11 at 10:54 AM.
Report comment to moderator  
Reply With Quote
Unread 01-17-11, 05:50 AM  
scaife
A Kobold Labourer

Forum posts: 0
File comments: 28
Uploads: 0
Hi,

got these errors yesteday with version 6.0. The firts one always occur when my mouse hover on FreebGrid.

Code:
Message: Interface\AddOns\oUF_Freebgrid\freebgrid.lua:438: attempt to index field 'freebarrow' (a nil value)
Time: 01/16/11 21:48:20
Count: 977
Stack: [C]: ?
[C]: ?
Interface\FrameXML\SecureHandlers.lua:38: in function <Interface\FrameXML\SecureHandlers.lua:37>
Interface\FrameXML\SecureHandlers.lua:266: in function <Interface\FrameXML\SecureHandlers.lua:261>
[C]: ?
Interface\FrameXML\SecureHandlers.lua:343: in function <Interface\FrameXML\SecureHandlers.lua:328>
(tail call): ?

Locals: No locals to dump
Code:
Message: ...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:300: CreateFrame: Can't create 'Button' now
Time: 01/16/11 21:38:36
Count: 35
Stack: [C]: in function `CreateFrame'
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:300: in function `CompactRaidFrameContainer_GetUnitFrame'
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:272: in function `CompactRaidFrameContainer_AddUnitFrame'
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:236: in function `CompactRaidFrameContainer_AddPets'
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:169: in function `CompactRaidFrameContainer_LayoutFrames'
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:125: in function `CompactRaidFrameContainer_TryUpdate'
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:54: in function `CompactRaidFrameContainer_OnEvent'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>

Locals: (*temporary) = "Button"
(*temporary) = "CompactRaidFrame76"
(*temporary) = CompactRaidFrameContainer {
 unitFrameUnusedFunc = <function> defined @Interface\AddOns\Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameContainer.lua:38
 flowSortFunc = <function> defined @Interface\AddOns\Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameManager.lua:591
 groupMode = "flush"
 flowPauseUpdates = true
 frameUpdateList = <table> {
 }
 flowOrientation = "vertical"
 showBorder = true
 borderFrame = CompactRaidFrameContainerBorderFrame {
 }
 flowFilterFunc = <function> defined @Interface\AddOns\Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameManager.lua:659
 groupFilterFunc = <function> defined @Interface\AddOns\Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameManager.lua:685
 flowMaxPrimaryUsed = 275.99997553955
 flowMaxSecondaryUsed = 539.9999536095
 units = <table> {
 }
 frameReservations = <table> {
 }
 flowFrames = <table> {
 }
 0 = <userdata>
 displayPets = true
 displayFlaggedMembers = true
}
(*temporary) = "CompactUnitFrameTemplate"


Edit : these errors come by thousands (v 6.1) :

Code:
Message: Interface\AddOns\oUF_Freebgrid\oUF\events.lua:12: attempt to call field '?' (a nil value)
Time: 01/17/11 21:13:23
Count: 1490
Stack: Interface\AddOns\oUF_Freebgrid\oUF\events.lua:12: in function <Interface\AddOns\oUF_Freebgrid\oUF\events.lua:10>

Locals: self = Raid_FreebgridUnitButton10 {
 0 = <userdata>
 MasterLooter = <unnamed> {
 }
 __tags = <table> {
 }
 ReadyCheck = <unnamed> {
 }
 Leader = <unnamed> {
 }
 UnwrapScript = <function> defined @Interface\FrameXML\SecureHandlers.lua:710
 RAID_ROSTER_UPDATE = <table> {
 }
 __elements = <table> {
 }
 freebRange = false
 Power = <unnamed> {
 }
 AFKtext = <unnamed> {
 }
 AuraStatusCen = <unnamed> {
 }
 style = "Freebgrid"
 AuraStatusBR = <unnamed> {
 }
 RAID_TARGET_UPDATE = <function> defined @Interface\AddOns\oUF_Freebgrid\oUF\elements\ricons.lua:19
 BG = <unnamed> {
 }
 AuraStatusTR = <unnamed> {
 }
 Execute = <function> defined @Interface\FrameXML\SecureHandlers.lua:699
 PARTY_LOOT_METHOD_CHANGED = <function> defined @Interface\AddOns\oUF_Freebgrid\oUF\elements\masterlooter.lua:30
 AuraStatusBL = <unnamed> {
 }
 unit = "raid9"
 AuraStatusTL = <unnamed> {
 }
 UNIT_FACTION = <table> {
 }
 SetFrameRef = <function> defined @Interface\FrameXML\SecureHandlers.lua:715
 PARTY_LEADER_CHANGED = <function> defined @Interface\AddOns\oUF_Freebgrid\oUF\elements\leader.lua:13
 FocusHighlight = <unnamed> {
 }
 RaidIcon = <unnamed> {
 }
 Healtext = <unnamed> {
 }
 Highlight = <unnamed> {
 }
 PARTY_MEMBERS_CHANGED = <table> {
 }
 WrapScript = <function> defined @Interface\FrameXML\SecureHandlers.lua:704
 PLAYER_FOCUS_CHANGED = <function> defined @Interface\AddOns\oUF_Freebgrid\freebgrid.lua:115
 Assistant = <unnamed> {
 }
 id = "9"
 freebAuras = <unnamed> {
 }
 TargetBorder = <unnamed> {
 }
 freebHeals = true
 Range = <table> {
 }
 freebAfk = true
 colors = <table> {
 }
 Threat = <unnamed> {
 }
 Health = <unnamed> {
 }
 freebIndicators = true
 menu = <function> defined @Interface\AddOns\oUF_Freebgrid\freebgrid.lua:49
 Name = <unnamed> {
 }
}
event = "UNIT_AURA"
(*temporary) = nil
(*temporary) = Raid_FreebgridUnitButton10 {
 0 = <userdata>
 MasterLooter = <unnamed> {
 }
 __tags = <table> {
 }
 ReadyCheck = <unnamed> {
 }
 Leader = <unnamed> {
 }
 UnwrapScript = <function> defined @Interface\FrameXML\SecureHandlers.lua:710
 RAID_ROSTER_UPDATE = <table> {
 }
 __elements = <table> {
 }
 freebRange = false
 Power = <unnamed> {
 }
 AFKtext = <unnamed> {
 }
 AuraStatusCen = <unnamed> {
 }
 style = "Freebgrid"
 AuraStatusBR = <unnamed> {
 }
 RAID_TARGET_UPDATE = <function> defined @Interface\AddOns\oUF_Freebgrid\oUF\elements\ricons.lua:19
 BG = <unnamed> {
 }
 AuraStatusTR = <unnamed> {
 }
 Execute = <function> defined @Interface\FrameXML\SecureHandlers.lua:699
 PARTY_LOOT_METHOD_CHANGED = <function> defined @Interface\AddOns\oUF_Freebgrid\oUF\elements\masterlooter.lua:30
 AuraStatusBL = <unnamed> {
 }
 unit = "raid9"
 AuraStatusTL = <unnamed> {
 }
 UNIT_FACTION = <table> {
 }
 SetFrameRef = <function> defined @Interface\FrameXML\SecureHandlers.lua:715
 PARTY_LEADER_CHANGED = <function> defined @Interface\AddOns\oUF_Freebgrid\oUF\elements\leader.lua:13
 FocusHighlight = <unnamed> {
 }
 RaidIcon = <unnamed> {
 }
 Healtext = <unnamed> {
 }
 Highlight = <unnamed> {
 }
 PARTY_MEMBERS_CHANGED = <table> {
 }
 WrapScript = <function> defined @Interface\FrameXML\SecureHandlers.lua:704
 PLAYER_FOCUS_CHANGED = <function> defined @Interface\AddOns\oUF_Freebgrid\freebgrid.lua:115
 Assistant = <unnamed> {
 }
 id = "9"
 freebAuras = <unnamed> {
 }
 TargetBorder = <unnamed> {
 }
 freebHeals = true
 Range = <table> {
 }
 freebAfk = true
 colors = <table> {
 }
 Threat = <unnamed> {
 }
 Health = <unnamed> {
 }
 freebIndicators = true
 menu = <function> defined @Interface\AddOns\oUF_Freebgrid\freebgrid.lua:49
 Name = <unnamed> {
 }
}
(*temporary) = "UNIT_AURA"
(*temporary) = "raid9"
(*temporary) = "attempt to call field '?' (a nil value)"
Last edited by scaife : 01-17-11 at 04:49 PM.
Report comment to moderator  
Reply With Quote
Unread 01-14-11, 09:05 AM  
Toran
A Nerdscale Dorkin
 
Toran's Avatar
Premium Member

Forum posts: 143
File comments: 433
Uploads: 0
Nice update. What an overhaul. Most everything I tweaked manually before is now available as options. Two more suggestions:

- Differentiate the size between name text and power/health text. I use a more horizontal layout, so have less room for the larger health deficit text that appears. It often overlaps the name/status field. Decreasing the power/health text size will help that issue.

- When using "use defined colors", the pet hp color doesn't change for some reason.

- Class colored power bars. I had this working in the previous version, but it doesn't work any longer, considering the new config / db. Used this code:

Code:
	pp.colorClass = true
	pp.colorReaction = true
	pp.colorClassPet = true 
	ppbg.multiplier = .6
	ppbg:SetAlpha(0.7)
I adjusted the prefix to "power.bg" and "power.xxx" as needed but I received db errors. How might I achieve this manually in the new layout? Bottom two are optional, but I like how it darkens the class color a bit for background.

Added img to help clarify:



I have "reverse health colors" unchecked, "use defined colors" checked to use my custom health color and health bg color. Perhaps in the future, if you deem it worthwhile, the power color option could go there.

EDIT: I think I got it via sloppy hacks.

In this function

Code:
local function PostPower(power, unit)
I changed this code:

Code:
    local r, g, b, t
    t = self.colors.power[ptype]
    r, g, b = 1, 1, 1
    if(t) then
        r, g, b = t[1], t[2], t[3]
    end

    if(b) then
        local bg = power.bg
        if ns.db.reversecolors then
            bg:SetVertexColor(r*.2, g*.2, b*.2)
            power:SetStatusBarColor(r, g, b)
        else
            bg:SetVertexColor(r, g, b)
            power:SetStatusBarColor(0, 0, 0, .8)
        end
    end
To this:

Code:
    local r, g, b, t
	if(UnitIsPlayer(unit) or unit == "pet") then
		local _, class = UnitClass(unit)
		t = oUF.colors.class[class]
		--t = self.colors.power[ptype]
	else
		r, g, b = 1, 1, 1
	end
	
    if(t) then
        r, g, b = t[1], t[2], t[3]
    end

    if(b) then
        local bg = power.bg
        if ns.db.reversecolors then
            bg:SetVertexColor(r, g, b)
            power:SetStatusBarColor(0, 0, 0, .8)
        else
            bg:SetVertexColor(r*.2, g*.2, b*.2)
            power:SetStatusBarColor(r, g, b)
        end
    end
I had to reverse the settings for ns.db.reversecolors as in the config, it won't let you determine your own colors if "reverse health colors" is checked. Since I want a dark bar for all classes, I had to keep that unchecked. This is completely untested except sitting solo in Orgrimmar, and a messy hack to get class colored power bars. It should hold me over until the functionality gets built in.

Here's the result:

Last edited by Toran : 01-14-11 at 01:30 PM.
Report comment to moderator  
Reply With Quote
Unread 01-14-11, 07:12 AM  
Freebaser
A Molten Kobold Bandit
 
Freebaser's Avatar
AddOn Author - Click to view AddOns

Forum posts: 135
File comments: 307
Uploads: 10
Re: Freezes in raid

Originally posted by scaife
I don't know if this is an issue with FreebGrid maybe someone could help : when in raid (especially 25-man) if a new member is added to the raid when I'm in combat my client freezes. I need to restart the client.

If I display LUA errors there's something with the Blizzard Compact Raid Frames (there was also something with the pets in FreebGrid but i've disabled them). And displaying LUA errors prevents the WoW client from freezing oO. Any ideas ?

Anyhow, the new version of oUF_FreebGrid is AWESOME Thank you very much for this most useful and efficient addon. Combined with Clique it's really OP !
Could you test this in a bg with just freebgrid enabled? Also, post any lua errors.
Report comment to moderator  
Reply With Quote
Unread 01-14-11, 02:47 AM  
scaife
A Kobold Labourer

Forum posts: 0
File comments: 28
Uploads: 0
Freezes in raid

I don't know if this is an issue with FreebGrid maybe someone could help : when in raid (especially 25-man) if a new member is added to the raid when I'm in combat my client freezes. I need to restart the client.

If I display LUA errors there's something with the Blizzard Compact Raid Frames (there was also something with the pets in FreebGrid but i've disabled them). And displaying LUA errors prevents the WoW client from freezing oO. Any ideas ?

Anyhow, the new version of oUF_FreebGrid is AWESOME Thank you very much for this most useful and efficient addon. Combined with Clique it's really OP !
Last edited by scaife : 01-14-11 at 02:48 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: