Get an Epic Experience with Premium

PitBull Unit Frames 4.0

Unit Frames Login to Add Favorites
  • World of Warcraft
  • 11,934 Monthly Downloads
  • Supports: 5.4.0
  • 3,439,901 Total Downloads
  • Updated 09/30/2013
  • Created 08/01/2008
  • 3,041 Favorites
  • Project Site
  • Comments
  • Release Type: Beta
  • License: All Rights Reserved
  • Newest File: v4.0.0-beta48
Support development! **

About PitBull Unit Frames 4.0

PitBull4 is a continuation of PitBull.

Differences from PitBull 3:

  • It's mostly done, but not entirely done thus why there are still only betas (despite this it is still very stable).
  • Documentation is written before functions
  • Much easier for third-party extensions.
  • Options will be much, much simpler. In 3.0, there's about 200 panels that you can mess with, it's overwhelming. I want to bring this down to somewhere around 10.
    • Layouts are defined deterministically and unit groups use the layout rather than ad-hoc layouts on a per-unit basis. This will make setting up your unit frames far, far easier.
    • Due to some decisions made, 4.0 is actually more configurable than 3.0. As a layout designer, you will have a lot more control over how things look. You can have different fonts on the same frame, different textures, more precise positioning, and a whole slough of other things.
  • CPU Efficiency will be taken much more seriously.
  • It uses Ace3 instead of Rock.



If you want to help localize PitBull in your language, go to

Forum thread:

tag v4.0.0-beta48
Shefki <>
2013-09-30 09:31:18 -0700

Tagging as v4.0.0-beta48


    - This commit should fully fix the problems people have been having with SetFont() errors.  If the font returned from GetFont is nil then use our cached font and size.  Size whenever font is nil will be an uninitialized value and so the existing fix would still throw errors when the size ended up being less than or equal to 0.
    - It doesn't make sense to call GetFont on a new FontString.  The flags should not be preserved, so just set the font and size and leave the flags as "".  The AddFontString call later will set the flags properly. If the font string already exists then you want to preserve the flags.
    - Fix some typos that were fixed on nebula1169's branch.
    - Remove some values I set to help debugging ticket #1050.
    - Hopefully avoid the SetFont errors for sure now assuming that the problem is that GetFont() doesn't work immediately after a SetFont() while the game is still loading in.
    - Missed wrapping a geterrorhandler() in pcall().
    - Protect against Blizzard's error handler throwing an error, which is why the protection code didn't allow the frames to work even when the SetFont error was happening.
    - Stash the DEFAULT_FONT and DEFAULT_FONT_SIZE so I can get people having the font problem to show me what's being stored.
    - Wrap the SetFont and SetAlpha calls in pcalls() which should prevent errors with them from breaking frames entirely.
    - Make the Vengeance fix backwards compatible.
Benjamin Staneck:
    - use a different ID for vengeance that works in 5.4
    - Remove unnecessary constants that I added on accident.
    - Hopefully stop some rare errors in LuaTexts about SetFont.


First Previous Page 216 of 253 Next Last
  • #726
    Also, I make backup copies of my UI whenever I usually update, and I went to revert back to the old one and the error didn't fix. Any help would be appreciated.
  • #724
    Just downloaded this and started playing with it some. It seems that, for whatever reason, I am missing the AURA tab under the Layout Editor. This means I can't edit the aura options for each unit frame -- which makes this addon very incomplete for me. However, my friend downloaded the same one and can edit the auras. Any help?
  • #723
    Just downloaded this and started playing with it some. It seems that, for whatever reason, I am missing the AURA tab under the Layout Editor. This means I can't edit the aura options for each unit frame -- which makes this addon very incomplete for me. However, my friend downloaded the same one and can edit the auras. Any help?
  • #722
    Even incomplete, this is FAR superior to 3.0.

    Authors, if I knew you irl I'd include you in my will. :D
  • #730
    I would say the same, except I wish there was a way to export my pb3 layout to pb4. Right now trying to get the same layout I just can't get it to work. And thats a deal breaker for me. I spent a month perfecting my unit frames.
  • #718
    Oh and forgot to comment on this. However when you adjust the scaling of the frames and each has its own scaling. They don't always perfectly match up. So allowing a configurable offset (x and y) for each panel in each grouping. Would also allow for more configurable options. And would allow groupings with various scales to match more properly.
  • #717
    PitBull4_Aura: Unknown spell ID: 51375

    Seems this ID needs to be added to addon.
  • #715
    Is it possible to turn buffs/debuffs on/off individually for each frame/party yet? Still cant figure it out.
  • #714
    I consider this a bug. I want to highlight a unit frame red if it is an enemy to me.

    Going through the Aura Filter Editor for the Aura module, I filled in exactly what I wanted. I selected Highlights, Unit, Is Enemy. But, unfortunately you only check for whether to highlight based on what auras the target has on them. So if there is no UNIT_AURA event firing, there is no highlight. Furthermore, because this Highlight is set, it will trigger the function to set a highlight once I actually put a debuff on the target. But the highlight will be based upon the debuff I put on the target. If I put a magic debuff on the target it colors it blue, a poison it colors it green, etc. Please fix it =(
  • #708
    I was curious if its possible to setup the experience bar to only show Percents? I tried doing custom code but can't figure it out with my limited knowledge of the LUA language.
  • #709
    Never mind I managed to get it to mostly work.

    local cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)
    if rest then
    return "%s%% | R: %s%%",Percent(cur,max),Percent(rest,max)

    My only issue is if I am not rested I can't seem to find a way to not display this part of it | R: %s%%
  • #706
    And an additional comment for healing. Pitbull has a set range indicator ... would be nice if this indicator was customizable. As it fades people out (like they are out of my range) but they are not for my heals. So I have to pay a bit more attention to who is actually near me. Xperl did allow for this customization and hoping Pitbull will as well. Also another feature I liked from Xperl that I hope Pitbull considers, is listing who gave whom a certain buff/debuff (on mouseover of the buff/debuff). Given that Xperl has various configurable options for healing and Pitbull does not. At least not yet. I hope this is fixed. As I really like it. And would love to see it extend this functionality to the healers out there. Even tanking options would also be nice.
  • #705
    Current version and attached totems to health bar ends up clearing totem icons. All that shows is totem timers. Upon turning off totems and turning back on fixes this. However, if you go into a party,raid,bg, this issue repeats. Its a bit annoying and hopes a fix to ensure totem icons always show is made.
  • #704
    I want to be able to put custom borders around frames based on hostility. Am I just not seeing a way to do this or would you be able to implement this?
  • #702
    Not really liking this one at all. I use Pitbull 3.0 and find it way more easy to use then this one. I've spent months setting up 3.0 how I like and and with this new one it just does not work very well at all. The options are confusing, and I have yet to figure out how to get the name how I have it in 3.0. Problem is I think a converter should be made to convert your UI Settings from 3.0 to 4.0 as this is a monster trying to figure out how to change it from

    , ,

    such as 3.0 Had so if my toon was Bob and he was a level 70 and was a druid it would look like this. Bob 80 Nightelf Druid. Haven't figured out how to do this in the new version if it's even possible.
  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Landmark Beta Key Giveaway!

Get My Code!