• 0

    posted a message on Recount size/location through addon
    Quote from egingell
    Recount:SaveMainWindowPosition() needs to be called.



    I've changed it to:

    if(recount_move==true) then
    Recount.MainWindow:SetUserPlaced(false)
    Recount.MainWindow:ClearAllPoints()
    Recount.MainWindow:SetPoint(recount_position, UIParent, recount_position, recount_position_x, recount_position_y)
    Recount.MainWindow:SetWidth(recount_width)
    Recount.MainWindow:SetHeight(recount_height)
    Recount:ResizeMainWindow();
    
    local recframe = Recount.MainWindow;
    recframe.CloseButton:Hide();
    Recount:LockWindows( true );
    Recount:SaveMainWindowPosition();
    end
    


    Still isn't working, the frame does lock like it is suppose to, and it hides the close button, but it will not move it, unless I delete the SV file everytime I log out.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Recount size/location through addon
    I've been trying to come up with a script to move recount and change it's size through a script. With no luck so far from trial and error, or google, I've decided to turn here.

    I've noticed nUI does this, but their coding style varies from mine.

    I am having problems with the Saved Variables still over powering the addon I have created to move it. It moves it the first time if the SV files are deleted, but any time after that it uses them.

    Codes are:
    recount_move = true
    recount_position = "BOTTOMRIGHT"
    recount_position_x = -160
    recount_position_y = 29
    recount_width = 180
    recount_height = 148
    


    if(recount_move==true) then
    Recount.MainWindow:ClearAllPoints()
    Recount.MainWindow:SetPoint(recount_position, UIParent, recount_position, recount_position_x, recount_position_y)
    Recount.MainWindow:SetWidth(recount_width)
    Recount.MainWindow:SetHeight(recount_height)
    Recount:ResizeMainWindow();
    
    local recframe = Recount.MainWindow;
    recframe.CloseButton:Hide();
    Recount:LockWindows( true );
    end
    


    In the .toc file of the addon recount is in the dependencies (required)

    Anyone got any ideas from here?
    Posted in: Lua Code Discussion
  • 0

    posted a message on packaging/getting your addon on curse?
    I have looked over the tutorial @ http://forums.wowace.com/showthread.php?t=14907 (second post) and it just doesn't seem to be working. I done the "SVN Checkout" like it stated there, but it never asks for a password, it just pops up a new window and says:

    Checkout from svn://tragic00@svn.curseforge.net/wow/clixsimplehide/mainline/trunk, revision HEAD, Fully recursive, Externals included
    At revision: 1
    
    Posted in: Need Help?
  • 0

    posted a message on packaging/getting your addon on curse?
    Quote from egingell
    Once you post an addon on CurseForge, it automatically goes to Curse.


    I understand that, but the part I am clueless on is using SVN to post such addon.
    Posted in: Need Help?
  • 0

    posted a message on packaging/getting your addon on curse?
    Ok, I am totally confused on how curseforge works. I have created a few different addons and would like to get them hosted on curse. I've read the FAQ's on wowace & curseforge, but still don't quite understand.

    I'd like to use a repository, such as Subversion, but I haven't a clue on how to use it, even after reading the tutorials/faq's.

    As for .pkgmeta, I'm clueless.

    Any help would be great.
    Posted in: Need Help?
  • To post a comment, please or register a new account.