any update on the "aura icons in target frame" issue?
Anything else you need folks with the problem to do / record / screenshot? Just looking for ways to help you if your trying to figure out what the problem is.
Every other day or so I tend to try a few things to troubleshoot/fix the issue. No progress so far on my end at least.
I also have the same issue with the occasional missing buffs/debuffs using Alt_Aura. It also occurs with party members buffs/debuffs.
I have been checking these forums to find if this is a known issue or any work-arounds that might be available. I have my party portraits set to 3D and when out of range set to default back to 2D. Basically the issue that I am finding is that this change doesn't always seem to happen automatically based on range, the way it should. Sometimes the party members icon gets "stuck" in either 3D or 2D and refreshing the screen (even by just showing the full screen map) is needed to fix it. Any help would be appreciated.
I have been checking these forums to find if this is a known issue or any work-arounds that might be available. I have my party portraits set to 3D and when out of range set to default back to 2D. Basically the issue that I am finding is that this change doesn't always seem to happen automatically based on range, the way it should. Sometimes the party members icon gets "stuck" in either 3D or 2D and refreshing the screen (even by just showing the full screen map) is needed to fix it. Any help would be appreciated.
One more time (lua uses "elseif" instead of "else if" like every other C-style language, and I tend to forget),
And the script needs to be in the highest eePanel that it references (which is eePanel7 in this code), or an eePanel with an even larger number.
Hi EE,
Those changes did the trick! I also realized that I wanted to have my party frames (and hence their respective eePanels) visible also when I was in a raid (just not any of the other non-party raid members), so I made this change which fixed that:
function eePanels2:RaidPanelVisibility(self, event, ...)
-- Just you / not in a party
if GetNumPartyMembers() < 1 then
eePanel6:Hide()
eePanel7:Hide()
eePanel8:Hide()
eePanel9:Hide()
-- You plus 1 other person
elseif GetNumPartyMembers() == 1 then
eePanel6:Show()
eePanel7:Hide()
eePanel8:Hide()
eePanel9:Hide()
-- You plus 2 other people
elseif GetNumPartyMembers() == 2 then
eePanel6:Show()
eePanel7:Show()
eePanel8:Hide()
eePanel9:Hide()
-- You plus 3 other people
elseif GetNumPartyMembers() == 3 then
eePanel6:Show()
eePanel7:Show()
eePanel8:Show()
eePanel9:Hide()
-- You in a full group
elseif GetNumPartyMembers() == 4 then
eePanel6:Show()
eePanel7:Show()
eePanel8:Show()
eePanel9:Show()
end
end
-- Ace2 event listeners; can't do this in more than one script
eePanels2:RegisterEvent("PLAYER_ENTERING_WORLD", eePanels2.RaidPanelVisibility)
eePanels2:RegisterEvent("PARTY_MEMBERS_CHANGED", eePanels2.RaidPanelVisibility)
eePanels2:RegisterEvent("RAID_ROSTER_UPDATE", eePanels2.RaidPanelVisibility)
Once again, you rock! Hopefully this info will also be really valuable to any other PitBull user trying to achieve the same thing, but can't do it due to the parenting issue with PB's party/raid frame.
I'm guessing you just want panels to show up under the unit frames of people in your party, not including your unit frame.
This isn't pretty code, but it should be easy to understand
function eePanels2:RaidPanelVisibility(self, event, ...)
-- Not in a raid
if GetNumRaidMembers() < 1 then
-- Just you / not in a party
if GetNumPartyMembers() < 1 then
eePanel4:Hide()
eePanel5:Hide()
eePanel6:Hide()
eePanel7:Hide()
-- You plus 1 other person
if GetNumPartyMembers() == 1 then
eePanel4:Show()
eePanel5:Hide()
eePanel6:Hide()
eePanel7:Hide()
-- You plus 2 other people
else if GetNumPartyMembers == 2 then
eePanel4:Show()
eePanel5:Show()
eePanel6:Hide()
eePanel7:Hide()
-- You plus 3 other people
else if GetNumPartyMembers == 3 then
eePanel4:Show()
eePanel5:Show()
eePanel6:Show()
eePanel7:Hide()
-- You in a full group
else if GetNumPartyMembers == 4 then
eePanel4:Show()
eePanel5:Show()
eePanel6:Show()
eePanel7:Show()
end
-- In a raid, hide all panels
else
eePanel4:Hide()
eePanel5:Hide()
eePanel6:Hide()
eePanel7:Hide()
end
end
-- Ace2 event listeners; can't do this in more than one script
eePanels2:RegisterEvent("PLAYER_ENTERING_WORLD", eePanels2.RaidPanelVisibility)
eePanels2:RegisterEvent("PARTY_MEMBERS_CHANGED", eePanels2.RaidPanelVisibility)
eePanels2:RegisterEvent("RAID_ROSTER_UPDATE", eePanels2.RaidPanelVisibility)
OMG! Thankyou so much EE, it's EXACTLY the sort of thing I was looking for!!! Just a couple quick questions; I attached this script to eePanel 4, but when I clicked OK I got an error, and it fails to work:
[string "function eePanels2:RaidPanelVisibility(self, event, ...)..."]:36: 'end' expected (to close 'if' at line 23) near 'else'
And also, does it matter what eePanel that I attach this script to? Once again, I can't thank you enough for your help!
UnitExists("PitBullCluster2UnitButton1") isn't going to work. UnitExist only checks for "units" (IE: player, target, pet, partymember, etc. Not a frame name). You instead want to call getglobal("PitBullCluster2UnitButton1").
Second, you can't register the same event more than once, so you can't just use this same script for each panel. You would need to combine it all into one script. Look at the post directly above yours.
Thanks so much for your post EE. I have to admit that I am not very up to date with scripting language so what I was doing was copying/pasting another script and just changing the variables I thought in the hope it would work. All i really wanted was to be able to have a panel show up behind a party member when they joined, and hide when they leave.
I attached the following script to eePanel4 (the eePanel for the first party member):
-- Change our panel's visibility when in/out of a party
function eePanels2:RaidPanelVisibility(self, event, ...)
-- If we're in a Party
if GetNumPartyMembers() > 1 then
-- Show the panel this script is attached to
eePanel4:Show()
-- If we're not in a party
else
-- Hide the panel this script is attached to
eePanel4:Hide()
end
end
-- Ace2 event listeners; can't do this in more than one script
eePanels2:RegisterEvent("PLAYER_ENTERING_WORLD", eePanels2.RaidPanelVisibility)
eePanels2:RegisterEvent("PARTY_MEMBERS_CHANGED", eePanels2.RaidPanelVisibility)
eePanels2:RegisterEvent("RAID_ROSTER_UPDATE", eePanels2.RaidPanelVisibility)
And this works to show eePanel 4, for when 1 party/raid member joins. However, I am still unsure how to get eePanel 5, 6 and 7 to show/hide when their respective party/raid members members join/leave. Also, because I don't have any raid frames enabled in PitBull, I wouldn't want the party panels to show if I'm in a raid, but in a group with no party members, so do I need:
I am using Pitbull UFs. I have created panels for player, target, ToT and pet, and parented those panels to their respective frames without a problem. I know that PitBull dynamically creates party frames and so it's not possible to parent the 4 panels I want to have behind each party member. So I wanted to use a lua script to hide/show the individual panels as the party members join and leave. Attaching the following script (and just changing the button variable for each party member panel) doesn't seem to work. The panels are just permanently hidden. Should this work? Any help much appreciated.
eePanel5:Hide()
function eePanels2:eePanel5_FrameVisibility(self, event, ...)
if UnitExists("PitBullCluster2UnitButton1") then
eePanel5:Show()
else
eePanel5:Hide()
end
end
where Phanx posted lua files for Power and Health, I tried these but unfortunately these generate lua errors in game and disable the PitBull UFs.......
I have recently (thanks to you fellow forum posters) added an additional text condition which gives me health and power percentages to the right of my UF bars. What I am going to do is use an eePanels panel to create a frame border that encloses the entire UF. One thing I need to do is change the "virtual" frame width with respect to auras so that it accommodates this wider frame.
I have had a look through PitBull's Aura.lua and have found the conditions for physically moving the x,y coords of the aura bar, and I THINK that the the following might have something to do with it, but I'm not sure:
local auraFrame_width = auraFrame:GetWidth()
local max_debuffs_per_row = math_floor(auraFrame_width / size)
local scale_adjust = auraFrame_width / (size * max_debuffs_per_row)
local font, fontsize = PitBull:GetFont()
Any smart people able to tell me what to do? Thanks very much in advance.
Yeah I would love to be able to do this also. I know that their is no option in the Rock interface, so I am assuming an edit of one of the luas is required. Just need one of the knowledgeable Pitbull peeps on this forum to tell us which one :)
Got this to work great, now all I have to do is have fun butchering the aura.lua file to realign buffs/debuffs so that they align with the top of my now extended frame :P
The top frame is PitBull, and the bottom one is a comparison to DUF.
I want to be able to do the same thing in PitBull, ie: have the percentages of health and power to the right outside of the bar, while still leaving the absolute values inside the bar.
0
I also have the same issue with the occasional missing buffs/debuffs using Alt_Aura. It also occurs with party members buffs/debuffs.
0
I have been checking these forums to find if this is a known issue or any work-arounds that might be available. I have my party portraits set to 3D and when out of range set to default back to 2D. Basically the issue that I am finding is that this change doesn't always seem to happen automatically based on range, the way it should. Sometimes the party members icon gets "stuck" in either 3D or 2D and refreshing the screen (even by just showing the full screen map) is needed to fix it. Any help would be appreciated.
Thanks.
0
I have been checking these forums to find if this is a known issue or any work-arounds that might be available. I have my party portraits set to 3D and when out of range set to default back to 2D. Basically the issue that I am finding is that this change doesn't always seem to happen automatically based on range, the way it should. Sometimes the party members icon gets "stuck" in either 3D or 2D and refreshing the screen (even by just showing the full screen map) is needed to fix it. Any help would be appreciated.
Thanks.
0
Hi EE,
Those changes did the trick! I also realized that I wanted to have my party frames (and hence their respective eePanels) visible also when I was in a raid (just not any of the other non-party raid members), so I made this change which fixed that:
Once again, you rock! Hopefully this info will also be really valuable to any other PitBull user trying to achieve the same thing, but can't do it due to the parenting issue with PB's party/raid frame.
0
Hmmmm, yeah I tried that, but still generates the same message. I also noticed that () were not present after:
GetNumPartyMembers == 2
GetNumPartyMembers == 3
GetNumPartyMembers == 4
so I tried changing to:
GetNumPartyMembers() == 2
GetNumPartyMembers() == 3
GetNumPartyMembers() == 4
but still same message.........
0
OMG! Thankyou so much EE, it's EXACTLY the sort of thing I was looking for!!! Just a couple quick questions; I attached this script to eePanel 4, but when I clicked OK I got an error, and it fails to work:
[string "function eePanels2:RaidPanelVisibility(self, event, ...)..."]:36: 'end' expected (to close 'if' at line 23) near 'else'
And also, does it matter what eePanel that I attach this script to? Once again, I can't thank you enough for your help!
0
Thanks so much for your post EE. I have to admit that I am not very up to date with scripting language so what I was doing was copying/pasting another script and just changing the variables I thought in the hope it would work. All i really wanted was to be able to have a panel show up behind a party member when they joined, and hide when they leave.
I attached the following script to eePanel4 (the eePanel for the first party member):
-- Change our panel's visibility when in/out of a party
function eePanels2:RaidPanelVisibility(self, event, ...)
-- If we're in a Party
if GetNumPartyMembers() > 1 then
-- Show the panel this script is attached to
eePanel4:Show()
-- If we're not in a party
else
-- Hide the panel this script is attached to
eePanel4:Hide()
end
end
-- Ace2 event listeners; can't do this in more than one script
eePanels2:RegisterEvent("PLAYER_ENTERING_WORLD", eePanels2.RaidPanelVisibility)
eePanels2:RegisterEvent("PARTY_MEMBERS_CHANGED", eePanels2.RaidPanelVisibility)
eePanels2:RegisterEvent("RAID_ROSTER_UPDATE", eePanels2.RaidPanelVisibility)
And this works to show eePanel 4, for when 1 party/raid member joins. However, I am still unsure how to get eePanel 5, 6 and 7 to show/hide when their respective party/raid members members join/leave. Also, because I don't have any raid frames enabled in PitBull, I wouldn't want the party panels to show if I'm in a raid, but in a group with no party members, so do I need:
eePanels2:RegisterEvent("PLAYER_ENTERING_WORLD", eePanels2.RaidPanelVisibility)
eePanels2:RegisterEvent("PARTY_MEMBERS_CHANGED", eePanels2.RaidPanelVisibility)
eePanels2:RegisterEvent("RAID_ROSTER_UPDATE", eePanels2.RaidPanelVisibility)
At the bottom?
Thanks very much again for your time.
0
eePanel5:Hide()
function eePanels2:eePanel5_FrameVisibility(self, event, ...)
if UnitExists("PitBullCluster2UnitButton1") then
eePanel5:Show()
else
eePanel5:Hide()
end
end
eePanels2:RegisterEvent("PLAYER_ENTERING_WORLD", eePanels2.eePanel5_FrameVisibility)
eePanels2:RegisterEvent("PARTY_MEMBERS_CHANGED", eePanels2.eePanel5_FrameVisibility)
0
http://www.wowace.com/forums/index.php?topic=8096.0
where Phanx posted lua files for Power and Health, I tried these but unfortunately these generate lua errors in game and disable the PitBull UFs.......
0
0
0
http://img155.imageshack.us/my.php?image=aurawidthrb7.jpg
(a) = default aura frame width
(b) = desired aura frame width.
I have had a look through PitBull's Aura.lua and have found the conditions for physically moving the x,y coords of the aura bar, and I THINK that the the following might have something to do with it, but I'm not sure:
local auraFrame_width = auraFrame:GetWidth()
local max_debuffs_per_row = math_floor(auraFrame_width / size)
local scale_adjust = auraFrame_width / (size * max_debuffs_per_row)
local font, fontsize = PitBull:GetFont()
Any smart people able to tell me what to do? Thanks very much in advance.
0
0
Got this to work great, now all I have to do is have fun butchering the aura.lua file to realign buffs/debuffs so that they align with the top of my now extended frame :P
Thanks for all your help!
0
The top frame is PitBull, and the bottom one is a comparison to DUF.
I want to be able to do the same thing in PitBull, ie: have the percentages of health and power to the right outside of the bar, while still leaving the absolute values inside the bar.
Please help!!! Many thanx.