1. #1
    Deleted

    Weak Auras - get a player name and display it.

    Hey guys, Im wondering if there is a way to display a players name via Weak Auras. What I am trying to do is create a simple Prayer of Mending tracker where it will display the players name who currently has my PoM. I think I could achieve this via a custom function, but I have 0 knowledge of lua. Hope somebody is able to help on this one, thanks.

  2. #2
    Make a trigger like this:
    Type: Aura
    Aura(s): Prayer of Mending
    Unit: Group
    Name Info: Player(s) Affected
    Stack Info: Aura Stack
    Aura Type: Buff
    Own Only

    Then under display you can use %n to get the player that has it, %s to see the stacks and %p to see remaining duration.

    Code:
    dud)baGlLKTrfMlv0SL4MOWTvQ2Ps0Ej7wX(f0pLK(Ra)wkdvPmyQ0WLuNcLQogv5CG0cPeTuukwmkLwoIPPcpf6XuvpNIdJ0uLQjd00v1fPe6BOKNHIUUkAJukgMKyZa2oLGLbIrHsLpl03PKAKuQ6KGQrRegpLKlPK6wukDAuDEvACGYLf9AkvwEQlKle(8jbG6NoH73gJtSolLa7BLBWgHEtsvag5aYN4hPcnc9wDSI1QdH7cbfcQUqqUPUqV90Qx46j0LDRnSp0DDTWNWJXKOUqZt9TlGpanHMN6BNWM1t1PCLLcph(lmsAN1ch6EgWhGMW6c9MeJWHUNg11spHBe6njHUnGqxg5aYNOE9cjzK3M(Tof(PvVqR5G)czdlwqHcPctwmHWeguyWGjaBpCiCo37eEmMeJw6jKdkCJqVjj0Tbe6Yihq(efUi5XfVSXbmhmHCaHPNhlhEqHura2EavyPrbvx4Pjd8luJrwkK0kP6c3plpxD96fEAYGHUNITc9luJrDHg(elPWn2a3IyxVE9cPQlCJqVjj0Tbe6Yihq(efcF(Kaq9tNW9BJXjwNLsG9TYnyJqVjPkaJCa5t8Ju9cTGw6DuPIEj

  3. #3
    Deleted
    I'm also searching for a way to display the player name with a specific buff/debuff.

    But Sehra, as far as I understand the %n function in display, it only shows the name of the buff/debuff and not the player name.
    I have tested this with LB and a "text" display, and ther %n always showed "Lifebloom".

    So far I think, the only way is a custom function, but I have no idea how the prototype of the function has to look.

  4. #4
    Use the drop-down "Name Info" under the trigger tab to select what %n will show, either aura name or player names.

  5. #5
    Is there a way to track debuffs on enemies using this? The Name Info option seems to be only under Unit: Group
    Shaman - Hunter - Monk - Druid - Warlock - DK - another Shaman - one more Shaman

  6. #6
    The 'unit' box allows you to enter any of the named units, those are the things that you can /target in a macro:
    • /tar arena1
    • /tar boss3
    • /tar targettarget
    • /tar pettarget
    • party1
    etc.

    That all works well enough in weak auras -- it's easy to track because wow makes it easy. For random units like some guy you meet in world PVP or some arbitrary trash mobs in a dungeon you'll need to do all of the tracking yourself because warcraft doesn't make that easy.

    You'll need a custom tricker that watched the combat log for the buff/debuff being applied and then records that information to a global (unit name, time, expires time, etc). An untrigger that that looks for the debuff/buff being removed or the unit dying and removes it's information from that global. you'll also want a function somewhere that clears out regularly to cover cases where it doesn't get cleared by combat events (ie: you phased or lag out and don't receieve the event, go out of range, etc). Finally you'll need to write teh custom function for duration, name, icon, etc which you can get by just reading out of the global where you stored it and returning something appropriate.

    It's a fair bit of leg work - there are examples on the weak auras forum from like a year or two ago that should work. Maybe I'll make a video about this kinda thing - but it'll be lua heavy.

  7. #7
    Quote Originally Posted by Faeglendir View Post
    Is there a way to track debuffs on enemies using this? The Name Info option seems to be only under Unit: Group
    With some limitations, yes, this is possible. Use the multi-target unit trigger and have the display in a dynamic group.

    Example from my mage:
    Code:
    d8dXgaqBcwVevDAv2fvfBJQk(TKMPIYFPknBHoMsCtfYIGu8nivDscv2PQSx0Ujz)kYpPQQHPugNc1JjYqLOYGvsdxchuIYPuu1HfCocv1cvQwkvvAXQklNupesPNcwMc8COMOQQ0uPYKHy6IUOeXvLiDzkxxQ2irvtJqSziz7esFuvvnliv(Su(oHYiPQKNPQIrtugprLlPQkUfvL6AkOZtvSscvzukQ8AvvAUqhHaDmjGjS4Ji(GEFeHGabeci0rOPRIrO0YrqBTRQCEkmciEubHtQPR9ccE8hfkSL857FgUraxeKm(2i8fK(TPRDfcH94v(Yh0itR)9cXABADpi9Btx7kecMCf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yUtqxJgDee6X8OJjtcDS5fxysCNaUWKOJa(uTOX3aMeKIbmMoc4t1IgHrL9FjmzsqBTRQCEkmcHUo8f0eWzq6xm)iCsvLx8HyeMvI8ocPjx21gHrN6ecXdNeoecItHY0Q606EmGtcIDiPm(wgUrq1fC6R1mnMVfcDvQVwZ00raxyX4liy8TSnE8WFysqMDnzjFd2yYKGO8TiY2gtsa
    Last edited by Sehra; 2012-09-23 at 10:21 AM. Reason: Fix aura export.

  8. #8
    Deleted
    Quote Originally Posted by Sehra View Post
    Use the drop-down "Name Info" under the trigger tab to select what %n will show, either aura name or player names.
    Thanks

    Sometimes it's simply to easy -_-.

    In adition, I found out, that the "Multi-Target" option also shows the player name.

  9. #9
    Deleted

    Post

    Iskar

    Who has the eye ?
    Display players name that currently has the eye

    Code:
    dCtOcaGEIIDruABaAUQkMTs9nvv7Ke2lA3G2VOmkvLAyIQFRKhtQgkrQblfdNuCqfuNsqLJrfNtHSqfqlvvjlwby5cDyrEk0YKspNQ(ljzQeMmvA6uUij14a4zkuxhOnseoTkBwQ2UGIFQG8vbv9zv57ckDss00uKrtunEIOlrKClb5AKsNxrDzj3wGxRanDOG4ruj0QypPxFuQVG(pIyYTuPg(oyvXd(i6j2kRJS5Y22smGOlrxki2xqdpzkQOnNO751StZIssJOuWSMVLYhUSgP0qmwVBbfZAkIwjPr0I37vrki6TK(GQoyFr0Bj9bjctbLQd2xe1StZv0teeEgXxCbQHimfuEkOchIQNRSMvpRzyOmG0Orm56E2TGPTklEVxf9uqJyypxtov4m5qutC9IL3lDS0p)TGuroriyGiEVxf9uHdrjhQ39Lrjcba4OCTaDgdi)))FeGj2dnPLO86EYnkHwGTJ0MpngiWCToJBbWEOjaeNhQ39LrjcbeqoaN)2)))rahRTnN9qtte3RKlfeT0UGgfeda32rbnAeb9LkykO4aigx7IcIbGB7OGgnI9KUDlifeda32rbnAe13jVNcI(d(2frP)sPAuqmaCBhfeL(lLQrbhinAeDVE)0b32mfeda32rbnAeJj9IcIbGB7OGgnAepxIHx(kRrEYN1yYRSMAUOrmrbr1ZvwZQN1mmugqIkHwf7j96Js9f0)retULk1W3bRkEWhnIHHkCMADOrc

  10. #10
    is there a way to make a weakaura that shows the characters level if so how?

Posting Permissions

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