• 0

    posted a message on Deus Vox Encounters
    As healer I find it extremely useful to know when a new set of penetrating cold debuffs has been applied. I'm not so much interested in the cooldown, or when I've got it myself. I'm more interested in the moment it is applied to anyone and that I have about 2 seconds to get my assigned icon 3k up in health.

    There is no warning for this AFAIK. But would removing the following from the Penetrating cold self warning work?
    "expect",{"#4#","==","&playerguid&"},


    Or are more interested in this, and do you think it's worth adding it as additional warning?
    Posted in: Raid AddOns
  • 0

    posted a message on Simple Bag Addon
    Like Egingell already pointed that is pretty far from simple. The closest thing around is probably ArkInventory.
    Posted in: Addon Ideas
  • 0

    posted a message on Making a zip file for Curseforge
    It packages revisions from the version control systems together with any included libraries into zip files and publishes them on Curse.com.

    So only useful if you are using version control.
    Posted in: Need Help?
  • 0

    posted a message on Ace-Addon + OnUpdate?
    Wikipedia has some good quotes about program optimization



    • “We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%.A good programmer will not be lulled into complacency by such reasoning, he will be wise to look carefully at the critical code; but only after that code has been identified”[6] - Donald Knuth
    • “Bottlenecks occur in surprising places, so don't try to second guess and put in a speed hack until you have proven that's where the bottleneck is.” - Rob Pike
    • “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson


    With other words, don't worry too much.
    Posted in: Lua Code Discussion
  • 0

    posted a message on duplicate res finder
    See the logic in HealInc/ResMon.lua -> HealInc:UpdateResColors()

    This involves keeping a table of all active resurrections with their endTimes. Then sorting this on the endTime. Then loop through all resurrections. You can then figure out which resurrection is going to land first, and whether there are any duplicates. And take action accordingly.

    You need to keep a custom table with endTimes because LibResComm does not safe safe the endTimes and only transmits it on the event.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Making a zip file for Curseforge
    There must be a tool for Macs to make proper zip files.
    Posted in: Need Help?
  • 0

    posted a message on Widget positioning with AceGUI
    You need to register custom layouts for your container frame. Like this

    acegui:RegisterLayout("Custom_Layout",
    
         function(content, children)
              children[1]:SetWidth(content:GetWidth() or 0)
              children[1].frame:SetPoint("TOPLEFT",content,"TOPLEFT",0,0)
              children[1].frame:Show()
              
              safecall( content.obj.LayoutFinished, content.obj, nil, 100 )
         end
    )
    frame:SetLayout("Custom_Layout")


    See also AceGUI-3.0.lua. The default flow and list layouts are in there.
    Posted in: Ace3
  • 0

    posted a message on Packaging an Addon for Curse
    Why don't you try?

    Also try looking at other addons. For example in TortoiseSVN open the Repo-Browser and point it to:
    svn://svn.wowace.com/wow/ora3
    And then to
    svn://svn.wowace.com/wow/ora3/mainline
    And then to
    svn://svn.wowace.com/wow/ora3/mainline/trunk

    (Instead of ora3, take any other addon you're familiar with)

    Look at the contents of the different directories. Also try right clicking the trunk directory and select Revision Graph. Try the same with different files and directories. Also try the Show Log option. Or the Blame option.

    Please try the options, as long as you don't log in but the use the anonymous url's there is nothing you can do wrong.
    Posted in: Need Help?
  • 0

    posted a message on Packaging an Addon for Curse
    You first checkout the empty project from the curse repository onto your own hard drive. Yes, this is slightly confusing at first. But this allows you to add files from your own hard drive to the empty project and commit the changes back.

    You then have to either tag the revision as a release (or beta). Or change the revision from the project manage pages to a release. This triggers the package manager to create a package from the revision.
    Posted in: Need Help?
  • 0

    posted a message on play random sound file from array
    Quote from Adirelle
    My statement had no error. You misunderstood what I meant.


    Actually it had. In the code block you put.

    print("voice_OnEvent, event)

    Should of course be
    print("voice_OnEvent", event)

    But I should expect the OP to be able spot that. Even more because the correct statement was just above that.
    [FONT=monospace]
    [/FONT]
    Posted in: Need Help?
  • 0

    posted a message on Seeking support for my voice library
    Quote from Starouscz
    And why is using AceComm bad idea? I thought it would be bad idea not to recieved it with acecomm when i use acecomm in raidvoice to broadcast?

    P.S. I am a Java programmer i hate C :)


    Using acecomm is bad because it imposes the additional inclusion of that library when you want to use your library. Other addon developers don't like this. Additionally you're not really doing anything with acecomm that warrants the use of it.

    Your RaidVoice addon should also not use acecomm. In my opinion LibRaidVoice should contain a UnitStartsTalking and UnitStopsTalking function that RaidVoice uses to communicate.

    This means that LibRaidVoice does all communication (and essentially replaces acecomm).
    Posted in: Addon Ideas
  • 0

    posted a message on LibRaidVoice
    Your fully featured RaidVoice addon should be built on top of your communication library.

    Your communication library should handle all communication without the use of acecomm.
    Posted in: Libraries
  • 0

    posted a message on Weird problem with elseif

    enum bool {true, false, filenotfound};
    http://thedailywtf.com
    Posted in: Lua Code Discussion
  • 0

    posted a message on 3.3: QueryQuestsCompleted()
    Other puzzling things I've seen are main quest reported as completed, but sub quests not.

    For example
    /spew GetQuestsCompleted()[6543] => true
    http://www3.wowhead.com/?quest=6543 (The Warsong Reports)

    And
    /spew GetQuestsCompleted()[6545] => nil
    http://www3.wowhead.com/?quest=6545 (Warsong Runner Update)

    I've seen this with more similar quests.
    Posted in: General Chat
  • 0

    posted a message on 3.3: QueryQuestsCompleted()
    Yes, you can. And it does work.
    Posted in: General Chat
  • To post a comment, please or register a new account.