Tue Dec 15, 2015 6:25 pm
Today when I started and checked for updates, Said the updater needed to be updated and shortly crashed on two attempts. Tried to start the game and it said there is a newer version to download. Went into a debug mode (see text of report below (sorry I don't see a spoiler box option) and the updater reported Download Error
Error: Unable to download file. An error occurred while trying to open an FTP file.
"Back" retries - got another debug window (not sure it the result is exactly the same.
*** LOCATION: Download File (FTP) > On Preload
[9]: screen_globals = {};
[12]: screen_globals.SourceAddress = g_SourceAddress;
[13]: screen_globals.Port = g_FTPPort;
[14]: screen_globals.Timeout = g_FTPTimeout;
[15]: screen_globals.Username = g_FTPUsername;
[16]: screen_globals.Password = g_FTPPassword;
[17]: screen_globals.UsePassiveMode = g_FTPUsePassiveMode;
[18]: screen_globals.TransferType = g_FTPTransferType;
[21]: screen_globals.DestinationPath = g_PatchFileDest;
*** LOCATION: Download File (FTP) > On Start
[6]: screen_globals.Cancelled = false;
[9]: DlgProgressBar.SetRange(CTRL_PROGRESS_BAR_01, 0, 100);
[10]: DlgProgressBar.SetPos(CTRL_PROGRESS_BAR_01, 0);
[13]: local tableFileParts = String.SplitPath(screen_globals.DestinationPath);
[14]: local DestFilename = "";
[15]: if(tableFileParts) then
[16]: DestFilename = tableFileParts.Filename..tableFileParts.Extension;
[21]: local SiteName = g_GetSiteNameFromURL(screen_globals.SourceAddress);
*** LOCATION: Global include script: C:\PROGRA~2\TRUEUP~1.0\Includes\Scripts\_TU20_Global_Functions.lua
[336]: local nWebSiteNameStartPos = String.Find(strURL, "://");
[337]: if(nWebSiteNameStartPos == -1) then
[339]: nWebSiteNameStartPos = 1;
[345]: local nNextSlashPos = String.Find(strURL, "/", nWebSiteNameStartPos);
[347]: if(nNextSlashPos == -1) then
[350]: return String.Mid(strURL, nWebSiteNameStartPos, nNextSlashPos - nWebSiteNameStartPos);
*** LOCATION: Download File (FTP) > On Start
[87]: end
[29]: function FTPDownloadCallback(BytesDownloaded, FileSize, TransferRate, SecondsLeft, EstimatedTimeRemaining, ServerStatusMessage)
[97]: screen_globals.TimeStarted = os.time();
[100]: FTPWI.Download(screen_globals.SourceAddress, screen_globals.DestinationPath, screen_globals.Username, screen_globals.Password, screen_globals.TransferType, screen_globals.Timeout, screen_globals.Port, screen_globals.UsePassiveMode, FTPDownloadCallback);
[30]: FileSizeMB = SessionVar.Expand("%FileSizeMB%")
[31]: FileSizeBits = SessionVar.Expand("%FileSizeBits%")
[33]: if(screen_globals.Cancelled) then
[39]: DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_01, {Text=TrueUpdate.GetLocalizedString("MSG_DOWNLOADING")..": "..DestFilename.." "..TrueUpdate.GetLocalizedString("MSG_FROM").." "..SiteName});
[42]: local PercentComplete = 0;
[44]: PercentComplete = (BytesDownloaded / FileSizeBits) * 100;
[48]: DlgProgressBar.SetPos(CTRL_PROGRESS_BAR_01, PercentComplete);
[51]: if(ServerStatusMessage == "") then
[82]: DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_02, {Text=ServerStatusMessage});
[86]: return true;
[30]: FileSizeMB = SessionVar.Expand("%FileSizeMB%")
[31]: FileSizeBits = SessionVar.Expand("%FileSizeBits%")
[33]: if(screen_globals.Cancelled) then
[39]: DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_01, {Text=TrueUpdate.GetLocalizedString("MSG_DOWNLOADING")..": "..DestFilename.." "..TrueUpdate.GetLocalizedString("MSG_FROM").." "..SiteName});
[42]: local PercentComplete = 0;
[44]: PercentComplete = (BytesDownloaded / FileSizeBits) * 100;
[48]: DlgProgressBar.SetPos(CTRL_PROGRESS_BAR_01, PercentComplete);
[51]: if(ServerStatusMessage == "") then
[82]: DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_02, {Text=ServerStatusMessage});
[86]: return true;
[30]: FileSizeMB = SessionVar.Expand("%FileSizeMB%")
[31]: FileSizeBits = SessionVar.Expand("%FileSizeBits%")
[33]: if(screen_globals.Cancelled) then
[39]: DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_01, {Text=TrueUpdate.GetLocalizedString("MSG_DOWNLOADING")..": "..DestFilename.." "..TrueUpdate.GetLocalizedString("MSG_FROM").." "..SiteName});
[42]: local PercentComplete = 0;
[44]: PercentComplete = (BytesDownloaded / FileSizeBits) * 100;
[48]: DlgProgressBar.SetPos(CTRL_PROGRESS_BAR_01, PercentComplete);
[51]: if(ServerStatusMessage == "") then
[82]: DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_02, {Text=ServerStatusMessage});
[86]: return true;
[30]: FileSizeMB = SessionVar.Expand("%FileSizeMB%")
[31]: FileSizeBits = SessionVar.Expand("%FileSizeBits%")
[33]: if(screen_globals.Cancelled) then
[39]: DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_01, {Text=TrueUpdate.GetLocalizedString("MSG_DOWNLOADING")..": "..DestFilename.." "..TrueUpdate.GetLocalizedString("MSG_FROM").." "..SiteName});
[42]: local PercentComplete = 0;
[44]: PercentComplete = (BytesDownloaded / FileSizeBits) * 100;
[48]: DlgProgressBar.SetPos(CTRL_PROGRESS_BAR_01, PercentComplete);
[51]: if(ServerStatusMessage == "") then
[82]: DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_02, {Text=ServerStatusMessage});
[86]: return true;
[30]: FileSizeMB = SessionVar.Expand("%FileSizeMB%")
[31]: FileSizeBits = SessionVar.Expand("%FileSizeBits%")
[33]: if(screen_globals.Cancelled) then
[39]: DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_01, {Text=TrueUpdate.GetLocalizedString("MSG_DOWNLOADING")..": "..DestFilename.." "..TrueUpdate.GetLocalizedString("MSG_FROM").." "..SiteName});
[42]: local PercentComplete = 0;
[44]: PercentComplete = (BytesDownloaded / FileSizeBits) * 100;
[48]: DlgProgressBar.SetPos(CTRL_PROGRESS_BAR_01, PercentComplete);
[51]: if(ServerStatusMessage == "") then
[82]: DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_02, {Text=ServerStatusMessage});
[86]: return true;
[30]: FileSizeMB = SessionVar.Expand("%FileSizeMB%")
[31]: FileSizeBits = SessionVar.Expand("%FileSizeBits%")
[33]: if(screen_globals.Cancelled) then
[39]: DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_01, {Text=TrueUpdate.GetLocalizedString("MSG_DOWNLOADING")..": "..DestFilename.." "..TrueUpdate.GetLocalizedString("MSG_FROM").." "..SiteName});
[42]: local PercentComplete = 0;
[44]: PercentComplete = (BytesDownloaded / FileSizeBits) * 100;
[48]: DlgProgressBar.SetPos(CTRL_PROGRESS_BAR_01, PercentComplete);
[51]: if(ServerStatusMessage == "") then
[82]: DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_02, {Text=ServerStatusMessage});
[86]: return true;
TRACE: LastError = 2509 ("An error occurred while trying to open an FTP file.")
[103]: screen_globals.DownloadResult = Application.GetLastError();
*** LOCATION: Download File (FTP) > On Finish
[4]: if(screen_globals.DownloadResult == 0) then
[10]: SessionVar.Set("%ErrorMessage%", TrueUpdate.GetLocalizedString("ERR_DOWNLOAD_FAILED").."\r\n".._tblErrorMessages[screen_globals.DownloadResult]);
[16]: Screen.Next();
*** LOCATION: Download File Failed > On Preload
[5]: if(SessionVar.Expand("%ErrorMessage%") == "%ErrorMessage%") then
[7]: end