Get an Epic Experience with Premium

PitBull Unit Frames 4.0

Unit Frames Login to Add Favorites
  • 43 Likes
  • World of Warcraft
  • 11,664 Monthly Downloads
  • Supports: 5.4.0
  • 3,402,790 Total Downloads
  • Updated 09/30/2013
  • Created 08/01/2008
  • 3,034 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 16 of 252 Next Last
  • #4094

    Message: [ADDON_ACTION_BLOCKED] AddOn "PitBull4_HideBlizzard" tried to call the protected function "CompactRaidFrameContainer:Show()".
    Time: 12/06/12 23:47:36
    Count: 5
    Stack: [C]: in function `Show'
    ...mpactRaidFrames\Blizzard_CompactRaidFrameManager.lua:513: in function `CompactRaidFrameManager_UpdateContainerVisibility'
    ...mpactRaidFrames\Blizzard_CompactRaidFrameManager.lua:93: in function `CompactRaidFrameManager_UpdateShown'
    ...mpactRaidFrames\Blizzard_CompactRaidFrameManager.lua:43: in function <...mpactRaidFrames\Blizzard_CompactRaidFrameManager.lua:39>

    Locals: <none>

  • #4093

    Getting tons of Pitbull errors. Appears to only be when grouped.

    Message: [ADDON_ACTION_BLOCKED] AddOn "PitBull4_HideBlizzard" tried to call the protected function "CompactRaidFrameManagerContainerResizeFrame:Hide()".
    Time: 12/06/12 23:47:36
    Count: 5
    Stack: [C]: in function `Hide'
    ...mpactRaidFrames\Blizzard_CompactRaidFrameManager.lua:559: in function `CompactRaidFrameManager_LockContainer'
    ...mpactRaidFrames\Blizzard_CompactRaidFrameManager.lua:552: in function `CompactRaidFrameManager_UpdateContainerLockVisibility'
    ...mpactRaidFrames\Blizzard_CompactRaidFrameManager.lua:46: in function <...mpactRaidFrames\Blizzard_CompactRaidFrameManager.lua:39>

    Locals: <none>

  • #4092

    Error message received:

    Date: 2012-12-03 23:57:04
    ID: -1
    Error occured in: Global
    Count: 1
    Message: PitBull4_LuaTexts:Player Bar:Lua:Power caused the following error:
    invalid option in `format'
    Debug:
       PitBull4_LuaTexts\LuaTexts.lua:815:
          PitBull4_LuaTexts\LuaTexts.lua:802
       PitBull4_LuaTexts\LuaTexts.lua:870:
          PitBull4_LuaTexts\LuaTexts.lua:825
       PitBull4_LuaTexts\LuaTexts.lua:1415: AddFontString()
       ...ddOns\PitBull4\ModuleHandling\TextProviderModule.lua:118: UpdateFrame()
       ...ddOns\PitBull4\ModuleHandling\TextProviderModule.lua:150: ForceTextUpdate()
       PitBull4_LuaTexts\LuaTexts.lua:1489:
          PitBull4_LuaTexts\LuaTexts.lua:1485
       PitBull4_LuaTexts\LuaTexts.lua:1559:
          PitBull4_LuaTexts\LuaTexts.lua:1555
       (tail call): ?
       [C]: ?
       [string "safecall Dispatcher[2]"]:9:
          [string "safecall Dispatcher[2]"]:5
       (tail call): ?
       ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:799:
          ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:614
       (tail call): ?
       [C]: ?
       [string "safecall Dispatcher[3]"]:9:
          [string "safecall Dispatcher[3]"]:5
       (tail call): ?
       ...face\AddOns\Altoholic\libs\AceGUI-3.0\AceGUI-3.0.lua:314: Fire()
       ...AceGUI-3.0\widgets\AceGUIWidget-MultiLineEditBox.lua:67:
          ...AceGUI-3.0\widgets\AceGUIWidget-MultiLineEditBox.lua:64
    Locals:
    None

  • #4091

    I installed the newest update today and for some reason it isn't working. The command isn't working and i'm not getting an error message. Is there something i'm missing?

  • #4090

    I'm getting this whenever I log onto my death knight... I'm Frost if spec matters.

    Message: ..\AddOns\PitBull4_Totems\Totems.lua line 577:
    attempt to index field '?' (a nil value)
    Debug:
    (tail call): ?
    PitBull4_Totems\Totems.lua:577: RealignTotems()
    PitBull4_Totems\Totems.lua:952: ApplyLayoutSettings()
    PitBull4_Totems\Totems.lua:1014: UpdateFrame()
    PitBull4\ModuleHandling\Module.lua:319: Update()
    PitBull4\UnitFrame.lua:823: Update()
    PitBull4\UnitFrame.lua:743: RecheckConfigMode()
    PitBull4\Options\ConfigMode.lua:58: RecheckConfigMode()
    PitBull4\Main.lua:1349: OnProfileChanged()
    PitBull4\Main.lua:1419:
    PitBull4\Main.lua:1384
    (tail call): ?
    [C]: ?
    [string "safecall Dispatcher[1]"]:9:
    [string "safecall Dispatcher[1]"]:5
    (tail call): ?
    ...\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:543: EnableAddon()
    ...\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:636:
    ...\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:621
    [C]: LoadAddOn()
    ..\FrameXML\UIParent.lua:299: UIParentLoadAddOn()
    ..\FrameXML\UIParent.lua:322: CombatLog_LoadUI()
    ..\FrameXML\UIParent.lua:692:
    ..\FrameXML\UIParent.lua:657

    Also, my Player frame is empty. It has class appropriate colors, but my name, health, RP (etc) stats aren't showing up.
    If I target myself, same thing in the target frame. If I target other players or npcs, it shows up fine.
    If I change directly from another target to myself, the target frame keeps the previous targets name, but with my colors. It updates health but no other stats.

    Disabling the Totem module seems to fix everything.

    Last edited by Mnc_ on 12/4/2012 9:13:51 AM
  • #4089

    I have a weird problem that only applies to my monk: The Texture used in the bar is stuck on the Blizzard texture, even when I select any other texture, including the BantoBar texture that still shows for all my other characters. I'm unable to change the texture at all on only the monk, but every other character acts normally. What can I do to fix this?

  • #4088

    still getting the error in version beta42

    Date: 2012-11-30 15:29:24
    ID: -19
    Error occured in: Global
    Count: 1
    Message: ..\AddOns\PitBull4\Controls\Controls.lua line 58:
       <unnamed> doesn't have a "OnEvent" script
    Debug:
       [C]: ?
       [C]: SetScript()
       PitBull4\Controls\Controls.lua:58: ?()
       PitBull4\Controls\Controls.lua:121: Delete()
       ...terface\AddOns\PitBull4\Controls\BetterStatusBar.lua:1056: onDelete()
       PitBull4\Controls\Controls.lua:111: Delete()
       ...erface\AddOns\PitBull4\ModuleHandling\BarModules.lua:394: ClearFrame()
       PitBull4\ModuleHandling\Module.lua:341: Clear()
       PitBull4\UnitFrame.lua:805: Update()
       PitBull4\UnitFrame.lua:849: UpdateGUID()
       PitBull4\Main.lua:1439:
          PitBull4\Main.lua:1427

  • #4087

     The update on Nov 27th caused the curse client to  prompt me that something will be overwritten upon updating. After accepting this prompt and updating Pitbull, every time I log in to game or reload UI, it unloads all Pitbull modules and shows my vanilla frames. The only way to temporarily fix this is to switch to a different Pitbull profile then back to my main profile

    Last edited by dlbert2000 on 12/1/2012 7:27:40 PM
  • #4085

    I'm having taint errors showing up on trying to report players AFK in battlegrounds. Using the menu on a Pitbull frame shows the error but using it on the default frame works like it should.

    Date: 2012-12-01 16:19:20
    ID: 1
    Error occured in: AddOn: PitBull4
    Count: 1
    Message: Error: AddOn PitBull4 attempted to call a forbidden function (ReportPlayerIsPVPAFK()) from a tainted execution path.
    Debug:
    [C]: ReportPlayerIsPVPAFK()
    ..\FrameXML\UnitPopup.lua:1658:
    ..\FrameXML\UnitPopup.lua:1404
    [C]: func()
    ..\FrameXML\UIDropDownMenu.lua:710: UIDropDownMenuButton_OnClick()
    [string "*:OnClick"]:1:
    [string "*:OnClick"]:1
    Locals:
    None
    AddOns:
    Swatter, v5.15.5383 (LikeableLyrebird)
    ACP, v3.4.1
    Bartender4, v4.5.8
    PitBull4, vv4.0.0-beta42
    PitBull4Background, vv4.0.0-beta42
    BlizRuntimeLib_enUS v5.1.0.50100 <eu>
    (ck=b5)

    I searched around a bit and it appears that modifying the unit menu, or in Pitbulls case making the unit menu work with Pitbulls frames, "taints" everything in the menu. It looks like ReportPlayerIsPVPAFK is a secure fuction since patch 5.1.

    Last edited by tehfm on 12/1/2012 1:02:09 PM
  • #4083

    When trying to enter config mode I get this lua error:

    Message: Interface\AddOns\PitBull4_PvPIcon\PvPIcon.lua:70: attempt to concatenate field '?' (a nil value)
    Time: 11/30/12 20:26:02
    Count: 2
    Stack: Interface\AddOns\PitBull4_PvPIcon\PvPIcon.lua:70: in function `GetExampleTexture'
    ...e\AddOns\PitBull4\ModuleHandling\IndicatorModule.lua:38: in function <...e\AddOns\PitBull4\ModuleHandling\IndicatorModule.lua:25>
    ...e\AddOns\PitBull4\ModuleHandling\IndicatorModule.lua:113: in function `UpdateFrame'
    Interface\AddOns\PitBull4\ModuleHandling\Module.lua:319: in function `Update'
    Interface\AddOns\PitBull4\UnitFrame.lua:823: in function `Update'
    Interface\AddOns\PitBull4\UnitFrame.lua:743: in function `RecheckConfigMode'
    Interface\AddOns\PitBull4\Options\Units.lua:227: in function <Interface\AddOns\PitBull4\Options\Units.lua:216>
    (tail call): ?
    [C]: ?
    [string "safecall Dispatcher[2]"]:9: in function <[string "safecall Dispatcher[2]"]:5>
    (tail call): ?
    ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:799: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:614>
    (tail call): ?
    [C]: ?
    [string "safecall Dispatcher[3]"]:9: in function <[string "safecall Dispatcher[3]"]:5>
    (tail call): ?
    ...rface\AddOns\PitBull4\libs\AceGUI-3.0\AceGUI-3.0.lua:314: in function `Fire'
    ...l4\libs\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:68: in function <...l4\libs\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:57>

    Locals: <none>

    Last edited by styxke on 11/30/2012 1:26:34 PM
  • #4082

    Why is there no option/module to handle boss unit frames in Pitbull?

  • #4080

    The "OnEvent" errors related to animation should be fixed in beta42.

  • #4074

    error, happening random

    Date: 2012-11-30 15:29:24
    ID: 1
    Error occured in: Global
    Count: 1
    Message: ..\AddOns\PitBull4\Controls\Controls.lua line 58:
       <unnamed> doesn't have a "OnEvent" script
    Debug:
       [C]: ?
       [C]: SetScript()
       PitBull4\Controls\Controls.lua:58: ?()
       PitBull4\Controls\Controls.lua:121: Delete()
       ...terface\AddOns\PitBull4\Controls\BetterStatusBar.lua:1056: onDelete()
       PitBull4\Controls\Controls.lua:111: Delete()
       ...erface\AddOns\PitBull4\ModuleHandling\BarModules.lua:394: ClearFrame()
       PitBull4\ModuleHandling\Module.lua:341: Clear()
       PitBull4\UnitFrame.lua:805: Update()
       PitBull4\UnitFrame.lua:849: UpdateGUID()
       PitBull4\Main.lua:1439:
          PitBull4\Main.lua:1427

  • #4075

    This and the other people reporting errors like it can be avoided by turning off animation on your power bars.  Blizzard broke the Get/SetScript functions on the animation groups.  I can probably work around it but this will stop the error for you for the time being.

    You may also be able to avoid the error in most game play situations by turning off the option on your power bar to Hide non-power without turning off Animation.

    Note: After making these configuration changes you may still see the error until you reload the game since the error is triggered by the cleanup of the animation group on the power bar.  If you've had the animation turned on the animation bar cleanup may still be happening and triggering the error for you.

  • #4073

    since last update target-frame is buggy. reinstalled several times without any result.

    right frame should look like left one. after reload it works for several minutes but falls back to buggy version

     

  • 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