Space Engineers

Space Engineers

Independent Contractors
billy2hawks 12 Jun, 2022 @ 4:10pm
Dedicated Server Reboot Loop (RESOLVED)
Every time I attempt to add the mod, the server goes into a reboot loop. I am using MES, Imber, Parallax, No Lightning Damage.

I am not sure where I might find more crash data, but I pulled the SPaceEngineersDedicated Log. I have included an excerpt:

2022-06-12 15:26:56.777 - Thread: 7 -> Downloading world mods - START
2022-06-12 15:26:56.968 - Thread: 21 -> Mod dependencies query successful
2022-06-12 15:26:56.969 - Thread: 7 -> Reference issue detected (circular reference or wrong order) for mod Steam:1521905890
2022-06-12 15:26:56.969 - Thread: 7 -> Reference issue detected (circular reference or wrong order) for mod Steam:1521905890
2022-06-12 15:26:56.973 - Thread: 7 -> Reference issue detected (circular reference or wrong order) for mod Steam:1521905890
2022-06-12 15:26:56.980 - Thread: 7 -> MyWorkshop.GetItemsBlocking: getting 5 items
2022-06-12 15:26:57.106 - Thread: 21 -> Mod query successful
2022-06-12 15:26:57.112 - Thread: 7 -> Downloading: Id = 2143322540, title = 'No Lightning Damage'
2022-06-12 15:26:58.030 - Thread: 21 -> Workshop item with id 2143322540 download finished. Result: k_EResultOK
2022-06-12 15:26:58.031 - Thread: 21 -> Workshop item with id 2143322540 download finished. Result: k_EResultOK
2022-06-12 15:26:58.035 - Thread: 21 -> Mod download successful.
2022-06-12 15:26:58.040 - Thread: 7 -> Up to date mod: Id = 2143322540, title = 'No Lightning Damage'
2022-06-12 15:26:58.046 - Thread: 7 -> Downloading: Id = 1521905890, title = 'Modular Encounters Systems'
2022-06-12 15:27:01.433 - Thread: 21 -> Workshop item with id 1521905890 download finished. Result: k_EResultOK
2022-06-12 15:27:01.433 - Thread: 21 -> Workshop item with id 1521905890 download finished. Result: k_EResultOK
2022-06-12 15:27:01.437 - Thread: 21 -> Mod download successful.
2022-06-12 15:27:01.445 - Thread: 7 -> Up to date mod: Id = 1521905890, title = 'Modular Encounters Systems'
2022-06-12 15:27:01.450 - Thread: 7 -> Downloading: Id = 1135484957, title = 'Parallax Concepts (Formerly Surface Occupation)'
2022-06-12 15:27:05.689 - Thread: 21 -> Workshop item with id 1135484957 download finished. Result: k_EResultFail
2022-06-12 15:27:05.689 - Thread: 21 -> Workshop item with id 1135484957 download finished. Result: k_EResultFail
2022-06-12 15:27:05.695 - Thread: 21 -> Error during downloading: Fail
2022-06-12 15:27:05.701 - Thread: 7 -> Up to date mod: Id = 1135484957, title = 'Parallax Concepts (Formerly Surface Occupation)'
2022-06-12 15:27:05.706 - Thread: 7 -> Downloading: Id = 973526550, title = 'Imber Corporation (Formerly Air Traffic)'
2022-06-12 15:27:05.838 - Thread: 21 -> Workshop item with id 973526550 download finished. Result: k_EResultFail
2022-06-12 15:27:05.838 - Thread: 21 -> Workshop item with id 973526550 download finished. Result: k_EResultFail
2022-06-12 15:27:05.842 - Thread: 21 -> Error during downloading: Fail
2022-06-12 15:27:05.849 - Thread: 7 -> Up to date mod: Id = 973526550, title = 'Imber Corporation (Formerly Air Traffic)'
2022-06-12 15:27:05.855 - Thread: 7 -> Downloading: Id = 445996030, title = 'Independent Contractors (Formerly Reddit Custom Encounters)'
2022-06-12 15:27:05.949 - Thread: 21 -> Workshop item with id 445996030 download finished. Result: k_EResultFail
2022-06-12 15:27:05.949 - Thread: 21 -> Workshop item with id 445996030 download finished. Result: k_EResultFail
2022-06-12 15:27:05.954 - Thread: 21 -> Error during downloading: Fail
2022-06-12 15:27:05.961 - Thread: 7 -> Up to date mod: Id = 445996030, title = 'Independent Contractors (Formerly Reddit Custom Encounters)'
2022-06-12 15:27:05.967 - Thread: 7 -> Mod download time: 8.86 seconds
2022-06-12 15:27:05.975 - Thread: 7 -> Downloading world mods - END
2022-06-12 15:27:05.987 - Thread: 19 -> Loading session: C:\ProgramData\SpaceEngineersDedicated\SEPlanets\Saves\Star System - Teenage Wasteland 04-08-2022 18-36-57
2022-06-12 15:27:06.026 - Thread: 19 -> GC Memory: 67,494,336 B
2022-06-12 15:27:06.028 - Thread: 19 -> Process Memory: 302,718,976 B
2022-06-12 15:27:06.028 - Thread: 19 -> Experimental mode: Yes
2022-06-12 15:27:06.028 - Thread: 19 -> Experimental mode reason: ExperimentalMode, ProceduralDensity, MaxFloatingObjects, BlockLimitsEnabled, EnableIngameScripts, Mods
2022-06-12 15:27:06.033 - Thread: 19 -> Console compatibility: No
2022-06-12 15:27:07.342 - Thread: 19 -> MyScriptManager.LoadData() - START
2022-06-12 15:27:07.356 - Thread: 19 -> Error: Error during loading session:System.ArgumentNullException: Value cannot be null.
Parameter name: path1
at System.IO.Path.Combine(String path1, String path2)
at VRage.Game.MyModContext.Init(ModItem modItem)
at VRage.Game.MyObjectBuilder_Checkpoint.ModItem.GetModContext()
at Sandbox.Game.World.MyScriptManager.LoadData()
at Sandbox.Game.World.MySession.PrepareBaseSession(MyObjectBuilder_Checkpoint checkpoint, MyObjectBuilder_Sector sector)
at Sandbox.Game.World.MySession.Load(String sessionPath, MyObjectBuilder_Checkpoint checkpoint, UInt64 checkpointSizeInBytes, Boolean saveLastStates, Boolean allowXml)
2022-06-12 15:27:07.356 - Thread: 19 -> Exception while loading world: Value cannot be null.
Parameter name: path1
2022-06-12 15:27:07.356 - Thread: 19 -> at System.IO.Path.Combine(String path1, String path2)
at VRage.Game.MyModContext.Init(ModItem modItem)
at VRage.Game.MyObjectBuilder_Checkpoint.ModItem.GetModContext()
at Sandbox.Game.World.MyScriptManager.LoadData()
at Sandbox.Game.World.MySession.PrepareBaseSession(MyObjectBuilder_Checkpoint checkpoint, MyObjectBuilder_Sector sector)
at Sandbox.Game.World.MySession.Load(String sessionPath, MyObjectBuilder_Checkpoint checkpoint, UInt64 checkpointSizeInBytes, Boolean saveLastStates, Boolean allowXml)
at Sandbox.Game.World.MySessionLoader.LoadDedicatedSession(String sessionPath, CancelToken cancelToken, Action afterLoad)
at Sandbox.MySandboxGame.InitQuickLaunch()
2022-06-12 15:27:07.357 - Thread: 19 -> MySandboxGame.Initialize() - END
2022-06-12 15:27:07.359 - Thread: 19 -> Timer Frequency: 10000000
2022-06-12 15:27:07.359 - Thread: 19 -> Ticks per frame: 166667
2022-06-12 15:27:07.359 - Thread: 19 -> Exiting..
2022-06-12 15:27:07.402 - Thread: 19 -> MyGuiScreenProgress MyGuiScreenBase.LoadContent
2022-06-12 15:27:07.412 - Thread: 19 -> MySession::Unload START
2022-06-12 15:27:07.413 - Thread: 19 -> AutoSaveInMinutes: 10
2022-06-12 15:27:07.413 - Thread: 19 -> MySandboxGame.IsDedicated: True
2022-06-12 15:27:07.413 - Thread: 19 -> IsServer: True
2022-06-12 15:27:07.413 - Thread: 19 -> Autosave in unload
2022-06-12 15:27:07.431 - Thread: 19 -> Saving world - START
2022-06-12 15:27:07.431 - Thread: 19 -> Making world state snapshot.
2022-06-12 15:27:07.431 - Thread: 19 -> Before snapshot.: GC Memory: 191 B
2022-06-12 15:27:07.480 - Thread: 19 -> Exception occurred: System.NullReferenceException: Object reference not set to an instance of an object.
at Sandbox.Game.World.MySession.GetCheckpoint(String saveName, Boolean isClientRequest)
at Sandbox.Game.World.MySession.Save(MySessionSnapshot& snapshot, String customSaveName)
2022-06-12 15:27:07.486 - Thread: 19 -> Network readers disposed
2022-06-12 15:27:07.690 - Thread: 19 -> Network readers disposed
2022-06-12 15:27:07.690 - Thread: 19 -> Logging off Steam...
2022-06-12 15:27:07.690 - Thread: 19 -> Shutting down server...
2022-06-12 15:27:07.778 - Thread: 19 -> Done
2022-06-12 15:27:07.778 - Thread: 19 -> MyDefinitionManager.PreloadDefinitions() - START
2022-06-12 15:27:07.787 - Thread: 19 -> Loading OffensiveWords definitions
2022-06-12 15:27:07.787 - Thread: 19 -> WARNING: Unexpected behaviour may occur due to redefinition of 'Offensive Words'
2022-06-12 15:27:07.787 - Thread: 19 -> MyDefinitionManager.PreloadDefinitions() - END
2022-06-12 15:27:07.884 - Thread: 19 -> MySession::Unload END
2022-06-12 15:27:07.887 - Thread: 19 -> MySandboxGame.UnloadData() - START
2022-06-12 15:27:07.887 - Thread: 19 -> MySandboxGame.UnloadData() - END
2022-06-12 15:27:07.887 - Thread: 19 -> Havok memory statistics:
hkFreeListMemorySystem memory overview:
=======================================

Allocation totals:

438712 allocated by heap
832 allocated by debug
16777216 allocated by solver
-------
17216760 computed total
17216760 reported total

Heap usage:

75024 (17%) unused in thread local freelists
148664 (33%) unused in main heap
215024 (49%) used in main heap
-------
438712 allocated by heap

Peak usage:

360928 (59%) peak heap used (versus current)
0 ( 0%) peak solver used (versus available)

2022-06-12 15:27:07.941 - Thread: 19 -> Steam closed
2022-06-12 15:27:07.941 - Thread: 19 -> Log Closed
Last edited by billy2hawks; 8 Oct, 2022 @ 8:50am
< >
Showing 1-3 of 3 comments
billy2hawks 8 Oct, 2022 @ 8:37am 
OK, FYI I finally figure this one out and it was not related to the mod, it was related to Dedicated Server64 not updating the steam files correctly so the mods could be downloaded.

The discussion is here: https://support.keenswh.com/spaceengineers/pc/topic/24978-1-201-013-dedicated-server-unable-to-download-some-mods

Basically SE is not copying the following files into the the right place:

steamclient.dll

steamclient64.dll

tier0_s.dll

tier0_s64.dll

vstdlib_s.dll

vstdlib_s64.dll

When the files are updated it just copies those files into the root of the dedicated server folder (that would be the install path you chose for SteanCMD to install SE Dedicated Server).

You need to copy those files to the sub-folder DedicatedServer64. Once you do that and start your server, it will update mods correctly.
Dalten  [developer] 9 Oct, 2022 @ 10:53am 
oh yeah, the famous one nevcairiel and i provided the fix for, and Keen refuses to incorporate. these dll files were last updated by valve on 7/28/2022.
billy2hawks 10 Oct, 2022 @ 9:09am 
Sorry about letting this linger, but this was the first chance I really had to research the issue. I would not have been able to resolve it without that post you guys had on Keen as I was no where near familiar with the backed of how mods were downloaded.
< >
Showing 1-3 of 3 comments
Per page: 1530 50