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 and Wrath Classic!
Some things that are different with the Classic Era version:
- 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.
Getting this is SoD phase 2
Message: .../VisualHeal/Libs/LibHealComm-4.0/LibHealComm-4.0.lua:818: attempt to perform arithmetic on local 'requiresLevel' (a nil value)
Time: Sat Feb 10 08:21:33 2024
Count: 1
Stack: .../VisualHeal/Libs/LibHealComm-4.0/LibHealComm-4.0.lua:818: attempt to perform arithmetic on local 'requiresLevel' (a nil value)
[string "=(tail call)"]: ?
[string "=[C]"]: ?
[string "@Interface/AddOns/PitBull4/Modules/VisualHeal/Libs/LibHealComm-4.0/LibHealComm-4.0.lua"]:818: in function <.../VisualHeal/Libs/LibHealComm-4.0/LibHealComm-4.0.lua:807>
[string "@Interface/AddOns/PitBull4/Modules/VisualHeal/Libs/LibHealComm-4.0/LibHealComm-4.0.lua"]:967: in function <.../VisualHeal/Libs/LibHealComm-4.0/LibHealComm-4.0.lua:965>
[string "@Interface/AddOns/PitBull4/Modules/VisualHeal/Libs/LibHealComm-4.0/LibHealComm-4.0.lua"]:2706: in function `?'
[string "@Interface/AddOns/PitBull4/Modules/VisualHeal/Libs/LibHealComm-4.0/LibHealComm-4.0.lua"]:3348: in function <.../VisualHeal/Libs/LibHealComm-4.0/LibHealComm-4.0.lua:3346>
Locals: (*temporary) = <function> defined =[C]:-1
Is Pitbull Unit Frames up to date I noticed that the game version is 10.2.0 but when I run vuhdo and Pitbull Unit frames during the Fyrakk fight I get 2 frames a second during the ball phase only when I disabled both of them I didn't get this issue. But I noticed that this version was an older version from the current patch that is out compared to Vuhdo because Vuhdo had 10.2.5.
[ADDON_ACTION_BLOCKED] AddOn 'PitBull4' tried to call the protected function 'StatusBar:Show()'.
[string "@!BugGrabber/BugGrabber.lua"]:481: in function <!BugGrabber/BugGrabber.lua:481>
[string "=[C]"]: in function `Show'
[string "@FrameXML/TextStatusBar.lua"]:86: in function `TextStatusBar_UpdateTextStringWithValues'
[string "@FrameXML/TextStatusBar.lua"]:72: in function `TextStatusBar_UpdateTextString'
[string "@FrameXML/UnitFrame.lua"]:700: in function `UnitFrameManaBar_UpdateType'
[string "@FrameXML/UnitFrame.lua"]:1038: in function `UnitFrameManaBar_Update'
[string "@FrameXML/UnitFrame.lua"]:998: in function <FrameXML/UnitFrame.lua:980>
Will there be an SoD update? Been using Pitbull since 2010 and can't find anything else that does what Pitbull can do. :pray:
Getting this on Classic SoD 1.15.0.52409 using PitBull4 v4.3.14, when in Config > Colors > Reaction. Color buff border by caster seems to be broken too, it shows a red border when it's cast by a friendly.
6x PitBull4/Options/Colors.lua:170: bad argument #1 to 'unpack' (table expected, got nil)
[string "=[C]"]: in function `unpack'
[string "@PitBull4/Options/Colors.lua"]:170: in function `member'
[string "@AI_VoiceOver/Libs/AceConfig-3.0-3/AceConfigDialog-3.0-86/AceConfigDialog-3.0.lua"]:215: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:164>
[string "@AI_VoiceOver/Libs/AceConfig-3.0-3/AceConfigDialog-3.0-86/AceConfigDialog-3.0.lua"]:1377: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:1110>
[string "@AI_VoiceOver/Libs/AceConfig-3.0-3/AceConfigDialog-3.0-86/AceConfigDialog-3.0.lua"]:1639: in function `FeedGroup'
[string "@AI_VoiceOver/Libs/AceConfig-3.0-3/AceConfigDialog-3.0-86/AceConfigDialog-3.0.lua"]:1564: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:1548>
[string "=[C]"]: ?
[string "@AI_VoiceOver/Libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:66: in function <...eAI_VoiceOver/Libs/AceGUI-3.0/AceGUI-3.0.lua:64>
[string "@AI_VoiceOver/Libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@AI_VoiceOver/Libs/AceGUI-3.0-41/widgets/AceGUIContainer-TreeGroup.lua"]:508: in function `SetSelected'
[string "@AI_VoiceOver/Libs/AceGUI-3.0-41/widgets/AceGUIContainer-TreeGroup.lua"]:185: in function <...ibs/AceGUI-3.0/widgets/AceGUIContainer-TreeGroup.lua:181>
Locals:
(*temporary) = nil
(*temporary) = "table expected, got nil"
Is there a way to get frames to hide when the Override Bar, Vehicle UI and Pet Battle UI are up? Love the addon, but couldn't seem to find these options.
[solved]
How to track group number inside lua-codes?
i get lua error messages every now and then on retail
2x [ADDON_ACTION_BLOCKED] AddOn 'PitBull4' hat versucht die geschützte Funktion 'StatusBar:Show()' aufzurufen.
[string "@!BugGrabber/BugGrabber.lua"]:481: in function <!BugGrabber/BugGrabber.lua:481>
[string "=[C]"]: in function `Show'
[string "@FrameXML/TextStatusBar.lua"]:86: in function `TextStatusBar_UpdateTextStringWithValues'
[string "@FrameXML/TextStatusBar.lua"]:72: in function `TextStatusBar_UpdateTextString'
[string "@FrameXML/UnitFrame.lua"]:700: in function `UnitFrameManaBar_UpdateType'
[string "@FrameXML/UnitFrame.lua"]:1038: in function `UnitFrameManaBar_Update'
[string "@FrameXML/UnitFrame.lua"]:998: in function <FrameXML/UnitFrame.lua:980>
Locals:
_ = Frame {
RegisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:487
0 = <userdata>
UnregisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:487
SetScript = <function> defined @!BugGrabber/BugGrabber.lua:487
}
event = "ADDON_ACTION_BLOCKED"
events = <table> {
ADDON_ACTION_BLOCKED = <function> defined @!BugGrabber/BugGrabber.lua:553
ADDON_ACTION_FORBIDDEN = <function> defined @!BugGrabber/BugGrabber.lua:553
PLAYER_LOGIN = <function> defined @!BugGrabber/BugGrabber.lua:547
LUA_WARNING = <function> defined @!BugGrabber/BugGrabber.lua:562
ADDON_LOADED = <function> defined @!BugGrabber/BugGrabber.lua:507
}
WOTLK bug:
20x PitBull4/UnitFrameLayout.lua:340: attempt to perform arithmetic on local 'bar_padding' (a nil value)
[string "@PitBull4/UnitFrameLayout.lua"]:340: in function <PitBull4/UnitFrameLayout.lua:317>
[string "@PitBull4/UnitFrameLayout.lua"]:1561: in function `UpdateLayout'
[string "@PitBull4/ModuleHandling/Module.lua"]:342: in function `Clear'
[string "@PitBull4/UnitFrame.lua"]:778: in function `Update'
[string "@PitBull4/UnitFrame.lua"]:335: in function <PitBull4/UnitFrame.lua:272>
[string "=[C]"]: ?
[string "=[C]"]: in function `SetAttribute'
[string "@FrameXML/RestrictedFrames.lua"]:506: in function `SetAttribute'
[string " if name ~= "new_group" and name ~= "remove_group" and name ~= "state-group" and name ~= "config_mode" and name ~= "forced_state" then return end
-- Special handling for the new_group and remove_group attributes
local header
if name == "new_group" then
-- value is the name of the new group header to add to our group list
if not value then return end
if not groups then
groups = newtable()
end
header = self:GetFrameRef(value)
groups[value] = header
elseif name == "remove_group" then
-- value is the name of the group header to remove from our group list
if not value or not groups then return end
header = groups[value]
if header then
groups[value] = nil
end
end
if not header and not groups then return end -- Nothing to do
state = self:GetAttribute("config_mode")
if not state then
state = self:GetAttribute("forced_state")
if not state then
state = self:GetAttribute("state-group")
end
end
if header then
-- header is set so this is a single header update
-- We must check groups[value] here so that we don't try to show
-- frames that we're removing.
if state and groups[value] and header:GetAttribute(state) then
header:Show()
else
header:Hide()
-- Wipe the unit id off the child frames so the hidden frames
-- are ignored by the unit watch system.
local children = newtable(header:GetChildren())
for i=1,#children do
children[i]:SetAttribute("unit", nil)
end
end
else
-- No header set so do them all
for _, header in pairs(groups) do
if header:GetAttribute(state) then
header:Show()
else
header:Hide()
-- Wipe the unit id off the child frames so the hidden frames
-- are ignored by the unit watch system.
local children = newtable(header:GetChildren())
for i=1,#children do
children[i]:SetAttribute("unit", nil)
end
end
end
end
"]:47: in function <[string " if name ~= "new_group" and name ~= "remov..."]:1>
[string "=(tail call)"]: ?
[string "=[C]"]: ?
[string "@FrameXML/RestrictedExecution.lua"]:484: in function <FrameXML/RestrictedExecution.lua:447>
...
[string "@PitBull4/Main.lua"]:2013: in function <PitBull4/Main.lua:2007>
[string "=(tail call)"]: ?
[string "@PitBull4/Main.lua"]:1584: in function `?'
[string "@BlizzMove/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...ove/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "=[C]"]: ?
[string "@BlizzMove/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...ove/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@BlizzMove/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `Fire'
[string "@Dominos/libs/AceDB-3.0-28/AceDB-3.0.lua"]:462: in function `SetProfile'
[string "@Dominos/libs/LibDualSpec-1.0-22/LibDualSpec-1.0.lua"]:201: in function `CheckDualSpecState'
[string "@Dominos/libs/LibDualSpec-1.0-22/LibDualSpec-1.0.lua"]:478: in function <...Ons/Dominos/libs/LibDualSpec-1.0/LibDualSpec-1.0.lua:451>
Locals:
frame = PitBull4_Groups_PartyUnitButton1 {
0 = <userdata>
LuaTexts;Lua:Name = PitBull4_FontString_21 {
}
UnwrapScript = <function> defined @FrameXML/SecureHandlers.lua:788
layout_db = <table> {
}
ProxySetAttribute = <function> defined @PitBull4/UnitFrame.lua:132
UnforceShow = <function> defined @PitBull4/Main.lua:583
is_wacky = false
RefreshVehicle = <function> defined @PitBull4/UnitFrame.lua:490
IterateControlsOfType = <function> defined @PitBull4/UnitFrame.lua:867
layout = "Party"
PLAYER_REGEN_DISABLED = <function> defined @PitBull4/GroupHeader.lua:1614
UpdateBestUnit = <function> defined @PitBull4/UnitFrame.lua:729
ForceShow = <function> defined @PitBull4/Main.lua:583
UpdateGUID = <function> defined @PitBull4/UnitFrame.lua:806
Rename = <function> defined @PitBull4/UnitFrame.lua:668
RefreshLayout = <function> defined @PitBull4/Main.lua:583
GetFont = <function> defined @PitBull4/UnitFrame.lua:719
Background = PitBull4_Texture_56 {
}
aura_debuffs = <table> {
}
Execute = <function> defined @FrameXML/SecureHandlers.lua:777
aura_buffs = <table> {
}
Update = <function> defined @PitBull4/UnitFrame.lua:753
LuaTexts;Lua:PVPTimer = PitBull4_FontString_24 {
}
LuaTexts;Lua:Class = PitBull4_FontString_25 {
}
SetFrameRef = <function> defined @FrameXML/SecureHandlers.lua:793
LuaTexts;Lua:Health = PitBull4_FontString_23 {
}
LuaTexts;Lua:Power = PitBull4_FontString_22 {
}
PvPIcon = PitBull4_Icon_5 {
}
PowerBar = PitBull4_BetterStatusBar_6 {
}
RefixSizeAndPosition = <function> defined @PitBull4/GroupHeader.lua:1655
RestIcon = PitBull4_Icon_6 {
}
WrapScript = <function> defined @FrameXML/SecureHandlers.lua:782
HealthBar = PitBull4_BetterStatusBar_7 {
}
LuaTexts = <table> {
}
UpdateLayout = <function> defined @PitBull4/UnitFrameLayout.lua:1553
UpdateConfigAnchorLine = <function> defined @PitBull4/Main.lua:583
overlay = PitBull4_Frame_11 {
}
RecheckConfigMode = <function> defined @PitBull4/UnitFrame.lua:627
SetClickThroughState = <function> defined @PitBull4/Main.lua:583
_RefreshLayout = <function> defined @PitBull4/UnitFrame.lua:509
header = PitBull4_Groups_Party {
}
classification_db = <table> {
}
IterateControls = <function> defined @PitBull4/UnitFrame.lua:840
classification = "Party"
is_singleton = false
}
bars = <table> {
1 = "HealthBar"
2 = "PowerBar"
}
center_bars = <table> {
1 = "HealthBar"
2 = "PowerBar"
}
left_bars = <table> {
}
right_bars = <table> {
}
horizontal_mirror = false
vertical_mirror = false
frame_width = 164.999969
frame_height = 59.999989
layout = "Party"
bar_width_points = 10
bar_height_points = 7
left_exempt_width = 0
right_exempt_width = 0
bar_spacing = nil
bar_padding = nil
(*temporary) = 10
(*temporary) = 0
(*temporary) = 0
(*temporary) = 10
(*temporary) = 7
(*temporary) = 0
(*temporary) = 0
(*temporary) = nil
(*temporary) = 0
(*temporary) = 1
(*temporary) = nil
(*temporary) = "PowerBar"
(*temporary) = nil
(*temporary) = <table> {
SetDefaultModuleLibraries = <function> defined @BlizzMove/Libs/AceAddon-3.0/AceAddon-3.0.lua:363
description = "Show a bar for your primary resource."
Enable = <function> defined @BlizzMove/Libs/AceAddon-3.0/AceAddon-3.0.lua:290
UnregisterAllEvents = <function> defined @BagBrother/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:174
EnableModule = <function> defined @BlizzMove/Libs/AceAddon-3.0/AceAddon-3.0.lua:328
modules = <table> {
}
GetModule = <function> defined @BlizzMove/Libs/AceAddon-3.0/AceAddon-3.0.lua:206
IterateEmbeds = <function> defined @BlizzMove/Libs/AceAddon-3.0/AceAddon-3.0.lua:438
GetColor = <function> defined @PitBull
Having an issue when trying to click off buffs in combat. Have confirmed through turning on/off addons that it is indeed Pitbull4 causing issues.
Game Version: WotLK Classic v3.4.2 (50664)
Pitbull Version: v4.3.14-classic
Bugsack dump:
[ADDON_ACTION_BLOCKED] AddOn 'PitBull4' tried to call the protected function 'CancelUnitBuff()'.
[string "@!BugGrabber/BugGrabber.lua"]:481: in function <!BugGrabber/BugGrabber.lua:481>
[string "=[C]"]: in function `CancelUnitBuff'
[string "@FrameXML/BuffFrame.lua"]:309: in function `BuffButton_OnClick'
[string "*BuffFrame.xml:41_OnClick"]:1: in function <[string "*BuffFrame.xml:41_OnClick"]:1>
Locals:
_ = Frame {
RegisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:487
0 = <userdata>
UnregisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:487
SetScript = <function> defined @!BugGrabber/BugGrabber.lua:487
}
event = "ADDON_ACTION_BLOCKED"
events = <table> {
ADDON_ACTION_BLOCKED = <function> defined @!BugGrabber/BugGrabber.lua:553
ADDON_ACTION_FORBIDDEN = <function> defined @!BugGrabber/BugGrabber.lua:553
PLAYER_LOGIN = <function> defined @!BugGrabber/BugGrabber.lua:547
LUA_WARNING = <function> defined @!BugGrabber/BugGrabber.lua:562
ADDON_LOADED = <function> defined @!BugGrabber/BugGrabber.lua:507
}
I'm having some issues since the launch of hardcore servers. When I log in it wont show frames for my target or party members. (Player and pet frame works)
I have to go into settings and disable, and enable them again for them to show!
Happens after every login or reload.
UPDATE: Creating a new profile solved the issue, so probably something corrupt with my saved profiles.
In reply to AwaynTV: I'm having the same problem. Creating a new profile that matches the settings I have built up over years would be a horrible job. I may have to tho, just take the settings and get on with it.
Has the classic branch been abandoned? No updates despite errors with only pitbull loaded:
Message: ...e\AddOns\PitBull4\Libs\AceEvent-3.0\AceEvent-3.0.lua:33: Attempt to register unknown event "PLAYER_TALENT_UPDATE"
Time: Wed Aug 2 12:23:22 2023
Count: 1
Stack: ...e\AddOns\PitBull4\Libs\AceEvent-3.0\AceEvent-3.0.lua:33: Attempt to register unknown event "PLAYER_TALENT_UPDATE"
[string "=[C]"]: in function `RegisterEvent'
[string "@Interface\AddOns\PitBull4\Libs\AceEvent-3.0\AceEvent-3.0.lua"]:33: in function `OnUsed'
[string "@Interface\AddOns\PitBull4\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:142: in function `RegisterEvent'
[string "@Interface\AddOns\PitBull4\Modules\Aura\Aura.lua"]:77: in function <Interface\AddOns\PitBull4\Modules\Aura\Aura.lua:49>
[string "=[C]"]: ?
[string "@Interface\AddOns\PitBull4\Libs\AceAddon-3.0\AceAddon-3.0.lua"]:66: in function <...e\AddOns\PitBull4\Libs\AceAddon-3.0\AceAddon-3.0.lua:61>
[string "@Interface\AddOns\PitBull4\Libs\AceAddon-3.0\AceAddon-3.0.lua"]:523: in function `EnableAddon'
[string "@Interface\AddOns\PitBull4\Libs\AceAddon-3.0\AceAddon-3.0.lua"]:536: in function `EnableAddon'
[string "@Interface\AddOns\PitBull4\Libs\AceAddon-3.0\AceAddon-3.0.lua"]:626: in function <...e\AddOns\PitBull4\Libs\AceAddon-3.0\AceAddon-3.0.lua:611>
Locals: <none>
I don't play classic so bug reports help when stuff breaks. Should be good now
after 10.1.5 update Shadow priest's alt.mana isn't show
This is type of error I'm constanting getting. Happening for all group ids, no matter if its 1 person in party or more.
51x PitBull4_PlayerModel_3:SetModel(): Invalid model file: FileData ID 0
[string "=[C]"]: in function `SetModel'
[string "@PitBull4/Modules/Portrait/Portrait.lua"]:211: in function `UpdateFrame'
[string "@PitBull4/ModuleHandling/Module.lua"]:314: in function `Update'
[string "@PitBull4/UnitFrame.lua"]:792: in function `Update'
[string "@PitBull4/UnitFrame.lua"]:818: in function `UpdateGUID'
[string "@PitBull4/UnitFrame.lua"]:291: in function <PitBull4/UnitFrame.lua:272>
[string "=[C]"]: ?
[string "=[C]"]: in function `SetAttribute'
[string "@FrameXML/SecureGroupHeaders.lua"]:210: in function <FrameXML/SecureGroupHeaders.lua:130>
[string "@FrameXML/SecureGroupHeaders.lua"]:495: in function `SecureGroupHeader_Update'
[string "@FrameXML/SecureGroupHeaders.lua"]:62: in function <FrameXML/SecureGroupHeaders.lua:60>
Locals:
(*temporary) = "PitBull4_PlayerModel_3:SetModel(): Invalid model file: FileData ID 0"
Same as previous, not sure the cause. but lots of errors with Pitbull since last patch. In particular it errors out and portraits and bars become visually corrupted if I enter a party with none of the party members nearby. Having everyone close and reloading the UI, it temporarily resolves.
The newest WOTLK patch has caused a lot of errors :( An update would be amazing, I've been using pitbull for about a decade!
1x [ADDON_ACTION_BLOCKED] AddOn 'PitBull4' hat versucht die geschützte Funktion 'CompactPartyFrameMember1:Show()' aufzurufen.
[string "@!BugGrabber/BugGrabber.lua"]:480: in function <!BugGrabber/BugGrabber.lua:480>
[string "=[C]"]: in function `Show'
[string "@FrameXML/CompactUnitFrame.lua"]:400: in function `CompactUnitFrame_UpdateVisible'
[string "@FrameXML/CompactUnitFrame.lua"]:325: in function `CompactUnitFrame_UpdateAll'
[string "@FrameXML/CompactUnitFrame.lua"]:150: in function <FrameXML/CompactUnitFrame.lua:52>
Locals:
Skipped (In Encounter)