• 0

    posted a message on Library Integration (Helps!!)
    Quote from Arrowmaster
    I think the args are different on AceConfig3 set functions and the one you really want is the 2nd arg and not the first.


    That would explain what's happening at the moment, sounds like I need to look at that.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Library Integration (Helps!!)
    Yep I've already written it - I tried to migrate to ace3 a few days ago but the config dialog seemed to have trouble setting alpha and scale values (I checked what it was setting them to, they were being set to a table instead of a value). The code is the same that I'm using now for ace2 and waterfall, so I'm not sure what was going on there. I am definately interested in using ace3 in the future, maybe I'll add libkeybound and buttonfacade, get them working, them replace ace2 with ace3. :)
    Posted in: Lua Code Discussion
  • 0

    posted a message on Updating addon via SVN
    Excellent, thanks a lot. Yes I read up about the .pkgmeta files, but my addon was originally on the wowace svn so it had the svnexternals property set. I could view the properties list but wasn't able to edit it for some reason (I don't know how I was accessing it but it certainly wasn't the right way), accessing it from right click-> properties allows me to delete the externals and set them correctly in a pkgmeta file. The only problem was creating the file itself; it's a hassle to create a pkgmeta file in windows since it doesn't let you type a filename with an extension and no name. I ended up copying the file from another addon and editing it accordingly.

    I didn't include the addon name since it doesn't really seem relevant but for reference it's ShamanBuffBars. I tried a download from curseforge and it's got all the files, (libs included) in the zip. Now to tag it and go experience Northrend! Thanks for your help Phanx!
    Posted in: Need Help?
  • 0

    posted a message on Library Integration (Helps!!)
    Ahh thanks. I've taken a look at the API pages already but those example addons are a good idea. I don't mind rewriting my menu to make it cleaner, but I have another question: Can I use libkeybound and buttonfacade with ace2, or are they ace3-exclusive? I don't really have any need for ace3 atm so I don't think it will be that beneficial for me, however I will try to add my options to the blizz menu.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Updating addon via SVN
    Hi,
    I'm trying to update my addon using Tortoise SVN, but I cannot checkout the current addon from the server, it gets to the FuBarPlugin lib and errors about a repository not existing at the required directory.

    I tried to commit the new files but it all got really messy. Is there any way to remove the files from the repository and upload them all from scratch? The embedded libs also seem to be saved in a list server-side which I can't access, as that's whats stopping me clearing it out and reuploading it all.
    Posted in: Need Help?
  • 0

    posted a message on Library Integration (Helps!!)
    Hi,
    I'm trying to use ButtonFacade and LibKeyBound in my addon, but I can't get either to work. I also tried adding my config options to the WoW Interface panel but that failed spectacularly too - I'm not experienced at all in LUA so I don't really know what I'm doing.

    I really don't know where to start with ButtonFacade, what I need to register, what I need to call when etc.
    I tried LibKeyBound but I kept getting an error that it couldn't find an instanced version of the lib LibKeyBound (or something along those lines). I had it in the embeds.xml file and all, but I decided not to fiddle any more with that since I figured I needed to get that worked out first.

    As for the Interface options panel, I've got my config popping up in a AceConfig Dialog box alright, but as far as the integrated menu goes I only got the title of the addon to show up. Is there any way for me to use my aceoptions table and just 'import' it to the interface menu? If not I think it may be too much work for no gain..

    If anyone can give me some tips or even just point me in the right direction it would be greatly appreciated.

    Thanks a lot,
    Adam
    Posted in: Lua Code Discussion
  • 0

    posted a message on Coding question
    Ahh alright thanks. I'm actually using Ace2 libraries at the moment. Is it much work to upgrade to Ace3? I was fiddling around a few weeks ago with the Ace3 framework but it kept spitting out errors and I couldn't get it to work :(
    Posted in: Lua Code Discussion
  • 0

    posted a message on Coding question
    Hi everyone! Just looking for some advice with coding :) My addon, ShamanBuffBars, tracks shaman weapon buffs and shows a rebuff bar once it expires. I am wanting to add in a feature which shows the bar x mins before the buffs expire (user specified.) I know how to retrieve time remaining, but not sure as to what event I would hook it to, since I believe it needs to be triggered by an event.

    I could find an event that gets fired every second or so (I could add it into the update function for the bar), but wouldn't that type of thing cause a lot of lag and/or memory consumption if I was running something every second?

    Basically, I'm looking for the most efficient way to implement such a feature. Any help would be greatly appreciated. :)

    Regards,
    Adam
    Posted in: Lua Code Discussion
  • 0

    posted a message on cyCircled - Circled buttons for more than just BT2
    Quote from Seerah »

    @Bobblybook: nope - I don't have anything to do with this addon. :)


    Ahh ok, sorry :P Is Sairen (Author) here then? Maybe under a different username since I haven't seen anyone called Sairen in this thread. Either that, or anyone who knows what they're doing on the SVN either add it for me or please give me directions on how to do so.

    Thanks!
    Adam
    Posted in: General AddOns
  • 0

    posted a message on cyCircled - Circled buttons for more than just BT2
    I'm not sure who's 'in charge' here, my guess would be Seerah maybe, but would you be able to add my mod's plugin file to the addon please? I've been reading a few posts and it sounds like I might be able to add it via the SVN somehow, but I don't want to do anything without permission and I don't want to stuff anything up :) So I have attached the file to this post. (My addon is ShamanBuffBars)

    Cheers,
    Adam
    Posted in: General AddOns
  • 0

    posted a message on cyCircled - Circled buttons for more than just BT2
    ShamanBuffBars plugin file attached :) Tested it, working fine with both bars. Cheers :)

    Bobblybook (Adam)
    Posted in: General AddOns
  • 0

    posted a message on [Request, Idea] "Free to Cheetah" simple addon
    CHAT_MSG_SPELL_AURA_GONE_SELF


    i guess you could get my function to fire when this event is registered, thats an efficient way
    Posted in: Addon Ideas
  • 0

    posted a message on Fubar ministats addon
    Hi there Buio!

    Me and a friend are thinking about attempting this, but we aren't too experienced in LUA and we aren't hardcore programmers, so it'd be more like a mini-project. I would use this on my fury warrior if we were to get it working, so if you would like to stick around we may be able to make just what you want :)

    Cheers,
    Bobblybook [Adam]
    Posted in: Addon Ideas
  • 0

    posted a message on [Request, Idea] "Free to Cheetah" simple addon
    hey, wrote this up quickly, just gives you a general idea, the for statement scans your buffs to see if any are harmful, thats the one way i know of to see if you got debuffs that hurt.

    u can just modify it to suit for Ace2, with the frame messages, u dont have to do that u can make ur own frame to put it in.

    as i said, this is just to give you a general idea, i haventt tested yet but it should work, , of course you'll need to change the function name, put it into an actual lua file, make a TOC and all, but thats simple

    function FreetoCheetah()
    	for i = 0,30 do
    		local type = GetPlayerBuff(i, "HARMFUL")
    		local free = 1
    			if type = true then
    				free = 2
    			end
    	end		
    
    	if free == 2 the
    		DEFAULT_CHAT_FRAME:AddMessage("Not Free to Cheetah!");
    	else
    		DEFAULT_CHAT_FRAME:AddMessage("Free to Cheetah!");
    	end
    end 


    edit: you'll also need to write code as to when to execute the function, im fairly new to the addon coding world sp im not to sure on how to make it constantly run, and if it did constantly run, it may lag a lot!
    Posted in: Addon Ideas
  • 0

    posted a message on Hooking into StaticPopupDialogs.
    Thanks, i'll try that, wont be able to test because i've 'banned' my self from WoW due to exams, yet i still am compelled to work on WoW related stuff, lol
    Posted in: Lua Code Discussion
  • To post a comment, please or register a new account.