Get an Epic Experience with Premium

PitBull Unit Frames 4.0

Unit Frames Login to Add Favorites
  • 44 Likes
  • World of Warcraft
  • 12,127 Monthly Downloads
  • Supports: 5.4.0
  • 3,442,505 Total Downloads
  • Updated 09/30/2013
  • Created 08/01/2008
  • 3,044 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 42 of 253 Next Last
  • #3696

    dont think this is a pitbull bug. i was in different groups and raids since patch-release over the past days and everyything worked fine! try delete pitbull and reinstall it and / or turn off some aother addons.

  • #3694

    I was wondering if someone with a little more knowledge than me may know what is causing this error. It usually happens when I have a raid member is out of range or dead. I have the default blizzard raid frames hidden in the PB options. When the error happens the tab on the left, which is usually hidden, pops out and spits out this lua error. Any help would be appreciated.

    Message: ...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:343: CreateFrame: Can't create protected 'Button' now
    Time: 11/30/11 22:47:12
    Count: 7
    Stack: [C]: in function `CreateFrame'
    ...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:343: in function `CompactRaidFrameContainer_GetUnitFrame'
    ...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:315: in function `CompactRaidFrameContainer_AddUnitFrame'
    ...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:255: in function `CompactRaidFrameContainer_AddPlayers'
    ...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:177: in function `CompactRaidFrameContainer_LayoutFrames'
    ...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:131: in function `CompactRaidFrameContainer_TryUpdate'
    ...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:58: in function `CompactRaidFrameContainer_OnEvent'
    [string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>

    Locals: (*temporary) = "Button"
    (*temporary) = "CompactRaidFrame33"
    (*temporary) = CompactRaidFrameContainer {
    unitFrameUnusedFunc = <function> defined @Interface\AddOns\Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameContainer.lua:47
    flowSortFunc = <function> defined @Interface\AddOns\Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameManager.lua:763
    groupMode = "flush"
    raidUnits = <table> {
    }
    frameUpdateList = <table> {
    }
    flowOrientation = "vertical"
    borderFrame = CompactRaidFrameContainerBorderFrame {
    }
    flowFilterFunc = <function> defined @Interface\AddOns\Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameManager.lua:831
    groupFilterFunc = <function> defined @Interface\AddOns\Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameManager.lua:861
    partyUnits = <table> {
    }
    flowMaxPrimaryUsed = 144.00002297811
    flowMaxSecondaryUsed = 540.00008616792
    units = <table> {
    }
    flowPauseUpdates = true
    enabled = false
    frameReservations = <table> {
    }
    flowFrames = <table> {
    }
    0 = <userdata>
    }
    (*temporary) = "CompactUnitFrameTemplate"

  • #3693

    I can't right click on my pet's unit frame and dismiss him, is this a problem that is unfixable? The warning it gives is that the action is reserved for Blizzard UI only, same goes with right clicking on a unitframe and selecting focus.

  • #3692

    Hello,

    i have a problem with my name_text:

     

    return "%s %s%s", Level(unit),Name(unit),Angle(AFK(unit) or DND(unit))

     

    1. if someone is afk/dnd-flagged i only get a "<" instead of "<AFK>" or "<DND>". can't figure out why this is happening^^

    2. is it possible to shorten the names if they are to long?

    http://imageshack.us/f/17/warlock291120112.jpg/

    in this case, the NPC-name is to long and i want it to be displayed as "M. A. Lydon"

     

    any help is appreciated :)

    Last edited by Dilandao on 12/1/2011 12:42:08 PM
  • #3689

    Yeah, this latest version seems pretty buggy. It's almost unusable )-:

  • #3691

    I haven't seen any instability thus far.  Delete your PitBull4 addon folders and then reinstall from the download and that'll likely fix your problems.

  • #3688

    Date: 2011-11-30 16:47:58
    ID: 1
    Error occured in: Global
    Count: 1
    Message: ..\AddOns\PitBull4_VisualHeal\VisualHeal.lua line 16:
    Usage: NewModule(name, [prototype, [lib, lib, lib, ...]): 'name' - Module 'VisualHeal' already exists.
    Debug:
    [C]: ?
    [C]: ?
    ...ace\AddOns\Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:260: NewModule()
    PitBull4_VisualHeal\VisualHeal.lua:16: in main chunk
    [C]: LoadAddOn()
    PitBull4\Main.lua:1135: LoadModules()
    PitBull4\Main.lua:1246: OnProfileChanged()
    PitBull4\Main.lua:1312:
    PitBull4\Main.lua:1283
    (tail call): ?
    [C]: ?
    [string "safecall Dispatcher[1]"]:9:
    [string "safecall Dispatcher[1]"]:5
    (tail call): ?
    ...ace\AddOns\Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:543: EnableAddon()
    ...ace\AddOns\Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:636:
    ...ace\AddOns\Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:621
    [C]: LoadAddOn()
    ..\FrameXML\UIParent.lua:274: UIParentLoadAddOn()
    ..\FrameXML\UIParent.lua:348: TimeManager_LoadUI()
    ..\FrameXML\UIParent.lua:614:
    ..\FrameXML\UIParent.lua:582

  • #3690

    The VisualHeal sub-addons were changed in this update.  Be sure to completely delete your PitBull4 installation and install the new version from the download.

  • #3683

    Having a weird issue with the 3d portraits. If I target someone who hasn't loaded in a dungeon yet or is offline, Pitbull displaying the quest ? in place of their model causes my portraits to shift down permanently until I console reloadui (eg, if I am playing a druid, all I can see is his horns.)

    Thoughts on this?

  • #3682

    Also does NOT show collected feathers during Alysarazor fight.

    You really do need to know how many you have collected in order not

    to pick up too many else up in the air ya go!!

  • #3681
    Re: PitBull Unit Frames 4.0 group setup?

    Any update on getting group/party configuration to work?

  • #3679

    Please fix this addon, It is very important that when Raiding  Heroic Lord Rhylith that we see the Turning bar. WE have been able to down him while i do not have the bar showing but it would make it much easier if i knew how much to turn him.

  • #3684

    So turn off the "Hide Blizzard Frames" part of the Pitbull, and get "BetterPowerBarAlt" and "HideBlizzard" mods. They do it better anyway.

  • #3680

    hi i had this problem some time ago i cant rember exactly hoe i fixed it. i think it was the alternet power bar i disabled pitbul and unchecked the hide blizzard alt power bar. give it a try it might work might not nothing 2 lose i hope it helps

     

  • #3677

    I'm curious if there is a way for me to share the usage of a bar. As of now, the Alternate Power bar is only visible when you get Alternate Power. I want for the Reptation bar to disappear during this time and for the Alternate Power bar to use that space.

    Is there anyway to hide the Reputation bar when the Alternate Power bar is active?

  • 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 »

SteelSeries Warlords Prize Pack Giveaway