Download
(1Kb)
Download
Updated: 10-24-10 03:31 AM
Updated:10-24-10 03:31 AM
Created:unknown
Downloads:17,660
Favorites:280
MD5:

HatTrick  Popular! (More than 5000 hits)

Version: 4.0.0.2-Release
by: Tekkub [More]

HatTrick is a small addon that adds checkboxes in the player paperdoll frame to toggle the helm and cloak settings.

Due to a nasty little bug in the default helm/clock config panel, HatTrick forcibly disables the default options' checkboxes and renders the global functions ShowCloak and ShowHelm inert. I don't like being forced to do this, but it's the only option until they fix their little bug.

Links

Visit my site for more great addons
Please report all bugs and feature requests to my Github tracker
Alpha builds can be found on GitHub.
Please direct all feedback and questions to my Google Groups mailinglist

4.0.0.2-Release
'this' is depreciated!
I guess Blizzy fixed this, finally

3.0.1.1-Release
Override ShowCloak and ShowHelm, disable defaul UI's checkboxes... since they turn the helm/cloak back on when opened
Optional Files (0)


Post A Reply Comment Options
Unread 05-28-09, 03:14 PM  
Sandron
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 5
Thanks!

Nice addon, thank you!
Report comment to moderator  
Reply With Quote
Unread 06-22-09, 07:04 AM  
miros
A Defias Bandit
 
miros's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 83
Uploads: 7
nice xD
Report comment to moderator  
Reply With Quote
Unread 08-09-09, 09:27 AM  
LostOne
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Great addon

I really like this addon, but was curious if the bug you mention on the front page got fixed and if this addon was ever going to get an update?

With it being so outdated it is unlikely to pick up new users.
Report comment to moderator  
Reply With Quote
Unread 11-12-09, 11:30 AM  
harl
A Murloc Raider
 
harl's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 84
Uploads: 2
Tekkub's github contains a newer revision of one of HatTrick's files (namely HatTrick.lua), which refers to this issue (mentioned by LostOne beneath) and doesn't render the game natives' cloak/helmet check-boxes inert any more.

HatTrick still works one way or the other. It's just that you can't rely on those check-boxes in the interface options with 3.0.1.1, but if you don't use them anyway this doesn't matter.
Report comment to moderator  
Reply With Quote
Unread 10-15-10, 06:24 PM  
Dessembrae
A Fallenroot Satyr
 
Dessembrae's Avatar
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 75
Uploads: 5
Patch 4.0.1 and Hatrick gives error on mouseover in the char screen:

Head:
Code:
Date: 2010-10-16 02:22:58
ID: 9
Error occured in: Global
Count: 1
Message: ..\AddOns\HatTrick\Core.lua line 17:
   Usage: GameTooltip:SetOwner(frame)
Debug:
   (tail call): ?
   [C]: ?
   [C]: SetOwner()
   HatTrick\Core.lua:17:
      HatTrick\Core.lua:16
Cloak:
Code:
Date: 2010-10-16 02:23:09
ID: 10
Error occured in: Global
Count: 2
Message: ..\AddOns\HatTrick\Core.lua line 31:
   Usage: GameTooltip:SetOwner(frame)
Debug:
   (tail call): ?
   [C]: ?
   [C]: SetOwner()
   HatTrick\Core.lua:31:
      HatTrick\Core.lua:30
__________________
Dessembrae knows the sorrows in our souls.
He walks at the side of each mortal,
a vessel of regret on the fires of vengeance.
Dessembrae knows the sorrows,
and would now share them with us all.
Last edited by Dessembrae : 10-15-10 at 06:24 PM.
Report comment to moderator  
Reply With Quote
Unread 10-21-10, 06:28 PM  
nToxik
A Murloc Raider

Forum posts: 4
File comments: 31
Uploads: 0
I get errors as well.


1x HatTrick\Core.lua:31: Usage: GameTooltip:SetOwner(frame)
HatTrick\Core.lua:31: in function <HatTrick\Core.lua:30>

