Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(287 Kb)
Download
Updated: 06-30-11 01:17 PM
Pictures
File Info
Updated:06-30-11 01:17 PM
Created:03-20-10 10:29 PM
Downloads:24,324
Favorites:173
MD5:
oUF Hank  Popular! (More than 5000 hits)
Version: v3.0.10c
by: hankthetank [More]


Supported frames
  • Player
  • Target
  • ToT
  • TToT
  • Focus
  • ToF
  • Pet
  • Boss

The layout does not include party or raid frames!


Features
  • Compact, text based design
  • HP percentage fill serves as life bar
  • Custom graphics for status and raid icons
  • System for custom modifications
    • Possibility to override every single detail of this layout without touching the original code (LUA knowledge required)
    • No rewriting of your customizations after a patch
    • Share your copy & paste ready code snippets with others
  • Aura filtering:
    • Sticky auras: Always visible & colored. Can be disabled
      • Your buffs
      • Your debuffs
      • Pet debuffs
      • Curable debuffs
      • Enemy's own buffs
    • Maximum buff & debuff cap
    • White- and blacklists
    • Target and focus auras can be configured separately
  • Cast- & mirrorbars
  • DK runes, combo points, holy power, soul shards, eclipse bar
  • Experience / reputation
  • Support for:
    • oUF_SpellRange
    • oUF_TotemBar


Configuration

There is a broad range of options inside the config.lua file. Knowledge in LUA is not not necessarily mandatory but beneficial. Some of the things you can configure:
  • Frame scale and positions
  • Colors and fonts
  • Fill and border textures
  • Aura filtering and appearance
  • Range fading
  • Threat indication
  • Several castbar options


FAQ's and articles

Visit my author portal
3.0.10c
  • TOC bump
  • Bug fix: Eclipse bar should work properly again.

3.0.10b
  • TOC bump
  • Removed pet happiness

3.0.10
  • Features
    • Boss frames
    • Added configuration option for name abbreviation
  • Bug fixes
    • Recompiled some textures to hopefully fix white edges
    • Reputation display now updates correctly

3.0.9
  • Eclipse bar
  • Updated dispel mechanics for cataclysm
  • Additional status icons with new configuration option (order & visibility)
  • Bug fix: Dispellable debuffs now update on talent changes

3.0.8
  • Updated to oUF 1.5 & WoW 4.0.1
  • Holy power added
  • Soul shards added
  • Bug fixes:
    • Removed unnecessary cast bar animations after instant spells
    • Vehicle context menu
    • Vehicle tags

3.0.7
  • Display for experience & reputation
  • Updated to new oUF_SpellRange version
  • Bugfix for unknown power types

3.0.6
  • Updated to oUF 1.4
  • Got rid of some obsolete code
  • Removed ugly hacky hooks
  • Minor bugfixes

3.0.5
  • Castbars integrated
  • Mirrorbars
  • Custom modifications system introduced
  • Focus target added
  • Aura filtering additions:
    • StickyAura option: petDebuffs
    • myDebuffs now covers player's vehicles
  • Removed ButtonFacade support for now
  • Minor visual improvements
    • Aura duration spiral reversed
    • Aura mouseover icon skinned
    • Color overlay for StickyAuras now configurable

3.0.4
  • New aura filter features:
    • All aura settings can now be configured separately for target and focus
    • Buffs and debuffs now can have different filter methods
  • Fix for buff and debuff spacing
  • NEW CONFIG.LUA OPTIONS! PLEASE BACKUP YOUR OLD CONFIG! You can use your old config as long as you replace the "Aura filters" part starting at line 100 with the new version.

3.0.3b
  • Fixed an issue with combo points
  • Minor visual improvement of border textures

3.0.3
  • Combo points
  • Custom aura borders & aura spacing
  • Option to not hide Blizzard party frames in config
  • ButtonFacade support

3.0.2
  • Death Knight runes
  • Support for oUF_TotemBar
  • Option for focus frame scale

