The patch for the upcoming update that you repeatedly send out at the end of every play session has locked up my system 3+ times (every time it has tried to download/install). After the last attempt, the patcher became damaged/corrupted, and now fails to connect, with the message "There was an error while starting the patch download. Error code: 31"
0
Comments
Edit: some information I've gleaned from various program logs:
Debug log:
[0119/150446:INFO:CONSOLE(0)] "Uncaught ReferenceError: LauncherAPI is not defined," source: about:blank(1)
[0119/150505:INFO:CONSOLE(0)] "Select shard: 0," source: http://launcher.startrekonline.com/static/all/js/api.js(157)
[0119/150936:INFO:CONSOLE(0)] "JSON parsing failed.," source: http://launcher.startrekonline.com/static/all/js/api.js(14)
[0119/151740:INFO:CONSOLE(0)] "Uncaught ReferenceError: LauncherAPI is not defined," source: about:blank(1)
[0119/151949:INFO:CONSOLE(0)] "Select shard: 0," source: http://launcher.startrekonline.com/static/all/js/api.js(157)
[0119/153043:INFO:CONSOLE(0)] "Uncaught ReferenceError: LauncherAPI is not defined," source: about:blank(1)
[0119/153111:INFO:CONSOLE(0)] "Uncaught ReferenceError: LauncherAPI is not defined," source: about:blank(1)
[0119/153216:INFO:CONSOLE(0)] "Select shard: 0," source: http://launcher.startrekonline.com/static/all/js/api.js(157)
[0119/154600:INFO:CONSOLE(0)] "Uncaught ReferenceError: LauncherAPI is not defined," source: about:blank(1)
[0119/154911:INFO:CONSOLE(0)] "Uncaught ReferenceError: LauncherAPI is not defined," source: about:blank(1)
[0119/154934:INFO:CONSOLE(0)] "Select shard: 0," source: http://launcher.startrekonline.com/static/all/js/api.js(157)
[0119/155055:INFO:CONSOLE(0)] "JSON parsing failed.," source: http://launcher.startrekonline.com/static/all/js/api.js(14)
[0119/155155:INFO:CONSOLE(0)] "JSON parsing failed.," source: http://launcher.startrekonline.com/static/all/js/api.js(14)
[0119/161949:INFO:CONSOLE(0)] "Uncaught ReferenceError: LauncherAPI is not defined," source: about:blank(1)
[0119/162054:INFO:CONSOLE(0)] "Uncaught ReferenceError: LauncherAPI is not defined," source: about:blank(1)
[0119/162102:INFO:CONSOLE(0)] "Select shard: 0," source: http://launcher.startrekonline.com/static/all/js/api.js(157)
[0119/174606:INFO:CONSOLE(0)] "Uncaught ReferenceError: LauncherAPI is not defined," source: about:blank(1)
[0119/174607:ERROR:block_files.cc(88)] Failing CreateMapBlock
[0119/174607:ERROR:entry_impl.cc(940)] Failed to save user data
[0119/174607:ERROR:block_files.cc(88)] Failing CreateMapBlock
[0119/174607:ERROR:entry_impl.cc(940)] Failed to save user data
ERRORS logs:
190119 23:04:17 2 [1] ESC : The patchclientlib is internally recording error code : 36\nA file was locked that could not be open for writing - Could not delete previously renamed file (C:/Users/Public/Games/Cryptic Studios/Star Trek Online.exe.deleteme)
190119 23:04:17 4 [1] ESC : The patchclientlib is returning error code : 36\nA file was locked that could not be open for writing
190119 23:04:17 5 [1]: Launcher PCL Error A file was locked that could not be open for writing
190119 23:04:19 2 [1] ESC : The patchclientlib is internally recording error code : 36\nA file was locked that could not be open for writing - Could not delete previously renamed file (C:/Users/Public/Games/Cryptic Studios/Star Trek Online.exe.deleteme)
190119 23:04:19 4 [1] ESC : The patchclientlib is returning error code : 36\nA file was locked that could not be open for writing
190119 23:04:19 5 [1]: Launcher PCL Error A file was locked that could not be open for writing
190119 23:04:19 2 [1] ESC : The patchclientlib is internally recording error code : 36\nA file was locked that could not be open for writing - Could not delete previously renamed file (C:/Users/Public/Games/Cryptic Studios/Star Trek Online.exe.deleteme)
190119 23:04:19 4 [1] ESC : The patchclientlib is returning error code : 36\nA file was locked that could not be open for writing
190119 23:04:19 5 [1]: Launcher PCL Error A file was locked that could not be open for writing
190120 00:21:05 2 [1]: ERROR: Connecting with an already-existing patch client
(The file Online.exe.deleteme mentioned in the first line doesn't actually exist anywhere. Nothing I looked at seemed to mention what "file was locked that could not be open for writing", if it was some other file.)
hog_errors log:
190119 23:32:20 2 [1]: Error decompressing data. Verifying Files in the launcher may fix this issue.: C:/Users/Public/Games/Cryptic Studios/Star Trek Online/Live/piggs/bins.hogg:
190119 23:32:20 3 [1]: Read wrong number of bytes: C:/Users/Public/Games/Cryptic Studios/Star Trek Online/Live/piggs/bins.hogg: 13
190119 23:32:20 4 [1]: Missing DataList in Hogg file: C:/Users/Public/Games/Cryptic Studios/Star Trek Online/Live/piggs/bins.hogg: 18
190119 23:32:20 5 [1]: Unable to read from hogg file! : C:/Users/Public/Games/Cryptic Studios/Star Trek Online/Live/piggs/bins.hogg: 18
(verifying files didn't resolve the issue)
Shutdown log:
190119 23:03:50 2 MasterControlProgram[1]: Shutting down: C:\src\Core\CrypticLauncher\patcher.c(100)
Windows has a bad habit of randomly setting files and even entire directories to "Read Only" and the error you got "file was locked that could not be open for writing" is a good indication that this is exactly what happened. There is a utility you can download called "take Ownership" that will automate the process of resetting files and directories so that you again have full control over them when this happens. I have had to use it numerous times, usually right after a Windowss update where Windows will once again change the attributes on several files and directories making them read only.
wtf.
On-demand patching, Force verify nothing helps.