CurseForge and Overwolf are joining forces!
Awesome More Information
  • 0

    posted a message on How to use AceDB? Not enough with the tutorial..
    Try with just set = "GetHeadSlot".

    You are also missing a LibStub("AceConfig-3.0"):RegisterOptionsTable(...) I guess.
    Posted in: Ace3
  • 0

    posted a message on How to use AceDB? Not enough with the tutorial..
    As ShowTestFrame() function is just a global function and not part of your addon table there is no self.

    You have to make the function a part of your addon, ie. function BiSList:ShowTestFrame(). Or you can use BiSList.db.profile.playerName in your ShoTestFrame function.
    Posted in: Ace3
  • 0

    posted a message on Issue with check class/addon
    "function Checkaddon" should be "function Checkaddon()"?
    Posted in: Need Help?
  • 0

    posted a message on Track multiple reputations at once
    Yes.
    Posted in: Addon Ideas
  • 0

    posted a message on eQueue
    Looks nice!
    Posted in: Data Broker AddOns
  • 0

    posted a message on Simple questitem addon
    Yeah I could do that.
    Posted in: Addon Ideas
  • 0

    posted a message on Simple questitem addon
    Damn, it is never easy ;-)

    Try r5, should be fixed. If you use a quest item during combat it should be bound after combat.

    Note: There are no item scans during combat. The bug was because SetOverrideBindingItem() is a protected function.
    Posted in: Addon Ideas
  • 0

    posted a message on Simple questitem addon
    You can check out http://www.wowace.com/addons/questitemkeybound/ . Hopefully it gets approved :-)

    It is a simple solution and it is currently using LibQuestItem. I don't know if there is another better solution to this problem. But I could not find a event like ITEM_USED or something similar (maybe I didn't look good enough) so I'm listening for UNIT_SPELLCAST_SUCCEEDED and using the spellID to reverse lookup the item in LibQuestItem.

    So basically, if someone know how to get a itemID or name of an item when it is used please tell me.

    The whole addon.
    local frame = CreateFrame("QuestItemKeyboundFrame")
    QuestItemKeybound = LibStub("AceAddon-3.0"):NewAddon(frame, "QuestItemKeybound", "AceEvent-3.0")
    
    local LQI = LibStub("LibQuestItem-1.0", true)
    
    --SETTINGS
    local keyToBind = "ALT-Q"
    local displayChatMessage = true
    --SETTINGS
    
    function QuestItemKeybound:OnEnable()
    	self:RegisterEvent("UNIT_SPELLCAST_SUCCEEDED")
    end
    
    function QuestItemKeybound:UNIT_SPELLCAST_SUCCEEDED(_, unitID, spell)
    	if unitID and unitID == "player" then
    		local spellItem = LQI.questItemSpells[spell]
    		if spellItem then
    			local itemName = GetItemInfo(spellItem) 
    			SetOverrideBindingItem(self, true, keyToBind, itemName)
    			if displayChatMessage then
    				print("QuestItemKeyBound: Bind item "..itemName.." to key "..keyToBind..".")
    			end
    		end
    	end
    end
    Posted in: Addon Ideas
  • 0

    posted a message on Simple questitem addon
    I could probably put something together tonight as the quest item detection is already broken out of QuestItemBar to a library.
    Posted in: Addon Ideas
  • 0

    posted a message on Cataclysm Map IDs & Sizes
    Yeah, the maps is not complete at all. Also the "fog of war" seems to be buggy as hell. Looks like the entire zone is fogged or not even if you have discovered some of the sub zones.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Addon Settings saved, but no WTF folder
    I never have my games installed in program files. But it is most likely that is a permission problem. I do not know but I would try giving the group COMPUTERNAME\Users full control to the WoW folder.
    Posted in: AddOn HELP!
  • 0

    posted a message on Ok to do this?
    I would do something like local GUB first. Then make a longer global var like:

    local MA = LibStub("AceAddon-3.0"):NewAddon("GalvinUnitBars", "AceConsole-3.0", "AceEvent-3.0")

    MyAddonNameGlobalVar = MA

    It is less likely that another addon use that global var. But why do you want to share the whole addon table?
    Posted in: Lua Code Discussion
  • 0

    posted a message on Grapple [Official thread and all that jazz]
    Quote from Humbedooh
    Yeah, that part bugged me a bit, since it kept complaining that I couldn't delete the folder no matter what I tried. I think I managed to get it to follow my instructions now.

    Thanks for the tip!

    Yep, but then you added LibGraph-2.0 in Libs folder :-S

    EDIT: Nevermind I saw it was custom version of the lib.
    Posted in: Raid AddOns
  • 0

    posted a message on Raven: Auras, Cooldowns and Notifications
    Ah that is true Tomber.

    I haven't tried your addon yet, but a addon I love is Inline Aura. Maybe that would be a nice feature the add for your addon, as it is already tracking auras.
    Posted in: General AddOns
  • 0

    posted a message on Grapple [Official thread and all that jazz]
    Quote from Humbedooh

    Thanks for the tip - I've added the pkgmeta hocus-pocus now and it seems to actually work :o.

    You added a .pkgmeta, but you didn't remove the Libs directory. If you use TortoiseSVN, right click the Libs folder and select delete under the TortoiseSVN submenu. Then check in your changes again.

    Interesting addon. But I'm currently not raiding either.
    Posted in: Raid AddOns
  • To post a comment, please or register a new account.