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

    posted a message on eePanels2 - Official Thread
    There isn't really a shorter way, but this would probably use less resources:

    local buffs = 1, onlyShowCastableBuffs = false;
    local buff,_,_,_,_,_ = UnitBuff("player", buffs, onlyShowCastableBuffs);
    while buff do
     buffs = buffs + 1;
     buff,_,_,_,_,_ = UnitBuff("player", buffs, onlyShowCastableBuffs);
    end
    buffs = buffs - 1;
    -- 'buffs' should now contain the number of buffs on the player

    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    It's been answered before, but the short answer is no.
    Posted in: General AddOns
  • 0

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

    I use the above posted script to hide my party panels when theres no party. This works great most times but when I'm in BG they show up, not in a regular raid though. Anyone know whats wrong or maybe what I should add to the script to make em hide properly?


    Check the script wiki (link on first page).
    Posted in: General AddOns
  • 0

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

    ... could it be like you explained with quartz earlier that the party frames are first created when they are needed and thus i cant anchor to them?


    Yes, this looks like it's your problem. Plus, the script is attached to a create-on-demand frame, so I think (can't remember, too tired to check) that the script isn't ever being called either. You could easily test that by putting "eePanels2:print("script called") at the very top of the script, but it won't help you too much.
    Posted in: General AddOns
  • 0

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

    script is now only in panel #25, still when joining or creating a party, it doesn't make the panels appear, they still require a /rl :(


    Double-check all your panels; make sure none of them have scripts (if they aren't supposed to). If any of them do have a script, make sure none of them are listening for the PARTY_MEMBERS_CHANGED event. Do a reload afterwards and try again. I'm pretty sure your problem lies here somewhere.

    If you're having problems after that, attach your eePanels2.lua file from your SavedVariables folder, and I'll look over it (no promises).
    Posted in: General AddOns
  • 0

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

    I am fairly new too eepanels 2, trying to figure out how to find anchors to add-ons. Like I see some Ui's with Omen attached to the panel. I want to try an do this with recount. How do I find the frames I need to anchor with?


    The macro is in the wiki:
    /print GetMouseFocus():GetName()

    Put it in a macro and use it when your mouse is over a frame to find its name (if it has one).



    Quote from injektion123 »

    yeh i jsut tried that.. it works and /rl .. then it disappears =/ so it wont stay
    any suggestions?


    It doesn't sound like this will help, but you can try: open up the eePanels2.toc file in the eePanels2 addon folder, and add Quartz to the list of OptionalDeps field. That'll make sure quartz loads before eePanels.

    Do a /reload and then immediate use that macro I gave you (before you cast any spells). If it says it doesn't exist, try casting a spell. If it then says it does exist, the problem is that the quartz frame isn't created until it's first needed, and thus you really can't parent to it.
    Posted in: General AddOns
  • 0

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

    it is, the entire script is in the highest panel, all other panels also have the script, but minus the last couple of lines. Dunno if thats how it should be done :S


    No, the script should only be in the last panel; none of the others. But I'm not sure that would keep it from working. Post again once you've corrected it.
    Posted in: General AddOns
  • 0

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

    Ok, i added those lines to the last panel that needs to be hidden/shown etc. by the script (that would be the party member 4 target frame, in the cluster), code is identical to the one i posted before just that the four lines are now in the last panel (the one with the highest number) used in the script... still doesn't work thou :(


    No, the entire script that you posted should be in eePanel25 or higher. All of it.
    Posted in: General AddOns
  • 0

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

    I think he just created those two frames for the cast bars. AFAIK, there is no frame name for the Quartz cast bar, and has been the subject of numerous posts.


    I thought that was the QuartzMirrorBar. This post suggest that they are named: http://www.wowace.com/forums/index.php?topic=8139.msg139337;topicseen#msg139337

    You could be right though, I haven't had time to play in weeks, and I haven't been keeping up-to-date.




    Quote from Roath »

    EDIT
    Just to mention, the last 4 lines or so is only present in the first panel with the script, like the comment says it shouldn't be in more than one script


    There's your problem. The script needs to be in the last panel referenced - or a panel with a number higher than the last panel referenced - by the script so that it will work.
    Posted in: General AddOns
  • 0

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

    hi ive been using eepanels2 for quiet a long time and it hasnt bothered me till now ..
    the issue is that i created 2 panels for 'quartz' .. one for target cast bar and another for player cast bar
    ive anchor/parent for both target and player ..but the problem is the target panel anchors the target casting bar whilst the player panel doesnt
    and pops up with the 'validation error'.
    ive been using the same commands for anchor/parent for months which are 'quartztargetbar' and 'quartzcastbar'
    is there a possible solution to my problem?
    thanks



    Hrm. It's just started to give you trouble after a few months? It's possible - though unlikely - that quartz was updated and somebody removed the frame name. You could probably do something like this to make sure the frame exists in-game:
    /script local qcb = getglobal("QuartzCastBar") or null; if gcb then eePanels2:print("It Exists") else eePanels2:print("DOESN'T Exist") end


    You might want to use "QuartzCastBar" as the name though. I can't remember if it's case-sensitive, but best to err on the side of caution. Try setting the anchor/parent back to UIParent, do a /reload, then change it back to QuartzCastBar and see if that helps.
    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    Yes, you need to put everything into one script.

    It's fairly simple, just like the last few examples show:
    1) make sure the script is in the last eePanel you use
    2) instead of using 'THIS:SetBackdropBorderColor(etc,etc)' for just one panel, you put in 'eePanel1:SetBackdropBorderColor(blah)', 'eePanel2:SetBackdropBorderColor(blah)', and so on for each panel you want to affect.
    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    Log out of WoW, Go into your saved variables folder, and delete your eePanels2.lua file

    The default location is:
    C:\Program Files\World of Warcraft\WTF\Account\YOUR_ACCOUNT_NAME\SavedVariables\
    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    In order to determine a bug, I would need specific instructions on how to duplicate the bug. Your best bet is to do a reset and relog, then redo your layout. It doesn't sound like you've done anything interesting with it yet, so it shouldn't matter.
    Posted in: General AddOns
  • 0

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

    Now, I want the target of target border color to changed based on class too but apparantly theres no event for target of target change (like "TARGET_TARGET_CHANGED"). Anyone know how I would go about doing this?


    http://www.wowwiki.com/Events_(API)
    Try using UNIT_TARGET


    Quote from avazza »

    Also, how would I change my party frame borders color? I'm a complete noob at .lua :)


    Depends completely on the unit frames you're using (stock, pitbull, etc). This is a better question for your unit frame forum thread, or the general code help forum.
    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    This should work:
    button = getglobal("BongosActionButton"..trade1);
    button:Foo(param)
    Posted in: General AddOns
  • To post a comment, please or register a new account.