Download
(126 Kb)
Download
Updated: 09-12-13 09:26 AM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:09-12-13 09:26 AM
Created:07-19-12 07:54 AM
Downloads:6,498
Favorites:29
MD5:
5.4
oUF Drk Fanupdate  Popular! (More than 5000 hits)
Version: r16
by: myno [More]
oUF_Drk Fanupdate

This layout needs oUF 1.6 or higher to work. Get it here: http://www.wowinterface.com/downloads/info9994-oUF.html.

If you have questions or encounter any bugs/problems feel free to post them in the comment section.
The latest version of this layout can always be found on my github.

Features
- Supported Unitframes:
  • Player
  • Target
  • TargetOfTarget
  • Focus
  • FocusTarget
  • Pet
  • Bossframes
  • Raid
- Castbar on Player, Target, TargetOfTarget, Focus, FocusTarget and Bossframes
- Buff and Debuffs for Player, Target, TargetOfTarget, Focus and Bossframes (customizable)
- Class Bars (Holy Power, Runes, Combo Points, Balance Power Bar, Chi, Shadow Orbs, Warlock Energy)
- Raid Frames with Raid Debuffs and Indicators for certain buffs (mainly for healers)

Config
You are able to do some basic config (position, enabling stuff etc.) in the cfg.lua.

Plugin Support
- oUF_Smooth Update
- oUF_Experience

Credits
- Haste for making oUF.
- Drakull for originally creating this layout.
- A lot of other oUF layout authors like Phanx, Freebaser and zork.
Latest version can always be found on github

r16
-Use Blizzad right click menu
-Siege of Orgrimmar raid debuffs (Paragons, Garrosh and some others missing)
-toc bump

r15
-Fixed Affliction Warlocks now always having 4 Soul Shards
-Fixed castbar error while in a vehicle
-Temporary fix for boss frames
-Tag optimization

r14
-Added Throne of Thunder raid debuffs
-Fixed tooltips on raid frames not showing
-Fixed wrong frame levels for target energy text and portrait background
-Fixed raid mark on focus, targettarget etc.
-Fixed raid frame debuff duration not refreshing (cd spiral from OmniCC)
-code cleanup
-toc bump

r13
-Fixed SPELL_POWER_CHI
-Added combat icon for target frame (thanks Phanx)

r12
-Added 5th boss bar
-Fixed Wind Step spell id

r11
-Added option to disable right click menu on raid frames

r10
-Fixed debuff desaturation if not own debuff on target frame
-Added scaleable frames (see cfg.lua)
-Fixed party not showing when cfg.raidShowSolo is set to false
-Added Spiral CD count to raid frame debuffs (needs OmniCC or tullaCooldownCount)
-Improved AltPowerBar
-Added DeathBarrier DK indicator

r9
-Fixed class bars to work with oUF-1.5.13-316

r8
-Fixed HealPrediction in raid frames
-Fixed dispellable debuffs in raid frames not showing up for non-english localizations
-Added threat indicator in raid frames
-Added role icons on mouseover in raid frames (see config)
-Target cast bar can now be made seperate as well (see config)
-Changed raidDebuffs to work with spellIDs for better differentiation between debuffs with the same name (e.g. Yor'sahj's Deep Corruption was only showing the debuff with no stacks)

r7
-Fixed raidDebuffs for classes that can't dispell
-Added horizontal raid frame orientation (see config)
-Changed Energy Text position

r6
-Improved Warlock and Monk Class Bar
-Fixed Warrior raid frame indicator error

r5
-Removed AuraWatch, added Raid Frame Indicators for buffs etc. (for example Riptide and Earth Shield for Shaman)
-Added Warlock Spec Bars from tukz
-Shuffled around stuff in the Raid Frames, think I'm kind of okay with how they are looking now

r4
-Some more tweaks and fixes mainly for the Raid Frames

r3
-Removed debug code

