• 0

    posted a message on OptiTaunt - Official Thread
    Quote from Nebel »

    DewdropLib was missing (which is pulled in by FubarPlugin-2.0). I fixed that with revision 70219 which I just commited to the SVN. Thanks for letting me know... ;-)

    No problem mate, figured since I was using your work I could at least contribute to report any weird stuff I happen upon :)
    Posted in: General AddOns
  • 0

    posted a message on OptiTaunt - Official Thread
    Quote from Nebel »
    Lots of things have changed in this new version. I hope nothing is broken (as far as my testing went everything is fine, but who knows for sure?).

    Hey Nebel!

    Just wanted to check one thing here, since I ran into a problem. I tried the OptiDistract branch I fiddled with on another computer, and it didn't start. No slash command, no minimap icon, no nothing. But after various attempts to find out what went wrong, I decided to try installing OptiTaunt (69567), and the same thing happened there.

    Now, this computer has NO addons installed (well, Bagnon, but I have that on my other computer as well without a problem). Still same thing, no minimap icon, no slash commands... no nothing...

    Could you perhaps try cleaning out your addons/WTF temporarily, and install ONLY OptiTaunt. If you have the same problem as me, there would be something that causes it to not initialize. Note that my installation of WoW here is basically vanilla, and there has been no addons installed at all. Dunno if OptiTaunt somehow/somewhere expects something to be setup already, perhaps something that other Ace2 addons takes care of...?
    Posted in: General AddOns
  • 0

    posted a message on Detecting distract, successful and/or resisted
    Yes, I see that now. I took a look at OptiTaunt instead, and the author of that addon is doing exactly what you describe. Many thanks though, the problem is now solved and I have an addon that gives me what I want. I am going to see if the OptiTaunt author wants to integrate it into OptiTaunt though, even if it's not really a... taunt. :)
    Posted in: Lua Code Discussion
  • 0

    posted a message on OptiTaunt - Official Thread
    Just wanted the developer of OptiTaunt know that I've "borrowed" OptiTaunt for an addon (not released - will never be released) that I tentatively call OptiDistract. It is used primarily for letting others know when a rogue's Distract has been reisted, nothing else. Was thinking of perhaps adding Sap as well, but haven't bothered with that (yet).

    Basically, all I have done is change the code to suit rogues instead, plus added the option of having it SAY or YELL the warning message (YELL prevents SAY from being performed, same as RAID prevents PARTY). I am pretty certain that the developer can add these changes to OptiTaunt if he wishes to do so without my assistance (easy really), but PM me if you want some input or if you want me to mail you the altered addon.

    Many thanks for OptiTaunt btw, my tank uses it :)
    Posted in: General AddOns
  • 0

    posted a message on Detecting distract, successful and/or resisted
    Quote from Starinnia »

    Does parserlib 1.1 even work with the new combat log?

    You'll prolly need to just register the combatlog unfiltered event (like a normal event, not a parser thing). Then just figure out which combat event you need for the resist. (ie. do in-game testing)

    To be honest, I have no idea if Parserlib works, no... :) Now that you mention it, it only states 2.3 on the wiki page, so perhaps that's where it is flawed.

    Consider me practically noob here, so any code examples you can give is appreciated.

    In the code, there is the following (somewhat abbreviated):

    function DistractWarn:OnEnable()
      self:RegisterEvent("CHAT_MSG_CHANNEL_NOTICE")
    end
    
    function DistractWarn:OnEvent(event, info)
      -- handle the event here
    end


    Does self:RegisterEvent always call self:OnEvent here? Parserlib's RegisterEvent calls self:OnEvent, but I guess the "original" RegisterEvent maybe goes there by default?

    Is it possible to change the above RegisterEvent to something else (or somehow get info from combat log) and find out what event causes different abilities/skills to trigger the event?

    In the combat log output, it says like this:

    On success: Source casts Distract.
    On resist: Source's Distract was fully resisted by Target.

    This is an extract from the combat log file:

    4/11 19:48:28.032 SPELL_CAST_SUCCESS,0x00000000004D2648,"Source",0x511,0x0000000000000000,nil,0x80000000,1725,"Distract",0x1
    4/11 19:48:28.032 SPELL_MISSED,0x00000000004D2648,"Source",0x511,0xF13000606C00E1FB,"Target",0xa48,1725,"Distract",0x1,RESIST

    Where the last entry is the interesting one.

    I'm now also looking into OptiTaunt, which seems to be more 2.4 compatible.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Detecting distract, successful and/or resisted
    I'm looking to create a addon for rogues that simply sends a party chat message when a distract has been resisted. I've been looking at TauntWarn, and figured I could is it as a base, but I can't find out what RegisterEvent-string to use to get the info about the resisted distract.

    Using ParserLib 1.1 from TauntWarn, it looks like this:

    parser:RegisterEvent("DistractWarn", "CHAT_MSG_???", function(event, info) self:OnEvent(event, info) end)

    What string should I use instead of CHAT_MSG_???

    I have so far been unable to find the proper string, and don't know where to find this info, so I'm asking here. Just think of it all as a TauntWarn for rogues :)

    Any help appreciated, thanks in advance.
    Posted in: Lua Code Discussion
  • To post a comment, please or register a new account.