3.0.1
  • Advanced aura filtering
  • oUF_SpellRange support
  • Bugfixes
Optional Files (1)
File Name
Version
Size
Author
Date
Type
3
254kB
03-22-10 04:53 PM
Patch


Archived Files (13)
File Name
Version
Size
Author
Date
v3.0.10b
287kB
hankthetank
05-12-11 03:37 AM
v3.0.10
287kB
hankthetank
03-20-11 04:07 PM
v3.0.9
278kB
hankthetank
01-06-11 02:02 PM
v3.0.8
272kB
hankthetank
10-14-10 01:38 AM
v3.0.7
270kB
hankthetank
07-21-10 06:49 PM
v3.0.6
269kB
hankthetank
07-21-10 01:37 AM
v3.0.6
269kB
hankthetank
07-06-10 05:16 PM
v3.0.5
269kB
hankthetank
05-10-10 03:01 AM
v3.04
58kB
hankthetank
04-14-10 03:23 PM
v3.03b
55kB
hankthetank
04-11-10 04:33 AM
v3.02
54kB
hankthetank
03-26-10 01:26 AM
v3.01
51kB
hankthetank
03-23-10 08:33 AM
v3
50kB
hankthetank
03-20-10 10:29 PM


Post A Reply Comment Options
Unread 08-29-12, 06:25 AM  
gwyd
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 27
Uploads: 1
Sorry about that. I didn't think to look at some of the custom mods with tags. What has happened is that oUF has changed TagEvents and Tags to Tags.Events and Tags.Methods respectively.

Just change

Lua Code:
  1. oUF.Tags["classColor"] = function(unit) to oUF.Tags.Methods["classColor"] = function(unit)
Lua Code:
  1. oUF.TagEvents["myperpp"]=oUF.TagEvents["perpp"] to oUF.Tags.Events["myperpp"]=oUF.Tags.Events
  2. ["perpp"]
Lua Code:
  1. oUF.Tags["myperpp"] = function(u) to oUF.Tags.Methods["myperpp"] = function(u)

Hope that helps. Let me know if you run into any other issues. I'm going to cross post this on the other update comments as well so everyone sees it.
gwyd is offline Report comment to moderator  
Reply With Quote
Unread 08-28-12, 10:52 PM  
Central
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Originally Posted by gwyd
I've uploaded an update for 5.0 that works (as far as my testing went) for everything but Deathknights and warlocks. I'm still working on the runebar and soulshards/demonic fury.

5.0 update
this doesnt seem to be working

edit: it does, after updating the rest of my ouf to 5.0, but all my custom configs for ouf hank don't work

edit: yeah having some major issues trying to get my current ouf hank settings to transfer

edit: I am very sorry for the comment spam, after commenting this line out:

-- oUF.TagEvents["myperpp"]=oUF.TagEvents["perpp"]

of my custom modifications, most of my settings are working correctly, sans the size a couple others. several color tags, etc are failing. here is a copy of my full custom mods list.

Code:
local cfg = oUF_Hank_config
oUF_Hank_hooks = {}

oUF.Tags["classColor"] = function(unit)
        local color = RAID_CLASS_COLORS[select(2, UnitClass(unit))]
        return ("FF%.2x%.2x%.2x"):format(color.r * 255, color.g * 255, color.b * 255)
end

oUF.TagEvents["myperpp"]=oUF.TagEvents["perpp"]

oUF.Tags["myperpp"] = function(u)
                local m = UnitPowerMax(u)
                local color = cfg.colors.power["MANA"] or cfg.colors.power["FUEL"]
                if(m == 0) then
                        return 0
                else
                        return ("|cFF%.2x%.2x%.2x%s|r"):format(color[1] * 255, color[2] * 255, color[3] * 255, math.floor(UnitPower(u)/m*100+.5))
                end
        end

--------------------------------------------------------------------------
--  Mana %
--------------------------------------------------------------------------

oUF_Hank_hooks.MyHealth = {
sharedStyle = function(self, unit)
        if unit == "player" then self:Tag(self.power, "[myperpp]")
        end
end,
}