r2
-Added Raidframes (not finished)
-Added raidDebuff and AuraWatch for Raidframes
-Minor tweaks and changes

r1
-Initial release
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Author
Date
r15
117kB
myno
05-10-13 02:51 PM


Post A Reply Comment Options
Old 03-09-13, 09:01 PM  
Dartrianis
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Fantastic thanks for the fast response, i have tested the new code and it is working perfectly.
Dartrianis is offline Report comment to moderator  
Reply With Quote
Old 03-09-13, 05:30 AM  
myno
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 86
Uploads: 4
Originally Posted by Dartrianis
I am having 1 small issue with 5.2, Blizz got rid of the glyph of Soul that gave affliction locks a 4th shard and cooked the 4th shard into the spec.
Try the following code (in github) instead of the one you posted :

Code:
		elseif spec == SPEC_WARLOCK_AFFLICTION then
			local maxshards = 4

			for i = 1, maxshards do
				wsb[i]:Show()
				wsb[i]:SetWidth(w / maxshards - spacing)
			end
I don't have a warlock myself, so sadly I can't test it.
myno is offline Report comment to moderator  
Reply With Quote
Old 03-08-13, 08:44 PM  
Dartrianis
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Hi and thank you for taking this great layout over. i am having 1 small issue with 5.2, Blizz got rid of the glyph of Soul that gave affliction locks a 4th shard and cooked the 4th shard into the spec.

it would seem that the oUF_WarlockSpecBars.lua is still setup to look for the glyph before making the 4th shard show.

Code:
elseif spec == SPEC_WARLOCK_AFFLICTION then
			local maxshards = 3
			
			for i = 1, GetNumGlyphSockets() do
				local glyphID = select(4, GetGlyphSocketInfo(i))
				if glyphID == SPEC_WARLOCK_AFFLICTION_GLYPH_SHARDS then maxshards = 4 end
			end			

			for i = 1, maxshards do
				if i ~= maxshards then
					wsb[i]:Show()
					wsb[i]:SetWidth(w / maxshards - spacing)
					s = s + (w / maxshards)
				else
					wsb[i]:SetWidth(w - s)
				end
			end
			
			if maxshards == 3 then wsb[4]:Hide() else wsb[4]:Show() end
I think i have located the correct place but i have no clue what to change it to so that 4 shards show up for Affliction.

Would you someone know?
Thanks
Last edited by Dartrianis : 03-08-13 at 08:45 PM.
Dartrianis is offline Report comment to moderator  
Reply With Quote
Old 12-19-12, 05:18 PM  
myno
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 86
Uploads: 4
Originally Posted by Laorne
I really can't say but it was the same with a fresh install. COuld you tell me the changes I need to make to the code for the tooltip to work? I don't want to install a fresh copy and have to redo all the changes.
Delete this in core.lua: https://github.com/xmyno/oUF_Drk/com...73b032b#L1L275 (Line 275-286)
and add these two in lib.lua: https://github.com/xmyno/oUF_Drk/com...3b032b#L2R1436 (Line 1436-1439 and 1447-1449)
myno is offline Report comment to moderator  
Reply With Quote
Old 12-19-12, 04:07 PM  
Laorne
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
Originally Posted by myno
Originally Posted by Laorne
1. Tooltip issue seems to be resolved. However when I change cfg.ShowRoleIcons = false to true the tooltips stop working again. Turning them back off tooltips work again so there seems to be a conflict somewhere and likely why I couldn't get them working in the previous setup since I didn't think to turn that option off. I assume it has something to do with this code??

2. Raid orientation is still the same. Vertical = frames grow up, Horizontal = frames grow left.
I dont' use horizontal but I assume they should grow right not left

Update** I think I have fixed this with the following code changes:

The default was TOP. I changed it to BOTTOM
Tooltip issue is fixed in the new github version of core.lua and lib.lua. However I still can't see any reason why raid frame orientation shouldn't be working for you. Changing TOP to BOTTOM is just creating the next frame on top of the previous frame and then you move it down by 80px. TOP in this case means that the next frame is anchored with it's top to the previous frame, not that it's created above the previous one.
I really can't say but it was the same with a fresh install. COuld you tell me the changes I need to make to the code for the tooltip to work? I don't want to install a fresh copy and have to redo all the changes.
Last edited by Laorne : 12-19-12 at 04:08 PM.
Laorne is offline Report comment to moderator  
Reply With Quote
Old 12-19-12, 06:59 AM  
myno
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 86
Uploads: 4
Originally Posted by Laorne
1. Tooltip issue seems to be resolved. However when I change cfg.ShowRoleIcons = false to true the tooltips stop working again. Turning them back off tooltips work again so there seems to be a conflict somewhere and likely why I couldn't get them working in the previous setup since I didn't think to turn that option off. I assume it has something to do with this code??

2. Raid orientation is still the same. Vertical = frames grow up, Horizontal = frames grow left.
I dont' use horizontal but I assume they should grow right not left

Update** I think I have fixed this with the following code changes:

The default was TOP. I changed it to BOTTOM
Tooltip issue is fixed in the new github version of core.lua and lib.lua. However I still can't see any reason why raid frame orientation shouldn't be working for you. Changing TOP to BOTTOM is just creating the next frame on top of the previous frame and then you move it down by 80px. TOP in this case means that the next frame is anchored with it's top to the previous frame, not that it's created above the previous one.
myno is offline Report comment to moderator  
Reply With Quote
Old 12-18-12, 01:49 PM  
Laorne
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
So i installed a fresh copy of OUF and OUF_Drk. I could not find anything in my WTF files for either addon since both seem to be configured directly in the addon. If that is not the case and I missed something else to delete please let me know.

1. Tooltip issue seems to be resolved. However when I change cfg.ShowRoleIcons = false to true the tooltips stop working again. Turning them back off tooltips work again so there seems to be a conflict somewhere and likely why I couldn't get them working in the previous setup since I didn't think to turn that option off. I assume it has something to do with this code??

Code:
if cfg.ShowRoleIcons or not cfg.ShowTooltips then
			self:SetScript("OnEnter",function()
				if not cfg.ShowTooltips then GameTooltip:Hide() end
				if cfg.ShowRoleIcons then self.LFDRole:SetAlpha(1) end
			end)
		end
		if cfg.ShowRoleIcons then
			self:SetScript("OnLeave",function()
				self.LFDRole:SetAlpha(0)
			end)
		end
2. Raid orientation is still the same. Vertical = frames grow up, Horizontal = frames grow left.
I dont' use horizontal but I assume they should grow right not left

Update** I think I have fixed this with the following code changes:

The default was TOP. I changed it to BOTTOM
Code:
if cfg.raidOrientationHorizontal then
			point = "LEFT"
		else
			point = "BOTTOM"
		end
I also had to change YOffset from -5 to -80. In addition for the frame height I had to change the self:SetHeight(38) in addition to your suggestion as the power bar would then not show

Code:
for i = 1, 5 do
			local header = oUF:SpawnHeader(
			  "drkGroup"..i,
			  nil,
			  soloraid,
			  "showRaid",           true,
			  "point",              point,
			  "startingIndex",		1,
			  "yOffset",            -80,
			  "xoffset",            4,
			  "columnSpacing",      7,
			  "groupFilter",        tostring(i),
			  "groupBy",            "GROUP",
			  "groupingOrder",      "1,2,3,4,5",
			  "sortMethod",         "NAME",
			  "columnAnchorPoint",  "RIGHT",
			  "maxColumns",         5,
			  "unitsPerColumn",     5,
			  "oUF-initialConfigFunction", [[
				self:SetHeight(38)
				self:SetWidth(77)
			  ]]
			)
Everything else you suggested seems to be working now with the exception of the tooltips when RoleIcons is turned on.
Last edited by Laorne : 12-18-12 at 03:14 PM.
Laorne is offline Report comment to moderator  
Reply With Quote
Old 12-18-12, 12:33 PM  
myno
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 86
Uploads: 4
Originally Posted by Laorne
1. I am still unable to get tooltips working. I made the change but still no go. I had made no alterations to the code other than changing from false to true so is there possibly something missing elsewhere? **Note** I disabled my tooltip addon to ensure nothing was interferring but it still did not work.
2. The change for the leader/master/assist icons seemed to break the package. I removed the requested. This is not a big deal so if it doesn't work I'm not to worried.
3. Based on the original position of the frames I assumed so as well until I joined a group and they went up rather than down. i compared the following code to the site and it appears the same but perhaps I missed something. If you could peak I would appreciate it.

[3a.] Also with regards to this same code. I tried to adjust the frame height which it did adjust but the actual health bar did not reflect this and there was just dead space where i increased the height. Ideas??

4. Perhaps I missworded my original request with regards to the frame color. I just wanted the color to be lighter. Perhaps a lighter shade of gray. I adjusted the Alpha but it did not seem to make any difference.
1. Have you tried it with a fresh download? It's working fine for me.

2. Delete the two orange lines, I checked the position and it's fine.
lib.lua Line 391
Code:
	if f.mystyle ~= 'raid' then
		--Leader icon
		li = h:CreateTexture(nil, "OVERLAY")
		li:SetPoint("TOPLEFT", f, 0, 8)
		li:SetSize(12,12)
		f.Leader = li
		--Assist icon
		ai = h:CreateTexture(nil, "OVERLAY")
		ai:SetPoint("TOPLEFT", f, 0, 8)
		ai:SetSize(12,12)
		f.Assistant = ai
		--ML icon
		local ml = h:CreateTexture(nil, 'OVERLAY')
		ml:SetSize(10,10)
		ml:SetPoint('LEFT', f.Leader, 'RIGHT')
		f.MasterLooter = ml
	end
3. Same as number 1. I can't see where the problem is. Try if it's still the same with a fresh download.

3a. Height of the health frame is in lib.lua Line 104:

Code:
s:SetHeight(retVal(f,f:GetHeight()*.68,f:GetHeight()*.76,29))
The orange value is the height of the health bar for the raid frames.

4. Color of the background is in lib.lua Line 132. I need to clean up the code
myno is offline Report comment to moderator  
Reply With Quote
Old 12-17-12, 11:23 AM  
Laorne
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
1. I am still unable to get tooltips working. I made the change but still no go. I had made no alterations to the code other than changing from false to true so is there possibly something missing elsewhere? **Note** I disabled my tooltip addon to ensure nothing was interferring but it still did not work.
2. The change for the leader/master/assist icons seemed to break the package. I removed the requested. This is not a big deal so if it doesn't work I'm not to worried.
3. Based on the original position of the frames I assumed so as well until I joined a group and they went up rather than down. i compared the following code to the site and it appears the same but perhaps I missed something. If you could peak I would appreciate it.

Also with regards to this same code. I tried to adjust the frame height which it did adjust but the actual health bar did not reflect this and there was just dead space where i increased the height. Ideas??

-- Raid Frames
if cfg.ShowRaid then
local soloraid,point
if cfg.RaidShowSolo then
soloraid = "custom show;"
else
soloraid = "party,raid"
end
if cfg.raidOrientationHorizontal then
point = "LEFT"
else
point = "TOP"
end

self:SetActiveStyle('drkGroup')
local raid = {}
for i = 1, 5 do
local header = oUF:SpawnHeader(
"drkGroup"..i,
nil,
soloraid,
"showRaid", true,
"point", point,
"startingIndex", 1,
"yOffset", -5,
"xoffset", 4,
"columnSpacing", 7,
"groupFilter", tostring(i),
"groupBy", "GROUP",
"groupingOrder", "1,2,3,4,5",
"sortMethod", "NAME",
"columnAnchorPoint", "RIGHT",
"maxColumns", 5,
"unitsPerColumn", 5,
"oUF-initialConfigFunction", [[
self:SetHeight(32)
self:SetWidth(77)
]]
)

