h0tw1r3 / valheim-webmap

Live Valheim world map on the web! Server side only BepInEx mod.
MIT License
15 stars 6 forks source link

Seems to be causing world loading to fail #7

Open skyroor opened 6 months ago

skyroor commented 6 months ago

using lloesche/valheim-server-docker ValheimPlus/PlantEverything as additional mods

I have tried the other forks and they have worked fine in regard to getting the server started, but don't work for other reasons, but with this fork I can't get the server started due to the world loading failing. I think anyways.

Server can't start and gets stuck in an infinite loop retrying to start the server. Provided logs happen roughly before the server starts over with the whole process:

7:05:32: WebMap: starting point (61.86, 35.14, -387.54) valheim-1 | May 18 17:05:32 supervisord: valheim-server 05/18/2024 17:05:32: WebMap: starting point (61.86, 35.14, -387.54) valheim-1 | May 18 17:05:33 supervisord: valheim-server 05/18/2024 17:05:33: Console: [Info : Unity Log] 05/18/2024 17:05:33: WebMap::DiscordWebHook::SendMessage: System.Collections.Specialized.NameValueCollection valheim-1 | May 18 17:05:33 supervisord: valheim-server 05/18/2024 17:05:33: WebMap::DiscordWebHook::SendMessage: System.Collections.Specialized.NameValueCollection valheim-1 | May 18 17:05:33 supervisord: valheim-server 05/18/2024 17:05:33: Console: [Error : Unity Log] 05/18/2024 17:05:33: Exception while loading world /home/valheim/.config/unity3d/IronGate/Valheim/worlds_local/Asslands.db:System.NullReferenceException: Object reference not set to an instance of an object valheim-1 | May 18 17:05:33 supervisord: valheim-server at WebMap.WebMap+ZoneSystemLoadPatch.Postfix () [0x00058] in C:\Users\h0tw1r3\source\repos\valheim-webmap\WebMap\WebMap.cs:472 valheim-1 | May 18 17:05:33 supervisord: valheim-server at (wrapper dynamic-method) ZoneSystem.DMD(ZoneSystem,System.IO.BinaryReader,int) valheim-1 | May 18 17:05:33 supervisord: valheim-server at ZNet.LoadWorld () [0x000f8] in <4efa3faf7157456487d70c5f7277dba7>:0 valheim-1 | May 18 17:05:33 supervisord: valheim-server 05/18/2024 17:05:33: Exception while loading world /home/valheim/.config/unity3d/IronGate/Valheim/worlds_local/Asslands.db:System.NullReferenceException: Object reference not set to an instance of an object valheim-1 | May 18 17:05:33 supervisord: valheim-server at WebMap.WebMap+ZoneSystemLoadPatch.Postfix () [0x00058] in C:\Users\h0tw1r3\source\repos\valheim-webmap\WebMap\WebMap.cs:472 valheim-1 | May 18 17:05:33 supervisord: valheim-server at (wrapper dynamic-method) ZoneSystem.DMD(ZoneSystem,System.IO.BinaryReader,int) valheim-1 | May 18 17:05:33 supervisord: valheim-server at ZNet.LoadWorld () [0x000f8] in <4efa3faf7157456487d70c5f7277dba7>:0 valheim-1 | May 18 17:05:33 supervisord: valheim-server 05/18/2024 17:05:33: Console: [Error : Unity Log] 05/18/2024 17:05:33: World load failed mid-file. Exiting without save. Check backups! valheim-1 | May 18 17:05:33 supervisord: valheim-server 05/18/2024 17:05:33: World load failed mid-file. Exiting without save. Check backups! valheim-1 | May 18 17:05:33 supervisord: valheim-server 05/18/2024 17:05:33: Console: [Info : Unity Log] 05/18/2024 17:05:33: Unloading unused assets valheim-1 | May 18 17:05:33 supervisord: valheim-server 05/18/2024 17:05:33: Unloading unused assets valheim-1 | May 18 17:05:33 supervisord: valheim-server 05/18/2024 17:05:33: Console: [Error : Unity Log] 05/18/2024 17:05:33: World db couldn't load correctly, saving has been disabled to prevent .old file from being overwritten.

h0tw1r3 commented 6 months ago

Hasn't been updated for the latest Valheim. Open to pull requests, or I will get to it when I pick the game back up again.

skyroor commented 6 months ago

Hasn't been updated for the latest Valheim. Open to pull requests, or I will get to it when I pick the game back up again.

Not sure where to start, but I'll try and poke around. Otherwise, no worries, partly just wanted to log the issue. Thanks for the response.

Serret commented 3 months ago

First of all thanks for maintaining this mod!

Just to report I've tried running this on a dedicated server also using lloesche/valheim-server-docker and I got the problem reported above.

Server version: 0.218.15 - Ashlands
BepInEx version: 5.4.23.2.
Installed plugins: Discord Notifier, ServerDevCommands

I understand this is a hobby project that wasn't updated yet to the latest patch. I wanted to report nonetheless so you know it's not an isolated issue on one machine.

LordofHeaven commented 1 month ago

First of all thanks for maintaining this mod!

Just to report I've tried running this on a dedicated server also using lloesche/valheim-server-docker and I got the problem reported above.

Server version: 0.218.15 - Ashlands
BepInEx version: 5.4.23.2.
Installed plugins: Discord Notifier, ServerDevCommands

I understand this is a hobby project that wasn't updated yet to the latest patch. I wanted to report nonetheless so you know it's not an isolated issue on one machine.

Hey!

I'm just reporting the same problem as well and my setup is the same with Serret! This mod would be awesome, if it worked.

counterfitninja commented 2 weeks ago

@h0tw1r3 Do you think this is something you will get back to. Only recenlty found Valehim and would love a web map of my multiplayer.

h0tw1r3 commented 2 weeks ago

Yes, I played with it a few weeks ago and got it working. Unfortunately real-life interrupted me from putting the finishing touches on and uploading. Traveling at the moment, but I'll wrap it up soon and get a new release out.

The-Harbynger commented 1 week ago

I just found this recently and tried to get it working, and am having the same issue. I am also running the lloesche/valheim-server-docker image.

Thanks for working on this! Really excited to try it out.