Download
(283Kb)
Download
Updated: 10-27-22 05:31 PM
Compatibility:
Dragonflight Pre-patch (10.0.0)
Updated:10-27-22 05:31 PM
Created:08-28-12 08:53 PM
Downloads:20,900
Favorites:40
MD5:

oUF Hank Fan Update  Popular! (More than 5000 hits)

Version: 10.0.1
by: gwyd [More]

This is an update of Hank's oUF_Hank addon for WoW 10.0.

Dependancies: oUF by haste.
Optional Dependancies:
oUF_WarlockSpecBars - by tukz
oUF_TotemBar (included) - updated by ckaotik

Note: Development code can be found on github

All credit goes to Hank. I am only trying to keep it running.

== 7.0.0
Compatibility with legion

== 6.0.2
Added a 6th chi class icon when needed
Latency calculation fix for castbar

== 6.0.1
Fixed backgrounds showing for class icons
Fixed animations for players without class icons (low level paly, non-spriest)
Removed animations for eclipse bar (this is a temporary fix to make the addon work for druids, but more work is still needed)
Experimental: added support for auras on player frame

== 6.0
Updated for WoD
Moved combo points to player frame

== 5.2.0
.toc bump
Fixed tag display for untaggable mobs -ckaotik
Updated moonkin eclipse cast counter formulas -ckaotik

== 5.1.0 ==
.toc bump
vehicle health fix
updated dispel types

== 5.0.5 ==
Fixed .toc file after breaking it.

== 5.0.5 ==
Added Warlock and Shaman power bars courtesy of ckaotik.
Updated config to parse focus frame correctly.

== 5.0.4c ==
Added back config functionality
Optional Files (1)
File Name
Version
Size
Author
Date
Type
0
352kB
09-27-12 10:26 AM
Patch


Post A Reply Comment Options
Unread 10-08-12, 03:49 AM  
Anj
A Chromatic Dragonspawn
 
Anj's Avatar

Forum posts: 178
File comments: 503
Uploads: 0
Thanks so much for this update!
Report comment to moderator  
Reply With Quote
Unread 10-09-12, 05:46 PM  
Ronzily
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Thanks for the offer -- I'll definitely take you up on it. I haven't quite grasped the proper formatting for the custom_modifications.

Here's what I've changed to move the target castbar (the only changes are to the cb:SetPoint in the else statement at the end):

Original:
Code:
-- Castbar
	if cfg.Castbar and (unit == "player" or unit == "target" or unit == "focus") then
		-- StatusBar
		local cb = CreateFrame("StatusBar", nil, self)
		cb:SetStatusBarTexture(cfg.CastbarTexture)
		cb:SetStatusBarColor(unpack(cfg.colors.castbar.bar))
		cb:SetSize(cfg.CastbarSize[1], cfg.CastbarSize[2])
		if unit == "player" then
			cb:SetPoint("LEFT", self, "RIGHT", (cfg.CastbarIcon and (cfg.CastbarSize[2] + 5) or 0) + 5 + cfg.CastbarMargin[1], cfg.CastbarMargin[2])
		elseif unit == "focus" then
			cb:SetSize(0.8 * cfg.CastbarSize[1], cfg.CastbarSize[2])
			cb:SetPoint("LEFT", self, "RIGHT", -10 - cfg.CastbarFocusMargin[1], cfg.CastbarFocusMargin[2])
		else
			cb:SetPoint("RIGHT", self, "LEFT", (cfg.CastbarIcon and (-cfg.CastbarSize[2] - 5) or 0) - 5 - cfg.CastbarMargin[1], cfg.CastbarMargin[2])
		end


My changes:
Code:
-- Castbar
	if cfg.Castbar and (unit == "player" or unit == "target" or unit == "focus") then
		-- StatusBar
		local cb = CreateFrame("StatusBar", nil, self)
		cb:SetStatusBarTexture(cfg.CastbarTexture)
		cb:SetStatusBarColor(unpack(cfg.colors.castbar.bar))
		cb:SetSize(cfg.CastbarSize[1], cfg.CastbarSize[2])
		if unit == "player" then
			cb:SetPoint("LEFT", self, "RIGHT", (cfg.CastbarIcon and (cfg.CastbarSize[2] + 5) or 0) + 5 + cfg.CastbarMargin[1], cfg.CastbarMargin[2])
		elseif unit == "focus" then
			cb:SetSize(0.8 * cfg.CastbarSize[1], cfg.CastbarSize[2])
			cb:SetPoint("LEFT", self, "RIGHT", -10 - cfg.CastbarFocusMargin[1], cfg.CastbarFocusMargin[2])
		else
			cb:SetPoint("TOPLEFT", self, "TOP", (cfg.CastbarIcon and (-cfg.CastbarSize[2] - 5) or 0) - 5 - cfg.CastbarMargin[1], cfg.CastbarMargin[2] + 30)
		end
Report comment to moderator  
Reply With Quote
Unread 10-10-12, 06:29 PM  
gwyd
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 47
Uploads: 1
You will want something like:

Lua Code:
  1. oUF_Hank_hooks.MoveCastbar = {
  2.     sharedStyle = function(self, unit)
  3.         if unit == "target" then
  4.             self.Castbar:SetPoint("TOPRIGHT", self, "TOP", (cfg.CastbarIcon and (-cfg.CastbarSize[2] - 5) or 0) + 90 - cfg.CastbarMargin[1], cfg.CastbarMargin[2] + 30)
  5.         end
  6.     end,
  7. }

You may need to play with the numbers in there somewhat to get it positioned exactly where you want, but that's the general idea.
Report comment to moderator  
Reply With Quote
Unread 11-22-12, 11:01 AM  
EatsYaa
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hi,
can i remove the castbar if so how?
Report comment to moderator  
Reply With Quote
Unread 12-02-12, 07:25 AM  
edgarrin
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Boss focus

I'm not entirely sure where the most up to update version of Hank is at the moment, so it's possible this is fixed already.

Post Patch 5.1 the Boss Focus that is usually at the right side of the screen is showing up incorrectly and affecting my FPS when it does. When you begin the fight the boss focus shows the cross like they are dead, all the raid icons and the name is several inches away from the stats. The small stats do show the boss's target and their health. Unfortunately I didn't screenshot it but I will the next time I raid.

If anyone has a suggestion on how to correct this it would be much appreciated.

Thanks

Ed
Last edited by edgarrin : 12-02-12 at 07:26 AM.
Report comment to moderator  
Reply With Quote
Unread 12-02-12, 11:01 AM  
edgarrin
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Boss Focus screenshot

Report comment to moderator  
Reply With Quote
Unread 12-03-12, 07:18 PM  
gwyd
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 47
Uploads: 1
Originally Posted by EatsYaa
Hi,
can i remove the castbar if so how?
Yes you can. There is an option in config.lua "Castbar=true". Just change that to false.
Report comment to moderator  
Reply With Quote
Unread 12-03-12, 07:21 PM  
gwyd
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 47
Uploads: 1
Re: Boss focus

Originally Posted by edgarrin
I'm not entirely sure where the most up to update version of Hank is at the moment, so it's possible this is fixed already.

Post Patch 5.1 the Boss Focus that is usually at the right side of the screen is showing up incorrectly and affecting my FPS when it does. When you begin the fight the boss focus shows the cross like they are dead, all the raid icons and the name is several inches away from the stats. The small stats do show the boss's target and their health. Unfortunately I didn't screenshot it but I will the next time I raid.

If anyone has a suggestion on how to correct this it would be much appreciated.

Thanks

Ed
It looks like there was an error (the icons and such don't get properly placed when some part of setting up the frame errors). Would you mind installing buggrabber and/or bugsack? That should show you what error is showing up and I will hopefully be able to diagnose it from that. Thanks!

BugGrabber!
BugSack
Report comment to moderator  
Reply With Quote
Unread 12-04-12, 07:23 AM  
edgarrin
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Re: Re: Boss focus

Originally Posted by gwyd
Originally Posted by edgarrin
I'm not entirely sure where the most up to update version of Hank is at the moment, so it's possible this is fixed already.

Post Patch 5.1 the Boss Focus that is usually at the right side of the screen is showing up incorrectly and affecting my FPS when it does. When you begin the fight the boss focus shows the cross like they are dead, all the raid icons and the name is several inches away from the stats. The small stats do show the boss's target and their health. Unfortunately I didn't screenshot it but I will the next time I raid.

If anyone has a suggestion on how to correct this it would be much appreciated.

Thanks

Ed
It looks like there was an error (the icons and such don't get properly placed when some part of setting up the frame errors). Would you mind installing buggrabber and/or bugsack? That should show you what error is showing up and I will hopefully be able to diagnose it from that. Thanks!

BugGrabber!
BugSack
!BugGrabber and BugSack are installed. Once I collect the data how best should i post it/send it?

Ed
Report comment to moderator  
Reply With Quote
Unread 12-04-12, 07:05 PM  
gwyd
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 47
Uploads: 1
Re: Re: Re: Boss focus

Originally Posted by edgarrin
!BugGrabber and BugSack are installed. Once I collect the data how best should i post it/send it?

Ed
If you happen to have a github account, feel free to post an issue on the project. If not, I guess just post it here.
Report comment to moderator  
Reply With Quote
Unread 12-08-12, 04:49 PM  
edgarrin
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Re: Re: Re: Re: Boss focus

Originally Posted by gwyd
Originally Posted by edgarrin
!BugGrabber and BugSack are installed. Once I collect the data how best should i post it/send it?

Ed
If you happen to have a github account, feel free to post an issue on the project. If not, I guess just post it here.
Issue has been posted: https://github.com/brendanblackwood/oUF_Hank/issues/4
Report comment to moderator  
Reply With Quote
Unread 06-14-13, 02:03 PM  
jbbuena
A Defias Bandit

Forum posts: 2
File comments: 14
Uploads: 0
Is there any chance for this layout to be updated at all?
Report comment to moderator  
Reply With Quote
Unread 06-24-13, 06:59 PM  
gwyd
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 47
Uploads: 1
Originally Posted by jbbuena
Is there any chance for this layout to be updated at all?
What issues are you seeing? It's running fine for me on my monk/dk/warrior on live, but let me know if there's an issue and I'll try to fix it.
Report comment to moderator  
Reply With Quote
Unread 09-15-13, 10:29 AM  
samvx
A Defias Bandit
 
samvx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 118
Uploads: 3
Exclamation [Request] Party Frame / Pet frame

Any chance to apply same layout to Party and/or Pet Frame? It's feasible?
ty in advance
Report comment to moderator  
Reply With Quote
Unread 10-08-13, 03:52 PM  
gwyd
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 47
Uploads: 1
Re: [Request] Party Frame / Pet frame

Originally Posted by samvx
Any chance to apply same layout to Party and/or Pet Frame? It's feasible?
ty in advance
It's possible. I haven't had a lot of free time lately so I can't commit to it or to a date, but I'll see what I can do.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: