Ive added a print message if a texture fails to load that should help debug/solve what the problem is, i myself havent had the issue so trying to recreate
I tried out this addon the other day but I was disappointed when I wasn't able to find any 'global' settings -- things I could change to affect all panels at once. eePanels has this, and I use a layout with a lot of identical panels, so I had to fall back to eePanels.
I messed with converting my eePanels over yesterday and found some things that could be bugs.
Key binding:
You mention in the FAQ's and on posts that theres an option to set the keybinding for for the frame name finder. I could not find that darn option anywhere in the config screens or in the command line listing.
Scripts not saving:
Also several times when working with scripts I had trouble with the scripts saving changes. I would type info, press accept, and then click on something else and come back to the "changed" script and it would have reverted (changes not made). Didn't matter if it was a small change, large change or a copy paste. frustrating thing was that it wasn't everytime. Tried clearing saved variables and re-installing but it persisted.
Copy Paste:
I found that when copy and pasting and using the "all" selection, not all gets copied (scripts won't for instance, but would if I specifically selected "scripts"). Also once pasted the panel pasted into would not update many of the options in config. In other words the background color showed as green even though I just pasted a white bg color into the panel (and the panel actually turned white).
Other Config Fields not Changing:
I found if I dragged an unlocked panel to a new location, the coords in the config panel would not update.
Most of these seem similar (inability for config to update) but broke them out for clarity.
Version was latest as of yesterday noon (ET). Let me know if you need more info or I've missed something obvious.
the keybinding is a little wonky to get started. you have to load the config screen up (the key binding is defined in the config mod), then go to the blizz main menu -> keybindings and should be at the bottom of the list.
Scripts not saving, yeah its all ace3options dialog for that ive noticed it as well, its random, somethign to do with cursor position.
The coords should update now while your dragging.
The other config bugs should be fixed as well, plus i fixed a bug with rename
I basically like the addon - although eePanels fit me well :)..
I have been looking around for some scripts.. especially one.. a resizing script..
I use 2 eePanels for each chat.
Example for my one chat called socialchat:
socialchat; This is parrented to ChatFrame1
meta_socialchat; This is parrented to socialchat panel
I used to have a script that hooked my socialchat panel to ChatFrame1 and resized the panel when the panel was folded with MiniChat.
I have been looking through some this and the beta kgpanel post.. but the scripts i found have not been working or responding at all.
I also checked the wowace wiki for kgpanels.. but there's nothing yet.
can anyone post some scripts and tell me very clearly how to do this? :) ... i'm a real gimp at these scripts :S
if not self.resized then
ChatFrame1:SetScript("OnSizeChanged", function(f)
self:SetWidth(f:GetWidth())
self:SetHeight(f:GetHeight())
end)
self:SetWidth(ChatFrame1:GetWidth())
self:SetHeight(ChatFrame1:GetHeight())
end
For meta_socialchat;
Same OnLoad script
For the OnUpdate
if not self.resized then
local cf = kgPanels:FetchFrame("socialchat")
if cf then
cf:SetScript("OnSizeChanged", function(f)
self:SetWidth(f:GetWidth())
self:SetHeight(f:GetHeight())
end)
self:SetWidth(cf:GetWidth())
self:SetHeight(cf:GetHeight())
end
end
What this script does:
In OnlLoad we create a variable for the frame called resized, and set it to false
In OnUpdate we check that
1. We havent resized yet
2. The the frame we are trying to resize to exists
Once this check is passed, we set the OnSizechanged script to call back to this frame an adjust according to the other frame, please NOTE this doesnt have to be the parent or the anchor. We use OnUpdate since it is called often and kgPanels may be loaded before the frame you are trying to hook exists yet.
Is there a code out there, that I can show or let it popup a specific texture during a fight depanding on a buff or debuff a unit like party/target/focus get?
Hellslayer: nope, thats an excersize let to the user
Kazie: it works for me, i dont know what/how you trying to do. Pareting to pitbull frames is flaky since Pitbull recycles frames.
One other thing is the general confusion on parenting and anchoring. Only set it to a parent if you need it to HIDE/SHOW/SCALE or share ALPHA with the other frame. Otherwise you can parent to the UIParent and just ANCHOR to the frame you want.
I have no idea about scripting so i was wonderign if i could get some help with an idea i have.
Ok in my UI i have created a panel for my Minimap. Now wat i would like to do is have my minimap show when i dont have anything targeted, but when i have something targeted, i would like the frame to hide my minimape and have the tragets picture shown. I am not sure if i will need 2 seperate panels, one for the minimap, and one for the target picture, but im sure i could work that part out, what i would like to know is who to make the script so minimap will hide when i have something targeted and show my traget/ and then go back to my minimap when not targeting anything please.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
just set the scripts on your 3rd and 4th panels
I shoud have read before
Thank you
Any plans to add global panel options?
I messed with converting my eePanels over yesterday and found some things that could be bugs.
Key binding:
You mention in the FAQ's and on posts that theres an option to set the keybinding for for the frame name finder. I could not find that darn option anywhere in the config screens or in the command line listing.
Scripts not saving:
Also several times when working with scripts I had trouble with the scripts saving changes. I would type info, press accept, and then click on something else and come back to the "changed" script and it would have reverted (changes not made). Didn't matter if it was a small change, large change or a copy paste. frustrating thing was that it wasn't everytime. Tried clearing saved variables and re-installing but it persisted.
Copy Paste:
I found that when copy and pasting and using the "all" selection, not all gets copied (scripts won't for instance, but would if I specifically selected "scripts"). Also once pasted the panel pasted into would not update many of the options in config. In other words the background color showed as green even though I just pasted a white bg color into the panel (and the panel actually turned white).
Other Config Fields not Changing:
I found if I dragged an unlocked panel to a new location, the coords in the config panel would not update.
Most of these seem similar (inability for config to update) but broke them out for clarity.
Version was latest as of yesterday noon (ET). Let me know if you need more info or I've missed something obvious.
-Z-
Scripts not saving, yeah its all ace3options dialog for that ive noticed it as well, its random, somethign to do with cursor position.
The coords should update now while your dragging.
The other config bugs should be fixed as well, plus i fixed a bug with rename
I have been looking around for some scripts.. especially one.. a resizing script..
I use 2 eePanels for each chat.
Example for my one chat called socialchat:
socialchat; This is parrented to ChatFrame1
meta_socialchat; This is parrented to socialchat panel
I used to have a script that hooked my socialchat panel to ChatFrame1 and resized the panel when the panel was folded with MiniChat.
I have been looking through some this and the beta kgpanel post.. but the scripts i found have not been working or responding at all.
I also checked the wowace wiki for kgpanels.. but there's nothing yet.
can anyone post some scripts and tell me very clearly how to do this? :) ... i'm a real gimp at these scripts :S
Thx in advance.
For OnLoad
Code:
For OnUpdate
Code:
For meta_socialchat;
Same OnLoad script
For the OnUpdate
What this script does:
In OnlLoad we create a variable for the frame called resized, and set it to false
In OnUpdate we check that
1. We havent resized yet
2. The the frame we are trying to resize to exists
Once this check is passed, we set the OnSizechanged script to call back to this frame an adjust according to the other frame, please NOTE this doesnt have to be the parent or the anchor. We use OnUpdate since it is called often and kgPanels may be loaded before the frame you are trying to hook exists yet.
I don't know if it's a bug or conflict or whatever..
But i have parrented a panel to BT3Bar1 - And everytime i relog/reloadui it resizes to something like 2x2 pixels, with the right values.
if i then selected either hight or width and press enter it resizes again.
How do i fix this if it's not a bug? :s
what are you selecting here?
The problem has occured several times today now..
The thing is that, when i parrent a panel to certain frames the panel simply fills the whole screen or it's VERY much smaller than supposed to be.
So far it happens when i parrent, Bartender/pitbull/fuber frames and other KgPanels.
Kazie: it works for me, i dont know what/how you trying to do. Pareting to pitbull frames is flaky since Pitbull recycles frames.
One other thing is the general confusion on parenting and anchoring. Only set it to a parent if you need it to HIDE/SHOW/SCALE or share ALPHA with the other frame. Otherwise you can parent to the UIParent and just ANCHOR to the frame you want.
Ok in my UI i have created a panel for my Minimap. Now wat i would like to do is have my minimap show when i dont have anything targeted, but when i have something targeted, i would like the frame to hide my minimape and have the tragets picture shown. I am not sure if i will need 2 seperate panels, one for the minimap, and one for the target picture, but im sure i could work that part out, what i would like to know is who to make the script so minimap will hide when i have something targeted and show my traget/ and then go back to my minimap when not targeting anything please.