Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(290 Kb)
Download
Updated: 11-03-14 04:04 PM
Compatibility:
Warlords of Draenor Pre-Patch (6.0.3)
Warlords of Draenor Pre-Patch (6.0.2)
Updated:11-03-14 04:04 PM
Created:08-28-12 08:53 PM
Downloads:5,199
Favorites:29
MD5:
6.0.3

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

Version: 6.0.1
by: gwyd [More]

This is an update of Hank's oUF_Hank addon for WoW 6.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 updating it to work with WoW 6.0.

== 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.1
352kB
09-27-12 10:26 AM
Patch


Archived Files (7)
File Name
Version
Size
Author
Date
6.0
290kB
gwyd
10-14-14 03:42 PM
5.2.0
285kB
gwyd
03-28-13 04:12 PM
5.1.0
284kB
gwyd
12-17-12 05:42 PM
5.0.5b
289kB
gwyd
10-07-12 04:08 PM
5.0.5
287kB
gwyd
08-31-12 12:38 PM
5.0.4c
294kB
gwyd
08-29-12 05:12 PM
5.0.4
294kB
gwyd
08-28-12 08:53 PM


Post A Reply Comment Options
Unread 12-03-12, 07:21 PM  
gwyd
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 30
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
gwyd is offline Report comment to moderator  
Reply With Quote
Unread 12-03-12, 07:18 PM  
gwyd
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 30
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.
gwyd is offline 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

edgarrin is offline 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.
edgarrin is offline 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?
EatsYaa is offline Report comment to moderator  
Reply With Quote
Unread 10-10-12, 06:29 PM  
gwyd
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 30
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.
gwyd is offline 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
Ronzily is offline Report comment to moderator  
Reply With Quote
Unread 10-08-12, 03:49 AM  
Anj
A Chromatic Dragonspawn
 
Anj's Avatar

Forum posts: 167
File comments: 475
Uploads: 0
Thanks so much for this update!
__________________
Lok'tar ogar!
Anj is offline Report comment to moderator  
Reply With Quote
Unread 10-07-12, 04:09 PM  
gwyd
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 30
Uploads: 1
Originally Posted by gwyd
I've uploaded a new version with changes by ckaotik that allow warlock spec bars and shaman totems to work.
...and re-uploading after breaking .toc file
gwyd is offline Report comment to moderator  
Reply With Quote
Unread 10-07-12, 08:17 AM  
gwyd
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 30
Uploads: 1
I've uploaded a new version with changes by ckaotik that allow warlock spec bars and shaman totems to work.
gwyd is offline Report comment to moderator  
Reply With Quote
Unread 10-07-12, 08:14 AM  
gwyd
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 30
Uploads: 1
Originally Posted by Ronzily
The config.lua file has a variable called FocusFrameMarginY, but the variable in the hank_v3.lua is called FocusFrameMargin, and looks like it's supposed to be an array with an x and y value. Because the variables don't match, it makes all of the config setting not work (scale, etc.).
Good catch. I made FocusFrameMargin a table in the default config so you can now change x and y if you want.

Originally Posted by Ronzily
If I want to move the castbars, can I do that in the custom_modifications.lua somehow? For instance, I like my target castbar on top of my target frame instead of to the left, so in the past I've made the edits directly to hank_v3.lua. If I copy that out to the custom_modifications file instead, will that override whenever I update?
Anything that you have in custom_modifications.lua will be preserved when you update (as long as you copy files to the directory rather than overwriting the entire directory).

You should be able to make the changes you want in there. If you want help with that, post the changes you are making to castbar and I can see if I can get it in the custom_modifications format.
gwyd is offline Report comment to moderator  
Reply With Quote
Unread 10-04-12, 10:51 PM  
Ronzily
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Also, one other question, since I'm not entirely confident with how the custom_modifications.lua works.

If I want to move the castbars, can I do that in the custom_modifications.lua somehow? For instance, I like my target castbar on top of my target frame instead of to the left, so in the past I've made the edits directly to hank_v3.lua. If I copy that out to the custom_modifications file instead, will that override whenever I update?

Thanks!
Ronzily is offline Report comment to moderator  
Reply With Quote
Unread 10-04-12, 10:48 PM  
Ronzily
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Gwyd,

The latest files on github work great for me (only tried warlock so far), with one quick exception.

The config.lua file has a variable called FocusFrameMarginY, but the variable in the hank_v3.lua is called FocusFrameMargin, and looks like it's supposed to be an array with an x and y value. Because the variables don't match, it makes all of the config setting not work (scale, etc.). I fixed it locally by just changing the reference to FocusFrameMargin in hank_v3.lua to:

Code:
oUF:Spawn("focus", "oUF_focus"):SetPoint("CENTER", UIParent, "CENTER", 0, -cfg.FocusFrameMarginY)
but I'm not sure if that's what you intended.
Ronzily is offline Report comment to moderator  
Reply With Quote
Unread 10-03-12, 06:34 AM  
gwyd
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 30
Uploads: 1
Re: Haste's latest release already integrated?

Originally Posted by Irongunner
Hi, is your latest WoWi version already up to date with the latest release of Haste's oUF core?
Sorry about the delay guys. I've been out of town and then getting leveled up. I've got a few more things to test/fix in raids this week and then I'll push to WoWi. For now, you can pull from github if you like. It does work with current oUF. If you guys find any problems feel free to let me know. I don't have level 90s of every class so there are some things that aren't fully tested.
gwyd is offline Report comment to moderator  
Reply With Quote
Unread 09-29-12, 08:02 AM  
Irongunner
A Deviate Faerie Dragon

Forum posts: 11
File comments: 6
Uploads: 0
Haste's latest release already integrated?

Hi, is your latest WoWi version already up to date with the latest release of Haste's oUF core?
Irongunner is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: