• 0

    posted a message on Can't find "Project Actions" in my project's page
    Hi!

    I can't seem to figure out where the "Project Actions" stuff is so I can upload my files for my addon. The "Getting Started with Project Management" article says that it's at the upper right part of the page, but I can't find anything there.

    This is all I see. There's no "Upload File" option under "Actions", so I don't think that's the same as "Project Actions":

    http://i108.photobucket.com/albums/n24/Quezthecow/ProjectPage.jpg

    Sorry for the newbness, this is my first time working with the new WoWAce.
    Posted in: General Chat
  • 0

    posted a message on Extending/Manipulating existing Addons?
    It depends on how the addon is written.

    This is a very important thing to remember.

    I think an example would be nice!

    -- Demo addon 1: extendable
    Addon = {};
    Addon.greeting = "Hello, World!";
    
    Addon.frame = CreateFrame("Frame");
    Addon.frame:RegisterEvent("ADDON_LOADED");
    
    Addon.frame:SetScript("OnEvent",
     function() SendChatMessage("GUILD", Addon.greeting); end)


    In this (very simple) example, everything can be accessed from the outside - nothing is stored in local variables. Let's say you wanted to change the greeting. You can simply set that to "LEEEROOOOY JENKIIINNSSS" and replace the OnEvent handler to react whenever you enter combat in a raid group with at least 4 other guildies.

    That sounds like a great addon idea...

    Anyway, let's see situation 2.

    --Demo addon 2: Oh crap, not extendable
    
    Addon = {};
    Addon.greeting = "Hello, World!";
    
    local frame = CreateFrame("Frame");
    frame:RegisterEvent("ADDON_LOADED");
    
    frame:SetScript("OnEvent",
     function()
      SendChatMessage("GUILD", Addon.greeting);
     end)

    In here, you can still change the greeting, but you cannot change when the mod will send your guildies a friendly message because the frame is stored in a local variable.

    Remember, this is a very simple example. In "real" addons, control passes to functions that may be located all over the place. Also remember that the author is not obligated to keep his addon's API compatible with your extensions, just as Blizzard is not obligated to keep their API compatible with addons.

    Oh, and to that new post, yes, it is limited by visibility. What you can touch, you can replace, as long as it isn't required to remain untainted for the UI to work properly.

    One last thing - Lua is not an OO language (see http://en.wikipedia.org/wiki/Lua_(programming_language)) so you can't do it the way you may be used to. Something similar to inheritance can be achieved using metatables, though - this is how the widget functions work.

    (Edit: Fixed second example)
    Posted in: Lua Code Discussion
  • 0

    posted a message on Happy Birthday Kaelten!
    Happy birthday!
    Posted in: General Chat
  • 0

    posted a message on WelcomeHome - Your first Ace3 Addon
    As those Dwarves say...


    BRILLIANT!

    /give cookies

    Edit: the ZONE_CHANGED method at the bottom of the Chat Commands and Configuration section calls GetRealZoneText and not GetSubZoneText, causing the addon to not work.
    Posted in: Ace3
  • 0

    posted a message on Checklist2 - Beta testers needed
    Hello, Ace community!

    Checklist2 is a simple addon that helps keep track of things you need to do. As I'm working solo on this project (excluding translations) I need people to test the list sharing features. Bring friends :) Addon communication is something that I'm fairly new to, and I'm a bit paranoid that I messed up somewhere. Of course, if you see problems elsewhere, let me know about it, too.

    This version works on release servers. You don't have to be on the PTR to try it out. Actually, this hasn't even been tested on the PTR...

    If everyone's feedback is good and no big bugs appear, then Checklist2 will get polished for "true" release on Curse and WoWInterface.

    SVN: http://svn.wowace.com/wowace/trunk/Checklist2/
    Zip: http://files.wowace.com/Checklist2/Checklist2.zip
    Posted in: General AddOns
  • To post a comment, please or register a new account.