Get an Epic Experience with Premium

PitBull Unit Frames 4.0

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

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.

FAQ: http://www.wowace.com/addons/pitbull4.../faq/.

Guide: http://www.wowace.com/addons/pitbull4.../guide/.

If you want to help localize PitBull in your language, go to http://www.wowace.com/projects/pitbul.../localization/.

Forum thread: http://forums.wowace.com/showthread.php?t=15552...

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

Tagging as v4.0.0-beta48

--------------------

Shefki:
    - 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
Shefki:
    - Remove unnecessary constants that I added on accident.
    - Hopefully stop some rare errors in LuaTexts about SetFont.

Comments

First Previous Page 68 of 252 Next Last
  • #3271
    Anf while wer at it, how can I make it so the friendly player shows in class color, and all the enemy's in red/yellow?
  • #3278
    You haven't been 100% clear by this but really what you want should be fairly obvious how to configure by adjusting the Color by checkboxes for the bar you want to change the color on.

    The following could color friendly players by class, NPCs by hostility and enemy players would show by whatever the normal rules were for the bar:
    Check Color by class, Uncheck Color PvP by class, Uncheck Color by hostility, check Color NPCs by hostility.

    If you check Color by hostility then enemy players would show based on their PVP status (Blueish in sanctuaries where they are considered Civilians, Red when flagged, and I don't remember precisely how they're categorized when unflagged on non-PVP realms).
  • #3317
    That would make the bar color change.

    What I want to have is the Name Text to change color in the way you just described: color friendly players by class, NPCs by hostility and enemy players would show by whatever the normal rules were for the bar.

    There are two presets that is 'Name:Class-colored' and 'Name:hostility-colored' but I want them both. Class-colored for friendly targets, and Hostility-colored for unfriendly targets. Is it possible?
  • #3375
    Try again, maybe..
  • #3269
    Is it possible to make a text for the alternate power bar? I know how to create and edit a text, but I can't find what code to put in to show how much sound I have, either the number or the percentage. I'm using DogTag.
  • #3275
    Not with DogTags. It doesn't have support for this. Which is part of the problem with DogTags. Everything you use has to have specific support for it added to DogTags. Since DogTags isn't maintained anymore it's likely that more and more things will not be available.
  • #3268
    needing lua help. I want to display the target's guild reputation rank on the target frame. So far all I can find is GetguildInfo(unit) and that returns up to 3 options: Guild Name, Guild Rank, and a number which I assume is the 'level' of the guild rank assigned.

    anyone know what the code is to pull up guild reputation?
  • #3272
    You may want to ask on one of the luatexts forums as that is likely to give you the speediest response.
  • #3264
    Thanks for your reply, I was wondering though why would pitbull be different than Stuf Unit Frames. With stuf I could only check Full Body and it'd work.

    Sorry if I misunderstood the thread or whatever. Thanks a lot
  • #3266
    Stuf has the exact same problems with certain models including the Male Worgen. I just downloaded it and checked.
  • #3261
    Hi, first of all let me say thank you for these great unit frames.

    I have a little problem though.. I play a Worgen male so the portrait frame appears as a full body but to remedy to this, I used to set it to "Full body" with my other addons and it would just work (it'd make it 3d facial)

    The thing is, it just won't work with pitbull, checking "Full body" or not won't change anything at all. Is there any way to fix this?
    (Sorry for my english, french is my mother tongue)

    Thanks a lot.
  • #3263
    See: http://us.battle.net/wow/en/forum/topic/2065778732#3
  • #3259
    Hi =) Long time PB User (years!) and have never once looked at another unit frames mod for my ui.. however I have been plagued with the problem of raid frames not updating correctly for a while now. I have seen some other comments here about it and that you was unable to replicate the problem to fix. I have been checking back regulary to see if this problem has been solved but not seen anything yet. As a healer and a pvper mainly at the mo this problem has got me to the point where I am considering changing to a different frames mod as I am having to constantly reload my ui every time someone leaves/enters the raid.. but its not something I want to do! I have so many dog tags set up for my healing that i just dont want to lose =( Is there any further news of this problem and any kind of fix on its way? Anything I can do to help you come to a solution for this?

    I love PB and thank you for all your hard work on this great mod =)
  • #3267
    Try the latest alpha. Believe I have it fixed now.
  • #3260
    If you were following the ticket about this on wowace, our latest testing seems to show this as a DogTags Texts issue, or people that didn't update to a newer version.

    Here's a link to the ticket in particular: http://www.wowace.com/addons/pitbull4/tickets/868-party-names-classes-dont-match/

    If you are using LuaTexts and a current version and seeing this problem, please post your config to a comment in the tickets and we will continue to look at the issue.
  • 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 »

Leaguepedia PAX Skin Giveaway