CurseForge and Overwolf are joining forces!
Awesome More Information
  • 0

    posted a message on eePanels2 - Official Thread
    Quote from Fengor1 »

    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

    eePanels2:RegisterEvent("PLAYER_ENTERING_WORLD", eePanels2.eePanel5_FrameVisibility)
    eePanels2:RegisterEvent("PARTY_MEMBERS_CHANGED", eePanels2.eePanel5_FrameVisibility)


    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.
    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    Heh, I was just looking for syntax errors.
    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    Quote from Civrock »

    I tried this with several variations now but I can't seem to get this to work. What exactly do I need to do?

    Here's one version I tried:

    -- Hide the panel so it's not shown until we want it to
    eePanel4:Hide()
    eePanel6:Hide()
    -- Change our panel's visibility when in/out of a raid
    function eePanels2:RaidPanelVisibility(self, event, ...)
      -- If we're in a raid
      if GetNumPartyMembers() > 4 or GetNumRaidMembers() > 0 then
        -- Show the panel this script is attached to
        eePanel4:Hide()
        eePanel6:Hide()
      -- If we're not in a raid
      else
        -- Hide the panel this script is attached to
        eePanel4:Hide()
        eePanel6: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)




    That looks OK to me. The script is in eePanel6 or greater, yes? You don't have any other scripts registering events for PLAYER_ENTERING_WORLD, PARTY_MEMBERS_CHANGED, or RAID_ROSTER_UPDATE do you?




    Quote from FatalShot »

    Just a quick question, I was trying to setup an eePanel for the Quartz Mirror Bar, but I can not seem to find the name of the frame to set for the Parent and Anchor in panel options. Any help would be appreciated thanks in advance.


    Search is your friend: http://www.wowace.com/forums/index.php?topic=8139.msg139337#msg139337

    Edit: oops, it doesn't say what the mirror bar name is. I'd guess it's QuartzMirrorBar though.
    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    Quote from dnz »

    Thanks for the reply, but it's like 70% of the borders who are affected by this. Some are still the way they were earlier.
    Could it be any video options?


    Possibly, but I'd look elsewhere first. I really haven't noticed any differences on in my borders. Sorry I can't be of more help.
    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    Quote from Civrock »

    Is it possible to change which side gradients start on? I mean, right now it seems to be only bottom->top and left->right, unless I overlooked an option somehow.


    Just swap the color & alpha with the background color & alpha.



    Quote from dnz »

    Ever since the 2.3 patch I've had these strange borders on all my layers.

    If you look at this picture:


    you'll see that the bottom part is as it should be, solid. The left side and upper side now has some strange border which ruins my layout (since I've got several layers ontop and close to eachother).

    I've tried to recreate the layers with the hope of getting the borders to be solid again, but no luck.

    Any suggestion to get all sides solid and without the 1px transparent border would be welcome :)


    If something did change, then it was probably the WoW API, which I don't have control over. You could try making a post on the WoW UI forum asking if anything was changed with the way borders display for frames; see if you get a blue response.



    Quote from Revive »

    hello, my english is bad but i try to explain my problem

    i make 2 layer hidden and normal pannel, the normal pannel is now over my chatwindow!
    i try to make it like the screenshoot
    http://img211.imageshack.us/img211/6051/wowscrnshot111107215452hs7.jpg
    an its shows like this
    http://www.exelite.de/eepannel.jpg


    Make sure the panel's Strata is set to Background, and that the Level is set to 0. If you still have a problem, turn on Advanced Mode, and make a script for the panel. Put this code in it:
    ChatFrame1:SetFrameLevel(20);
    ChatFrame1:SetFrameLevel(20);
    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    Quote from Shaboom »

    It only ever occurs once I've reset a profile. I then create a new panel from either default or global settings and bugsack shows the error mentioned above with the same problems; unable to modify the panel in any way, mainly because I get no sub-menu to do so.


    Thanks for the info. I'll look into it.
    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    You need to change all your single equal signs to double equal signs

    if GetShapeShiftForm() == 0 then



    Your first SetGradient is missing the closing parenthesis
    eePanels2.db.profile.panel1.background.frame:SetGradientAlpha("VERTICAL",0,1,0,1,1,1,1,0)

    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    I really wish I knew how to reproduce this error, as it seems to happen a bit to people. Somehow the background color in your saved file database is missing, thus causing the error. If you know what panel is messing things up, just do a /script eePanels2:RemovePanel(PANEL_NUMBER_HERE)

    Otherwise, you're going to need to delete your eePanels2.lua file in your saved variables file.
    Posted in: General AddOns
  • 0

    posted a message on Best addons not found on wowace.com
    SAS seems to be working fine.
    Posted in: General Chat
  • 0

    posted a message on Best addons not found on wowace.com
    Simple Action Sets is nice. (good luck getting that page to load today)

    Great for when you change specs, and want a different layout. It's really useful if you want to use someone else's account, since you can instantly change their actionbar settings. Just hope that the other person has the mod too, or they might be miffed off :)
    Posted in: General Chat
  • 0

    posted a message on eePanels2 - Official Thread
    Quote from Vuurmeester »


    Can the addon only listen to 1 event period or just once to each event with the same name?



    1 event of the same name.
    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    Your omen script looks fine. I would suggest you go back over all your panels, and double check the parent/anchor for each one, as well as all scripts.

    If you still have a problem, you'll need to attach your eePanels2.lua from your saved variables.
    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    Quote from Totenkopf »

    Hi,

    I'm a noob when it comes to scripting and LUA, so this may be something very simple...

    I've adapted the "Show if Target is Elite" script to my eepanel (#1) so that an Elite Dragon appears around my PitBull target, but I can't get it to work the way that I want it to: the dragon does not appear. If I remove the script then the dragon appears whenever I target a unit, so I presume that that is an indication that I have the parenting appropriately configured. Of course, I've exited the game and re-invoked whenever a change has been made, just to be on the safe side. I've also enabled Blizz Target Unit Frame, so that I can use the Blizz Target to verify that I am, in fact, targeting an elite.

    Both Parent and Anchor are set to PitBullUnitFrame4.

    Here is the script: the only modification I've made is changing eepanel4 to eepanel1.

    ----------------------

    function eePanels2:PLAYER_TARGET_CHANGED()
    local isElite = UnitIsPlusMob("target")
    if (isElite) then
    eePanel1:Show()
    else
    eePanel1:Hide()
    end
    end

    eePanels2:RegisterEvent("PLAYER_TARGET_CHANGED")

    ----------------------

    Thanks for your help.


    The script looks ok. Do you have any other scripts which use the PLAYER_TARGET_CHANGED event? If you do, that's the problem. An addon (eePanels2 in this case) can only listen to an event once. If possible, combine your scripts. Otherwise, I can probably give you another solution.

    It's also possible that lua doesn't like your IF statement. If the script wasn't working at all, I would think it would always be shown, not always hidden. I'm wondering if the IF check isn't always failing, causing it to be hidden. You can try using this script and see what happens (delete your old script first, do a /reload, then add this one just to be safe):

    function eePanels2:PLAYER_TARGET_CHANGED()
      if UnitIsPlusMob("target") == 1 then
        eePanel1:Show()
      else
        eePanel1:Hide()
      end
    end
    
    eePanels2:RegisterEvent("PLAYER_TARGET_CHANGED")


    You also need to double-check the type of mobs you're targeting. World bosses might not be considered elite by this script, and maybe not rare-elites either. You can do a /print UnitIsPlusMob("target") to see what the output should be.

    You can also try using the UnitClassification("target") function. See this post: http://www.wowace.com/forums/index.php?topic=8139.msg144909#msg144909
    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    What Seerah said.

    Your options now become fairly limited, because it's going to take some programming in order to do what you want.

    One possible option is to go back to parenting the bongo action bar, include Bongos2 in your eePanels2.toc OptDeps field, and then create a script which changes the level of the bongo action bar so it's above your eePanel.
    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    Quote from coquis156 »

    Hello.

    I am using Bongos as my action bar mod. The problem I am having is that when I place a panel behind my action bar, to act as a background, the next time I login the panel will be in front of the action bar. I have set the level to "0" and the strata to "Background" and this keeps happening.

    Additionally, I know that I am not the only one experiencing these problems, several others have posted. However, I have gone back through all the posts and could not find an answer to the problem. Additionally, in the last page, I believe that Elvis makes reference to some code to set the action bar to a different level, but I have not seen such a code.

    I just can't figure out why the panel won't stay behind the action bar. If anyone can help, I'd much appreciate it. Or if somehow I missed a post where I could find the answer, I'd be interested in knowing.

    Thank you.


    Bongos2 action bars are on the "Medium" strata, which is 2 levels above "Background" strata. Since it's on a higher strata, level will not affect anything.

    If the eePanel was actually on the Background strata - and your bongos action bars are on the medium strata - there's no way they could conflict.

    So, there's 2 possible problems:
    1) Your eePanel is parented to something (maybe the bongo action bar) which is on the Medium strata. Parented frames always inherit their parents strata, thus you will always have a conflict. You could set the parent back to UIParent, and only set the Anchor. This would let the panel keep it's background strata, and not overlap.

    2) Your bongo action bar isn't on the medium strata, as it should be. Maybe you have an older version, and that version has the bars on the Background strata. Or maybe you have something that's modified the strata. Try upgrading bongos. You may need to delete your bongos2.lua saved variable file (back it up first).
    Posted in: General AddOns
  • To post a comment, please or register a new account.