Jump to content

Stack Overflow


CnB

Recommended Posts

ERROR: login_panel\c.lua:2: stack overflow

function xmlFileHandler(gReturn) 
    local xmlFile = xmlLoadFile ( xmlFileName ) 
    if not xmlFile then 
        xmlFile = xmlCreateFile( xmlFileName, "settings" ) 
        xmlNodeSetAttribute ( xmlFile, "autologin", "false" ) 
    end 
        xmlNodeSetAttribute(xmlFile,"username",tostring(guiGetText(editUsername))) 
        xmlNodeSetAttribute(xmlFile,"password",tostring(guiGetText(editPassword))) 
        xmlSaveFile ( xmlFile ) 
        xmlUnloadFile ( xmlFile ) 
        if (gReturn) then 
        if (gReturn == true) then 
            loginPanel() 
        else 
             return 
        end 
    end 
end 

Please help :P

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...