CnB Posted March 9, 2014 Posted March 9, 2014 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
K4stic Posted March 9, 2014 Posted March 9, 2014 local xmlFile = xmlLoadFile ( xmlFileName ) <= line 2 instead on give it xmlFileName you must add the location of life example xmlLoadFile ( "FileName.xml" )
CnB Posted March 9, 2014 Author Posted March 9, 2014 It doesn't work. Show me how it should be Maybe I'm doing something wrong.
Anubhav Posted March 9, 2014 Posted March 9, 2014 Where is xmlFileName defined? + If its in resource type the name ei: xmlFile.xml
CnB Posted March 9, 2014 Author Posted March 9, 2014 Download please and fix it for me http://speedy.sh/NpzYr/login-panel
Anubhav Posted March 9, 2014 Posted March 9, 2014 Download please and fix it for me http://speedy.sh/NpzYr/login-panel We won't fix it for leaked scripts.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now