CnB Posted March 9, 2014 Share 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 Link to comment
K4stic Posted March 9, 2014 Share 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" ) Link to comment
CnB Posted March 9, 2014 Author Share Posted March 9, 2014 It doesn't work. Show me how it should be Maybe I'm doing something wrong. Link to comment
Anubhav Posted March 9, 2014 Share Posted March 9, 2014 Where is xmlFileName defined? + If its in resource type the name ei: xmlFile.xml Link to comment
CnB Posted March 9, 2014 Author Share Posted March 9, 2014 Download please and fix it for me http://speedy.sh/NpzYr/login-panel Link to comment
Anubhav Posted March 9, 2014 Share 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. Link to comment
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