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,135
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 11-18-10, 07:43 PM  
ßeaver
A Kobold Labourer
 
ßeaver's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 34
Uploads: 1
Yep, found it, thank you Haven't tested, but fixed before I went to work, will test tonight.
Report comment to moderator  
Reply With Quote
Unread 11-18-10, 01:57 AM  
Kyrma
A Kobold Labourer
 
Kyrma's Avatar

Forum posts: 0
File comments: 5
Uploads: 0
Beaver,

I posted a solution to the rogue targeting problem around 9/10 comments down.
Last edited by Kyrma : 11-18-10 at 01:57 AM.
Report comment to moderator  
Reply With Quote
Unread 11-17-10, 11:04 PM  
ßeaver
A Kobold Labourer
 
ßeaver's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 34
Uploads: 1
Crashing on my rogue

Hey Drakull...

The UI is working great on all my toons except my rogue... Not sure why its breaking.. but this is what it does everytime I target...

This..

Code:
ID: 2
Error occured in: Global
Message:
..\AddOns\oUF_Drk\tags.lua line 131:
   attempt to call global 'hasUnitDebuff' (a nil value)
Debug:
   [C]: hasUnitDebuff()
   oUF_Drk\tags.lua:131: ?()
   oUF\elements\tags.lua:548: UpdateTag()
   oUF\elements\tags.lua:375:
      oUF\elements\tags.lua:370
   [C]: TargetUnit()
   ..\FrameXML\SecureTemplates.lua:423: handler()
   ..\FrameXML\SecureTemplates.lua:541:
      ..\FrameXML\SecureTemplates.lua:489
And this..

Code:
ID: 1
Error occured in: Global
Message:
..\AddOns\oUF_Drk\tags.lua line 131:
   attempt to call global 'hasUnitDebuff' (a nil value)
Debug:
   [C]: hasUnitDebuff()
   oUF_Drk\tags.lua:131: ?()
   oUF\elements\tags.lua:548: UpdateTag()
   oUF\elements\tags.lua:412: func()
   oUF\ouf.lua:297:
      oUF\ouf.lua:292
   [C]: Show()
   ..\FrameXML\SecureStateDriver.lua:83:
      ..\FrameXML\SecureStateDriver.lua:73
   ..\FrameXML\SecureStateDriver.lua:137:
      ..\FrameXML\SecureStateDriver.lua:119
Report comment to moderator  
Reply With Quote
Unread 11-17-10, 01:57 PM  
Qulight
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 330
Uploads: 7
boss frame, mt and mttarget plz
Report comment to moderator  
Reply With Quote
Unread 11-15-10, 05:07 PM  
drakull
A Cyclonian
 
drakull's Avatar
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 53
Uploads: 1
Hi there!

Sup guys? Missed me?

Glad to be back online! Took me a few more days than I expected to settle and get a DSL connection up but, right now, it's all good.

I'll look into the reported bugs and a minor update will be released pretty soon.

Now that I am a little more experienced with LUA, I have been rewriting most of the code and have implemented some exciting new functionalities (ingame config anyone?). This will be released "when it's done", tho. I'm on a new job and things are pretty busy right now.
Report comment to moderator  
Reply With Quote
Unread 11-10-10, 12:28 AM  
Unreally
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Hi. How I can realize MT targets?
Report comment to moderator  
Reply With Quote
Unread 11-08-10, 12:06 PM  
Tavin
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Re: Re: Remove Animated Portrait

Kyrma,

You rock! Just thought you should know!

Thanks,

Tavin
Report comment to moderator  
Reply With Quote
Unread 11-07-10, 08:27 PM  
tophero21
A Cliff Giant
 
tophero21's Avatar

Forum posts: 71
File comments: 26
Uploads: 0
suggestion

not sure if someone might have already mentioned this or not, but how about adding something for druid mana when in cat/bear form? I've been digging your frames since cael apparently doesn't play a warlock so no shards on his when I was last using them but I hopped on my druid alt today and realized that I wasn't seeing a mana bar (or even just a percentage somewhere) when I was in cat form. If I'm missing something please let me know.

thanks, and keep up the good work!
Report comment to moderator  
Reply With Quote
Unread 11-07-10, 05:27 PM  
Kyrma
A Kobold Labourer
 
Kyrma's Avatar

Forum posts: 0
File comments: 5
Uploads: 0
Re: Remove Animated Portrait

Tavin,

Here is what I did to make the portrait and background frame disabled w/o hacking a bunch of code. It's a simple 2 step process:

In the core.lua add the orange line in this section (under line 27):
Code:
player = function(self, ...)

		self.mystyle = "player"
		
		-- Size and Scale
		self:SetScale(cfg.scale)
		self:SetSize(250, 60)

                -- Generate Bars
                 lib.gen_hpbar(self)
                 lib.gen_hpstrings(self)
                 lib.gen_highlight(self)
                 lib.gen_ppbar(self)
                 lib.gen_portrait(self)
                 self.Portrait.PostUpdate = lib.PortraitPostUpdate 
                 lib.gen_RaidMark(self)
This is exactly how the target section below is coded.

Then in the lib.lua change Show to Hide (line 633):
Code:
-- portrait update
 lib.PortraitPostUpdate = function(element, unit)
	if not UnitExists(unit) or not UnitIsConnected(unit) or not UnitIsVisible(unit) then
		element:Hide()
	else
		element:Hide()
		element:SetCamera(0)
	end
 end
This now disables the portraits on both the target and player frames.
Report comment to moderator  
Reply With Quote
Unread 11-07-10, 03:11 PM  
Tavin
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Remove Animated Portrait

Drakull,

Great layout-- just a small request that I have seen asked a few times is how to remove the animated character frames. Even an option to turn it off in the CFG would be good enough.

I have been trying to figure out how to remove it but all I do is break your code, so even being pointed in the right direction is good enough and appreciated.

Thanks!
Report comment to moderator  
Reply With Quote
Unread 11-06-10, 06:17 PM  
Fekete
A Defias Bandit

Forum posts: 2
File comments: 12
Uploads: 0
please change rejuv to spellid 774
Report comment to moderator  
Reply With Quote
Unread 11-06-10, 12:39 PM  
Kyrma
A Kobold Labourer
 
Kyrma's Avatar

Forum posts: 0
File comments: 5
Uploads: 0
Maltese,
I had this error on my rogue(s) as well. I made a couple of changes that seem to be working just fine. On line 131 of the tags.lua I changed "hasUnitDebuff(unit, Spell)" to:

Code:
-- Deadly Poison Tracker
oUF.Tags["myDeadlyPoison"] = function(unit)

	local Spell = "Deadly Poison" or GetSpellInfo(43233)
	local ct = UnitDebuff(unit, Spell)
	local cp = GetComboPoints('player', 'target')
Everything seems to be working as intended on the target frame now.

Thanks for the great frames Drakull!!! /cheers
Last edited by Kyrma : 11-18-10 at 01:59 AM.
Report comment to moderator  
Reply With Quote
Unread 11-06-10, 08:50 AM  
maltese
A Wyrmkin Dreamwalker
 
maltese's Avatar
AddOn Author - Click to view AddOns

Forum posts: 54
File comments: 42
Uploads: 2
Finally got around to setting up my UI for my rogue and I got this error

Code:
Message: Interface\AddOns\oUF_Drk\tags.lua:131: attempt to call global 'hasUnitDebuff' (a nil value)
Time: 11/06/10 10:49:59
Count: 1
Stack: Interface\AddOns\oUF_Drk\tags.lua:131: in function `?'
Interface\AddOns\oUF\elements\tags.lua:548: in function `UpdateTag'
Interface\AddOns\oUF\elements\tags.lua:412: in function `func'
Interface\AddOns\oUF\ouf.lua:297: in function <Interface\AddOns\oUF\ouf.lua:292>
[C]: in function `Show'
Interface\FrameXML\SecureStateDriver.lua:83: in function <Interface\FrameXML\SecureStateDriver.lua:73>
Interface\FrameXML\SecureStateDriver.lua:137: in function <Interface\FrameXML\SecureStateDriver.lua:119>

Locals: unit = "target"
Spell = "Deadly Poison"
(*temporary) = nil
(*temporary) = "target"
(*temporary) = "Deadly Poison"
(*temporary) = "attempt to call global 'hasUnitDebuff' (a nil value)"
I've commented out lib.RogueComboPoints(self) in the target section on core as a temp working to keep errors from occuring
Last edited by maltese : 11-06-10 at 08:51 AM.
Report comment to moderator  
Reply With Quote
Unread 11-05-10, 07:20 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 o0zora
Thx for this nice layout ! either i also play a shamheal !

I just don't use your group/raid frame atm because of this annoying click bug (i'm using "Clique" addon). although i really want to.

i noticed this bug : i can't set a focus. is it normal ? here's my error log:

Code:
Message: Error: AddOn oUF_Drk attempted to call a forbidden function (FocusUnit()) from a tainted execution path.
Debug:
   [C]: FocusUnit()
   ..\FrameXML\UnitPopup.lua:1439: func()
   ..\FrameXML\UIDropDownMenu.lua:636: UIDropDownMenuButton_OnClick()
   [string "*:OnClick"]:1:
      [string "*:OnClick"]:1
Anyway Thank you for your nice layout and all this work you've been through till now. I can't wait for your next improvement !
Thats because setting a focus target is a protected function only available to the standard blizzardUI. No replacement unit frames can set a focus.
Report comment to moderator  
Reply With Quote
Unread 11-03-10, 07:58 PM  
confedsg
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 1
I can't seem to change the Health/Mana font size, T.T

Like in the config it only changes the player name size etc. D:
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.