viktor-ferenczi / multigrid-projector

Multigrid Projector plugin for the Space Engineers game.
MIT License
24 stars 6 forks source link

with new version server dont start correct #47

Closed dtmaster79 closed 1 year ago

dtmaster79 commented 1 year ago

When I want to start my server (not Torch), it only starts until the plugin is loaded. Then you can't go any further. Here is an excerpt of the log.

2023-03-23 00:12:41.184 - Thread:  19 ->  Plugin Init: MultigridProjectorDedicated.MultigridProjectorPlugin
2023-03-23 00:12:41.185 - Thread:  19 ->  Info: Multigrid Projector: Loading
2023-03-23 00:12:41.644 - Thread:  19 ->  Error: Multigrid Projector: Failed to load; System.ArgumentException: Path cannot be the empty string or all whitespace.
   at System.IO.Directory.CreateDirectory(String path)
   at HarmonyLib.FileLog.get_LogPath()
   at HarmonyLib.FileLog.Log(String str)
   at HarmonyLib.Harmony..ctor(String id)
   at MultigridProjectorDedicated.MultigridProjectorPlugin.get_Harmony()
   at MultigridProjectorDedicated.MultigridProjectorPlugin.Init(Object gameInstance)
2023-03-23 00:12:41.679 - Thread:  19 ->  Exception occurred: System.ArgumentException: Path cannot be the empty string or all whitespace.
   at System.IO.Directory.CreateDirectory(String path)
   at HarmonyLib.FileLog.get_LogPath()
   at HarmonyLib.FileLog.Log(String str)
   at HarmonyLib.Harmony..ctor(String id)
   at MultigridProjectorDedicated.MultigridProjectorPlugin.get_Harmony()
   at MultigridProjectorDedicated.MultigridProjectorPlugin.Init(Object gameInstance)
   at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
   at VRage.Dedicated.DedicatedServer.RunInternal(String instanceName)
   at VRage.Dedicated.DedicatedServer.RunMain(String instanceName, String customPath, Boolean isService, Boolean showConsole, Boolean checkAlive)
   at VRage.Dedicated.WindowsService.MainThreadStart(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart(Object obj)
2023-03-23 00:12:41.680 - Thread:  19 ->  Showing message
2023-03-23 00:12:43.533 - Thread:  19 ->  
================================== CRASH INFO ==================================
AppVersion: 01_201_014
GameName: Space Engineers
IsOutOfMemory: False
IsGPU: False
IsNative: False
IsTask: False
IsExperimental: True
ProcessRunTime: 47
PCUCount: 10014
IsHang: False
GCMemory: 439
GCMemoryAllocated: 439
HWAvailableMemory: 48888
ProcessPrivateMemory: 1569
AnalyticId: SEDS
================================== OFNI HSARC ==================================

2023-03-23 00:12:43.533 - Thread:  19 ->  Log Closed
viktor-ferenczi commented 1 year ago

You need to have 0Harmony.dll as well in the same folder as MultigridProjectorDedicated.dll. Apparently the plugin fails to load it for some reason. Both are included in the current MultigridProjectorDedicated-v0.4.15.zip file.

dtmaster79 commented 1 year ago

I have the file in the folder. I have both dll in one folder. I deleted the old ones and replaced them with the new ones. And then the server started. So it can't be because of the missing dll.

After your message I switched off the server completely. both files were re-inserted. Same message again.

viktor-ferenczi commented 1 year ago

Are you running this Dedicated Server locally on your machine or at a game server hosting provider?

dtmaster79 commented 1 year ago

No, it doesn't run on my local PC. And no, I don't use game server hosters (Nitrado, Gportal, etc). I host it myself on my root server.

I put version 0.4.13 back on it for testing. It works immediately. I'm also with you in the discord. My name there is: Tino / dtmaster

viktor-ferenczi commented 1 year ago

Changes made since 0.4.13:

Question is which one of these may cause your issue?

dtmaster79 commented 1 year ago

So far only the 0.4.15. I can't tell you a version 0.4.14. There is no 0.4.14 to download.

viktor-ferenczi commented 1 year ago

It is safe to use 0.4.13 for now. Once the major game update drops I will release a new version. 0.4.14 was only for the SE beta. 0.4.13 has the same features as 0.4.15, only change is that 0.4.15 can disable the code verification causing issues on Proton (Linux).

viktor-ferenczi commented 1 year ago

Also, MGP 0.4.13 on the server can be used with the latest MGP client plugin from Plugin Loader, so there should be no issue with compatibility either.

dtmaster79 commented 1 year ago

Thanks for the info.