• 0

    posted a message on GetSpellTexture type function for buffs
    Quote from skrap2
    since I'm mostly doing this to learn about addon making, the main missing feature in Auracle is that I didn't write it(!).


    Fair enough :)

    The way Auracle does this is it uses a placeholder question-mark icon at first, and then the first time it sees the buff it's looking for, it remembers the icon texture (from UnitAura()). Then when the buff is missing in the future, it still has the icon texture name saved.

    The advantage is you don't have to look up SpellIDs, you can just use buff names like you were planning on; the disadvantage is each thing you want to watch will have to be seen once for your addon to store its icon texture.
    Posted in: Lua Code Discussion
  • 0

    posted a message on GetSpellTexture type function for buffs
    If you just want indicators for present or missing buffs or debuffs, that's what Auracle was made for. Are there specific features you need that Auracle doesn't support?
    Posted in: Lua Code Discussion
  • 0

    posted a message on Auracle - Official Thread
    Quote from Stanzilla
    Auracle: Warning: These preset SpellIDs are no longer valid.
    34456, 53136, 30803, 30029, 53410


    Thanks for the report Stanzilla. Apparently when some procs became permanent auras, Blizzard deleted a few old SpellIDs and created new ones to replace them. The affected presets were:
    • +% Damage (Ferocious Inspiration)
    • +% AP (Abomination's Might and Unleashed Rage)
    • +Melee Crit (Rampage)
    • +Spell Crit (Elemental Oath)
    Please try 1.2.1-beta-1 and let me know if those presets are now correct (you will have to delete and re-add any of those presets that you used, or else update them manually yourself).
    Posted in: General AddOns
  • 0

    posted a message on Auracle - Official Thread
    Quote from duhwhat
    any update on buttonfacade support?


    New features are on hold at the moment, since I don't really play anymore; I'm pretty much just fixing bugs and maintaining compatibility with new WoW patches.

    I ever return to playing WoW myself I might return to more active development. In the mean time, if you (or anyone) would like to add this (or any other) feature yourself, I'd be happy to accept patches and work with you to get them merged into the official release.
    Posted in: General AddOns
  • 0

    posted a message on Auracle - Official Thread
    Version 1.1.2 should work for WoW 3.3; file a ticket if you have any trouble with it.
    Posted in: General AddOns
  • 0

    posted a message on SetBackdrop Question
    Quote from bubblecannon
    My wow screen is 1650 pixels wide yet with UIParent:GetScale() returning 1, a frame width of approximately 1230 pixels covers the entire screen.


    Try GetEffectiveScale(). Also note that UIParent does not start out with your screen's native resolution; check out http://www.wowwiki.com/UI_coordinates.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Auracle - Official Thread
    Version 1.1.1 is out, sporting a few performance tweaks: http://wow.curse.com/downloads/wow-addons/details/auracle.aspx
    Posted in: General AddOns
  • 0

    posted a message on buff display addon
    Most or all of this can be done with Auracle, just takes some time to set it up how you like it.
    Posted in: Addon Ideas
  • 0

    posted a message on Auracle - Official Thread
    Quote from vorsim
    After a break from using the addon for a few months I'm finding the new additions pretty impressive, nice job. What are the chances of adding more units that can be watched?, namely party members (which would be awesome for arenas).


    I would like to do this, but doing it in a not-annoying way will take some work. I don't want to simply add all the party and arena unitids, because then you have to create and maintain 4-5 separate windows, one for each such unit, with (presumably) exactly the same trackers, and that would be super annoying. I'd rather have you set up one "prototype" party window (or several, with different visibility options) and then have Auracle use that template for each of the 4 separate party-unit windows.

    The best thing is to file a request for this on the ticket tracker, so others can vote on it and it doesn't get lost. :)
    Posted in: General AddOns
  • 0

    posted a message on AceConfigDialog and relative ordering of negative 'order's
    Quote from Farmbuyer
    Changing the negatives into large positives would then allow a normal sort to do everything exactly right.


    Well, but technically no matter how large those positives are, it's possible that user also defined elements with equally large 'order' values. In that case, this scheme would still break the expectation.

    I always understood the semantics of 'order' to mean that all positives should come before all negatives, and within those halves, things were sorted numerically ascending. So 0 comes first, then other positives in order, then the negatives from smallest (most negative) to largest (least negative, i.e. -1).


    Edit: I realize that second paragraph is redundant to your original post, I'm just agreeing with you there. Nonetheless, adding math.huge to negatives is I think not perfectly reliable, because something with order -1 should still come after something with order (math.huge - 1), the former being negative and the latter positive.
    Posted in: Ace3
  • 0

    posted a message on Auracle - Official Thread
    Yes indeed, still a nub, forgot those. This localization app thing is still new to me. :) Added in 1.0.3-beta.
    Posted in: General AddOns
  • 0

    posted a message on Auracle - Official Thread
    Quote from khariv
    With the last two versions, Im getting a whole slew of labels missing (67 LUA errors) from the localization files (PRESETS, STUN, BUFFS_BY_TYPE, etc.). Is there a beta of the localization file I can grab from the repository or are the labels just not complete.


    Turns out, I'm a nub and forgot to import them to the WoWAce localization tool. They should be in 1.0.2 (for enUS anyway).
    Posted in: General AddOns
  • 0

    posted a message on Auracle - Official Thread
    Beta 1.0.1 is now available. The main addition is presets, which are just buttons in the Add Tracker... section that create pre-configured trackers, according to various useful groups.

    There are almost definitely some (de)buffs that are missing from their appropriate group, or are in the wrong group, etc, so please have a look at the categories that you know and care about, and make sure all the appropriate things are there.

    And a reminder about talents: Auracle does not scan talents, so if a (de)buff only has some effect when talented (lots of Paladin stance-auras are like this, but also Moonkin Faerie Fire, etc), it is impossible for Auracle to know whether the aura it sees was cast by someone with that talent or not. Consequently there is an "Assume talented" checkbox along with the presets, which will either include those talented-only auras in their respective preset groups or not, depending on your preference. Either way Auracle will sometimes be wrong about these auras, so it's a question of which side you want to err on.
    Posted in: General AddOns
  • 0

    posted a message on Creating delay
    OnUpdate is the way. It's not that bad:

    local timer = 5
    frame:SetScript("OnUpdate", function(self, elapsed)
      timer = timer - elapsed
      if (timer > 0) then return end
      dostuff()
      timer = timer + 5 -- or just timer = 5 if you don't need to be super exact
    end)
    
    Posted in: Lua Code Discussion
  • 0

    posted a message on String creation
    Also, if you're interested in this level of optimization, I highly highly highly (highly!) recommend reading Roberto Ierusalimschy's article Lua Performance Tips from "Lua Programming Gems", which lua.org kindly makes available here (I posted this in your other thread, too): http://www.lua.org/gems/sample.pdf

    It's only 14 pages, all of them are fascinating, and they contain answers or at least insight into all of your questions so far.
    Posted in: Lua Code Discussion
  • To post a comment, please or register a new account.