Download
(115Kb)
Download
Updated: 06-26-11 01:55 AM
Pictures
File Info
Updated:06-26-11 01:55 AM
Created:09-30-10 05:53 PM
Downloads:19,066
Favorites:59
MD5:

oUF Drk  Popular! (More than 5000 hits)

Version: 2.04
by: drakull, Qulight

oUF_Drk
VERSION 2.0

ATTENTION:
This addon requires oUF 1.5.11+ to work. (NOT INCLUDED)

What's new in v2.0:
- Complete code rewrite
- Changed the positioning of class bars
- Changed the positioning of castbars
- Changed portrait and healthbar's heights of player and target frames
- Slight new layout for all other frames
- Added boss frames
- Added pet's target frame
- Added new texture for backgrounds
- Added new texture for debuffhighlight
- Added new font
- Added support for oUF_boring_totembar
- Added support for oUF_CombatFeedback
- Added support for oUF_Smooth Update

Features:
- Unitframes for: Player, Target, ToT, Pet/Vehicle, Pet Target, Focus, Focus Target, Boss, party and Raid;
- AltPowerBar, ThreatBar support;
- Castbar support for player, target, focus, pet and boss frames;
- Totembar, Runebar, Holypower, Eclipse Bar and Soul Shards support;
- Buff and debuffs frames for most units;
- Raidframes with aggro highlight;
- Dispellable debuff highlight for party and raid frames.
- Raid debuff icons on raid/party frames.
- AuraWatch to show up to 4 icons representing various player buffs on raid units
- Combo point support.

Addon support:
- oUF_RaidDebuffs (embedded)
- oUF_DebuffHighligth (embedded)
- oUF_AuraWatch (embedded)
- oUF_Smooth Update (embedded)
- oUF_CombatFeedback
- oUF_boring_totembar
- oUF_MovableFrames

Credits:
- Haste for creating oUF and for being so patient helping me with my questions;
- Zork for oUF_Simple that I used as a base for my layout;
- yj589794, Caellian, Neverg, Coree and Monolit. Most of the original code came from their layouts.

Know issues:
- Portraits are not showing properly for worgen characters, that's blizzard's fault.
- Debuff highlight colors are sometimes wrong.
- Runebar insists on displaying imaginary deathrunes.
- Not a bug, but new raidDebuffs icons are still to be added.

v2.0 release notes:
- Ingame config turned out to bring more problems than solutions so I decided to take it out, at least for the time being.
- There's something really wrong in my code and I simply can't figure out what it is. This one thing is messing up many stuff, like runebar's crazy deathrunes and wrong debuff highlight colors. I had added support for oUF_Experience and oUF_Reputation but took it out because some tags were driving me mad (like, disappearing with no reason) and I bet this was caused by this same problem. I'm trying to fix it but you are more than welcome to check my code and help me out.

Author's notes:
This is my personal layout and it's *not* finished so expect many improvements and layout changes in the upcoming versions.

Code:
2.04
          upd for 4.2
Code:
2.03
          upd for 4.1
          -removed pet Happiness/Pet Loyalty System
          -change positions buffs for default
Code:
2.02b
           New Style, Font
           AltPowerBar, ThreatBar support
Code:
2.01r
	Fixed some eclipsebar errors
Code:
2.0r
	Complete code rewrite
	Changed the positioning of class bars
	Changed the positioning of castbars
	Changed portrait and healthbar's heights of player and target frames
	Slight new layout for all other frames
	Added boss frames
	Added pet's target frame
	Added new texture for backgrounds
	Added new texture for debuffhighlight
	Added new font
	Added support for oUF_boring_totembar
	Added support for oUF_CombatFeedback
Code:
1.7r
	Fixed DeadlyPoison tag bug (hopefully)
	Fixed raid dropdown menus
Code:
1.65r
	Corrected some wrong AuraWatch spell ids.
Code:
1.6r
	Changed health's bg color when out of range
	Changed the way raid scaling is done
	Added support for oUF_AuraWatch
	Fixed raidDebuffs not working properly
	Added a new custom texture for debuffHighlightning
Code:
1.5r
	Fixed a typo that prevented combopoints to show up
	Fixed frame scaling not working
	Fixed Moonkin's EclipseBar support
Code:
1.4b
	Added new config options to set frame positioning for some units
	Changed LFD's positioning
	Added some options to control aura displaying
	Added Elite/Rare/Boss representation
	Added target's level coloring according to difficult
	Fixed various minor bugs
	Removed support for oUF_PowerSpark (no more 5sec rule)
	Added support for oUF_DebuffHighlight (embedded)
	Added support for raid debuffs (alpha)
	Changed aura fonts for a better one
Code:
1.3b
	Added support for oUF 1.5.x
	Fixed raid and partyframes not showing
	Added combopoints support
	Added PvP Icon
	Removed debuff highlight for rewrite
	Removed support for oUF_ReadyCheck external addon, added support for oUF's ReadyCheck
Code:
1.2b
	Changed TOC to support 4.x
	Added support for Holy Power and Soul Shards
	Added Phase and Quest icons
	Added an option to disable castbars
	Removed support for HealComm4, added support for oUF's HealPrediction
Code:
1.1b
	Added life percent display in player's and target's frames
	Added power display in player frame instead of player's name
	Added an option to disable player auras in player frame and use blizzard's default aura frames
	Added scaling support (experimental)
	Added a focus target's frame
	Added castbar support for all frames (except raid)
	Removed Pet's target frame
Code:
1.0b
	Initial release
Post A Reply Comment Options
Unread 10-24-10, 04:00 AM  
drakull
A Cyclonian
 
drakull's Avatar
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 53
Uploads: 1
Raid frames clicking is bugged. Every single oUF layout is having the same problem. We all must wait for Blizzard to fix this.

Thats weird, my main toon is a resto shammy and magic debuff is highlighted for me. Changing it to true it's OK, but the addon will think you can dispel it even if you don't have the talent.

oUF_TotemBar... i have trying to avoid implementing support for it because I *really* don't se the point of it.
As I said, my main is a shammy and I use the TotemTimers addon, which shows my active totems among plenty other helpful things. But yeah... that's just me. oUF_TotemBar support will be implemented soon.

The aura code for oUF is about to change because Haste will add support for secure aura headers so we will be able to cancel friendly auras like before. That said, I don't want to change anything in my aura code for now because everything may change in a near future. You can set the addon to show just your buffs and debuffs, i think this pretty much limits the aura count for now.
Report comment to moderator  
Reply With Quote
Unread 10-23-10, 08:11 AM  
maltese
A Wyrmkin Dreamwalker
 
maltese's Avatar
AddOn Author - Click to view AddOns

Forum posts: 54
File comments: 42
Uploads: 2
Frame scaling is working perfectly, thanks! Looks like the right click menu is gone from raid frames with this latest version again. Not sure if you were trying to get them working with the full menu choices that are normally shown and just removed it until you could figure it out. Thanks so much for the work you are doing. Its great to have an active addon author that is willing to take feedback and possibly make changes to their addons.

Something is possibly wrong with your coding to detect if shammys can cleanse magic from talents as its not showing up even though I have it talented. I've worked around it by changing it debuffhighlight.lua to true.

Just a couple feature requests:
#1 Would it be possible to add oUF_Totembar support? I could possibly add this code in for myself but I'd hate to have to readd the code each time there is a new release. - looks like I'm not so hot a lua and couldn't get it to work

#2: The ability to limit the number of buffs and debuffs shown on my target would be incredibly useful for fitting frames in a set space.

#3: While playing with other oUF layouts before settling on using yours, I found oUF_Hank that has the ability to whitelist and blacklist buffs/debuffs. Would be nice to be able to hide certain buffs/debuffs that are not relevant (essence of wintergrasp, precious' ribbon, haunted) or wanted to be shown.
Last edited by maltese : 10-23-10 at 11:46 AM.
Report comment to moderator  
Reply With Quote
Unread 10-23-10, 07:08 AM  
drakull
A Cyclonian
 
drakull's Avatar
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 53
Uploads: 1
Originally posted by aceman67
I like the UI in the screenshots, where can I get it, or what addons are you using?
What you see in my UI is:
- oUF_Drk
- Dominos
- BTex (custom texture)
- Titan Panel
- Sexymap
- MSBT
- DBM
- Omen

Oh, and I've replaced game's default font (FrizQuadrata) with Prototype.ttf.
Report comment to moderator  
Reply With Quote
Unread 10-23-10, 12:19 AM  
aceman67
A Theradrim Guardian
 
aceman67's Avatar
AddOn Author - Click to view AddOns

Forum posts: 67
File comments: 72
Uploads: 1
I like the UI in the screenshots, where can I get it, or what addons are you using?
Report comment to moderator  
Reply With Quote
Unread 10-21-10, 09:37 PM  
drakull
A Cyclonian
 
drakull's Avatar
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 53
Uploads: 1
Thanks, Qulight, for the code.

In fact the code isn't the issue here, problem is that i do not have a druid to test it. Yesterday a guildie have offered to test the element layout for me but i got no feedback from him since.

Anyway, I got another guildie willing to help. Probably will be ready in the next release.

Edit: On other news, scaling is working again (thanks, Neverg!) and will be back in the next version.
Last edited by drakull : 10-21-10 at 09:38 PM.
Report comment to moderator  
Reply With Quote
Unread 10-21-10, 06:28 AM  
Qulight
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 330
Uploads: 7
Code:
-- Eclipse Bar function
lib.addEclipseBar = function(self)
	if playerClass ~= "DRUID" then return end

	local eclipseBar = CreateFrame('Frame', nil, self)
	eclipseBar:SetPoint('BOTTOMLEFT', self, 'TOPLEFT', -5, -1)
	eclipseBar:SetSize(255, 16)
	lib.gen_backdrop(eclipseBar)
	frame(eclipseBar)
	
	local lunarBar = CreateFrame('StatusBar', nil, eclipseBar)
	lunarBar:SetPoint('LEFT', eclipseBar, 'LEFT', 5, 0)
	lunarBar:SetSize(245, 6)
	lunarBar:SetStatusBarTexture(cfg.statusbar_texture)
	lunarBar:SetStatusBarColor(0, 0, 1)
	eclipseBar.LunarBar = lunarBar

	local solarBar = CreateFrame('StatusBar', nil, eclipseBar)
	solarBar:SetPoint('LEFT', lunarBar:GetStatusBarTexture(), 'RIGHT', 0, 0)
	solarBar:SetSize(245, 6)
	solarBar:SetStatusBarTexture(cfg.statusbar_texture)
	solarBar:SetStatusBarColor(1, 3/5, 0)
	eclipseBar.SolarBar = solarBar

	local eclipseBarText = solarBar:CreateFontString(nil, 'OVERLAY')
	eclipseBarText:SetPoint('CENTER', eclipseBar, 'CENTER', 0, 0)
	eclipseBarText:SetFont(cfg.font, 10, "OUTLINE")
	self:Tag(eclipseBarText, '[pereclipse]%')

	self.EclipseBar = eclipseBar
end
http://linkme.ufanet.ru/images/da40d...fbdd9db854.jpg
Report comment to moderator  
Reply With Quote
Unread 10-20-10, 06:45 PM  
drakull
A Cyclonian
 
drakull's Avatar
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 53
Uploads: 1
Originally posted by ßeaver
Still struggling with being able to rightclick off a friendly buff.

Driving me nuts cause everywhere I go I get poofed for Halloween, and can't mount/flightpath .. /grrrrr

Would love to see this put on the priority list. :P
Aura cancelling is now a secure action (just like the "set focus" option in the dropdown menu has been for a while now), we all must wait for oUF to be updated for the layouts to be able to cancel friendly buffs.

Meanwhile you can set cfg.showPlayerAuras to false in lua.cfg so you will get the blizzard's default buff frame and will be able to cancel your auras as intended.

Originally posted by gezus
Yo drakull.. my buddy and I noticed that, when we try and target people in group/raid, that it doesn't target them right away, you have to click twice fast to target immediately, or, you have click again in a sec, it doesn't single click target. Any hint to make this work on single click?
Yeah, for this one we must wait for the next bugpatch from blizzard, it's their fault.
Report comment to moderator  
Reply With Quote
Unread 10-20-10, 05:04 PM  
Kamephis
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Originally posted by gezus
Still struggling with being able to rightclick off a friendly buff.

Driving me nuts cause everywhere I go I get poofed for Halloween, and can't mount/flightpath .. /grrrrr

Would love to see this put on the priority list. :P
Same here, can't cancel any friendly buff.

Really awesome layout apart from that! =)
Report comment to moderator  
Reply With Quote
Unread 10-20-10, 02:00 PM  
gezus
A Deviate Faerie Dragon

Forum posts: 11
File comments: 71
Uploads: 0
Still struggling with being able to rightclick off a friendly buff.

Driving me nuts cause everywhere I go I get poofed for Halloween, and can't mount/flightpath .. /grrrrr

Would love to see this put on the priority list. :P
Report comment to moderator  
Reply With Quote
Unread 10-20-10, 01:54 PM  
ßeaver
A Kobold Labourer
 
