Page 102 of 111 FirstFirst ... 25292100101102103104 ... LastLast
Results 1,011 to 1,020 of 1109

Thread: WeakAuras Tutoring Thread

  1. #1011

    Default

    My Legendary Ring buff tracking weakaura only worked when I hit it, not when Rhokk did even though I'm pretty sure the aura had the same name and #. D:

  2. #1012

    Default

    Can anyone explain why my WA icons stop displaying at all if I set the icons to only "load in combat"? Many of the icons do show up since they dont use my custom function, but every one of them that does, just wont show up.

    WA String: http://pastebin.com/CzYZfTGbost-weakauras/

    Main custom function that handles rules:

    Code:
    function(event,...)     
         -- Get amount of runes available - returns 0 for cd and 1 for ready
        local blood1count  = GetRuneCount(1)
        local blood2count  = GetRuneCount(2)
        local frost1count  = GetRuneCount(5)
        local frost2count  = GetRuneCount(6)
        local unholy1count = GetRuneCount(3)
        local unholy2count = GetRuneCount(4)
        
        -- Get rune types (regular or death) - returns 1-4 where 4 is death
        local blood1type  = GetRuneType(1)
        local blood2type  = GetRuneType(2)
        local frost1type  = GetRuneType(5)
        local frost2type  = GetRuneType(6)
        local unholy1type = GetRuneType(3)
        local unholy2type = GetRuneType(4)
        
        -- Amount of runes unusable
        local oncdcount      = 0
        local bloodoncd      = 0
        local frostoncd      = 0
        local unholyoncd     = 0
        local deathavailable = 0
        local unholycap      = 0
        
        -- Init Globals
        REDS_WA_RUNESONCD = 0
        REDS_WA_BLOODONCD = 0
        REDS_WA_FROSTONCD = 0
        REDS_WA_UNHOLYONCD = 0
        REDS_WA_DEATHSAVAILABLE = 0
    
        -- Rune cd and state conditionals x6
        if blood1count == 1 then        
            deathavailable = deathavailable + 1                      
        else
            bloodoncd = bloodoncd + 1
            oncdcount = oncdcount + 1
        end
        
        if blood2count == 1 then
            deathavailable = deathavailable + 1           
        else
            bloodoncd = bloodoncd + 1
            oncdcount = oncdcount + 1
        end
        
        if frost1count == 1 then
            if frost1type == 4 then
                REDS_runes[3] = { runetype = 'death', runestate = 'up' }
                deathavailable = deathavailable + 1
            end
        else
            frostoncd = frostoncd + 1
            oncdcount = oncdcount + 1
        end
        
        if frost2count == 1 then
            if frost2type == 4 then
                deathavailable = deathavailable + 1
            end
        else
            frostoncd = frostoncd + 1
            oncdcount = oncdcount + 1
        end
        
        if unholy1count == 1 then
            if (unholy1type == 4) then
                deathavailable = deathavailable + 1
            else
                unholycap = unholycap + 1
            end
        else
            unholyoncd = unholyoncd + 1
            oncdcount  = oncdcount + 1
        end
        
        if unholy2count == 1 then
            if (unholy2type == 4) then
                deathavailable = deathavailable + 1
            else
                unholycap = unholycap + 1
            end
        else
            unholyoncd = unholyoncd + 1
            oncdcount  = oncdcount + 1
        end
        
        if unholycap == 2 then
            REDS_WA_CAPPED = true
        else
            REDS_WA_CAPPED = false
        end
        
        -- Actual values to globals
        REDS_WA_RUNESONCD = oncdcount
        REDS_WA_BLOODONCD = bloodoncd
        REDS_WA_FROSTONCD = frostoncd
        REDS_WA_UNHOLYONCD = unholyoncd
        REDS_WA_DEATHSAVAILABLE = deathavailable
    
        -- Tell triggers that variables are updated
        WeakAuras.ScanEvents("WA_REDS_DW_UPDATE")
        return true   
    end
    Then an example oficon display that has triggers like this:

    Code:
    function()
        if REDS_WA_RUNESONCD > 0 then
            return true
        end
    end
    And the event they listen to is:
    Code:
    WA_REDS_DW_UPDATE
    which I trigger from the main custom function with
    Code:
    WeakAuras.ScanEvents("WA_REDS_DW_UPDATE")
    How it looks when its working: https://youtu.be/M29_c3LJ7iI

  3. #1013

    Default

    Quote Originally Posted by Arrawh View Post
    Is there a way to make an aura showing who triggered Legendary Ring proc?
    Here's what I made for tracking all 3. Currently says who triggers DPS ring.

    Code:
    dCKFjaGiK6sQKYOqItHKMLQKBPaTlQYVOQQQHPsDmvHLrvLNPkLMgLOUgLi2MqvFdryCuv4CQs16uqzEcf6EQkhuLu9qfKjIi6IQe2iQ0hfk1ifkOtQsYkv0mPQk3uOa7ub8tHsgQQuSuvIEQOMQQQRku0BPQQYCPQu3LQQI9IYFrudMCykwScQEmQAYc5YkTzf6ZisJwv0Pfz1uIKxtvrZwk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W6YYlN1vS8YzD1HLJ5ax9to)Ml8N)g665FY5yo0qxCbjVGKSmpXP62S8iHJVsDhLkzVNYyB9feHlvVGow3w7fe5xqKFbDSUT2vKKkMqqqqycbbbLgHow3wd67dI()zpyoehAOEac6yDBnOVpi6bs1ZGXM4qd1dqhRBRb99brhdmMgXHgQEUomHGGGGGGGmebd51XXlY6b6dk2B9NSxkuXecccccccYqemKxhhpdFL4yQEa6dIWLkmHGGGGGGGSgsUIcHlvVGow3w7f0X62AxrsQycbbbTUimHGGGsJqhRBRb99brFr9CdMgXHgQEUomHGGGGGGGmebd51XX75AAqFqXER)K9sHkMqqqqRlctiiiO0i0X62AqFFq0zJJVio0q1Z1HjeeeeeeeKHiyiVooELX5tOpOyV1FYEPqftiiiO1fHjeeeeMqqqqHTicoOkqSycbbbH56IWetmXetmXetmXetmXetmXetmXKL5jov3M8Zu0YY8eNQBZkwU1nrSFwoknoM4jALfSFw2MOvj2pRyflh6TL9ZY2eTkX(zfRyzIZs2TC2aB4SCzARRy)SSnrRsSFwXkwoy4x2plBt0Qe7NvSIvS8y3v5K)Dzd8WYSCu6yTzSixgEFEyzORXZYHL0u39BH1LLt8DhlNCPImF32ABRnInWdw2quD2Wz5uelFzYr6bYpVBw2xXAC8SfJ7GXhVpSK73(GeK4o(hV)(TpyJdA53YYoc7)qIus3WHnWdw2IynoE2IXDqs4dF8WV3TKBlXV3F7JBsepBCqltcwokDS2mwCfF3XYx5QnmA4xFFfF3D8DYXHSLAT0Blyb5qYrkzF8olFkdVppVPNCflp0fd8FXLSILpSSFEp8U9IFq)gK04VVF3qcEwMdBGhw2VhSIXa

  4. #1014

    Default

    Anyone know how I can pull the value from %p or %s and use it as a variable in a custom display trigger?


    -edit:
    Quote Originally Posted by Xellis View Post
    Here's what I made for tracking all 3. Currently says who triggers DPS ring.

    Code:
    dCKFjaGiK6sQKYOqItHKMLQKBPaTlQYVOQQQHPsDmvHLrvLNPkLMgLOUgLi2MqvFdryCuv4CQs16uqzEcf6E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BreCq16RctiiiO1fXYeUkKiL0nW(zzEIt1Tz5rchFL6okuXmSfrWbnAANfZ1fXkwUcjsjDdSFwUSW6YY8eNQBZYrebtL6ow2pwE5SUILhQBpCtb5VoPSmHB5SUILRK9gXY8eNQBtUSW6YYlN1vS8YzD1HLJ5ax9to)Ml8N)g665FY5yo0qxCbjVGKSmpXP62S8iHJVsDhLkzVNYyB9feHlvVGow3w7fe5xqKFbDSUT2vKKkMqqqqycbbbLgHow3wd67dI()zpyoehAOEac6yDBnOVpi6bs1ZGXM4qd1dqhRBRb99brhdmMgXHgQEUomHGGGGGGGmebd51XXlY6b6dk2B9NSxkuXecccccccYqemKxhhpdFL4yQEa6dIWLkmHGGGGGGGSgsUIcHlvVGow3w7f0X62AxrsQycbbbTUimHGGGsJqhRBRb99brFr9CdMgXHgQEUomHGGGGGGGmebd51XX75AAqFqXER)K9sHkMqqqqRlctiiiO0i0X62AqFFq0zJJVio0q1Z1HjeeeeeeeKHiyiVooELX5tOpOyV1FYEPqftiiiO1fHjeeeeMqqqqHTicoOkqSycbbbH56IWetmXetmXetmXetmXetmXetmXKL5jov3M8Zu0YY8eNQBZkwU1nrSFwoknoM4jALfSFw2MOvj2pRyflh6TL9ZY2eTkX(zfRyzIZs2TC2aB4SCzARRy)SSnrRsSFwXkwoy4x2plBt0Qe7NvSIvS8y3v5K)Dzd8WYSCu6yTzSixgEFEyzORXZYHL0u39BH1LLt8DhlNCPImF32ABRnInWdw2quD2Wz5uelFzYr6bYpVBw2xXAC8SfJ7GXhVpSK73(GeK4o(hV)(TpyJdA53YYoc7)qIus3WHnWdw2IynoE2IXDqs4dF8WV3TKBlXV3F7JBsepBCqltcwokDS2mwCfF3XYx5QnmA4xFFfF3D8DYXHSLAT0Blyb5qYrkzF8olFkdVppVPNCflp0fd8FXLSILpSSFEp8U9IFq)gK04VVF3qcEwMdBGhw2VhSIXa

    I like your aura. I had made one similar but only did it for DPS ring. I didn't test my events enough to notice what you had used. Nice!

    Also, I don't know for sure, but I think your aura will show realm names for unit on other realms, which could get annoying to look at. You can use this line to remove realm names before you save it.

    Code:
     local name =  string.gsub(sourceName, "%-[^|]+", "")
    Last edited by Krazyito; 07-26-2015 at 12:08 PM.

  5. #1015

    Default

    Nevermind. A guildy helped me out.
    Last edited by Steakbomb; 07-28-2015 at 08:53 PM.

  6. #1016

    Default

    Quote Originally Posted by Krazyito View Post
    Anyone know how I can pull the value from %p or %s and use it as a variable in a custom display trigger?

    gonna bump this, see if anyone has an idea

  7. #1017

    Default

    Quote Originally Posted by Krazyito View Post
    gonna bump this, see if anyone has an idea
    I would love this aswell... freaking artillery/touch of doom WA drives me crazy:
    1) %n has the correct name, regardless of me using Group or Multi-target
    2) Group has WeakAuras.CurrentUnit to get the scanned unitid in custom code for the distance checks i want to do, but with auto clone enabled, they share an aura_env, so I can't distinguish between mutiple people
    3) Multi target doesnt have CurrentUnit, so there is no way to get the %n into custom code.
    4) Custom code triggers can't be used for auto-cloning...

    there would be like 5 different ways to make this easy and dynamic, but everytime one piece of the puzzle is missing >.<

  8. #1018

    Default

    Quote Originally Posted by Hamsda View Post
    I would love this aswell... freaking artillery/touch of doom WA drives me crazy:
    1) %n has the correct name, regardless of me using Group or Multi-target
    2) Group has WeakAuras.CurrentUnit to get the scanned unitid in custom code for the distance checks i want to do, but with auto clone enabled, they share an aura_env, so I can't distinguish between mutiple people
    3) Multi target doesnt have CurrentUnit, so there is no way to get the %n into custom code.
    4) Custom code triggers can't be used for auto-cloning...

    there would be like 5 different ways to make this easy and dynamic, but everytime one piece of the puzzle is missing >.<
    I had someone answer me in a youtube comment: https://plus.google.com/+LeonSolisIII/posts/cqvvw2xiJbv

    If you want to follow it. Think he may have misunderstood what I asked, or I misunderstood what he said.

  9. #1019

    Default

    Another day, another problem.

    I am trying to put together a WA that starts a countdown timer based on a mob/mobs spawning that repeats over the course of an encounter. In my case, it would be Fel Imps on Mythic Mannoroth in HFC.

    Everytime a group of add spawns, I'd like a 12 second timer that starts counting down to their Fel Implosion cast.

    Where I fail, this forum seems to be able to help. I figured I'd toss it out there to see if anyone might have any luck or already put together something like this.

  10. #1020

    Default

    Quote Originally Posted by Xpariah View Post
    Another day, another problem.

    I am trying to put together a WA that starts a countdown timer based on a mob/mobs spawning that repeats over the course of an encounter. In my case, it would be Fel Imps on Mythic Mannoroth in HFC.

    Everytime a group of add spawns, I'd like a 12 second timer that starts counting down to their Fel Implosion cast.

    Where I fail, this forum seems to be able to help. I figured I'd toss it out there to see if anyone might have any luck or already put together something like this.
    Well, there is a 'SPELL_SUMMON' event, but im pretty sure Fel Imp-losion is what actually summons the imps.

    I made this here a while back: http://pastebin.com/FzyrRkVu

    but its basically
    Code:
    if subevent == "SPELL_SUMMON" and spellid == 181255 then --  Fel Imp-losion
        return true
    end


    Then i just start a 12s timer. I'm not sure how accurate you want / need it to be, but its a 12s timer from when they spawn.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •