Both are correct, and it doesn't matter that they have the same name, as one is registered as a border and one is registered as a background.
So, unless Otto has some other mod that's trying to register the tooltip background to SharedMedia with the path to the border (which doesn't necessarily have to be a SharedMedia-blah addon), then it may be an issue with kgPanels fetching the tables from LSM.
Hey, so Im currently trying to have a KG panel load while Im spell casting, Im having a bit of trouble, I am able to get the frame to load when I start a spell cast, but not sure how to do a If(like 10 events) string to it, so whenever Im not casting it hides that frame. Could anyone assist me in any way?
Summary of what Im looking for, If I am casting(Any caster bar for myself is active), than I want this KG Panel to be Showing, if I am not casting(no cast bar showing at all), than I want my KG Panel to be on Hide.
Thank You, I would appreciate any help from you guys.
Wouldnt/Dosent Parenting only refer to positioning, I need the texture to Hide and Show depending on if the Cast bar is in use, as it is right now, the texture achors correctly, however its always show and has no Hide/Show relations, its just taking positioning.
When i try opening the config with /kgpanels config I don't see any options.
Get the 2 following error messages
[2008/08/28 13:35:13-72-x1]: ...r\libs\AceGUI-3.0\widgets\AceGUIWidget-TreeGroup.lua:186: attempt to call method 'SetNormalFontObject' (a nil value):
...r\libs\AceGUI-3.0\widgets\AceGUIWidget-TreeGroup.lua:413: in function `RefreshTree':
...r\libs\AceGUI-3.0\widgets\AceGUIWidget-TreeGroup.lua:334: in function <...r\libs\AceGUI-3.0\widgets\AceGUIWidget-TreeGroup.lua:333>:
---
[2008/08/28 13:35:13-72-x1]: ...r\libs\AceGUI-3.0\widgets\AceGUIWidget-TreeGroup.lua:186: attempt to call method 'SetNormalFontObject' (a nil value):
...r\libs\AceGUI-3.0\widgets\AceGUIWidget-TreeGroup.lua:413: in function `RefreshTree':
...r\libs\AceGUI-3.0\widgets\AceGUIWidget-TreeGroup.lua:330: in function <...r\libs\AceGUI-3.0\widgets\AceGUIWidget-TreeGroup.lua:327>:
---
*EDIT*
I'm getting a similar prob with Bartender, guess its another mod interfering maybe? I'll try figure out which one.
I've been using kgpanels for months now, but I've never been able to get the profiles to work properly. Am I doing something wrong?
I don't have problems with profiles in other addons. On my main, I have her name specific profile active. My alts have each of their own name specific profiles selected. When I make a change on my main, such as deleting a panel, that panel is gone when I switch toons. I've double checked their profiles, tried many different things over the months to try to work around it, but I can't seem to figure out what the problem is.
I've been using kgpanels for months now, but I've never been able to get the profiles to work properly. Am I doing something wrong?
I don't have problems with profiles in other addons. On my main, I have her name specific profile active. My alts have each of their own name specific profiles selected. When I make a change on my main, such as deleting a panel, that panel is gone when I switch toons. I've double checked their profiles, tried many different things over the months to try to work around it, but I can't seem to figure out what the problem is.
I had this same problem, till I figured out what I was doing.
With each profile, you need to make sure you assign it a different "layout" under one of the top dropdown menus. Bingo :).
correct, a your profile only indicates which layout you are using. This was done explicitly so you could adjust a layout and every character using that layout got the same one.
I've read all of the 30 pages. (perhaps wtih not all my attention)
but I don't find the script I want, or at least, someting that help me.
I want to assign the focus of my target, when I left clic on a panel.
And, if possible, when I right clic on another panel, remove my focus.
This panel are on my pitbullframes, and I want to keep my right clic menu for my target.
I'm a newbie in lua, and with all the API presented in the wowwiki,
I'm a bit lose :(
Hello
i've been trying to script my kgpanels all day today, but it did not work for me. I've Been using code posted on this thread but could not get it work for me, so i decided to ask for help.
So here it goes:
local rmems = GetNumRaidMembers()
self:Hide()
if (rmems > 0 and rmems < 11) then
self:SetWidth(15)
self:Show()
end
if (rmems > 0 and rmems < 26) then
self:SetWidth(278)
self:Show()
end
if (rmems > 0 and rmems < 41) then
self:SetWidth(398)
self:Show()
end
here i tried to make a panel to become visible adjust it's size when i join raid (only) groups of different sizes (i'm using Grid). It becomes visible when i join raid, but it does not resize - it is always of the same default size i set before starting scripting on it. I cannot see the flaw in my code.
And third thing is that i have a hunter as one of my chars, and i want his pet bar to have a separate panel that is only visible for a hunter, but is on the same layout (using Bartender4 here). I created it, set it invisible, but now cannot make it appear when i log on my hunter.
Seems this is all for now. Waiting for your answers.
if (rmems > 0 and rmems < 11) then
self:SetWidth(15)
self:Show()
end
if (rmems > 0 and rmems < 26) then
self:SetWidth(278)
self:Show()
end
if (rmems > 0 and rmems < 41) then
self:SetWidth(398)
self:Show()
end
The last if statement will always be true as there are always between 1 and 40 members in your raid,
same with the middle one until there are 26 people...
Therefore it will set your panel to 398 no matter how many members the raid has.
If the rest is right it should work like this:
local rmems = GetNumRaidMembers()
self:Hide()
if (rmems > 0 and rmems < 11) then
self:SetWidth(15)
self:Show()
end
if (rmems > 10 and rmems < 26) then
self:SetWidth(278)
self:Show()
end
if (rmems > 25 and rmems < 41) then
self:SetWidth(398)
self:Show()
end
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
LibSharedMedia lists this as the path to the tooltip background
and this as the path to the tooltip border
Both are correct, and it doesn't matter that they have the same name, as one is registered as a border and one is registered as a background.
So, unless Otto has some other mod that's trying to register the tooltip background to SharedMedia with the path to the border (which doesn't necessarily have to be a SharedMedia-blah addon), then it may be an issue with kgPanels fetching the tables from LSM.
Summary of what Im looking for, If I am casting(Any caster bar for myself is active), than I want this KG Panel to be Showing, if I am not casting(no cast bar showing at all), than I want my KG Panel to be on Hide.
Thank You, I would appreciate any help from you guys.
Works great! Thanx!
Wouldnt/Dosent Parenting only refer to positioning, I need the texture to Hide and Show depending on if the Cast bar is in use, as it is right now, the texture achors correctly, however its always show and has no Hide/Show relations, its just taking positioning.
parents tell it what to do.
Get the 2 following error messages
*EDIT*
I'm getting a similar prob with Bartender, guess its another mod interfering maybe? I'll try figure out which one.
I don't have problems with profiles in other addons. On my main, I have her name specific profile active. My alts have each of their own name specific profiles selected. When I make a change on my main, such as deleting a panel, that panel is gone when I switch toons. I've double checked their profiles, tried many different things over the months to try to work around it, but I can't seem to figure out what the problem is.
I had this same problem, till I figured out what I was doing.
With each profile, you need to make sure you assign it a different "layout" under one of the top dropdown menus. Bingo :).
I've read all of the 30 pages. (perhaps wtih not all my attention)
but I don't find the script I want, or at least, someting that help me.
I want to assign the focus of my target, when I left clic on a panel.
And, if possible, when I right clic on another panel, remove my focus.
This panel are on my pitbullframes, and I want to keep my right clic menu for my target.
I'm a newbie in lua, and with all the API presented in the wowwiki,
I'm a bit lose :(
With this in mind. I can' forgive this idea that make me mad for about 3 days. XD
By the way,
very nice addon,
since DART, i've abandonned, to have a sweet UI.
Thanks to offer your time, for our.
bump. thx
The last if statement will always be true as there are always between 1 and 40 members in your raid,
same with the middle one until there are 26 people...
Therefore it will set your panel to 398 no matter how many members the raid has.
If the rest is right it should work like this: