• 0

    posted a message on ElkBuffBars v2 (finally Ace3 version)
    Quote from electronicpunk
    - It didn't use my existing profile when I first logged in, was about to start reconfiguring then I saw the class/hunter (for example) profiles were still there and looking correct! I guess folks just need to know to go in and fix those profiles if they weren't using the defaults.

    Most likely caused by the switch from AceDB-2.0 to AceDB-3.0; I'm only using the default profile and that worked fine. I'm not really sure if I ever tested profile support on Ace2 ^^'

    Quote from electronicpunk
    - The Alpha currently seems to have a range of 0 - 100,000 but again I can manually enter my value so no big deal

    Added a min/max of 0-100% (0-1.0 in value).

    Quote from electronicpunk
    - The main issue is that under filters for whitelist and blacklist it does not currently show any items ticked although they are still using their previous settings. (eg I have a bar showing deterrence, in the settings it is unticked but currently works, additionally type on the filter tab is also not showing any ticks. They do not respond to being checked.

    I blame Phanx, multiselect and different behaviour between Ace2 and Ace3 ;)
    Should be fixed now.

    Quote from electronicpunk
    - Show anchor doesn't seem to do anything, but not sure it actually needs to? Configuration mode allows the bar to be moved around.

    It only has an effect when the group is not in configuration mode: the title bar will keep showing.

    Quote from electronicpunk
    As I was upgrading an older version, did find there were lots of old config values in the savedvariables but really no how long I have held on to this config but cleared it up manually (double entries for minimap position for example)

    Dead bodies from dead libs and stuff used before ;) didn't bother to clean that up since it doesn't really harm
    Posted in: General AddOns
  • 0

    posted a message on ElkBuffBars v2 (finally Ace3 version)
    Found out that my deadline is later than I thought...

    Anyways, checked through the code and pushed the changes to svn :)

    btw, Phanx, on a scale from 0 to Cthulhu, how strange was my code? ;)
    Posted in: General AddOns
  • 0

    posted a message on ElkBuffBars v2 (finally Ace3 version)
    I know I'm a lazy brick of sh... whatever ;) managing to keep the thing running on life support for over 4 years is an accomplishment of its own ;)

    Bachelor thesis has been done for over a year by now, though *cough* ... currently it's the Master thesis :P at least I didn't do the same mistake again and got myself a deadline... and as it draws close, work load increases exponential ;)

    Anyways, thanks for the work Phanx. For now it's fine sitting in the ticket; I want diff it and maybe make a few changes first before committing it to the repo. Will at least be faster than fixing the old version myself, but thesis still comes first.

    Anyways, as a small thanks and to prove that EBB3 isn't total vaporware, I'll just drop my current code base for you to toy with... not meant for actual use though :D
    Posted in: General AddOns
  • 0

    posted a message on ElkBuffBars v2 (finally Ace3 version)
    It will get it (sooner or later); more important things ahead of me for the next few weeks though, so could be after the prepatch but should be before the addon itself launches.
    Posted in: General AddOns
  • 0

    posted a message on Mobile app
    What exactly do you want that the official mobile app doesn't provide? http://us.battle.net/wow/en/shop/mobile-armory/
    Posted in: Addon Ideas
  • 0

    posted a message on WowAce/CurseForge edit license feature semi-broken
    As long as it reliably stops the CurseClient from deleting my development copies of libs because some addon decided to do strange stuff with its dependencies (*throws fist at Altoholic*)...
    Posted in: General Chat
  • 0

    posted a message on Using custom images in SetImage()
    JPEG files aren't supported.

    from http://wowpedia.org/API_Texture_SetTexture :
    Images must be in BLP or TGA format, and must have power-of-two dimensions up to 1024 pixels. TGA images may have 8, 24, or 32 bits per pixel for grayscale, RGB, and RGBA images respectively; RLE is supported.
    Posted in: AddOn HELP!
  • 0

    posted a message on Battle Pet Addons Broken
    activate Lua errors / install BugSack
    Posted in: Need Help?
  • 0

    posted a message on scrolling panels... recommended method?
    It always depends on the content you want to scroll.
    If it's a list with a fixed small row height, e.g. one line of text, a FauxScrollFrame that doesn't actually scroll but only updates the rows displaying data is in most cases the way to go.
    If the row height is larger, you should have a look at HybridScrollFrame that combines both, recycling of rows and actual scrolling. It's used e.g. in the GuildUI for rewards.
    Posted in: Lua Code Discussion
  • 0

    posted a message on date leakage...
    well... you can, but GC doesn't come for free... you want to prevent both, wasted memory and wasted CPU cycles...
    Posted in: Lua Code Discussion
  • 0

    posted a message on ElkBuffBars v2 (finally Ace3 version)
    Maybe I should look into putting in some more hacks to temporary fix AE-2.0 until EBB3 is in a usable state... :/
    Posted in: General AddOns
  • 0

    posted a message on Syncing between addons
    You can still have one note per user per officer, just pick how you need it.
    The main point is that if there is only one entity that can edit a note, a timestamp is enough to update to a newer (though not always the newest) version, since there can't be merge conflicts by multiple people changing data independent from each other.
    Posted in: AddOn HELP!
  • 0

    posted a message on Syncing between addons
    For the guild bank case, the problem is a lot simpler though since for a given time t, there is only one valid state so can just time stamp your data and go with the newest version.
    In the case of officer notes though their could be a branched edit resulting in merge conflicts.
    Consider the case A edits a note, goes offline.
    Then B comes online and edits the note, too.
    Now A comes online again. Both A and B have an edit for the other person to sync, which one should be taken?
    A possible solution would be to allow one note per officer resulting again in only a single valid state at a given time.
    Posted in: AddOn HELP!
  • 0

    posted a message on In-Game Addon System (IGAS)
    your first code block is returning 625 for me as well (haven't run the second one).
    But since you are trying to do a simple oop system, you should use metatables:
    do
        -- a light-weighted class
        myclass = {}
    
        function myclass:methodA()
        end
        myclass_mt = {__index = myclass}
    
        function createObject()
            local obj = setmetatable({}, myclass_mt)
            return obj
        end
    
        -- we create 1000 object
        collectgarbage()
    
        collectgarbage('stop')
    
        memory = collectgarbage('count')
    
        for i = 1, 10000 do
            obj = createObject()
        end
    
        print(collectgarbage('count') - memory)
    
        collectgarbage('restart')end
    This results in 312.5 for me...
    Posted in: Libraries
  • 0

    posted a message on Lua List and inclusion in mod
    Did you try to use table.insert and table.remove? see: http://www.lua.org/pil/19.2.html
    Posted in: Lua Code Discussion
  • To post a comment, please or register a new account.