Locals:
GameTooltip = GameTooltip {
0 = <userdata>
FadeOut = <function> @ Ace3\AceHook-3.0\AceHook-3.0.lua:100:
numMoneyFrames = 1
SetInventoryItem = <function> defined =[C]:-1
ClearLines = <function> @ Gatherer\Swag\LibSwag.lua:412:
comparing = false
updateTooltip = 0.059999993816018
shoppingTooltips = <table> {}
AddLine = <function> defined =[C]:-1
SetText = <function> @ Gatherer\Swag\LibSwag.lua:403:
hasMoney = 1
Show = <function> @ Ace3\AceHook-3.0\AceHook-3.0.lua:100:
AddDoubleLine = <function> defined =[C]:-1
Hide = <function> @ Ace3\AceHook-3.0\AceHook-3.0.lua:100:
}
loc = <table> {
cloaktip = "Toggles cloak model."
helmtip = "Toggles helmet model."
}
Report comment to moderator  
Reply With Quote
Unread 10-30-10, 10:49 AM  
coldsun
A Kobold Labourer

Forum posts: 1
File comments: 37
Uploads: 0
hattrick makes it imposisble to switch some titles, since i always get the hatrick checkbox cursor for headslot instead of the title switch klick.

edit: ok, when u klick the title at the very right end it doesnt interfere
Last edited by coldsun : 10-30-10 at 10:51 AM.
Report comment to moderator  
Reply With Quote
Unread 01-02-11, 10:22 PM  
Ganoran
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
The reason for the errors is that it's using "self" in the functions, and that's no longer allowed. I don't know why this wasn't fixed when the .toc was updated. To fix it, replace the "self" calls with the name of the check box that's being created; i.e. GameTooltip:SetOwner(HelmCheckBox, "ANCHOR_RIGHT") instead of GameTooltip:SetOwner(self, "ANCHOR_RIGHT"). GameTooltip:SetOwner(CloakCheckBox, "ANCHOR_RIGHT") for the other one. So far as I've used it, it works perfectly after this change.
Report comment to moderator  
Reply With Quote
Unread 02-10-11, 02:14 PM  
R3clu5e
A Kobold Labourer

Forum posts: 1
File comments: 1
Uploads: 0
Cool show/hide cloak and helm macro

a macro alternative:

/click [nomod] InterfaceOptionsDisplayPanelShowCloak
/click [mod] InterfaceOptionsDisplayPanelShowHelm
Report comment to moderator  
Reply With Quote
Unread 03-17-11, 03:24 PM  
amberglow
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Any chance of updating Hat Trick?

Any chance of updating this mod for the latest version of Cata? would be great i sure do miss this little add on its nice to be able to shut off some of the ugliest helms in the game lol.
Thanks for any considerations in updating this mod.
Report comment to moderator  
Reply With Quote
Unread 06-02-11, 02:25 AM  
lloydbates
A Kobold Labourer
 
lloydbates's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 48
Uploads: 3
Re: Any chance of updating Hat Trick?

If the checkboxes are not responding for you, open the HatTrick.lua file and add the following lines below the corresponging calls to SetToplevel.
Code:
hcheck:SetFrameStrata("HIGH")
Code:
ccheck:SetFrameStrata("HIGH")
This may not be the correct way to fix it, but it works for me.
__________________
Gentlemen, you can't fight in here! This is the War Room!
Last edited by lloydbates : 06-02-11 at 02:26 AM.
Report comment to moderator  
Reply With Quote
Unread 07-21-11, 01:47 PM  
spiralofhope
A Deviate Faerie Dragon
 
spiralofhope's Avatar

Forum posts: 13
File comments: 276
Uploads: 0
I've added the two code changes below to the issues list, so they might actually be fixed.

https://github.com/tekkub/hattrick/issues

If a fix isn't updated here on wowinterface, then download the source from github.
__________________
spiralofhope.com
Report comment to moderator  
Reply With Quote
Unread 08-04-11, 12:12 PM  
spiralofhope
A Deviate Faerie Dragon
 
spiralofhope's Avatar

Forum posts: 13
File comments: 276
Uploads: 0
Updated, and working, on github:

https://github.com/tekkub/hattrick
__________________
spiralofhope.com
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.