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'm getting this message after every login/reloadui:
I'm getting the following error:
58x PitBull4_LuaTexts-v4.0.0-beta47\LuaTexts.lua:886: Usage: PitBull4_FontString_2:SetFont("font", fontHeight [, flags]) <in C code> PitBull4_LuaTexts-v4.0.0-beta47\LuaTexts.lua:886: in function <PitBull4_LuaTexts\LuaTexts.lua:839> PitBull4_LuaTexts-v4.0.0-beta47\LuaTexts.lua:1429: in function "AddFontString" PitBull4-v4.0.0-beta47\ModuleHandling\TextProviderModule.lua:118: in function "UpdateFrame" PitBull4-v4.0.0-beta47\ModuleHandling\Module.lua:319: in function "Update" PitBull4-v4.0.0-beta47\UnitFrame.lua:808: in function "Update" PitBull4-v4.0.0-beta47\UnitFrame.lua:728: in function "RecheckConfigMode" PitBull4-v4.0.0-beta47\Options\ConfigMode.lua:58: in function "RecheckConfigMode" PitBull4-v4.0.0-beta47\Main.lua:1347: in function "OnProfileChanged" PitBull4-v4.0.0-beta47\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): ? Ace3-Release-r1086\AceAddon-3.0\AceAddon-3.0-12.lua:558: in function "EnableAddon" Ace3-Release-r1086\AceAddon-3.0\AceAddon-3.0-12.lua:651: in function <Ace3\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
why this code not work?
local r,g,b = ClassColor(unit)
if InCombatLockdown() then
return '|cffff0000%s|r %s%s%s',Name(unit),Angle(DND(unit))
else
return '|cff%02x%02x%02x%s|r %s%s%s',r,g,b,Name(unit),Angle(DND(unit))
end
if InCombatLockdown() never returns true even in combat
I added the event PLAYER_REGEN_DISABLED and PLAYER_REGEN_ENABLED in lua text module and activated it for player frame.
ps. sorry for my bad english
Does anyone know how to change class text to display short level (but only if <90, otherwise blank) and race?
Below is code "Class: Short level and race" which should be easiest to edit:
local dr,dg,db = DifficultyColor(unit)
return "|cff%02x%02x%02x%s%s|r %s",dr,dg,db,Level(unit),Classification(unit) and '+' or '',SmartRace(unit) or ''
local dr,dg,db = DifficultyColor(unit)
local level = Level(unit)
return "|cff%02x%02x%02x%s%s|r %s",dr,dg,db,level < 90 and level or "",Classification(unit) and '+' or '',SmartRace(unit) or ''
Define an Advanced Aura filter that hides buffs on friendly players. Alternatively you could just make layouts such that your player and group frames don't show buffs.
I was wondering if there's a way to only show buffs on ENEMY nameplates, but not show on FRIENDLY.
I am a tank, so I'm only concerned with friendly debuffs, but certain bosses (ie - stone guard) have buffs that I want to see, but I don't want to clutter my plates up with my own buffs.
I find the below will fix my issues when I have issues:
Open up the pitbull config > Click units > Disable and then renable the first frame
This fixes the issue every time for me.
Swatter error on login (also - blank unit frames) Hope this helps in some way ...
Date: 2013-09-21 22:57:48
ID: 1
Error occured in: Global
Count: 1
Message: PitBull4_LuaTexts:Normal:Lua:Name caused the following error when calling SetFont(nil,3.3850262548614e-035,nil):
Usage: PitBull4_FontString_3:SetFont("font", fontHeight [, flags])
Debug:
[C]: pcall()
PitBull4_LuaTexts\LuaTexts.lua:843:
PitBull4_LuaTexts\LuaTexts.lua:838
PitBull4_LuaTexts\LuaTexts.lua:902:
PitBull4_LuaTexts\LuaTexts.lua:856
PitBull4_LuaTexts\LuaTexts.lua:1445: AddFontString()
...ddOns\PitBull4\ModuleHandling\TextProviderModule.lua:118: UpdateFrame()
PitBull4\ModuleHandling\Module.lua:319: Update()
PitBull4\UnitFrame.lua:810: Update()
PitBull4\UnitFrame.lua:728: RecheckConfigMode()
PitBull4\Options\ConfigMode.lua:58: RecheckConfigMode()
PitBull4\Main.lua:1347: OnProfileChanged()
PitBull4\Main.lua:1412:
PitBull4\Main.lua:1382
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9:
[string "safecall Dispatcher[1]"]:5
(tail call): ?
...s\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:558: EnableAddon()
...s\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:651:
...s\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:636
[C]: LoadAddOn()
..\FrameXML\UIParent.lua:303: UIParentLoadAddOn()
..\FrameXML\UIParent.lua:326: CombatLog_LoadUI()
..\FrameXML\UIParent.lua:739:
..\FrameXML\UIParent.lua:702
Locals:
None
AddOns:
Swatter, v5.18.5433 (PassionatePhascogale)
NPCScan, v5.0.0.5
NPCScanOverlay, v5.0.0.3
AckisRecipeList, v2.5.2-9-g253ee50
ACP, v3.4.4
afkquit, v2.4 (r16)
AllPlayed, v50300-1 $Revision: 287 $
AltTabber, v1.9.3
ArkAutoLootBoP, v11200
ArkInventory, v30331
ArkInventoryRules, v
AskMrRobot, v1.1.10.0
AtlasLoot, vv7.07.01
AtlasLootCataclysm, vv7.07.01
AtlasLootClassicWoW, vv7.07.01
AtlasLootLoader, vv7.07.01
AtlasLootMistsofPandaria, vv7.07.01
AucAdvanced, v5.18.5433 (PassionatePhascogale)
AucFilterBasic, v5.18.5433 (PassionatePhascogale)
AucFilterOutlier, v5.18.5433.5347(5.18/embedded)
AucMatchUndercut, v5.18.5433.5364(5.18/embedded)
AucStatHistogram, v5.18.5433 (PassionatePhascogale)
AucStatiLevel, v5.18.5433 (PassionatePhascogale)
AucStatPurchased, v5.18.5433 (PassionatePhascogale)
AucStatSales, v5.18.5433.5376(5.18/embedded)
AucStatSimple, v5.18.5433 (PassionatePhascogale)
AucStatStdDev, v5.18.5433 (PassionatePhascogale)
AucStatWOWEcon, v5.18.5433.5323(5.18/embedded)
AucUtilAHWindowControl, v5.18.5433.5347(5.18/embedded)
AucUtilAppraiser, v5.18.5433.5427(5.18/embedded)
AucUtilAskPrice, v5.18.5433.5347(5.18/embedded)
AucUtilAutoMagic, v5.18.5433.5415(5.18/embedded)
AucUtilCompactUI, v5.18.5433.5427(5.18/embedded)
AucUtilEasyBuyout, v5.18.5433.5427(5.18/embedded)
AucUtilFixAH, v5.18.5433 (PassionatePhascogale)
AucUtilItemSuggest, v5.18.5433.5417(5.18/embedded)
AucUtilPriceLevel, v5.18.5433.5427(5.18/embedded)
AucUtilScanButton, v5.18.5433.5403(5.18/embedded)
AucUtilScanFinish, v5.18.5433.5347(5.18/embedded)
AucUtilScanProgress, v5.18.5433.4979(5.18/embedded)
AucUtilScanStart, v5.18.5433.5347(5.18/embedded)
AucUtilSearchUI, v5.18.5433.5373(5.18/embedded)
AucUtilSimpleAuction, v5.18.5433.5415(5.18/embedded)
AucUtilVendMarkup, v5.18.5433.4828(5.18/embedded)
AutoInstantSummon, v
Babylonian, v5.1.DEV.332(/embedded)
BadBoy, v12.042
BadBoyCCleaner, v3.66
BadBoyGuilded, v2.93
BankStack, vv33
Bazooka, vv2.2.5
BeanCounter, v5.18.5433 (PassionatePhascogale)
BittensSpellFlashLibrary, v50400.1.5
BittensUtils, v50400.1.1
BrokerEverything, v5.2.1
BrokerEverythingConfig, v0.5
CloakHelmToggle, v1.0.0.5
CollectMe, v2.4.5
Configator, v5.1.DEV.344(/embedded)
Critline, vr82
CritlineAuraMonitor, vr82
DBMCore, v
DBMSpellTimers, v
DebugLib, v5.1.DEV.337(/embedded)
Decursive, v2.7.3
Dominos, v5.4.2
DominosEncounter, v
DominosPetBattles, v3
DominosRoll, v
DominosXP, v
EasyTradeSkills, vv5.4.0.0
Enchantrix, v5.18.5433 (PassionatePhascogale)
EnchantrixBarker, v5.18.5433 (PassionatePhascogale)
Fizzle, v50400-1
GTFO, v4.24.1a
HandyNotes, v1.2.0
HandyNotesTimelessIsleRareElites, v1.3
HandyNotesTimelessIsleChests, v1.09
InlineAura, vv1.8.12
InlineAuraDefaults, vv1.8.12
LibExtraTip, v5.12.DEV.355(/embedded)
LibSharedMedia30, v3.0-81
LightHeaded, v365
LunarSphere, v1.09
MikScrollingBattleText, v5.7.131
MillHelp, vr144
MillHelpGlyphs, vr144
norolecheckspam, vv1.2.2
NPCScanEx, v1.2.3
outofdateminder, v4.3.0
Outfitter, v5.9.2
PeonQuestComplete, v2013.09.10
PitBull4, vv4.0.0-beta47-7-g82a3dda
PitBull4Aggro, vv4.0.0-beta47-7-g82a3dda
PitBull4Aura, vv4.0.0-beta47-7-g82a3dda
PitBull4Background, vv4.0.0-beta47-7-g82a3dda
PitBull4BattlePet, vv4.0.0-beta47-7-g82a3dda
PitBull4BlankSpace, vv4.0.0-beta47-7-g82a3dda
PitBull4Border, vv4.0.0-beta47-7-g82a3dda
PitBull4CastBar, vv4.0.0-beta47-7-g82a3dda
PitBull4CastBarLatency, vv4.0.0-beta47-7-g82a3dda
PitBull4CombatFader, vv4.0.0-beta47-7-g82a3dda
PitBull4CombatIcon, vv4.0.0-beta47-7-g82a3dda
PitBull4CombatText, vv4.0.0-beta47-7-g82a3dda
PitBull4ComboPoints, vv4.0.0-beta47-7-g82a3dda
PitBull4ExperienceBar, vv4.0.0-beta47-7-g82a3dda
PitBull4HealthBar, vv4.0.0-beta47-7-g82a3dda
PitBull4HideBlizzard, vv4.0.0-beta47-7-g82a3dda
PitBull4Highlight, vv4.0.0-beta47-7-g82a3dda
PitBull4HostilityFader, vv4.0.0-beta47-7-g82a3dda
PitBull4LeaderIcon, vv4.0.0-beta47-7-g82a3dda
PitBull4LuaTexts, vv4.0.0-beta47-7-g82a3dda
PitBull4MasterLooterIcon, vv4.0.0-beta47-7-g82a3dda
PitBull4PhaseIcon, vv4.0.0-beta47-7-g82a3dda
PitBull4Portrait, vv4.0.0-beta47-7-g82a3dda
PitBull4PowerBar, vv4.0.0-beta47-7-g82a3dda
PitBull4PvPIcon, vv4.0.0-beta47-7-g82a3dda
PitBull4QuestIcon, vv4.0.0-beta47-7-g82a3dda
PitBull4RaidTargetIcon, vv4.0.0-beta47-7-g82a3dda
PitBull4RangeFader, vv4.0.0-beta47-7-g82a3dda
PitBull4ReadyCheckIcon, vv4.0.0-beta47-7-g82a3dda
PitBull4ReputationBar, vv4.0.0-beta47-7-g82a3dda
PitBull4RestIcon, vv4.0.0-beta47-7-g82a3dda
PitBull4RoleIcon, vv4.0.0-beta47-7-g82a3dda
PitBull4Shields, v1.3.9
PitBull4Sounds, vv4.0.0-beta47-7-g82a3dda
PitBull4ThreatBar, vv4.0.0-beta47-7-g82a3dda
PitBull4Totems, vv4.0.0-beta47-7-g82a3dda
PitBull4VisualHeal, vv4.0.0-beta47-7-g82a3dda
PitBull4VoiceIcon, vv4.0.0-beta47-7-g82a3dda
Postal, v3.5.1
Prat30, vr912
Prat30HighCPUUsageModules, v
Prat30Libraries, v
ProfessionsVault, vr507
Quartz, v3.1.3-4-g03c5ce4
RaidBuffStatus, v5.7.1
RareCoordinator, v
RSA, v2.855
RSAMage, v
SavedInstances, vr346
serverrestartsound, vv5
SexyMap, v2.4.9
SharedMedia, v3.0.5-184
SharedMediaClassicalFonts, vRelease 1.0.4
SharedMediaRenaitre, v5.4
SharedMediaAdditionalFonts, v1.0.16
SharedMediaAdditionalSounds, v1.1
Skinner, vb5.17539.1
slashtreasure, v1.0.1
SmartBuff, v5.4a
SpellFlash, v6.8.1
SpellFlashCore, v2.0.4
Stubby, v5.18.5433 (PassionatePhascogale)
SunnArt, v3.68
SunnArtPack1, v1.14
SunnArtPack2, v1.14
SunnArtPack3, v1.14
SunnArtPack4, v1.14
SunnArtPack5, v1.14
tekticles, v5.1.0.16
TidyPlates, v6.12.5
TidyPlatesGraphite, v
TidyPlatesGrey, v
TidyPlatesNeon, v
TidyPlatesQuatre, v
TidyPlatesHub, v
TidyPlatesWidgets, v
TipHelper, v5.12.DEV.351(/embedded)
TipTac, v13.09.21
TipTacItemRef, v13.09.21
TipTacTalents, v13.09.21
TomTom, vv50400-1.0.0
UndressButton, v5.3
Unmuter, v0.12
VEMCore, v
Volumizer, v5.3.0-2.2
VuhDo, v3.53
VuhDoOptions, v3.53
WeakAuras, vr306
BlizRuntimeLib_enUS v5.4.0.50400 <us>
(ck=1809)
For everyone experiencing the "blank unit frames" bug: when you log in, go to pitbull options > Layout Editor > Texts tab, and click on the "Default Font" dropdown field. If your system is like mine, you will notice a very brief pause. The fonts are now loaded, and your unit frames should behave normally upon a reload. You do not need to select another default font, just bring up the drop menu. Hope this helps. xoxo -Mooseykins.
I also experience problems, with the blank frames, when i log in. I've tried to reinstall the addon, but with no luck :-(
- It could be awesome with an update :-)
Everyone wearing pirate hats was for the in-game "Pirate's Day" holiday yesterday. ;) Everything should be back to normal today (and not a moment too soon, Pandaren with Pirate hats look awful, ugh!).
Also, I went over to the wowace site as Eincrou below mentioned and downloaded the Alpha v4.0.0-beta47-3-g8053a6d from Sep 14, 2013. I logged in on a character that couldn't heal themselves (since that was how I was "fixing" my frames before) and viola! Perfect frames on the first try with no .lua errors!
http://www.wowace.com/addons/pitbull4/files/
I think I love you both, Eincrou for pointing out the correct Alpha and Shefki for making it! *big squishy Panda hugs*
Since the patch I have 3 issues with pitbull:
- All players are wearing pirate hats... although its fine now
- After logging into the game I have to /reload UI or change anything in the player panel, otherwise its blank (mentioned several times)
- Now the 3rd issue is the worst. Frames are colored by aggro(?), instead of color by class... Tried to fix it by checking/unchecking options in the Bars->Health bar panel in each layout, but issue persists. Anyone else has noticed it?
Coloring by aggro is controlled under the Other Tab, Aggro.
For some reason my frames show my characters as pirates.
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