Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: xmlfile
1. local xmlFile = xmlLoadFile(xmlFileName)
Witam pobra?em paczk? TPR z tego forum i zmagam si? z problemem ze strony panelu logowania/rejstracji.

Z g?ry przepraszam za tytu?, ale nie wiem jak to inaczej okre?li?.

B??d

ERROR
login_panel/c.lua:342stack overflow



Ca?a funkcja

-- XML File Handler
function xmlFileHandler(gReturn)
    
local xmlFile xmlLoadFile(xmlFileName) -- TUTAJ JEST B??D
    
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 (
gReturnthen
        
if (gReturn == truethen
            loginPanel
()
        else
            return
        
end
    end
end