• 0

    posted a message on Wiring a file via Lua
    I don't. The thought of authors being able to write files to my HDD sends shivers down my spine.
    Posted in: Lua Code Discussion
  • 0

    posted a message on New dev tool - Addon Studio for World of Warcraft
    Not a friend of WYSIWYG stuff. I use Eclipse & WoWWiki. I'd stop smoking just to get my hands on a more in depth ref to the WoW-API though.
    Posted in: Frameworks
  • 0

    posted a message on Prat 3.0 Chat Mod Framework
    WTB line height setting! Will love you long time!
    Posted in: General AddOns
  • 0

    posted a message on Bartender4 - Official Topic
    If you add an option to adjust bar stratas I will send you fluffy bunnies and carrots so you can feed them!
    Posted in: General AddOns
  • 0

    posted a message on kgPanels Offical Thread
    Quote from kagaro
    ag may have loaded, but not created a target frame yet

    Sorry if I'm being thick... but doesn't that mean there's an onShow fired even though the frame isn't shown or even created yet?
    Posted in: General AddOns
  • 0

    posted a message on kgPanels Offical Thread
    Quote from kagaro
    actually the error is telling you agUFtarget does exist yet

    local aUF = LibStub("AceAddon-3.0"):GetAddon("ag_UnitFrames")
    if aUF.units.aUFtarget then
       aUF.units.aUFtarget.PortraitModel:SetFrameLevel(6)
    end
    

    Yeah. But I'm wondering why since the code should'nt even be executed at that point?
    Posted in: General AddOns
  • 0

    posted a message on kgPanels Offical Thread
    Hey there it's me again ;)

    I've added this onShow script to a panel:

    local aUF = LibStub("AceAddon-3.0"):GetAddon("ag_UnitFrames")
    if aUFtarget then
       aUF.units.aUFtarget.PortraitModel:SetFrameLevel(6)
    end


    Also added ag_UnitFrames to the script dependencies of that panel. It works as intended, however it will fire this Error when I load or re-load the UI:

    string "bg_targetFrame_OnShow"] line 3:
    attempt to index field 'aUFtarget' (a nil value)


    What's my slow brain missing? Since the script is dependant on aguf and the relevant expression only executed if the frame exists aUFtarget should never be nil, right? The error is also fired before the panel is actually shown, which puzzles me a bit since the code should'nt even be executed. As said the script itself seems to work fine.
    Posted in: General AddOns
  • 0

    posted a message on how to distribute my UI now?
    Quote from Kaelten
    We'll soon be offering UIPacks via CurseForge that will be able to have addons soft bundled into it (think pointers if that makes sense, and if not, um..... proxy?)

    We'll also have support for bundling SV files with them.

    Forgive me if I miss the point, but isn't this counter-productive in many ways?

    When I put together a compilation I actually never want any of the included addons to be updated unless it's me doing the update, as an author. This is important because addon updates will lead to errors and/or unintended sideeffects, resulting in my compilation not working the way I intended.

    In my opinion you shouldn't offer this functionality at all. If you're going to make a UI-comp and you're serious about it, you'll also set up a decent forum and/or website where users can go to and download the compilations, and where addons are kept up to date by the author who ensures that everythings works the way it was meant to work.
    Posted in: General Chat
  • To post a comment, please or register a new account.