• 0

    posted a message on Get "InvetorySlotID" by "Equip location"
    There is GetInventorySlotInfo, but it won't help you much (at least you should use it instead of hard-coded IDs).
    InventorySlotName is different from ItemEquipLoc.
    The main reason is that an item can fit multiple slots, e.g. a ring for both finger slots or a one-handed weapon for both hands.
    Posted in: Need Help?
  • 0

    posted a message on Help with an "'}' expected (to close" error
    it's the case of your loop variable: for I = 1, 2 do
    should be lower case like the places where it's used
    Posted in: Need Help?
  • 0

    posted a message on Help with an "'}' expected (to close" error
    try quotation marks around Interface\\AddOns\\ ;)
    Posted in: Need Help?
  • 0

    posted a message on Question about libraries in wow
    Your lfx.searchFrame isn't working as intended; the recursion is broken, it may return an empty table and it wont return false in any case.

    Try something like this (100% dry coded)
    function lfx.searchFrame(t, name)
        if type(t) ~= "table" or type(name) ~= "string" return false end -- invalid arguments
        for _, f in pairs(t) do
            if f.name == name then -- frame found
                return f
            end
            if f.children then 
                local cf = lfx.searchFrame(v.children, name)
                if cf then -- frame found in children
                    return cf
                end
            end
        end
        return false -- frame not found
    end
    Posted in: Libraries
  • 0

    posted a message on Name and file.zip names in packager
    Another option you have is to simply change the status on alpha files to beta or release instead of using tags, though in that case, the svn log will not represent your releases unless you note them in the commit notes.
    Posted in: Need Help?
  • 0

    posted a message on BadBoy: An extremely minimal spam blocker & reporter
    missed spam
    <>
    Posted in: General AddOns
  • 0

    posted a message on 2 Questions about IceHUD for WoW 3.3.5a
    Non-official servers are in violation with the game's ToS. You wont get any assistance regarding them in here, including advice regarding using addons on outdated servers.
    Posted in: Need Help?
  • 0

    posted a message on ElkBuffBars v2 (finally Ace3 version)
    I can't test what's going on but here is my guess:
    From the description, he debuff from "Rising Sun Kick" is applied to all enemies within 8 yards. So if an enemy unit is in the range of you and both of your spirits, it will likely get three different debuffs, even though they appear to be the same.
    Since the spirits are your units, debuffs applied by them most likely report as being applied by yourself, so they'll count a self-cast.

    Is the debuff dispellable in PvP? In that case, it's possible that each of them can (and must) be dispelled individually.
    Posted in: General AddOns
  • 0

    posted a message on Forum cleanup suggestion
    fear not, it's bitbucket...

    jk
    Posted in: General Chat
  • 0

    posted a message on ElkBuffBars v2 (finally Ace3 version)
    I just pushed r180 to svn:
    - added caster to tooltip
    - added text styles/outlines
    - changed name abbreviation a bit
    Posted in: General AddOns
  • 0

    posted a message on ElkBuffBars v2 (finally Ace3 version)
    1. it's a per group setting under "bar layout"
    2. I have the basics working in my copy
    Posted in: General AddOns
  • 0

    posted a message on ElkBuffBars v2 (finally Ace3 version)
    1. easiest way would be to use the in game configuration menu.
    Besides that, see: http://wowpedia.org/API_GameTooltip_SetOwner
    Or use a tooltip addon like TipTop.

    2. currently not
    Posted in: General AddOns
  • 0

    posted a message on ElkBuffBars v2 (finally Ace3 version)
    It's in the group's settings, between scale/bar spacing and sorting/target. ^^
    Posted in: General AddOns
  • 0

    posted a message on control structure too long near '<eof>'
    You could try splitting it into multiple files. LibStub/LibBabble-3.0 will make it a bit harder though since your new lib is only available in a single file, but you could use the current addon's private table to indicate that you're currently loading a newer lib version.

    Main file:
    local _, private = ...
    local lib = LibStub("LibBabble-3.0"):New(MAJOR_VERSION, MINOR_VERSION)
    if not lib then return end
    private["LibBabble-SubZone-3.0-LoadingLib"] = lib
    lib:SetBaseTranslations{ . . . }
    if GetLocale() == "enUS" then
    	lib:SetCurrentTranslations(true)
    end


    Sub files, e.g. LibBabble-SubZone-3.0.deDE.lua
    local _, private = ...
    local lib = private["LibBabble-SubZone-3.0-LoadingLib"]
    if not lib or GetLocale() ~= "deDE" then return end
    lib:SetCurrentTranslations{ . . . }


    It's dry-coded but should work. Just load the sub files via lib.xml.
    Posted in: Lua Code Discussion
  • 0

    posted a message on ElkBuffBars v2 (finally Ace3 version)
    Should be fixed in r176 :) Thnaks for finding all those little bugs :)
    Posted in: General AddOns
  • To post a comment, please or register a new account.