I've never been able to get profiles to work in Pitbull. Specifically, I'm trying to set up different configs for different size raids: "Raid 10", "Raid 15", etc.
I can set the profiles up as "Other" by jumping through reasonable hoops = create new profile, set up positions, logout, login again, set up next profile (if you don't logout / login, they all get mixed up). But then when I'm in a raid, switching between profiles does not work properly - I get weird combos of half previous profile and half the one I selected.
I've tried this in "old" Pitbull and also in in new Rock-based Pitbull, but still does not work. Any fix on the horizon?
Btw, I'm a huge fan of Pitbull - it's one of my favourite add ons. I really appreciate the flexibility (although it does mean I spend a fair bit of time tweaking...).
I'm having a similar problem. I want to use the same setup across all my characters. I spent over an hour setting up pitbull the way i want it on my warlock but when i log into my priest its no the same setup. I went into profiles to try and copy the profile from my warlock but this doesnt seem to work.
There is a HUGE problem with profiles actually in PitBull/Rock version.
I did the same as the poster above me, with the same result : Profile is not applied properly.
Profile is applied only for somes items. Auras are never applied correctly, (default perhaps ?) Health bars are always class Colored, Cast bars are always on (i don't use those, i use Quartz). Items applied correctly are position of the frames, default color of bars and frame, scale.
So, each time, i reconfigure Auras/HealthBars/CastBars, for each frame (and differently for each frame...).
And, after doing all of this, i have to exit the game. If not, each time i interact with an NPC....WoW crash ! And, as always with a game crash, i loose all configurations made :D Happened 2 times last night (nerf rerolls !)
PS : Before each game time, i update all ACE/Rock addons via JavaWoWUpdater.
Not sure its a rock thing, I can copy profiles, change profiles etc within Rock for eePanels2. But I have same issues as mentioned above with PitBull, and because of the layout of the saved variables .lua I can't just copy/paste. :(
Been delving into code. The way it's set up, a profile change is not fully applied to everything. Trying to figure out an easy way to force updates to all frames. Once I do, I'll let you know.
Ok got the raid problem sorted - added a function to refresh all party & raid frames when the profile changes. Next need to work on the player, pet, target, etc frames.
OK this is a fix for "old" PitBull (i.e. pre-Rock). I'll take a look at Rock version later when I switch.
It correctly re-displays profiles after you've switched so you can use multiple profiles OK. Works whether you're in config mode or actively in a raid / party.
The code was developed through trial & error, largely based on another function - ChangeConfigMode() - and therefore may have redundant portions or cause unexpected side effects. Having said that, I've been using it & seems to work fine.
Add the following function in PitBull.lua and replace the call "self:UpdateAll()" in function PitBull:OnProfileEnable() with "self:ForceRedisplay()".
function PitBull:ForceRedisplay()
if currentMovingFrame then
currentMovingFrame:StopMovingOrSizing()
currentMovingFrame = nil
end
lazyLayout = lazyLayout + 1
if mySecureGroupHeader_Update then
hooksecurefunc("SecureGroupHeader_Update", mySecureGroupHeader_Update)
mySecureGroupHeader_Update = nil
SecureGroupHeader_Update = _G.SecureGroupHeader_Update
end
for group, db in pairs(self.db.profile.groups) do
if group:find("^party") or group:find("^raid") or group:find("^maintank") or group:find("^mainassist") then
self:DestroyUnitCluster(group)
end
end
for cluster, header in pairs(clusters) do
if cluster:find("^raid") or cluster:find("^party") then
self:DestroyUnitCluster(cluster)
end
end
for frame in pairs(allFrames) do
self:DestroyUnitFrame(frame)
end
if not self.db.profile.groups.player.hidden then
self:CreateUnitFrame("player")
end
if not self.db.profile.groups.pet.hidden then
self:CreateUnitFrame("pet")
end
if not self.db.profile.groups.pettarget.hidden then
self:CreateUnitFrame("pettarget")
end
if not self.db.profile.groups.target.hidden then
self:CreateUnitFrame("target")
end
if not self.db.profile.groups.targettarget.hidden then
self:CreateUnitFrame("targettarget")
end
if not self.db.profile.groups.targettargettarget.hidden then
self:CreateUnitFrame("targettargettarget")
end
if not self.db.profile.groups.focus.hidden then
self:CreateUnitFrame("focus")
end
if not self.db.profile.groups.focustarget.hidden then
self:CreateUnitFrame("focustarget")
end
if not self.db.profile.groups.focustargettarget.hidden then
self:CreateUnitFrame("focustargettarget")
end
if not self.db.profile.groups.mouseover.hidden then
self:CreateUnitFrame("mouseover")
end
if not self.db.profile.groups.mouseovertarget.hidden then
self:CreateUnitFrame("mouseovertarget")
end
for group, db in pairs(self.db.profile.groups) do
if group:find("^party") or group:find("^raid") or group:find("^maintank") or group:find("^mainassist") then
if not db.hidden and ShouldShowUnit(group) then
self:CreateUnitCluster(group)
end
end
end
for cluster, header in pairs(clusters) do
SecureGroupHeader_Update(header)
end
for frame in pairs(allFrames) do
local unit = frame:GetUnit()
if unit then
if configMode and ShouldShowUnit(unit)then
UnregisterUnitWatch(frame)
if not frame.cluster then
frame:Show()
end
frame:SetScript("OnMouseDown", configFrame_OnMouseDown)
else
RegisterUnitWatch(frame)
frame:SetScript("OnMouseDown", nil)
end
end
end
for cluster, header in pairs(clusters) do
if configMode then
local child1 = header:GetAttribute("child1")
if child1 and child1:IsShown() then
header.label:Show()
else
header.label:Hide()
end
else
header.label:Hide()
end
end
for frame in pairs(frames) do
self:UpdateLayout(frame)
end
lazyLayout = lazyLayout - 1
self:_UpdateLayouts()
end
Since copying profiles in game still doesn't seem to work, I have tried to manually copy a profile in the saved variables file. Sadly the sorting of the pitbull saved variable file makes this a very time consuming option, since a profile is not stored at one single location, but spread over the entire file e.g.
I'd like to suggest a feature : have the saved variable file save a profile at exactly one location, so copying the profile by hand is easily possible, e.g.
I wish they would sort out copying profiles in Pitbull. I recently made a couple of alts, but I can't get Pitbull to look like my main character because it bombs whenever I copy a profile. Please please please please fix profile copying.
Near as I can figure, this problem stems from having the old profile (from pre 2.0/Rock) with the new 2.0 and Rock system, and the two not playing nicely together.
its really frustrating to not be able to copy profiles between chars, i got the setup i want on my main and some of my alts but the new ones are just doomed since i dont wanna redo almost everything on them :(
its really frustrating to not be able to copy profiles between chars, i got the setup i want on my main and some of my alts but the new ones are just doomed since i dont wanna redo almost everything on them :(
Near as I can figure, this problem stems from having the old profile (from pre 2.0/Rock) with the new 2.0 and Rock system, and the two not playing nicely together.
I was fiddling around with SCTD so I decided to fiddle around with this too. I started with fresh folders for WTF (deleted everything), and started with only pitbull (fresh download even!). Changed a few pitbull settings, then tried to copy it to another profile. Same errors. So near as I can tell, it doesn't have anything to do with pre-Rock, it errors on it's own with my little experiment.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I've never been able to get profiles to work in Pitbull. Specifically, I'm trying to set up different configs for different size raids: "Raid 10", "Raid 15", etc.
I can set the profiles up as "Other" by jumping through reasonable hoops = create new profile, set up positions, logout, login again, set up next profile (if you don't logout / login, they all get mixed up). But then when I'm in a raid, switching between profiles does not work properly - I get weird combos of half previous profile and half the one I selected.
I've tried this in "old" Pitbull and also in in new Rock-based Pitbull, but still does not work. Any fix on the horizon?
Btw, I'm a huge fan of Pitbull - it's one of my favourite add ons. I really appreciate the flexibility (although it does mean I spend a fair bit of time tweaking...).
R.
I did the same as the poster above me, with the same result : Profile is not applied properly.
Profile is applied only for somes items. Auras are never applied correctly, (default perhaps ?) Health bars are always class Colored, Cast bars are always on (i don't use those, i use Quartz). Items applied correctly are position of the frames, default color of bars and frame, scale.
So, each time, i reconfigure Auras/HealthBars/CastBars, for each frame (and differently for each frame...).
And, after doing all of this, i have to exit the game. If not, each time i interact with an NPC....WoW crash ! And, as always with a game crash, i loose all configurations made :D Happened 2 times last night (nerf rerolls !)
PS : Before each game time, i update all ACE/Rock addons via JavaWoWUpdater.
Anyone have any idea how to copy a Profile from one character to another? (As in copying configuration lines or something like that)
LibRockDB-1.0\LibRockDB-1.0.lua:1294: Cannotaccess key "focustarget" in db table. You may want to use db.profile["focustarget"]
Any fix for this in sight?
It correctly re-displays profiles after you've switched so you can use multiple profiles OK. Works whether you're in config mode or actively in a raid / party.
The code was developed through trial & error, largely based on another function - ChangeConfigMode() - and therefore may have redundant portions or cause unexpected side effects. Having said that, I've been using it & seems to work fine.
Add the following function in PitBull.lua and replace the call "self:UpdateAll()" in function PitBull:OnProfileEnable() with "self:ForceRedisplay()".
function PitBull:ForceRedisplay()
if currentMovingFrame then
currentMovingFrame:StopMovingOrSizing()
currentMovingFrame = nil
end
lazyLayout = lazyLayout + 1
if mySecureGroupHeader_Update then
hooksecurefunc("SecureGroupHeader_Update", mySecureGroupHeader_Update)
mySecureGroupHeader_Update = nil
SecureGroupHeader_Update = _G.SecureGroupHeader_Update
end
for group, db in pairs(self.db.profile.groups) do
if group:find("^party") or group:find("^raid") or group:find("^maintank") or group:find("^mainassist") then
self:DestroyUnitCluster(group)
end
end
for cluster, header in pairs(clusters) do
if cluster:find("^raid") or cluster:find("^party") then
self:DestroyUnitCluster(cluster)
end
end
for frame in pairs(allFrames) do
self:DestroyUnitFrame(frame)
end
if not self.db.profile.groups.player.hidden then
self:CreateUnitFrame("player")
end
if not self.db.profile.groups.pet.hidden then
self:CreateUnitFrame("pet")
end
if not self.db.profile.groups.pettarget.hidden then
self:CreateUnitFrame("pettarget")
end
if not self.db.profile.groups.target.hidden then
self:CreateUnitFrame("target")
end
if not self.db.profile.groups.targettarget.hidden then
self:CreateUnitFrame("targettarget")
end
if not self.db.profile.groups.targettargettarget.hidden then
self:CreateUnitFrame("targettargettarget")
end
if not self.db.profile.groups.focus.hidden then
self:CreateUnitFrame("focus")
end
if not self.db.profile.groups.focustarget.hidden then
self:CreateUnitFrame("focustarget")
end
if not self.db.profile.groups.focustargettarget.hidden then
self:CreateUnitFrame("focustargettarget")
end
if not self.db.profile.groups.mouseover.hidden then
self:CreateUnitFrame("mouseover")
end
if not self.db.profile.groups.mouseovertarget.hidden then
self:CreateUnitFrame("mouseovertarget")
end
for group, db in pairs(self.db.profile.groups) do
if group:find("^party") or group:find("^raid") or group:find("^maintank") or group:find("^mainassist") then
if not db.hidden and ShouldShowUnit(group) then
self:CreateUnitCluster(group)
end
end
end
for cluster, header in pairs(clusters) do
SecureGroupHeader_Update(header)
end
for frame in pairs(allFrames) do
local unit = frame:GetUnit()
if unit then
if configMode and ShouldShowUnit(unit)then
UnregisterUnitWatch(frame)
if not frame.cluster then
frame:Show()
end
frame:SetScript("OnMouseDown", configFrame_OnMouseDown)
else
RegisterUnitWatch(frame)
frame:SetScript("OnMouseDown", nil)
end
end
end
for cluster, header in pairs(clusters) do
if configMode then
local child1 = header:GetAttribute("child1")
if child1 and child1:IsShown() then
header.label:Show()
else
header.label:Hide()
end
else
header.label:Hide()
end
end
for frame in pairs(frames) do
self:UpdateLayout(frame)
end
lazyLayout = lazyLayout - 1
self:_UpdateLayouts()
end
I'd like to suggest a feature : have the saved variable file save a profile at exactly one location, so copying the profile by hand is easily possible, e.g.
So once copying profiles is fixed in case it ever brakes again it will be easier to copy profiles by hand XD
/Whizz
its really frustrating to not be able to copy profiles between chars, i got the setup i want on my main and some of my alts but the new ones are just doomed since i dont wanna redo almost everything on them :(
please fix
/signed
I was fiddling around with SCTD so I decided to fiddle around with this too. I started with fresh folders for WTF (deleted everything), and started with only pitbull (fresh download even!). Changed a few pitbull settings, then tried to copy it to another profile. Same errors. So near as I can tell, it doesn't have anything to do with pre-Rock, it errors on it's own with my little experiment.