PitBull Unit Frames 4.0
PitBull Unit Frames 4.0
Woof. Arf. Yip.
Getting Started:
You can help translate PitBull for your language with the localization tool.
Classic
PitBull works with WoW Classic! Classic Era/Vanilla is supported in
v4.3.x-vanilla
releases. Cataclysm Classic is supported in v4.2.x
releases
(the same releases retail use).
Classic Era caveats:
- Aura duration is not available from the API, so PitBull uses LibClassicDurations to show them. The duration can be inaccurate if it's affected by rank or talents.
- Cast info is only available for your spells from the API. PitBull uses LibClassicCasterino to show cast bars for other units, but this can be inaccurate since there is a lot of guess-work involved.
Download
CurseForge: https://www.curseforge.com/wow/addons/pitbull-unit-frames-4-0
Wago: https://addons.wago.io/addons/pitbull4
WoWInterface: https://www.wowinterface.com/downloads/info20021
I got player frame blank and this errror recurring
12x PitBull4_LuaTexts:Player:Lua:Class caused the following error when calling SetFont(nil,0,nil):
Usage: PitBull4_FontString_6:SetFont("font", fontHeight [, flags])
PitBull4_LuaTexts-v4.0.0-beta47-7-g82a3dda\LuaTexts.lua:843: in function <PitBull4_LuaTexts\LuaTexts.lua:838>
PitBull4_LuaTexts-v4.0.0-beta47-7-g82a3dda\LuaTexts.lua:902: in function <PitBull4_LuaTexts\LuaTexts.lua:856>
PitBull4_LuaTexts-v4.0.0-beta47-7-g82a3dda\LuaTexts.lua:1445: in function "AddFontString"
PitBull4-v4.0.0-beta47-7-g82a3dda\ModuleHandling\TextProviderModule.lua:118: in function "UpdateFrame"
PitBull4-v4.0.0-beta47-7-g82a3dda\ModuleHandling\Module.lua:319: in function "Update"
PitBull4-v4.0.0-beta47-7-g82a3dda\UnitFrame.lua:810: in function "Update"
PitBull4-v4.0.0-beta47-7-g82a3dda\UnitFrame.lua:728: in function "RecheckConfigMode"
PitBull4-v4.0.0-beta47-7-g82a3dda\Options\ConfigMode.lua:58: in function "RecheckConfigMode"
PitBull4-v4.0.0-beta47-7-g82a3dda\Main.lua:1347: in function "OnProfileChanged"
PitBull4-v4.0.0-beta47-7-g82a3dda\Main.lua:1412: in function <PitBull4\Main.lua:1382>
(tail call): ?
<in C code>
<string>:"safecall Dispatcher[1]":9: in function <string>:"safecall Dispatcher[1]":5
(tail call): ?
AutoProfitX-r84\Libs\AceAddon-3.0\AceAddon-3.0-12.lua:558: in function "EnableAddon"
AutoProfitX-r84\Libs\AceAddon-3.0\AceAddon-3.0-12.lua:651: in function <AutoProfitX\Libs\AceAddon-3.0\AceAddon-3.0.lua:636>
<in C code>
FrameXML\UIParent.lua:303: in function "UIParentLoadAddOn"
FrameXML\UIParent.lua:326: in function "CombatLog_LoadUI"
FrameXML\UIParent.lua:739: in function <FrameXML\UIParent.lua:702>
Locals:
nil
I have the same problem with Player frame being blank on login.
I have to enter settings, change font to something else and it shows.
For reference, I use a named profile for the player frame (justme).
I also tried the latest beta as at the time of this post and the one below (..g8053a6d) but neither fixed it. In fact both made it worse as it also effected other frames.
Even worse for me now, reverting to last beta build and I have lost fonts on all other frames like my target :(
Please fix as this has been my preferred frame addon for years and really dont want to switch to another
I have that too but only on one toon. If you have seperate settings for each char, you might have a char that uses a similar design. Just go to profiles and copy the working profile to the toon with the "broken" profile.
I was having the SetFont error a few days ago, but v4.0.0-beta47-3-g8053a6d fixed it for me.
The latest set of Alphas give me many errors and I have reinstalled the alpha from two days ago. Pitbull works fine. Thanks for your work on this project and I hope you can find a solution to these people's issues.
I've done what I can for the SetFont errors, if you're having the problem get the latest Alpha off the Project Site linked above or by change your Curse Client to download alphas. I suspect the problem is a Windows specific bug in rendering fonts.
For more details I'd encourage reading my comments on this ticket:
http://www.wowace.com/addons/pitbull4/tickets/1050-blank-player-unit-frame-lua-texts-error
This error is actually coming from Blizzard's own frames and has nothing to do with PitBull4. It's distinct from the SetFont errors (though if you're having trouble with you frames you may be getting a SetFont error and this is just the error you copied). However, frankly this looks to me like you have the Blizzard frames enabled.
I actually get LUA errors although all my frames (player, target & target´s target) are doing fine. I figured out that all errors (14 overall) only appear on my mainchar, a druid, when i shapeshift into the several forms. This extends to the selfheals from Leader of the Pack or Frenzied Regeneration.
First LUA error:
Message: Interface\FrameXML\UnitFrame.lua:232: attempt to index field 'otherHealPrediction' (a nil value)
Time: 09/15/13 13:22:29
Count: 1
Stack: Interface\FrameXML\UnitFrame.lua:232: in function `UnitFrameHealPredictionBars_Update'
Interface\FrameXML\UnitFrame.lua:563: in function `UnitFrameHealthBar_Update'
Interface\FrameXML\UnitFrame.lua:158: in function <Interface\FrameXML\UnitFrame.lua:148>
[C]: in function `securecall'
Interface\FrameXML\UnitFrame.lua:145: in function `UnitFrame_SetUnit'
Interface\FrameXML\PlayerFrame.lua:380: in function `PlayerFrame_ToPlayerArt'
Interface\FrameXML\PlayerFrame.lua:145: in function `OnEvent'
Interface\FrameXML\UnitFrame.lua:679: in function <Interface\FrameXML\UnitFrame.lua:677>
Locals: frame = PlayerFrame {
0 = <userdata>
portrait = PlayerPortrait {
}
healAbsorbBar = PlayerFrameHealAbsorbBar {
}
statusSign = -1
unit = "player"
healAbsorbBarRightShadow = PlayerFrameHealAbsorbBarRightShadow {
}
healAbsorbBarLeftShadow = PlayerFrameHealAbsorbBarLeftShadow {
}
feedbackText = PlayerHitIndicator {
}
totalAbsorbBar = PlayerFrameTotalAbsorbBar {
}
totalAbsorbBarOverlay = PlayerFrameTotalAbsorbBarOverlay {
}
statusCounter = 0
healthbar = PlayerFrameHealthBar {
}
overAbsorbGlow = PlayerFrameOverAbsorbGlow {
}
manabar = PlayerFrameManaBar {
}
inSequence = false
threatIndicator = PlayerFrameFlash {
}
state = "player"
myHealPredictionBar = PlayerFrameMyHealPredictionBar {
}
name = PlayerName {
}
menu = <function> defined @Interface\FrameXML\PlayerFrame.lua:51
feedbackFontHeight = 30
OnEvent = <function> defined @Interface\FrameXML\PlayerFrame.lua:127
otherHealPredictionBar = PlayerFrameOtherHealPredictionBar {
}
overHealAbsorbGlow = PlayerFrameOverHealAbsorbGlow {
}
}
_ = 0
maxHealth = 586910
health = 586910
(*temporary) = nil
(*temporary) = nil
(*temporary) = <userdata>
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'otherHealPrediction' (a nil value)"
MAX_INCOMING_HEAL_OVERFLOW = 1
Still experiencing issues with target frame producing LUA errors. Upon logging in, I am presented with a similar LUA error to those below. The fix is to change the target frame's default text size to anything but what it is currently set to. I normall have the default size at 100 percent, and changing it to 99, or 99.5, or anything else makes to LUA go away and the frame appear. So my login experience upon a fresh playing of WoW consists of:
Login, target something, LUA error, open Pitbull, change target frame's default text size to anything I want, problem disappears.
I can change toons and the problem does not persist, however, if I completely leave the game and then restart WoW, the problem reappears.
I'm having the exact same issue as Napayshni. Upon login my player frame is solid green. /reload does not fix the issue, relogging does not fix the issue. Casting a heal spell does seem to fix it half way, where everything is in the right place but there is no text. AFTER casting a heal spell I need to /reload to get the text to appear. After all of that I can go without any firther issues.
I've been experiencing similar problems to a lot of posters, where my frames aren't showing up properly. My player frame is a solid-colored block with no portrait, no text, no cast bar, nothing. My target doesn't appear at all. (If I hover over where my target frame should be, it highlights the invisible frame but all I see is the highlight overlay.)
If I heal myself it'll "refresh" the frame or something and everything will reappear as it's supposed to after a few casts. (The first time my portrait and mana bar appear, and the target/targetoftarget frames appear again. It takes a few more casts to get text to show up on my player frame.) If I'm not on a healer though, I don't know how to fix the bars and make them appear and/or display properly.
Unlike everyone else, the "fixes" don't work for me. I tried changing the font sizes (100% to 95%) and all that does is make another lua error appear on my screen. I tried the "just /reload after you first log in" that a few people have said worked for them, and nothing: still a blank character bar and no target bar.
When I log in, I get 27 LUA errors so I'm not sure which one to post... I can post all of them if you want. They all say PitBull4 or FrameXML in them. Here are the first two. If I target someone/something, I get another three errors, one of which is counting constantly with tons of errors every second. (50-70+ ish per second, and if I deselect my target it stops counting immediately.)
Message: Interface\AddOns\PitBull4_LuaTexts\LuaTexts.lua:886: Usage: PitBull4_FontString_1:SetFont("font", fontHeight [, flags])
Time: 09/14/13 17:10:44
Count: 1
Stack: (tail call): ?
[C]: in function `SetFont'
Interface\AddOns\PitBull4_LuaTexts\LuaTexts.lua:886: in function <Interface\AddOns\PitBull4_LuaTexts\LuaTexts.lua:839>
Interface\AddOns\PitBull4_LuaTexts\LuaTexts.lua:1429: in function `AddFontString'
...ddOns\PitBull4\ModuleHandling\TextProviderModule.lua:118: in function `UpdateFrame'
Interface\AddOns\PitBull4\ModuleHandling\Module.lua:319: in function `Update'
Interface\AddOns\PitBull4\UnitFrame.lua:808: in function `Update'
Interface\AddOns\PitBull4\UnitFrame.lua:728: in function `RecheckConfigMode'
Interface\AddOns\PitBull4\Options\ConfigMode.lua:58: in function `RecheckConfigMode'
Interface\AddOns\PitBull4\Main.lua:1347: in function `OnProfileChanged'
Interface\AddOns\PitBull4\Main.lua:1412: in function <Interface\AddOns\PitBull4\Main.lua:1382>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?
...s\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:558: in function `EnableAddon'
...s\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:651: in function <...s\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:636>
[C]: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:303: in function `UIParentLoadAddOn'
Interface\FrameXML\UIParent.lua:326: in function `CombatLog_LoadUI'
Interface\FrameXML\UIParent.lua:739: in function <Interface\FrameXML\UIParent.lua:702>
Locals: <none>
Message: Interface\FrameXML\UnitFrame.lua:232: attempt to index field 'otherHealPrediction' (a nil value)
Time: 09/14/13 17:10:44
Count: 1
Stack: [C]: ?
Interface\FrameXML\UnitFrame.lua:232: in function `UnitFrameHealPredictionBars_Update'
Interface\FrameXML\UnitFrame.lua:563: in function `UnitFrameHealthBar_Update'
Interface\FrameXML\UnitFrame.lua:158: in function <Interface\FrameXML\UnitFrame.lua:148>
[C]: in function `securecall'
Interface\FrameXML\UnitFrame.lua:145: in function `UnitFrame_SetUnit'
Interface\FrameXML\PlayerFrame.lua:380: in function `PlayerFrame_ToPlayerArt'
Interface\FrameXML\PlayerFrame.lua:145: in function `OnEvent'
Interface\FrameXML\UnitFrame.lua:679: in function <Interface\FrameXML\UnitFrame.lua:677>
Locals:
Works just fine for me.
Is there a reason why i cannot inspect players when i right click on the unit frame? is a limitation of the addon or am i doing something wrong? thanks
I get the exact same error - but after a "/reload ui" its all fine
The unit frames are not working. My portrait/and text on it isn't showing up :/ I dont want to create another one because it goes blank after logging out.
This is an error that came up when I logged in today.
Message: Interface\AddOns\PitBull4_LuaTexts\LuaTexts.lua:886: Usage: PitBull4_FontString_2:SetFont("font", fontHeight [, flags])
Time: 09/13/13 15:38:15
Count: 1
Stack: [C]: in function `SetFont'
Interface\AddOns\PitBull4_LuaTexts\LuaTexts.lua:886: in function <Interface\AddOns\PitBull4_LuaTexts\LuaTexts.lua:839>
Interface\AddOns\PitBull4_LuaTexts\LuaTexts.lua:1429: in function `AddFontString'
...ddOns\PitBull4\ModuleHandling\TextProviderModule.lua:118: in function `UpdateFrame'
Interface\AddOns\PitBull4\ModuleHandling\Module.lua:319: in function `Update'
Interface\AddOns\PitBull4\UnitFrame.lua:808: in function `Update'
Interface\AddOns\PitBull4\UnitFrame.lua:728: in function `RecheckConfigMode'
Interface\AddOns\PitBull4\Options\ConfigMode.lua:58: in function `RecheckConfigMode'
Interface\AddOns\PitBull4\Main.lua:1347: in function `OnProfileChanged'
Interface\AddOns\PitBull4\Main.lua:1412: in function <Interface\AddOns\PitBull4\Main.lua:1382>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?
...AddOns\Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:558: in function `EnableAddon'
...AddOns\Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:651: in function <...AddOns\Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:636>
[C]: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:303: in function `UIParentLoadAddOn'
Interface\FrameXML\UIParent.lua:326: in function `CombatLog_LoadUI'
Interface\FrameXML\UIParent.lua:739: in function <Interface\FrameXML\UIParent.lua:702>
Locals: <none>
Seems as though changing the font size, which was previously 95% for my target frame, to 100% produces no LUA errors now and results in proper target frames upon connecting now.
Seems to be working fine except for when I click on a target, then I receive this LUA error and have no target frame:
Message: PitBull4_LuaTexts-v4.0.0-beta47\LuaTexts.lua:886: Usage: PitBull4_FontString_12:SetFont("font", fontHeight [, flags])
Time: 09/12/13 16:34:36
Count: 1
Stack: Interface\AddOns\PitBull4_LuaTexts\LuaTexts.lua:886: in function <Interface\AddOns\PitBull4_LuaTexts\LuaTexts.lua:839>
Interface\AddOns\PitBull4_LuaTexts\LuaTexts.lua:1396: in function `AddFontString'
...ddOns\PitBull4\ModuleHandling\TextProviderModule.lua:118: in function `UpdateFrame'
Interface\AddOns\PitBull4\ModuleHandling\Module.lua:319: in function `Update'
Interface\AddOns\PitBull4\UnitFrame.lua:808: in function `Update'
Interface\AddOns\PitBull4\UnitFrame.lua:834: in function `UpdateGUID'
Interface\AddOns\PitBull4\Main.lua:1478: in function `CheckGUIDForUnitID'
Interface\AddOns\PitBull4\Main.lua:1489: in function `?'
...er4\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147: in function <...er4\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
[string "safecall Dispatcher[1]"]:4: in function <[string "safecall Dispatcher[1]"]:4>
[C]: ?
[string "safecall Dispatcher[1]"]:13: in function `?'
...er4\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: in function `Fire'
...AddOns\Bartender4\libs\AceEvent-3.0\AceEvent-3.0.lua:120: in function <...AddOns\Bartender4\libs\AceEvent-3.0\AceEvent-3.0.lua:119>
[C]: in function `CameraOrSelectOrMoveStop'
[string "CAMERAORSELECTORMOVE"]:4: in function <[string "CAMERAORSELECTORMOVE"]:1>
Locals: <none>
Logged back in after a rolling restart, and for some reason my WoW exploded with terrible FPS and 2k Pitbull errors, and no Party frames. Before this, it had at least been playable... Not sure why this particular relog made it worse.
Doing /reload the first time didn't fix it, but reloading a second and third time eventually got it back to normal playable FPS. No idea why.
For anyone having this problem, I just noticed that if you type "/reload" when you load into the game, it reloads the UI and the panel is fixed!
Seems that first load it explodes, then a reload it's fine. No idea why!
HTH
That didn't work still have the blank health and mana bars for self and target. :(
Yep i had the problem too. When i loaded my character after a logout or when i just entered the game, i had to reload my UI before it was all fine again.
- Would be awesome with a fix :)