--------------------------------------------------------------------------
--  Health colored
--------------------------------------------------------------------------

oUF_Hank_hooks.HealthColored = {
        UpdateHealth = function(self)
                if self.unit == "player" and UnitHasVehicleUI("player") then
                        h, hMax = UnitHealth("pet"), UnitHealthMax("pet")
                else
                        h, hMax = UnitHealth(self.unit), UnitHealthMax(self.unit)
                end

                if UnitIsConnected(self.unit) and not UnitIsGhost(self.unit) and not UnitIsDead(self.unit) then
                        for i = 1, 4 do
                                self.healthFill[5 - i]:SetVertexColor(1 - h / hMax, h / hMax, 0)
                        end
                end
        end,
}

--------------------------------------------------------------------------
--  Class colored ToT, TToT, ToF
--------------------------------------------------------------------------

oUF_Hank_hooks.ClassToT_etc = {
        sharedStyle = function(self, unit)
                if unit == "targettarget" or unit == "focustarget" then self:Tag(self.name, "|c[classColor][smartName] @ [perhp]%|r")
                end
        end,
}

--------------------------------------------------------------------------
--  Hide ToTT
--------------------------------------------------------------------------

oUF_Hank_hooks.HideFrames = {
        sharedStyle = function(self, unit)
                if unit == "targettargettarget" then
                        self:SetAttribute("initial-height", 1)
                        self:SetAttribute("initial-width", 1)
                        self:SetAlpha(0)
                end
        end,
}
So far anything using class color and myperpp is failing, as well as the margins to place the frames on my screen.
Last edited by Central : 08-29-12 at 03:05 AM.
Central is offline Report comment to moderator  
Reply With Quote
Unread 08-28-12, 09:25 PM  
gwyd
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 27
Uploads: 1
I've uploaded an update for 5.0 that works (as far as my testing went) for everything but Deathknights and warlocks. I'm still working on the runebar and soulshards/demonic fury.

5.0 update
gwyd is offline Report comment to moderator  
Reply With Quote
Unread 08-28-12, 02:01 AM  
Central
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Originally Posted by gwyd
I've got oUF_hank working for everything but warlock. Handle soulshards, but not demonic fury. I haven't extensively tested anything but warrior (and monk to some degree). I'm not much of a textures guy, so I'm just using the default textures for monk chi and spriest shadow orbs.

I'm not really sure what the best way to upload this so I'll see how that's usually done. From the sounds of it, Hank wont be updating it so maybe I can just update the project. Not sure.
You should be able to post it as fan update, as that is common with many other addons. Or you could always explain what tweaks you made, I am very interested in getting this working.
Central is offline Report comment to moderator  
Reply With Quote
Unread 08-27-12, 05:10 PM  
gwyd
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 27
Uploads: 1
I've got oUF_hank working for everything but warlock. Handle soulshards, but not demonic fury. I haven't extensively tested anything but warrior (and monk to some degree). I'm not much of a textures guy, so I'm just using the default textures for monk chi and spriest shadow orbs.

I'm not really sure what the best way to upload this so I'll see how that's usually done. From the sounds of it, Hank wont be updating it so maybe I can just update the project. Not sure.
gwyd is offline Report comment to moderator  
Reply With Quote
Unread 08-05-12, 02:35 AM  
dyaeblca
A Defias Bandit
 
dyaeblca's Avatar

Forum posts: 3
File comments: 38
Uploads: 0
Unhappy MoP update?

I know that Hank doesn't play anymore but maybe some kind (and skilled) soul would update this jewel for MoP. Pretty please! I can't live without it
__________________
Seek freedom and become captive of your desires. Seek discipline and find your liberty.
dyaeblca is offline Report comment to moderator  
Reply With Quote
Unread 04-28-12, 02:23 PM  
soonerman
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Hello, I'm currently using SanUI and I was just wondering if someone could help me with why the totem icons that are shown in the screenshot section are not showing up for me. I am getting power bars for my pally, lock, and dk but for some reason the shaman totem icons will not work. Thanks!
soonerman is offline Report comment to moderator  
Reply With Quote
Unread 03-20-12, 10:59 AM  
sawier
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
errors

