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:4,952
Favorites:28
MD5:
Categories:Graphic UI Mods, Suites
6.0.3

oUF Hank Fan Update for 6.0

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 11-11-14, 08:49 PM  
Lefeng
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Re: Re: Showing ElvUI cooldown text

Thanks, that did exactly what I needed.

It wasn't to get a different font on the auras, it was to get the timer text to show up. Blizzard's shows up, but the text is too big because I like smaller auras. OmniCC shows up, but I'd prefer not to use OmniCC if I can get ElvUI's to show. Without the custom modification ElvUI's was not showing at all.

Thanks again!

Originally Posted by gwyd
Originally Posted by Lefeng
Is there some code I can add to custom_modifications.lua to show the cooldown text provided by ElvUI?

Update: An ElvUI dev instructed me to paste

Code:
E:RegisterCooldown(cooldown)
into the part of oUF_Hank that creates the cooldown/timer text for auras. I have no clue where that could be.
I'm not 100% sure what you are looking for, but you can use ElvUI to draw the countdown text on auras. Just add this to your custom_modifications.lua:

Lua Code:
  1. oUF_Hank_hooks.ElvUICd = {
  2.     PostCreateIcon = function(icons, icon)
  3.         local E, L, V, P, G = unpack(ElvUI);
  4.         E:RegisterCooldown(icon.cd)
  5.     end,
  6. }

That being said, it seems like a lot of effort just for a different font.
Lefeng is offline Report comment to moderator  
Reply With Quote
Unread 11-11-14, 06:29 PM  
gwyd
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 29
Uploads: 1
Re: Showing ElvUI cooldown text

Originally Posted by Lefeng
Is there some code I can add to custom_modifications.lua to show the cooldown text provided by ElvUI?

Update: An ElvUI dev instructed me to paste

Code:
E:RegisterCooldown(cooldown)
into the part of oUF_Hank that creates the cooldown/timer text for auras. I have no clue where that could be.
I'm not 100% sure what you are looking for, but you can use ElvUI to draw the countdown text on auras. Just add this to your custom_modifications.lua:

Lua Code:
  1. oUF_Hank_hooks.ElvUICd = {
  2.     PostCreateIcon = function(icons, icon)
  3.         local E, L, V, P, G = unpack(ElvUI);
  4.         E:RegisterCooldown(icon.cd)
  5.     end,
  6. }

That being said, it seems like a lot of effort just for a different font.
gwyd is offline Report comment to moderator  
Reply With Quote
Unread 11-09-14, 06:16 PM  
Lefeng
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Showing ElvUI cooldown text

Is there some code I can add to custom_modifications.lua to show the cooldown text provided by ElvUI?

Update: An ElvUI dev instructed me to paste

Code:
E:RegisterCooldown(cooldown)
into the part of oUF_Hank that creates the cooldown/timer text for auras. I have no clue where that could be.
Last edited by Lefeng : 11-11-14 at 04:23 PM.
Lefeng is offline Report comment to moderator  
Reply With Quote
Unread 11-07-14, 06:52 AM  
samvx
A Defias Bandit
 
samvx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 75
Uploads: 5
Re: Re: Doesn't Works

[quote=gwyd]
Originally Posted by samvx
What Im doing wrong?
unzzip>replace
Fixed...just..delete old OUF file and re install it....voila!!! ty
Last edited by samvx : 11-07-14 at 06:57 AM.
samvx is online now Report comment to moderator  
Reply With Quote
Unread 11-07-14, 06:47 AM  
samvx
A Defias Bandit
 
samvx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 75
Uploads: 5
Re: Re: Doesn't Works

Originally Posted by Dancingblade
Originally Posted by samvx
What Im doing wrong?
unzzip>replace
Did you download oUF, which is required for this work?
Yes
samvx is online now Report comment to moderator  
Reply With Quote
Unread 11-06-14, 08:26 PM  
Dancingblade
A Murloc Raider
 
Dancingblade's Avatar

Forum posts: 9
File comments: 37
Uploads: 0
Re: Doesn't Works

Originally Posted by samvx
What Im doing wrong?
unzzip>replace
Did you download oUF, which is required for this work?
Dancingblade is offline Report comment to moderator  
Reply With Quote
Unread 11-06-14, 06:01 PM  
gwyd
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 29
Uploads: 1
Re: Doesn't Works

Originally Posted by samvx
What Im doing wrong?
unzzip>replace
What kind of issues are you seeing? Could you install buggrabber and bugsack and tell me if you see any errors?
gwyd is offline Report comment to moderator  
Reply With Quote
Unread 11-06-14, 08:41 AM  
samvx
A Defias Bandit
 
samvx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 75
Uploads: 5
Doesn't Works

What Im doing wrong?
unzzip>replace
samvx is online now Report comment to moderator  
Reply With Quote
Unread 10-22-14, 06:37 AM  
gwyd
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 29
Uploads: 1
Originally Posted by Pyrates
I think there's a small problem with the class icons. At least for the priest, the background of the shadow orbs shows up regardless of spec. I suspect the same is true for the soul shard of the warlocks wrt spell availability (I don't really know much about that, I just read classicons.lua). I fixed it by inserting the following code in hank_v3.lua after the definition of self.ClassIcons.PostUpdate. Please not that this is not thoroughly tested, especially in case of warlocks.

Lua Code:
  1. if playerClass == "PRIEST" then
  2.             local talentUpdate = function(self,event, unit)
  3.                 if GetSpecialization() ~= SPEC_PRIEST_SHADOW then --Shadow Spec
  4.                     for i = 1,5 do
  5.                         bg[i]:Hide()
  6.                     end
  7.                 else
  8.                     for i = 1,5 do
  9.                         bg[i]:Show()
  10.                     end
  11.                 end
  12.             end
  13.            
  14.             self:RegisterEvent('PLAYER_TALENT_UPDATE', talentUpdate, true)
  15.            
  16.         elseif playerClass == "WARLOCK" then   
  17.             local spellUpdate = function(self,event, unit)
  18.                 if GetSpecialization() ~= WARLOCK_SOULBURN then --Shadow Spec
  19.                     for i = 1,5 do
  20.                         bg[i]:Hide()
  21.                     end
  22.                 else
  23.                     for i = 1,5 do
  24.                         bg[i]:Show()
  25.                     end
  26.                 end
  27.             end
  28.        
  29.             self:RegisterEvent('SPELLS_CHANGED', spellUpdate, true)
  30.         end
Sorry that this is 7 months late. Thanks for posting a solution. I'm working on a more global (all classes) solution that I should get out in the next version.
gwyd is offline Report comment to moderator  
Reply With Quote
Unread 10-22-14, 06:35 AM  
gwyd
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 29
Uploads: 1
Originally Posted by chumii
hey, thanks for doing this fan update, loving it so far

but i just got this error on my feral druid

1x oUF_Hank\hank.lua:1300: attempt to index field 'direction' (a nil value)
oUF_Hank\hank.lua:1300: in function <oUF_Hank\hank.lua:1299>
(tail call): ?
oUF\elements\eclipsebar.lua:177: in function `func'
oUF\ouf-1.6.8.lua:158: in function <oUF\ouf.lua:149>
(tail call): ?
[C]: in function `Show'
FrameXML\SecureStateDriver.lua:83: in function <FrameXML\SecureStateDriver.lua:73>
FrameXML\SecureStateDriver.lua:137: in function <FrameXML\SecureStateDriver.lua:119>

Locals:
(*temporary) = 1.0789999961853
(*temporary) = <function> defined =[C]:-1
Yeah, I don't play a druid, but I looked around a bit last night and it looks like eclipse bar has seen some changes with WoD. I know you are feral, but the frames actually get initialized at load for the class and then just get enabled/disabled by spec. I'm probably going to have to rewrite this, but it's something hopefully I can get to this weekend.
gwyd is offline Report comment to moderator  
Reply With Quote
Unread 10-22-14, 06:33 AM  
gwyd
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 29
Uploads: 1
Re: bugsack error on lock