ßeaver's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 34
Uploads: 1
Yo drakull.. my buddy and I noticed that, when we try and target people in group/raid, that it doesn't target them right away, you have to click twice fast to target immediately, or, you have click again in a sec, it doesn't single click target. Any hint to make this work on single click?
Report comment to moderator  
Reply With Quote
Unread 10-20-10, 04:50 AM  
maltese
A Wyrmkin Dreamwalker
 
maltese's Avatar
AddOn Author - Click to view AddOns

Forum posts: 54
File comments: 42
Uploads: 2
Debuffs are working! Thanks

I tested out the right click menu on raid frames and indeed a menu is now appearing, unfortunately the menus choices seem to be filtered/missing choices now. Could be that its just early for me and I'm missing something but I didn't have any of the set raid target icon or set role choices. I'll test it again when I'm more awake
Report comment to moderator  
Reply With Quote
Unread 10-19-10, 09:57 PM  
drakull
A Cyclonian
 
drakull's Avatar
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 53
Uploads: 1
Originally posted by maltese
Further testing from me shows that the right click menu works when in a party on the raid frames and on the player and target frames, but when in a raid for some odd reason it no longer works on the raid frames (it still works on the player and target frames). Also the fade timer on the right click menu is oddly long. Maybe thats an adjustable variable that I can change. I haven't seen any lua errors when starting wow.


EDIT: The code I posted definitely does NOT work
I managed to reproduce the menu bug... i don't know if it's related with some weird bugs with raid and party frames (blizzard's fault this time, will be corrected in the next patch) but I have changed the menu code a bit and now it's working (kind of) with raid frames. It's not perfect but it's working.

I'm uploading the new version now. Check it out.

Edit: just updated to oUF 1.5.4 and now the menus are working flawlessy.
Last edited by drakull : 10-19-10 at 10:26 PM.
Report comment to moderator  
Reply With Quote
Unread 10-18-10, 06:18 PM  
maltese
A Wyrmkin Dreamwalker
 
maltese's Avatar
AddOn Author - Click to view AddOns

Forum posts: 54
File comments: 42
Uploads: 2
Originally posted by drakull
Thanks for pointing that out. With the rewriting of unit's creation for 4.0 I completely forgot to add the code to show/hide the frames.
About the scale, i think it's some bug within the 4.0 interface itself. The scaling is really not working atm.
Menus are working fine for me. Do you get any kind of lua error when u start WoW?
Further testing from me shows that the right click menu works when in a party on the raid frames and on the player and target frames, but when in a raid for some odd reason it no longer works on the raid frames (it still works on the player and target frames). Also the fade timer on the right click menu is oddly long. Maybe thats an adjustable variable that I can change. I haven't seen any lua errors when starting wow.


EDIT: The code I posted definitely does NOT work
Last edited by maltese : 10-19-10 at 06:58 PM.
Report comment to moderator  
Reply With Quote
Unread 10-18-10, 04:53 PM  
drakull
A Cyclonian
 
drakull's Avatar
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 53
Uploads: 1
Originally posted by maltese
I'm unable to hide frames or change the scale of any frame.

Secondly, I am unable to right click on any unit in the party or raid to get a menu. Probably an easy fix with some addition of the code, just wanted to make sure you knew about the issue.
Thanks for pointing that out. With the rewriting of unit's creation for 4.0 I completely forgot to add the code to show/hide the frames.
About the scale, i think it's some bug within the 4.0 interface itself. The scaling is really not working atm.
Menus are working fine for me. Do you get any kind of lua error when u start WoW?

Originally posted by ßeaver
Oh hey Drak, any chance I could convince you to modify your castbar, and set it into the portrait of the unit frame? instead of being down where it is? For me personally, The way I setup my UI usually, makes the cast bar be under my frames. If it is difficult, don't worry about it, I can live with the way it is, just a feature I'd like if at all possible.
I'm thinking of merging the castbar of the smaller frames (pet/tot/focus/focustarget) with their health bar, but not for the next release. And not for the player and target castbars. I need them the way they are so I can easily spot them, especially the target's one.
*Maybe*, i can create an option to merge the castbars for this two units too. No promises on that.
Last edited by drakull : 10-18-10 at 05:03 PM.
Report comment to moderator  
Reply With Quote
Unread 10-18-10, 01:40 PM  
sikwidit
A Fallenroot Satyr
 
sikwidit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 89
Uploads: 2
Originally posted by drakull
Nice UI btw.
/bow ty ty
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.