• 0

    posted a message on oRA2_Buff
    Quote from Littlex »

    Wierd i fixed my bug through deleting the "grimwald_timersoptional" array in the "root:World of Warcraft\WTF\Account\ACCOUNTNAME\SavedVariables\ora2.lua" file.


    I'm guessing it will only work until you try to change the buffs/cooldowns you're displaying - UnregisterBucketEvent isn't called if you're not showing any timers yet.

    To fix it permanently you have to replace "bucket.func" with "self" in AceEvent-2.0.lua, in lines 785 and 788. (You'll have to modify that in the first or most recent AceEvent version loaded.)
    Posted in: Raid AddOns
  • 0

    posted a message on oRA2_Buff
    Quote from ludo »

    I also have problems with oRA2_Buff. The attached messages always appear when buffing myself (I haven't tried the addon in raids yet). I am using the German WoW-client.


    This should be fixed now.

    Additionally I moved the debug output to ChatFrame5 - still annoying if you acutally use it, but disabling debugging as mentioned before will get rid of the spam...
    Posted in: Raid AddOns
  • 0

    posted a message on oRA2_Buff
    Quote from Littlex »

    I am using the newest SVN Version (oRA2_Buff-r13156[Grimwald].zip) and the error i attached to my post is allways poping up when i click a option in the buffs menu. What can i do about that?


    The 1st error is a bug in UnregisterBucketEvent - I already had a bug opened on Flyspray a few weeks back and it's posted on the WoWI-Portal linked in the Ace2 Thread as well...

    The debug option will be set to false by default when most of the debugging work seems done. Until then you can alter it in the source code or enable/disable it calling SetDebugging() in the console.
    Posted in: Raid AddOns
  • 0

    posted a message on sRaidFrames: Alternative CTRA raid frames
    Quote from Saroz »

    Anyway, about the cooldowns - I'll add them if oRA2 will TriggerEvent() when cooldowns update


    If you're using the cooldown module in oRA_Buff (in branches, still need a better name...) you'll get events called "SpellTimes_BuffChanged", "SpellTimes_CooldownChanged" and "SpellTimes_UnitChanged", with arg1 being the buff name, cooldown name or unit name...
    Posted in: Unit Frames
  • 0

    posted a message on sRaidFrames: Alternative CTRA raid frames
    Quote from hiflyer »

    Quote from Saroz »

    Quote from hiflyer »

    I have added support for showing buff duration on mouseover provided that you have oRA2_buff installed.

    The code change is shown here http://ace.pastey.net/1330

    for this to work, the following has to be added to the buff.lua of oRA2_buff

    -- make buff tables available to other mods
    oRAOBuff.Buffs = Buffs
    oRAOBuff.UnitBuffsTables = UnitBuffsTables

    This is what it looks like

    Very cool.

    Provide a diff -u please, and get the change in oRA comitted.


    Diff at http://ace.pastey.net/1365 and I got the changes made to oRA_buff


    With the last update of the oRA2 Buff module I moved the Buff/Cooldown code to a library, because they had a lot of stuff in common. Therefore the Buffs table has moved...

    You should now use the library (SpellTimesLib (lacking a better name) in branches, AceLibrary("SpellTimes-1.0").BuffTimes[unitname]) or the RosterLib unit object (Roster:GetUnitObjectFromName(unitname).st_buffs) to get the end times per unit.
    Posted in: Unit Frames
  • 0

    posted a message on oRA2
    Quote from Ammo »

    Complain to grimwald who created oRA2_buff, it's not my addon.


    If anyone finds a bug and knows how to fix it, feel free to change code in there if you want to - I don't mind...

    I'd also be happy if parts of the stuff I wrote would make it into the "official" oRA2 - the main reason I made it as separate add-on is that I didn't want to start messing in Ammo's mod. ;)
    Posted in: Raid AddOns
  • 0

    posted a message on oRA2
    Quote from imarkon »

    uhm this error is occurring asa i login :
    any ways to solve it ? :(


    tnx




    I added "Grimwald_" to the module names (for registering at core and the translations), that error should be gone. (The (global) variable names have a different case now as well (and can be loaded at the same time) - but i might change that too once if found a better name...)
    Posted in: Raid AddOns
  • 0

    posted a message on Improved Raid Warning Frame
    Quote from GawD »

    Anyway to incorperate this mod to have it broadcast on the SCT or MSBT event line instead??


    Probably won't add those, because the mod is about making Blizzard's Raid Warning Frame usable, not replacing it. The redirecting should be done by a separate add-on imho, because you wouldn't need 90% of what IRWF does anyways...

    I'm looking into adding an option to block all rw messages when in combat though. (Found the idea in the BigWigs thread and liked it. ;))
    Posted in: General AddOns
  • 0

    posted a message on sRaidFrames: Alternative CTRA raid frames
    Quote from Saroz »

    [*]Hope oRA2 cooldowns will allow me to add tooltips with cooldowns, unless oRA2 implements some nice GUI for it - CTRA protocol seems kindda crappy in this area

    ...

    [*]Timers on buffs (sent by CTRA) are currently NOT planned
    [/list]


    There's an experimental module for oRA2 that tracks cooldowns in branches. (Made it after the buff timers one, same location at /branches/oRA2_Buff/Grimwald...). I'm currently saving the times a cooldown ends in unit["ora_cooldowns"][spellname], with unit being the rosterlib unit object and spellname the localised spell name you want to know. Alternatively you can use the texture, but that's a bit slower and might not always work because the texture path is not a unique key...

    You could get the times the buffs end the same way.
    List tags are malformed.
    Posted in: Unit Frames
  • 0

    posted a message on Big Wigs Common Auras
    Quote from Rabbit »
    The most important thing to note about this plugin is that it requires people
    in your raid to have it.
    Posted in: Raid AddOns
  • 0

    posted a message on oRA2
    Quote from Ammo »
    I'll check out the Buff thing Grimwald.

    The buff end times in rosterlib's unit objects (u["ora_buffs"]) should be correct now, and can be used by other add-ons to compute the buff durations for the raid members. Doesn't have any UI itself (yet)...
    Posted in: Raid AddOns
  • 0

    posted a message on sRaidFrames: Alternative CTRA raid frames
    Quote from Saroz »
    Yea I saw it, don't really see the use tbh.


    You can get the time left on a buff by using

    local now = GetTime()
    local endtime = Rosterlib:GetUnitObjectFromName(unitname)["ora_buffs"][bufftexture]
    local timeleft = (endtime > now) and (endtime - now)


    The fastest way to index the unit's buffs table is by buff name, but you can also use the CTRA buff IDs (those used in the RN messages) or the texture path. There still are some bugs that cause the end times to be off though - mostly when the raid roster is updated...
    Posted in: Unit Frames
  • 0

    posted a message on oRA2
    Quote from m0j0 »
    Last night I started up a raid and /rs wasn't working. I would get a "no such command type /help..." for /rs. I had to switch to oRA1.


    /rs has been obsolete for ages - use really should use /rw instead.
    Posted in: Raid AddOns
  • 0

    posted a message on oRA2
    Quote from Grimwald »
    Uploaded an alpha of a module for keeping track of buff times to http://svn.wowace.com/root/branches/oRA2_Buff/Grimwald/oRA2_Buff and testing it in a raid now.

    It doesn't have a UI yet, but it should create a table in the rosterlib unit object called ora_buffs, containing the times a buff runs out indexed by textures.


    The module didn't do anything bad in tonights raid, I could even get some bugs fixed... This is how you can get time time left for a unit (unit is RosterLib's unit object, texture the buff's texture as returned by GetUnitBuff()) in seconds (or nil if not know/timed out):

    local now, timers, endtime, time = GetTime(), unit["ora_buffs"]
    endtime = timers and timers[texture] or 0
    time = (endtime > now) and (endtime - now)

    Posted in: Raid AddOns
  • 0

    posted a message on oRA2
    Uploaded an alpha of a module for keeping track of buff times to http://svn.wowace.com/root/branches/oRA2_Buff/Grimwald/oRA2_Buff and testing it in a raid now.

    It doesn't have a UI yet, but it should create a table in the rosterlib unit object called ora_buffs, containing the times a buff runs out indexed by textures.

    Edit: ora_bufftimers changed to ora_buffs
    Posted in: Raid AddOns
  • To post a comment, please or register a new account.