• 0

    posted a message on Who deserves that drop addon
    Quote from Tekkub
    Indeed... and the code in the ones I've seen is horrendous. Someone needs to write an addon that tells those developers how to write the addon so they don't have to think for themselves.


    Yeah it's called Addon Studio... oh wait! :P
    Posted in: Addon Ideas
  • 0

    posted a message on Blocked addons in WoW?
    No, as I'm not on the 3.3 PTR, where this is taking place.
    Posted in: General Chat
  • 0

    posted a message on Blocked addons in WoW?
    Note the word "also" that GC uses twice in his post. For the record, they are fixing rogue mechanics to make the addon obsolete. But it sounds like there's more to it. Plus the addon still serves a purpose in pvp.
    Posted in: General Chat
  • 0

    posted a message on Blocked addons in WoW?
    Remember this post by jerry? Here's a quote for the lazy ones:

    There's a new database called BannedAddOns.dbc in the MPQ. This database has 11 fields on the latest PTR build, none of which appera to be strings.

    As to how they will detect the "signature" of an addon, they can hash the compiled lua stream, for instance, which would make getting around it more difficult than just adding spaces or renaming variables.


    Well I'm bringing it up because, according to Ghostcrawler, they've killed Antiarc's PoisonSwapper addon. Source: http://forums.worldofwarcraft.com/thread.html?topicId=21042559255&pageNo=1&sid=1#6

    Let's leave the rogue discussion aside. I've no idea if that's how they can kill it, but I figure it's worth bringing up at this point.
    Posted in: General Chat
  • 0

    posted a message on Crashing on Exit - Corrupts WTF
    I used to get things like this when I had stupidly set Recount to record maximum data about every fight, not just boss. Needless to say, logging out took a while, to the point that things would completely freeze. In fact, had I waited (several minutes!), it would have eventually exited (and caused an error next time I logged on, but that's another matter). So do you have an addon saving ungodly amounts of data on exit?

    On the other hand, it could be something totally unrelated that freezes your computer and it happens at the wrong time?

    I've learned the hard way to back up my WTF folder.
    Posted in: General Chat
  • 0

    posted a message on X-Perl Thread
    Make sure the Target module (can't remember its name off-hand and I'm not home) is enabled in the addon selection screen.
    Posted in: Unit Frames
  • 0

    posted a message on X-Perl Thread
    Open the options. On the very first tab, there's Buff Cooldown and Buff Countdown (only goes up to 60s). Enable them.

    Check the options next time.
    Posted in: Unit Frames
  • 0

    posted a message on PitBull 4.0
    Actually there is. Go to your layout for your frames, go to the Aura tab, then Texts, then select the various "counts" in the dropdown list.
    Posted in: Unit Frames
  • 0

    posted a message on HoT Counter
    Yeah it is. I was simply trying to show a count of HoTs and color it accordingly. You took it one step further by splitting them up, which works too. :)
    Posted in: AddOn HELP!
  • 0

    posted a message on Recount
    The newer one, assuming the lib is properly designed. And there's no reason to think this one is bad.
    Posted in: General AddOns
  • 0

    posted a message on HoT Counter
    Your code is tidier, but how is it returning %s in red? The first buff will set mine to true, which only means the color of the text will be green and not red. The count gets updated for every buff it iterates through. mine stays true if it's set once. I'm no lua expert, but I'm missing something.

    Also it's reported as working in the luatext thread here: http://forums.wowace.com/showpost.php?p=291459&postcount=472

    I simply corrected a mistake that was pointed out over there and fixed this post here which is a little older and previous reply to the same question.
    Posted in: AddOn HELP!
  • 0

    posted a message on HoT Counter
    There was an error in this script. Fixed it.
    Posted in: AddOn HELP!
  • 0

    posted a message on LuaTexts Official Thread
    Oops... I knew something had to be wrong since I hadn't tested it. Thanks.

    I edited the script above.
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    Snargul, I do this:

    local i = 1
    local count = 0
    local mine = false
     
    while true do
     local name, _, _, _, _, _, _, caster = UnitAura(unit,i,"HELPFUL")
     if not name then
      break
     elseif name == "Renew" then
      count = count + 1
      if caster == "player" then mine = true end
     elseif name == "Rejuvenation"  then
      count = count + 1
      if caster == "player" then mine = true end
     elseif name == "Regrowth" then
      count = count + 1
      if caster == "player" then mine = true end
     elseif name == "Lifebloom"  then
      count = count + 1
      if caster == "player" then mine = true end
     elseif name == "Wild Growth"  then
      count = count + 1
      if caster == "player" then mine = true end
     elseif name == "Earthliving"  then
      count = count + 1
      if caster == "player" then mine = true end
     elseif name == "Riptide"  then
      count = count + 1
      if caster == "player" then mine = true end
     elseif name == "Gift of the Naaru"  then
      count = count + 1
      if caster == "player" then mine = true end
     end
     i=i+1
    end
     
    if count > 0 then
     if mine then return "|cff00ff00%s|r", count else return "|cffff0000%s|r", count end
    end
    Returns the amount of HoTs in green if you have an active HoT, in red if none of the HoTs are yours.

    I have tested part of it: it does return HoTs in red when I don't have an active HoT on the player. I haven't tested this luatext on a healer yet, so I don't know if it correctly returns the number of HoTs in green if you have an active HoT on the player. Let me know if it works.

    The template should be easy enough for you to tweak if you want to add/remove HoTs, change colors... etc.

    I'm gonna guess Lifeblooms stack show as one since they're one buff with multiple stacks, not 2 or 3 buffs, but try it out and let me know! :)

    EDIT: I don't have Lifeblood or Sheath of Light in there. Easy to add if you need.

    EDIT2: Corrected a stupid mistake in the code. Ty Snargul.
    Posted in: Unit Frames
  • To post a comment, please or register a new account.