hello in raids i get sh*tloads of errors like this
Code:
6589x oUF_Hank_v3-3.0.11\custom_modifications.lua:69: attempt to index field "?" (a nil value)
oUF_Hank_v3-3.0.11\custom_modifications.lua:69: in function <oUF_Hank_v3\custom_modifications.lua:60>
<in C code>
oUF-1.5.4\ouf-1.5.4.lua:297: in function <oUF\ouf.lua:292>
<in C code>
FrameXML\SecureStateDriver.lua:83: in function <FrameXML\SecureStateDriver.lua:73>
FrameXML\SecureStateDriver.lua:137: in function <FrameXML\SecureStateDriver.lua:119>

Locals:
(*temporary) = <func> =[C]:-1
 = <func> @oUF_Hank_v3\hank_v3.lua:123
 = <func> @oUF_Hank_v3\custom_modifications.lua:60
any idea how to fix it?
sawier is offline Report comment to moderator  
Reply With Quote
Unread 03-11-12, 08:21 AM  
Avarita
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Originally Posted by Euphor1c
If this was supposed to fix the problem of the "?" on our ToT an ToTT frames, it did not fix it.

It does have to do with the class coloring though, I add your modification to the lua, set it to utf-8 and save it and I get the "?"'s...I remove that and go back to default coloring and I get the correct arrows.
Im not familiar with .lua as the most of you and my english is not the best but i had the same problem and fixed it this way:

Code:
--------------------------------------------------------------------------
--  Class colored ToT, TToT, ToF
--------------------------------------------------------------------------
 
oUF_Hank_hooks.ClassToT_etc = {
    sharedStyle = function(self, unit)
        if unit == "targettarget" or unit == "focustarget" then self:Tag(self.name, "|c[classColor] >  [smartName] @[perhp]%|r")
        elseif unit == "targettargettarget" then self:Tag(self.name, "|c[classColor] >> [smartName] @[perhp]%|r") end
    end,
}
Just replace it with the original part at the custom_modifications.lua (saved as utf-8)
Sry if i double post ^^
Last edited by Avarita : 03-11-12 at 08:26 AM.
Avarita is offline Report comment to moderator  
Reply With Quote
Unread 02-23-12, 09:43 AM  
hellmr
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Originally Posted by wkwrd
This will show current values/ max values of non mana users and % of mana/ current mana of a mana user. with a 100%/max mana with full mana.
Code:
oUF.TagEvents["ppDetailed"] = oUF.TagEvents["curpp"] .. " " .. oUF.TagEvents["maxpp"]
oUF.Tags["ppDetailed"] = function(unit)
        local _, pType = UnitPowerType(unit)
	local color = cfg.colors.power[pType] or cfg.colors.power["FUEL"]
	local min, max = UnitPower(unit), UnitPowerMax(unit)
	if min<130 then
		return ("|cFF%.2x%.2x%.2x%s/%s|r"):format(color[1] * 255, color[2] * 255, color[3] * 255, valShort(UnitPower(unit)), valShort(UnitPowerMax(unit)))
	elseif min~=max then
		return ("|cFF%.2x%.2x%.2x%s%%/%s|r"):format(color[1] * 255, color[2] * 255, color[3] * 255, math.floor(UnitPower(unit) / UnitPowerMax(unit) * 100 + 0.5), valShort(UnitPower(unit)))
	else
		return ("|cFF%.2x%.2x%.2x%s/%s|r"):format(color[1] * 255, color[2] * 255, color[3] * 255, valShort(UnitPower(unit)), valShort(UnitPower(unit)))
	end
end