Originally Posted by the9thresident
10x oUF_Hank\hank.lua:1252: attempt to compare nil with number
oUF_Hank\hank.lua:1252: in function <oUF_Hank\hank.lua:1250>
(tail call): ?
(tail call): ?
oUF\elements\classicons.lua:199: in function <oUF\elements\classicons.lua:190>
oUF\elements\classicons.lua:166: in function <oUF\elements\classicons.lua:147>
(tail call): ?
oUF\ouf-1.6.8.lua:158: in function <oUF\ouf.lua:149>
(tail call): ?
[C]: in function `Show'
FrameXML\SecureStateDriver.lua:83: in function <FrameXML\SecureStateDriver.lua:73>
FrameXML\SecureStateDriver.lua:137: in function <FrameXML\SecureStateDriver.lua:119>

Locals:
(*temporary) = 0.017000000923872
(*temporary) = <function> defined =[C]:-1

now getting it on a low lvl priest too (just made her) but not on my high lvl SP O.o odd
How low level? What spec are you playing? Also, make sure you have updated to the newest version of oUF. There have been some changes to class icons (shadow orbs display) and that's the chunk of code that is erroring out in your stack trace. I wasn't able to reproduce, but let me know and I can level a priest to some the same level to test.
gwyd is offline Report comment to moderator  
Reply With Quote
Unread 10-22-14, 06:28 AM  
gwyd
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 29
Uploads: 1
Originally Posted by Dancingblade
I'd also like to thank you for keeping this addon going.

It seems like the latency tracking on the castbars is wonky. It always shows a very high latency in the text and the entire bar is red. Other than that, working great and I'm thrilled to have it. Thanks again!
Yeah, it looks like the UNIT_SPELLCAST_SENT event (client side event when you start a spell) isn't being triggered for some reason so I'm not getting valid start time (just defaulting to 0). I'll look into it.
gwyd is offline Report comment to moderator  
Reply With Quote
Unread 10-21-14, 05:20 PM  
gwyd
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 29
Uploads: 1
Originally Posted by jbbuena
Thank you so much for the prompt update to this addon!

May I ask if there's any way to make it so the text on the castbars have outlines or shadows on them? It looks so bare with just the white text. :x
They actually have a shadow, but it's small. If you want an outline, blizzard has 3 outline styles built in that you can use in whatever combination. If you look at the Fonts section of the config.lua file, you will see these font objects. The 3rd parameter to this can be a string with a comma-delimited list of the effects you want. For example, you could change

Lua Code:
  1. CastBarBig = {"Interface\\AddOns\\oUF_Hank_v3\\fonts\\tahoma.ttf", 15},

to be

Lua Code:
  1. CastBarBig = {"Interface\\AddOns\\oUF_Hank_v3\\fonts\\tahoma.ttf", 15, "OUTLINE, MONOCHROME"},

The 3 outline styles are "OUTLINE", "THICKOUTLINE", and "MONOCHROME".
gwyd is offline Report comment to moderator  
Reply With Quote
Unread 10-19-14, 06:35 AM  
chumii
A Fallenroot Satyr
 
chumii's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 20
File comments: 17
Uploads: 2
hey, thanks for doing this fan update, loving it so far

but i just got this error on my feral druid

1x oUF_Hank\hank.lua:1300: attempt to index field 'direction' (a nil value)
oUF_Hank\hank.lua:1300: in function <oUF_Hank\hank.lua:1299>
(tail call): ?
oUF\elements\eclipsebar.lua:177: in function `func'
oUF\ouf-1.6.8.lua:158: in function <oUF\ouf.lua:149>
(tail call): ?
[C]: in function `Show'
FrameXML\SecureStateDriver.lua:83: in function <FrameXML\SecureStateDriver.lua:73>
FrameXML\SecureStateDriver.lua:137: in function <FrameXML\SecureStateDriver.lua:119>

Locals:
(*temporary) = 1.0789999961853
(*temporary) = <function> defined =[C]:-1
chumii is offline Report comment to moderator  
Reply With Quote
Unread 10-18-14, 09:39 PM  
the9thresident
A Kobold Labourer
 
the9thresident's Avatar

Forum posts: 0
File comments: 3
Uploads: 0
bugsack error on lock

10x oUF_Hank\hank.lua:1252: attempt to compare nil with number
oUF_Hank\hank.lua:1252: in function <oUF_Hank\hank.lua:1250>
(tail call): ?
(tail call): ?
oUF\elements\classicons.lua:199: in function <oUF\elements\classicons.lua:190>
oUF\elements\classicons.lua:166: in function <oUF\elements\classicons.lua:147>
(tail call): ?
oUF\ouf-1.6.8.lua:158: in function <oUF\ouf.lua:149>
(tail call): ?
[C]: in function `Show'
FrameXML\SecureStateDriver.lua:83: in function <FrameXML\SecureStateDriver.lua:73>
FrameXML\SecureStateDriver.lua:137: in function <FrameXML\SecureStateDriver.lua:119>

Locals:
(*temporary) = 0.017000000923872
(*temporary) = <function> defined =[C]:-1

now getting it on a low lvl priest too (just made her) but not on my high lvl SP O.o odd
Last edited by the9thresident : 10-19-14 at 12:52 AM.
the9thresident is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: