Download
(43Kb)
Download
Updated: 03-18-10 04:23 PM
Addon for:
oUF.
Pictures
File Info
Updated:03-18-10 04:23 PM
Created:unknown
Downloads:23,894
Favorites:81
MD5:

oUF coree  Popular! (More than 5000 hits)

Version: v100318
by: coree [More]

oUF_coree is my layout for oUF (a Unitframe framework made by haste).
You need to install oUF which can be found at ixo.no/git/oUF.git/ or at WoW Interface.

A very big help for me was P3lim's work. I used his layout as a "guide" in order to know more about how these layouts work.


oUF_coree includes unitframes for player, target, tot, focus, focustarget, pet, party, raid, maintank, mainassist and boss.

Currently supported plugins:


To Do:
  • arena frames

v100318
  • inbuild raiddebufffilter default deactivated
  • desaturated target debuffs from other players

v100315
  • updated .toc
  • add oUF RaidDebuffs support + german configfile included (just edit the debuff names if you don't have a german client)
  • support for boss frames (i.e. Gunship Battle)
  • improved vehicle switch
  • number of raidgroups depending on zone (not working correctly yet)
  • inbuild raiddebuff filter changed to whitelist and debuffsnames (instead of spellId; just edit the debuff names if you don't have a german client)

v091218
  • updated .toc
  • updated oUF HealComm4 support

v091205
  • fixed the runebar to reflect changes in oUF


v091129a
  • fixed the runebar
  • added oUF TotemBar support

v091127
  • bug fixing

v091126
  • fixed oUF Moveableframes support for party, raids -- use oUF Moveableframe v1.5
  • added aggro bordercoloring for raidframes (credits to Freebaser (oUF_Freebgrid))
  • non-interruptbile casts have a different barcolor (credits to dr_AllCOM3 (DocsDK_oUF)) *not tested yet*

v092809
  • added oUF MoveableFrames support
  • removed oUF HealComm support
  • added oUF HealComm4 support
  • added oUF PowerSpark support


v090409
  • fixes for 3.2
  • buff indicator for raidframes (credits to Astrometch (oUF_AuraWatch) and roth (oUF_D3OrbsRaid)) - you need oUF_AuraWatch !
  • player frame, target frame,... have names now
  • removed oUF_RuneBar support - now longer needed

v3.2
  • new debuff blacklist/whitelist
  • added Mt-Target-Target

v3.12
  • fixed Maintank and Mainassist

v3.11
  • fixed layout for druids

v3.1
  • removed PostUpdateHealth and PostUpdatePower
  • added tags instead
  • added 3.1 support
  • bug fixes

v3.0
  • player,target,tot and party combined in one file
  • raid and mt,ma combined in one file
  • spawning mt targets and party pets now via a .xml file
  • changed the debufffilter for raidframes (modified oUF_Grid version - credits to zariel)
  • added an utf8-shortening function for names of raidmembers (credits to Caellian)
  • hopefully fixed the castbar safezone bug
  • added mouseover highlighting for the raidframe
  • several other fixes...

v2.5
  • added oUF_BarFader support
  • added optional safezone to the castbar -- local cbarsafe = true

v2.4
  • added oUF_RuneBar support
  • removed runebar code

v2.3.1
  • fixed the partypets

v2.3
  • new font
  • completed the health function part
  • added debuff-filtering for party, raid, mt, ma -> local dfilter = true
    (doesn't work correct yet :( )
  • added oUF_Swing support
  • added oUF_Reputation support
  • removed oUF_AutoShot (outdated) support
  • several bug fixes with layout and other plugins

v2.1.1a
  • bugfix

v2.1.1
  • changed tags for hp / power value to the "old system" not for party, raid

v2.1
  • short hpvalue support (only target) [open oUF_coree.lua, change line 10 to: local targetshort = true]
  • castbar can be switched off now open oUF_coree.lua, change line 11 to: local cbar = false]
  • threat display for party and raid
  • bugfixes


v2.0
  • update to oUF 1.3.1
  • changes to the layout design
  • tags testing
  • party, raid in different files
Post A Reply Comment Options
Unread 03-23-09, 08:52 AM  
illum1n4ti
A Defias Bandit
 
illum1n4ti's Avatar

Forum posts: 3
File comments: 117
Uploads: 1
Originally posted by coree
WoW Thank you very much mate .. u made my life easy.

I think the rest i will find out how it works but for now i don't have any questions anymore i hope :P

But please tell me if i am pain in ya ass ok soo i can stop asking noob questions
Report comment to moderator  
Reply With Quote
Unread 03-23-09, 04:44 AM  
coree
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 78
Uploads: 1
Originally posted by Cashtro
Hai,

Thank you for Ur fast support but i had some problems to fine the codes u were saying.
i have replaced the code only 1 thing i see my name and level but no health :S

did i miss something?

i hope i hear from you soon.
i thought you only want to see the name/level. to see the health too, you hav to edit this part:
Code:
local function PostUpdateHealth(self, event, unit, bar, min, max)
	if(self.unit ~= unit) then return end
	local min, max = UnitHealth(unit), UnitHealthMax(unit)
	local bar = self.Health
	local d = floor(min/max*100)
	if(unit == "target" or unit == "player") then
		if(not UnitIsConnected(unit)) then
			bar.Text:SetText("Offline")
		elseif(UnitIsDead(unit)) then
			bar.Text:SetText("Dead")
		elseif(UnitIsGhost(unit)) then
			bar.Text:SetText("Ghost")
		else
			if (unit == "target") then
				if (targetshort == true) then
					bar.Text:SetText(ShortHp(min))
				else
					bar.Text:SetText(min)
				end			
			else
				if(min ~= max) then
					bar.Text:SetText(min)
				else
					if (UnitMana("player") > 0) then
						bar.Text:SetText(min)
					elseif (UnitMana("player") == 0) then
						bar.Text:SetText()
					elseif(UnitAffectingCombat("player") == 1) then
						bar.Text:SetText(min)
					else
						bar.Text:SetText()
					end
				end
			end
		end
	end
	if(not UnitIsConnected(unit) or UnitIsDead(unit) or UnitIsGhost(unit)) then
		bar.Text2:SetText()
		bar:SetValue(0)
	else
		if (unit == "target") then	
			if (min ~= max) then
				bar.Text2:SetText(d.."%")
			else
				bar.Text2:SetText()			
			end
		else
			if(min ~= max) then
				if(d < 100) then
					bar.Text2:SetText(d.."%")
				end
			else
				bar.Text2:SetText()
			end
		end
	end	
	if(self.Info) then UpdateInfoColor(self.Info, unit) end
end
to this:
Code:
local function PostUpdateHealth(self, event, unit, bar, min, max)
	if(self.unit ~= unit) then return end
	local min, max = UnitHealth(unit), UnitHealthMax(unit)
	local bar = self.Health
	local d = floor(min/max*100)
	if(unit == "target" or unit == "player") then
		if(not UnitIsConnected(unit)) then
			bar.Text:SetText("Offline")
		elseif(UnitIsDead(unit)) then
			bar.Text:SetText("Dead")
		elseif(UnitIsGhost(unit)) then
			bar.Text:SetText("Ghost")
		else
			if (unit == "target" or unit == "player") then
				if (targetshort == true) then
					bar.Text:SetText(ShortHp(min))
				else
					bar.Text:SetText(min)
				end			
			else
				if(min ~= max) then
					bar.Text:SetText(min)
				else
					bar.Text:SetText()
				end
			end
		end
	end
	if(not UnitIsConnected(unit) or UnitIsDead(unit) or UnitIsGhost(unit)) then
		bar.Text2:SetText()
		bar:SetValue(0)
	else
		if (unit == "target") then	
			if (min ~= max) then
				bar.Text2:SetText(d.."%")
			else
				bar.Text2:SetText()			
			end
		else
			if(min ~= max) then
				if(d < 100) then
					bar.Text2:SetText(d.."%")
				end
			else
				bar.Text2:SetText()
			end
		end
	end	
	if(self.Info) then UpdateInfoColor(self.Info, unit) end
end
Report comment to moderator  
Reply With Quote
Unread 03-22-09, 06:01 PM  
illum1n4ti
A Defias Bandit
 
illum1n4ti's Avatar

Forum posts: 3
File comments: 117
Uploads: 1

@Cashtro:
search for:
Code:
	if(unit ~= "player") then
		self.Info = SetFontString(self.Health, fontn, 14, "THINOUTLINE")
		self.Info:SetPoint("LEFT", self.Health, 1, -23)
		if(unit == "targettarget" or unit == "pet") then		
			self.Info:SetPoint("RIGHT", self.Health.Text2, "LEFT")
		elseif(unit == "focus" or unit == "focustarget") then		
			self.Info:SetPoint("LEFT", self.Health, 3, 0)
			self.Info:SetPoint("RIGHT", self.Health)
		elseif(settings.size == "party") then
			self.Info:SetPoint("LEFT", self.Health, 0, -23)
			self.Info:SetPoint("RIGHT", self.Health.Text, "LEFT")
		else		
			self.Info:SetPoint("RIGHT", self.Power.Text, "LEFT")
		end
		self:Tag(self.Info, unit == "target" and "[coreecolor][level][coreeclassi] |cFFFFFFFF[name]|r" or settings.size == "party" and "[coreeafk]|cFFFFFFFF[name]|r" or "|cFFFFFFFF[name]|r")
	end
at oUF_coree.lua
change this code to:
Code:
	
		self.Info = SetFontString(self.Health, fontn, 14, "THINOUTLINE")
		self.Info:SetPoint("LEFT", self.Health, 1, -23)
		if(unit == "targettarget" or unit == "pet") then		
			self.Info:SetPoint("RIGHT", self.Health.Text2, "LEFT")
		elseif(unit == "focus" or unit == "focustarget") then		
			self.Info:SetPoint("LEFT", self.Health, 3, 0)
			self.Info:SetPoint("RIGHT", self.Health)
		elseif(settings.size == "party") then
			self.Info:SetPoint("LEFT", self.Health, 0, -23)
			self.Info:SetPoint("RIGHT", self.Health.Text, "LEFT")
		else		
			self.Info:SetPoint("RIGHT", self.Power.Text, "LEFT")
		end
		self:Tag(self.Info, (unit == "target" or unit == "player") and "[coreecolor][level][coreeclassi] |cFFFFFFFF[name]|r" or settings.size == "party" and "[coreeafk]|cFFFFFFFF[name]|r" or "|cFFFFFFFF[name]|r")
to change the frame size of the target of target frame, search for this code at the end of oUF_coree.lua:
Code:
oUF:RegisterStyle("coree - small", setmetatable({
	["initial-width"] = width - 106, <-- edit this 
	["initial-height"] = height, <--- edit this
	["size"] = "small",
}, {__call = func}))
[/b]
Hai,

Thank you for Ur fast support but i had some problems to fine the codes u were saying.
i have replaced the code only 1 thing i see my name and level but no health :S

did i miss something?

i hope i hear from you soon.
Last edited by illum1n4ti : 03-23-09 at 01:44 AM.
Report comment to moderator  
Reply With Quote
Unread 03-22-09, 12:07 PM  
coree
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 78
Uploads: 1
Originally posted by cs703
error when 2 raid members

[19:22:22] Interface\AddOns\oUF_coree\oUF_coreeR.lua:222: attempt to index global 'raid' (a nil value)
[C]: ?
Interface\AddOns\oUF_coree\oUF_coreeR.lua:222: in function <Interface\AddOns\oUF_coree\oUF_coreeR.lua:216>
change raid:Hide() , raid:Show() to Raid:Hide(), Raid:Show() or RaidGroup:Hide()/:Show()

@Barosh:
search for :
Code:
if IsAddOnLoaded("oUF_HealComm") then
	oUF:Spawn("targettarget"):SetPoint("LEFT", oUF.units.target, "RIGHT", 7, -25)
else 
	oUF:Spawn("targettarget"):SetPoint("LEFT", oUF.units.target, "RIGHT", 7, 0)
end
at the end of oUF_coree.lua. there you can edit the position of the tot frame like you want

@Cashtro:
search for:
Code:
	if(unit ~= "player") then
		self.Info = SetFontString(self.Health, fontn, 14, "THINOUTLINE")
		self.Info:SetPoint("LEFT", self.Health, 1, -23)
		if(unit == "targettarget" or unit == "pet") then		
			self.Info:SetPoint("RIGHT", self.Health.Text2, "LEFT")
		elseif(unit == "focus" or unit == "focustarget") then		
			self.Info:SetPoint("LEFT", self.Health, 3, 0)
			self.Info:SetPoint("RIGHT", self.Health)
		elseif(settings.size == "party") then
			self.Info:SetPoint("LEFT", self.Health, 0, -23)
			self.Info:SetPoint("RIGHT", self.Health.Text, "LEFT")
		else		
			self.Info:SetPoint("RIGHT", self.Power.Text, "LEFT")
		end
		self:Tag(self.Info, unit == "target" and "[coreecolor][level][coreeclassi] |cFFFFFFFF[name]|r" or settings.size == "party" and "[coreeafk]|cFFFFFFFF[name]|r" or "|cFFFFFFFF[name]|r")
	end
at oUF_coree.lua
change this code to:
Code:
	
		self.Info = SetFontString(self.Health, fontn, 14, "THINOUTLINE")
		self.Info:SetPoint("LEFT", self.Health, 1, -23)
		if(unit == "targettarget" or unit == "pet") then		
			self.Info:SetPoint("RIGHT", self.Health.Text2, "LEFT")
		elseif(unit == "focus" or unit == "focustarget") then		
			self.Info:SetPoint("LEFT", self.Health, 3, 0)
			self.Info:SetPoint("RIGHT", self.Health)
		elseif(settings.size == "party") then
			self.Info:SetPoint("LEFT", self.Health, 0, -23)
			self.Info:SetPoint("RIGHT", self.Health.Text, "LEFT")
		else		
			self.Info:SetPoint("RIGHT", self.Power.Text, "LEFT")
		end
		self:Tag(self.Info, (unit == "target" or unit == "player") and "[coreecolor][level][coreeclassi] |cFFFFFFFF[name]|r" or settings.size == "party" and "[coreeafk]|cFFFFFFFF[name]|r" or "|cFFFFFFFF[name]|r")
to change the frame size of the target of target frame, search for this code at the end of oUF_coree.lua:
Code:
oUF:RegisterStyle("coree - small", setmetatable({
	["initial-width"] = width - 106, <-- edit this 
	["initial-height"] = height, <--- edit this
	["size"] = "small",
}, {__call = func}))
Last edited by coree : 03-22-09 at 12:14 PM.
Report comment to moderator  
Reply With Quote
Unread 03-22-09, 05:19 AM  
illum1n4ti
A Defias Bandit
 
illum1n4ti's Avatar

Forum posts: 3
File comments: 117
Uploads: 1
Exclamation I need your help

Dear Coree,

For the first time i saw ur layout and it looks beauty .. the only thing i couldn't find out how to add in player side my char name and level just like target side ( its empty ) i hope u understand what i mean.

Sec, How do i resize Target/Target frame?

I hope i hear from u soon.

regards
Report comment to moderator  
Reply With Quote
Unread 03-21-09, 02:41 AM  
Barosh
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
If I activate the healcomm-addon then the targetoftarget frame is moved to the rigth side of the target frame.

Why?

How can I disable this?
Normally I have the target frame in the middle of my ui
Report comment to moderator  
Reply With Quote
Unread 03-19-09, 05:27 AM  
cs703
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Originally posted by coree
add to the end of oUF_coreeR.lua

Code:
local raidToggle = CreateFrame("Frame")
raidToggle:RegisterEvent("PLAYER_LOGIN")
raidToggle:RegisterEvent("RAID_ROSTER_UPDATE")
raidToggle:RegisterEvent("PARTY_LEADER_CHANGED")
raidToggle:RegisterEvent("PARTY_MEMBER_CHANGED")
raidToggle:SetScript("OnEvent", function(self)
	if(InCombatLockdown()) then
		self:RegisterEvent("PLAYER_REGEN_ENABLED")
	else
		self:UnregisterEvent("PLAYER_REGEN_ENABLED")
		if(GetNumRaidMembers() < 5) then
			raid:Hide()
		else
			raid:Show()
		end
	end
end)
error when 2 raid members

[19:22:22] Interface\AddOns\oUF_coree\oUF_coreeR.lua:222: attempt to index global 'raid' (a nil value)
[C]: ?
Interface\AddOns\oUF_coree\oUF_coreeR.lua:222: in function <Interface\AddOns\oUF_coree\oUF_coreeR.lua:216>
Report comment to moderator  
Reply With Quote
Unread 03-17-09, 09:49 AM  
coree
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 78
Uploads: 1
Originally posted by Karnivan
Hi, how can i hide raidframe if in a raid are less than 5 members? And the dblacklist isn't working now?
add to the end of oUF_coreeR.lua

Code:
local raidToggle = CreateFrame("Frame")
raidToggle:RegisterEvent("PLAYER_LOGIN")
raidToggle:RegisterEvent("RAID_ROSTER_UPDATE")
raidToggle:RegisterEvent("PARTY_LEADER_CHANGED")
raidToggle:RegisterEvent("PARTY_MEMBER_CHANGED")
raidToggle:SetScript("OnEvent", function(self)
	if(InCombatLockdown()) then
		self:RegisterEvent("PLAYER_REGEN_ENABLED")
	else
		self:UnregisterEvent("PLAYER_REGEN_ENABLED")
		if(GetNumRaidMembers() < 5) then
			raid:Hide()
		else
			raid:Show()
		end
	end
end)
yes the blacklist isn't working correct now, but currenty i am rewriting this part.
Report comment to moderator  
Reply With Quote
Unread 03-16-09, 09:00 AM  
Karnivan
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hi, how can i hide raidframe if in a raid are less than 5 members? And the dblacklist isn't working now?
Report comment to moderator  
Reply With Quote
Unread 03-15-09, 05:01 PM  
coree
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 78
Uploads: 1
Originally posted by lanznaster
is there a way to make the raid frame go up to 40 ppl?
coreeR.lua

change
Code:
local Raid = {}
for i = 1, 5 do
to
Code:
local Raid = {}
for i = 1, 8 do
and @ cs703: wait until my next update.
Last edited by coree : 03-15-09 at 05:01 PM.
Report comment to moderator  
Reply With Quote
Unread 03-15-09, 10:10 AM  
cs703
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
thanks for your layout,it's cool.

look,i don't want the ellipsis "..." to be included in the raid's member name,how to deal with that?


Last edited by cs703 : 03-15-09 at 10:11 AM.
Report comment to moderator  
Reply With Quote
Unread 03-14-09, 10:11 AM  
lanznaster
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
is there a way to make the raid frame go up to 40 ppl?
Report comment to moderator  
Reply With Quote
Unread 03-14-09, 06:32 AM  
lanznaster
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Originally posted by coree
add:
Code:
self.Castbar.SafeZone:SetPoint("TOPRIGHT")
self.Castbar.SafeZone:SetPoint("BOTTOMRIGHT")
to the safezone part.
i hope that will fix your problem.

edit: hm this did not fix it really. sometimes the castbar is still overlaped by the safezone ...
yep...did not worked
Last edited by lanznaster : 03-14-09 at 06:34 AM.
Report comment to moderator  
Reply With Quote
Unread 03-13-09, 10:07 AM  
coree
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 78
Uploads: 1
Originally posted by lanznaster
Now the latency bar dont go off the castbar, but it's still on top of the bar so i cant see where the latency really is...

i just installed the latest version -
1.3.8, will try it later at night...
add:
Code:
self.Castbar.SafeZone:SetPoint("TOPRIGHT")
self.Castbar.SafeZone:SetPoint("BOTTOMRIGHT")
to the safezone part.
i hope that will fix your problem.

edit: hm this did not fix it really. sometimes the castbar is still overlaped by the safezone ...
Last edited by coree : 03-13-09 at 03:50 PM.
Report comment to moderator  
Reply With Quote
Unread 03-09-09, 11:13 AM  
lanznaster
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Originally posted by coree
hmm. i don't have this bug. when do you have these problems ? every time ?
do you have the latest ouf version ?


@Oakayam: i'll change the debuff filtering. then it will be easier to change it to show only special buffs.
Now the latency bar dont go off the castbar, but it's still on top of the bar so i cant see where the latency really is...

i just installed the latest version -
1.3.8, will try it later at night...
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: