• 0

    posted a message on Kgpanels code troubleshooting help needed.

    Hello.

    Hope this is the right place for it.

    A few years back i wanted Kgpanels showing depending on different raid sizes.

    I never really got it to work, but now i would really like to have it fixed. (i did not make this myself originally but i fiddled with it and now it don't work no more.. XD)

     

    I get really confused with these "functions" like equal to or greater and lesser and such, so was hoping someone could look over the code, and change it so it does what i want it to do.

     


    KGpanel #1 - 40 man raiding frame, should only show if there are more than 21 people in the raid, otherwise hide.

    OnLoad:
     self:RegisterEvent("PLAYER_ENTERING_WORLD")
     self:RegisterEvent("PARTY_MEMBERS_CHANGED")
     self:RegisterEvent("RAID_ROSTER_UPDATE")

    OnEvent:
    local pmems = GetNumGroupMembers()

    local rmems = GetNumGroupMembers()
     
     if (pmems > 6 and rmems > 6) or (pmems > 0 and pmems > 6 and rmems > 21)
    then

        self:Show()
     
    else
        
        self:Hide()
     end

    KGpanel #2 - 20 man raiding frame, should only show if number of people in raid is 6-20 people.

    OnLoad:
     self:RegisterEvent("PLAYER_ENTERING_WORLD")
     self:RegisterEvent("PARTY_MEMBERS_CHANGED")
     self:RegisterEvent("RAID_ROSTER_UPDATE")

    OnEvent:
    local pmems = GetNumGroupMembers()

    local rmems = GetNumGroupMembers()
     

     if (pmems > 6 and rmems > 6) or (pmems > 0 and pmems > 6 and rmems < 20)
    then

        self:Show()
     
    else
        
        self:Hide()
     end


    KGpanel #3 - 1 to 5-man, This should be visible when there are 1-5 people in a PARTY, and it is not a RAID. If it is a RAID, it should not show this, and instead show the either of the two above.

    OnLoad:
     self:RegisterEvent("PLAYER_ENTERING_WORLD")
     self:RegisterEvent("PARTY_MEMBERS_CHANGED")
     self:RegisterEvent("RAID_ROSTER_UPDATE")

    OnEvent:
    local pmems = GetNumGroupMembers()

    local rmems = GetNumGroupMembers()
     

     if (pmems > 1 and rmems > 1) or (pmems < 5 and pmems < 5 and rmems < 5)
    then

        self:Show()
     
    else
        
        self:Hide()
     end

     

     

    Hope someone can help getting this right. Thank you! :)

     

    Best Regards

     

    Boof,

    Hellfire, EU

    [email protected]

    Posted in: AddOn HELP!
  • 0

    posted a message on ElkBuffBars v2 (finally Ace3 version)
    I know u may have studdies..but is there any changes or updates coming to this addon?..its one of my favourites..but from time to time it yells LUA errors because it still rely on ACE2 which is very dodgy with 4.3.... :(

    Love this addon, hope it remains forever
    Posted in: General AddOns
  • 0

    posted a message on Grid
    http://stage6.divx.com/user/Bufe/video/1516071/GRID-and-CLIQUE

    :)

    Just finnished it today..


    Bufe
    Posted in: Grid & Grid2
  • 0

    posted a message on How can i give GRID the looks of HEALBOT?
    Instead of being such a smartass...you could assume i just did that..which i did. And there is zero info about it.
    OR!..the search engine sux..because it did not bring up any posts ever made to this forum that handled the question.

    - I read the sticky, nothing,
    - i used the search box, nothing
    - I found the grid tread nothing

    I dont enjoy poluting forums...but if you have to be so impolite, then i will be impolite back, and tell you to
    maybe come with some advise on the question at hand, or go help use a search engine if you are so smart that u can
    find it...

    I really did not expect to find an answer so unhelpfull on this forum.

    Bufe
    Posted in: Grid & Grid2
  • 0

    posted a message on How can i give GRID the looks of HEALBOT?
    In healbot you have an option to set a starting colour, a middle colour, and an full healbar colour...

    i have it set to red for low health, yellow for middle health, and green for full health...

    as people take damage...the bars change colour.

    I wanna start using GRID, but i am to dependant on the colours so i will not switch away from healbot
    unless i can find a way to give GRID healbot looks.



    This is an image showing how the bars change colour when people take damage...

    I want that to be the same for GRID...

    anyone know if there is a plugin, or anyone wanna make a plugin?

    i just so frikking hate that single brownish colour of GRID..its frikking ugly...

    Please...need to know...if its possible to make grid look and show healtbars like healbot.

    Bufe
    Posted in: Grid & Grid2
  • To post a comment, please or register a new account.