if i == 1 then
header:SetAttribute("showSolo", true)
header:SetAttribute("showPlayer", true)
header:SetAttribute("showParty", true)
header:SetPoint("TOPLEFT",UIParent,"BOTTOMRIGHT",cfg.raidX,cfg.raidY)
else
if cfg.raidOrientationHorizontal then
header:SetPoint("TOPLEFT",raid[i-1],"BOTTOMLEFT",0,-4)
else
header:SetPoint("TOPLEFT",raid[i-1],"TOPRIGHT",4,0)
end
end
header:SetScale(cfg.raidScale)
raid[i] = header
end
end

4. Perhaps I missworded my original request with regards to the frame color. I just wanted the color to be lighter. Perhaps a lighter shade of gray. I adjusted the Alpha but it did not seem to make any difference.

Thanks again.
Last edited by Laorne : 12-17-12 at 11:36 AM.
Laorne is offline Report comment to moderator  
Reply With Quote
Old 12-17-12, 09:41 AM  
myno
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 86
Uploads: 4
Originally Posted by Laorne
cfg.ShowToolTips = true -- Show Tooltips on raid frames
The option has to be called cfg.ShowTooltips with a lower-case t.

Originally Posted by Laorne
There are a few other things i'd like to see just not sure if it's possible on this edit.

1. Show leader/assist/master loot icons on raid frames - I see the options in the config files just not sure how to add to the raid frames.
2. Show AFK timer on target frame. It currently shows AFK but i'd like to see the timer if possible
3. Is there a way to change the direction the raid groups grow. For vertical they grow up and I would prefer if the direction was down. I looked in the settings but just could not seem to find how to do this.
4. Is there a way to change the raid frame background color when health is missing. I tried editing the following but the only option that seems to do anything is the self.range settings. I tried changing self.Health.bg.multiplier = 0.3 but it doesn't seem to have any effect.
1. You can add them by editing the code at Line 391 and below in lib.lua. (https://github.com/xmyno/oUF_Drk/blo...r/lib.lua#L391)
Either remove the if f.mystyle ~= raid and the end in Line 407, but of the top of my head I don't know if the icons would fit for the raid frames so you might have to recreate them in an else-block (after Line 406).
2. This would require extra code to save the time when the player has gone afk. It's possible, but I currently do not have the time to try it out.
3. They should already be growing downwards. Check with the code of core.lua in the github if you have differences.
4. What color do you want? Can't really help you without knowing that.

Hope some if this helps.
Myno
myno is offline Report comment to moderator  
Reply With Quote
Old 12-17-12, 07:34 AM  
Laorne
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
Hello,

I have the following option turned on but the tooltips do not seem to work when over the raid frames:

cfg.ShowToolTips = true -- Show Tooltips on raid frames

There are a few other things i'd like to see just not sure if it's possible on this edit.

1. Show leader/assist/master loot icons on raid frames - I see the options in the config files just not sure how to add to the raid frames.
2. Show AFK timer on target frame. It currently shows AFK but i'd like to see the timer if possible
3. Is there a way to change the direction the raid groups grow. For vertical they grow up and I would prefer if the direction was down. I looked in the settings but just could not seem to find how to do this.
4. Is there a way to change the raid frame background color when health is missing. I tried editing the following but the only option that seems to do anything is the self.range settings. I tried changing self.Health.bg.multiplier = 0.3 but it doesn't seem to have any effect.

raid = function(self, ...)

self.mystyle = "raid"

self.Range = {
insideAlpha = 1,
outsideAlpha = .3,
}

-- Generate Bars
lib.addHealthBar(self)
lib.addStrings(self)
lib.addHighlight(self)
lib.addPowerBar(self)
lib.addRaidMark(self)
lib.addReadyCheck(self)
lib.addResurrectIcon(self)


--style specific stuff
self.colors.health = { r=.12, g=.12, b=.12, a=1 }
self.Health.colorHealth = true
self.Health.bg.multiplier = 0.3
self.Health.frequentUpdates = true
self.Power.colorClass = true
self.Power.bg.multiplier = .35
self.Power:SetAlpha(.9)


Thanks for any help you can provide
Laorne is offline Report comment to moderator  
Reply With Quote
Old 12-12-12, 03:21 AM  
myno
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 86
Uploads: 4
Originally Posted by imthink
Originally Posted by 6954658
how can I hide the default blizzard raid framework?
If u are looking for a way to hide it by lua, this should be what u want:
Code:
		-- Hide blizzard raid frames
		CompactRaidFrameContainer:UnregisterAllEvents()
		CompactRaidFrameContainer:Hide()
		CompactRaidFrameManager:UnregisterAllEvents()
		CompactRaidFrameManager:Hide()
This hides the Raid Frame Menu on the left as well, not only the Raid Frames.
myno is offline Report comment to moderator  
Reply With Quote
Old 12-10-12, 05:39 PM  
imthink
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Originally Posted by 6954658
how can I hide the default blizzard raid framework?
If u are looking for a way to hide it by lua, this should be what u want:
Code:
		-- Hide blizzard raid frames
		CompactRaidFrameContainer:UnregisterAllEvents()
		CompactRaidFrameContainer:Hide()
		CompactRaidFrameManager:UnregisterAllEvents()
		CompactRaidFrameManager:Hide()
Last edited by imthink : 12-10-12 at 05:40 PM.
imthink is offline Report comment to moderator  
Reply With Quote
Old 12-04-12, 08:44 AM  
myno
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 86
Uploads: 4
Originally Posted by 6954658
how can I show 8 groups when I in large battlefield?
how can I hide the default blizzard raid framework?
how can I enlarge the size of debuff icon on target? it's too small and I cannot see the count down clearly.
Thank you in advance.
1) The only easy way would be to always show 8 groups. I don't like changing the amount of groups depending on the amount of people in a raid since you can have people on reserve during a 25-man raid but you only want 5 groups to be shown.

Showing always 8 groups could be done like this:

cfg.lua Line 66
Code:
	cfg.raidX = -655
core.lua Line 387
Code:
	for i = 1, 8 do
		local header = oUF:SpawnHeader(
		  "drkGroup"..i,
		  nil,
		  soloraid,
		  "showRaid",           true,
		  "point",              point,
		  "startingIndex",		1,
		  "yOffset",            -5,
		  "xoffset",            4,
		  "columnSpacing",      7,
		  "groupFilter",        tostring(i),
		  "groupBy",            "GROUP",
		  "groupingOrder",      "1,2,3,4,5,6,7,8",
		  "sortMethod",         "NAME",
		  "columnAnchorPoint",  "RIGHT",
		  "maxColumns",         5,
		  "unitsPerColumn",     5,
		  "oUF-initialConfigFunction", [[
			self:SetHeight(32)
			self:SetWidth(77)
		  ]]
		)
Change the parts colored orange.

2) Open the Compact Raid Frame Manager on the left side of screen and just click on the hide button there.

3) Size of the debuff ICON is in lib.lua Line 797
Font Size of ALL Buff/Debuffs is in lib.lua Line 669, Font Size of Stack Count is in Line 674
Last edited by myno : 12-04-12 at 08:45 AM.
myno is offline Report comment to moderator  
Reply With Quote
Old 12-01-12, 12:13 PM  
6954658
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
how can I show 8 groups when I in large battlefield?
how can I hide the default blizzard raid framework?
how can I enlarge the size of debuff icon on target? it's too small and I cannot see the count down clearly.
Thank you in advance.
6954658 is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: