• 0

    posted a message on Is this the thread for code feedback?
    I am working on updating SmartRes for WotLK, and when compiling it, I get errors that cause failure.

    code modifications

    The error while compiling is:
    Command: Commit
    Modified: D:\Program Files\World of Warcraft\Interface\Addons\SmartRes\.pkgmeta
    Deleting: D:\Program Files\World of Warcraft\Interface\Addons\SmartRes\SmartRes-deDE.lua
    Deleting: D:\Program Files\World of Warcraft\Interface\Addons\SmartRes\SmartRes-enUS.lua
    Deleting: D:\Program Files\World of Warcraft\Interface\Addons\SmartRes\SmartRes-koKR.lua
    Deleting: D:\Program Files\World of Warcraft\Interface\Addons\SmartRes\SmartRes-zhCN.lua
    Modified: D:\Program Files\World of Warcraft\Interface\Addons\SmartRes\SmartRes.lua
    Modified: D:\Program Files\World of Warcraft\Interface\Addons\SmartRes\SmartRes.toc
    Modified: D:\Program Files\World of Warcraft\Interface\Addons\SmartRes\SmartResOptions.lua
    Sending content: D:\Program Files\World of Warcraft\Interface\Addons\SmartRes\SmartRes.lua
    Sending content: D:\Program Files\World of Warcraft\Interface\Addons\SmartRes\SmartRes.toc
    Sending content: D:\Program Files\World of Warcraft\Interface\Addons\SmartRes\.pkgmeta
    Sending content: D:\Program Files\World of Warcraft\Interface\Addons\SmartRes\SmartResOptions.lua
    Error: Commit failed (details follow):
    Error: 'pre-commit' hook failed with error output:
    Error: trunk/SmartRes.lua has a syntax error:
    Error: luac: stdin:62: '}' expected (to close '{' at line 56) near 'return'
    Finished!:


    Suggestions, or is this the wrong forum, and where should I be posting?
    Posted in: Lua Code Discussion
  • 0

    posted a message on How To: Use curseforge/wowace to upload via SVN/TortoiseSVN
    Also, after doing the SVN commit, I get

    Command: Commit
    Modified: D:\Program Files\World of Warcraft\Interface\Addons\SmartRes\.pkgmeta
    Deleting: D:\Program Files\World of Warcraft\Interface\Addons\SmartRes\SmartRes-deDE.lua
    Deleting: D:\Program Files\World of Warcraft\Interface\Addons\SmartRes\SmartRes-enUS.lua
    Deleting: D:\Program Files\World of Warcraft\Interface\Addons\SmartRes\SmartRes-koKR.lua
    Deleting: D:\Program Files\World of Warcraft\Interface\Addons\SmartRes\SmartRes-zhCN.lua
    Modified: D:\Program Files\World of Warcraft\Interface\Addons\SmartRes\SmartRes.lua
    Modified: D:\Program Files\World of Warcraft\Interface\Addons\SmartRes\SmartRes.toc
    Modified: D:\Program Files\World of Warcraft\Interface\Addons\SmartRes\SmartResOptions.lua
    Sending content: D:\Program Files\World of Warcraft\Interface\Addons\SmartRes\SmartRes.lua
    Sending content: D:\Program Files\World of Warcraft\Interface\Addons\SmartRes\SmartRes.toc
    Sending content: D:\Program Files\World of Warcraft\Interface\Addons\SmartRes\.pkgmeta
    Sending content: D:\Program Files\World of Warcraft\Interface\Addons\SmartRes\SmartResOptions.lua
    Error: Commit failed (details follow):
    Error: 'pre-commit' hook failed with error output:
    Error: trunk/SmartRes.lua has a syntax error:
    Error: luac: stdin:62: unexpected symbol near 'local'
    Finished!:

    The offending code line:62 reads
    local name = GetSpellInfo("Resurrection") return name

    Is there an error in my code, and do I have to fix it before it will commit?

    And in the pkgmeta, I did list each Ace3 component seperately, all linking to the same trunk, as above.
    Posted in: Need Help?
  • 0

    posted a message on How To: Use curseforge/wowace to upload via SVN/TortoiseSVN
    When I go to
    http://www.wowace.com/projects/ace3/
    and click the repositories I get
    svn://svn.wowace.com/wow/ace3/mainline/trunk
    and in the .pkgmeta file (old version) I see listings for each component of Ace2. Does Ace3 only have one link, or should I search each component seperately?

    Thank you very much for this help. This is much, much farther than I've gotten in 4 days already.
    Posted in: Need Help?
  • 0

    posted a message on How To: Use curseforge/wowace to upload via SVN/TortoiseSVN
    I have been given Project Lead on SmartRes, and have updated it for 3.x of WoW. At this point, since it is an Ace3 project, I need to upload it to WoWAce and to CurseForge. Also, I would like to use Subversion, .pkgmeta, or what have you since that seems recommended.

    Problem: I have gone through all the KB docs, CurseForge, WoWAce, etc, read them all, and nothing makes sense, as the "do this" stuff isn't actually showing up for me anywhere.

    What I have so far is: an addon folder on my computer (should I zip it, or is that done autmatically?) Project Lead status on WoWAce, and accounts on Curse and CurseForge and a lot of questions! ???

    A step by step tutorial, that does not assume you have uploaded to Curse.com, and does not assume that a project is a new project, would be greatly appreciated.
    Posted in: Need Help?
  • To post a comment, please or register a new account.