This will show current values/ max values of non mana users and only % of mana user with max mana when they are on full mana.
Code:
oUF.TagEvents["ppDetailed"] = oUF.TagEvents["curpp"] .. " " .. oUF.TagEvents["maxpp"]
oUF.Tags["ppDetailed"] = function(unit)
	local _, pType = UnitPowerType(unit)
	local color = cfg.colors.power[pType] or cfg.colors.power["FUEL"]
	local min, max = UnitPower(unit), UnitPowerMax(unit)
	if min<130 then
		return ("|cFF%.2x%.2x%.2x%s/%s|r"):format(color[1] * 255, color[2] * 255, color[3] * 255, valShort(UnitPower(unit)), valShort(UnitPowerMax(unit)))
	elseif min~=max then
		return ("|cFF%.2x%.2x%.2x%s%%|r"):format(color[1] * 255, color[2] * 255, color[3] * 255, math.floor(UnitPower(unit) / UnitPowerMax(unit) * 100 + 0.5))
	else
		return ("|cFF%.2x%.2x%.2x%s|r"):format(color[1] * 255, color[2] * 255, color[3] * 255,valShort(UnitPowerMax(unit)))
	end
end

Since non mana users max focus, rune etc will be 130 as far as I know. There wont be any problem with this.
where exactly i put this code ?? i been searching on how to make xp and mana show with percentage not numbers could you please point me out thanks .
hellmr is offline Report comment to moderator  
Reply With Quote
Unread 02-09-12, 01:15 AM  
Xark
A Deviate Faerie Dragon

Forum posts: 14
File comments: 61
Uploads: 0
hey, is there an easy way to reposition the buffs / debuffs?

mfg chizZo
Xark is offline Report comment to moderator  
Reply With Quote
Unread 01-02-12, 05:12 AM  
Draigars
A Murloc Raider
 
Draigars's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 4
File comments: 42
Uploads: 1
Happy New Year to you!

I'm looking for someone who could make me a digits.blp version with the Futura font rather than the default (PF Din) one. I can provide the font, but my graphical skills are... very limited, for the less.

Thanks!
Draigars is offline Report comment to moderator  
Reply With Quote
Unread 01-02-12, 01:10 AM  
steste78
A Murloc Raider
AddOn Compiler - Click to view compilations

Forum posts: 7
File comments: 12
Uploads: 2
Is this still Live

I realy want to base my new UI off this addon, but I wont unless this Is still going to updated. Is There another addon like this one?
steste78 is offline Report comment to moderator  
Reply With Quote
Unread 12-31-11, 11:43 AM  
hankthetank
A Theradrim Guardian
 
hankthetank's Avatar
AddOn Author - Click to view AddOns

Forum posts: 64
File comments: 132
Uploads: 6
Hey folks,

glad to see that oUF_Hank is still so popular and obviously still works with the latest patch. I've stopped playing shortly after Firelands, so I can't really check things out ingame. But I'm stopping by at WOWi once in a while, mostly to see that I can't give ad-hoc answers to your questions and move on

I might buy some game time for the lulz in the new year just to make sure, that every Tom, Dick and Harry left me behind achievement point wise and to say hello to my pissed off guild from which I vanished without a word

Happy New Year to you people!
Last edited by hankthetank : 12-31-11 at 11:44 AM.
hankthetank is offline Report comment to moderator  
Reply With Quote
Unread 12-25-11, 03:47 AM  
dyaeblca
A Defias Bandit
 
dyaeblca's Avatar

Forum posts: 3
File comments: 38
Uploads: 0
Really amazing addon!
2 questions:
1) Would it be possible to implement a way to change the frames' alpha based on having target/focus, entering/leaving combat and having not full mana/hp out of combat? I'm currently struggling to code it so in kgpanels but it doesn't seem possible to make it work the way I want...
EDIT: nm this part, done in kgpanels

2) As far as I know Quartz which Hank's castbar comes from shows ticks of channeled spells like Drain Life or Mind Flay for instance. I'd love to be able to use built-in castbars but without the ticks visible - I can't. Any way to make them show?
Last edited by dyaeblca : 12-26-11 at 08:09 AM.
dyaeblca is offline 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.