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
pawn83,
http://lua-users.org/wiki/StringLibraryTutorial
I am not familiar at all with LUA, but I have made the transition. Just wondering if there is a way to truncate strings? Specifically, names on raid frames often extend into other nearby frames. This isn't always the case, so I don't want to just use a much smaller font.
I am currently using the standard name layout with it centered.
Check out the layout for those units you want to edit, and set "current text" to "Lua:Health", scroll down to "code", and choose how you want health to be displayed. I use "Health: absolute and percent", and i find it perfect.
I have been running Pitbull4 for the past 2 months, mostly with no problems. With the 22/jun beta build, I have discovered a bug although I can't quite pin it down. I run Pitbull solely as a raid/party unit frame provider (I use a HUD for self/pet/target). When soloing dailies, Pitbull is consuming significant more CPU than any other addon (twice the CPU of the next most demanding addon according to the CPU profiling in titan panel), and when I was raiding last night, the WoW client suddenly threw up complaining about a significant number of errors coming from an addon. Because of how I use Pitbull, I have the majority of modules disabled, so I am particularly surprised by the CPU demand coming from the module when not in party/raid
Is there anyway I can easily instrument this or an error capturing addon I can use to better identify where the bug is? I attached the saved variables file if that helps.
Let me know if you would prefer I file a ticket.
I am a new Pitbull 4 convert from Xperl and love it. I am all set up bar one problem...I cannot get the health values to show up on the HP bar. Is there something I am missing? I do not get any error msg's and the mana shows up, just not the HP. Hard to call for 30% BL when I don't even know where it is!! Any help would be most welcome and thanks.
Cool, splitting the modules should help a lot in determining the culprit. I just thought Aura and VisualHeal would suffer similar performance issues to CastBar since in the middle of combat you've got tons of things procing for everyone and heals flying everywhere, and updating those constantly would be a lot to process.
Would it be possible to set a larger update window for CastBar to get better performance? Or maybe even for other modules as well that poll a lot?
[string "Pitbull4_LuaTexts:Player:HP percent"]:1:unexpected symbol near '['
If this makes any sense, thanks in advance for your help. If it doesn't, well then have a good day!
Clooze, I suspect you mean the text is wrong. You probably set the text on that bar to be the health. Look under the Texts tab in the layout editor.
Chocozurean, The performance difference between LuaTexts and DogTagTexts is much narrower than when I first added LuaTexts. There were some performance issues with the PB4 use of LibDogTag that created this larger gap. So I'm not terribly surprised you didn't see a huge difference.
Aura, VisualHeal and Highlight module should be pretty well behaved. I have a theory why CastBar is creating problems for you. CastBar basically works by keeping track of who is casting and then updating those castbars on a constant basis. It keeps track of all of this information even if there isn't a CastBar enabled on any visible frame.
Typically this isn't in itself a big deal. But I believe that some of those table entries aren't getting cleaned up and so that's creating a performance drain.
We're sorta in the process of splitting modules out into separate addons and making them load on demand. This will offer a small performance benefit for people that don't want to use a lot of the modules and should make it easier to benchmark specific modules since they'll show up as separate addons.
http://www.wowace.com/projects/pitbull4/tickets
You can use your curse username and password to log in there.
Anyone know what I do wrong in here?