Project Zomboid

Project Zomboid

Sandbox Settings Sync Fix
27 Comments
Coot 16 Nov, 2024 @ 3:57pm 
@Diakon, Thanks for the update! I do use Udderly UpToDate now that I've moved the server to Indifferent Broccoli. Would have worked under Ege Bilecen's discord bot :(
Diakon  [author] 11 Nov, 2024 @ 8:28am 
@Bkacj Flag Forge. Sadly, no I couldn't make a fix for Evelyn's Mod. There simply is no reliable way to save the game like that. BTW, the issue they described, with a roughe map_sand.bin file appearing, it's caused by Udderly UpToDate. Not this mod.
Coot 11 Nov, 2024 @ 6:12am 
@Diakon I'm curious about running this mod on our large server but prior comments make me nervous. Did you get a chance to make that update, I saw the last patch was October 2023?
melon🍈 18 Aug, 2024 @ 7:23pm 
Good mod!
Diakon  [author] 22 Jul, 2024 @ 11:50pm 
And by talk to her I mean fix it myself because she's busy trying to not starve, unlike me
Diakon  [author] 22 Jul, 2024 @ 11:49pm 
@DinDin, the issue is, once you install enough mods into the game, when players log onto the server, they don't download up to date sandbox settings. This issue exists regardless of using UdderlyUpToDate, as far as I know. I could perhaps be wrong... Regardless, I'll talk to evelyn about fixing the UpToDate mod to not create the map_sand.bin file, if at all possible
photocyte 18 Jul, 2024 @ 2:30pm 
I thought it was just general PZ flakiness, but I am having the exact same issue as DinDin. I often have to go back into the sandbox config and set the options again, especially after a restart. Seems like this is tied to that map_sand.bin file issue that's described.

Using this mod and Udderly Up To Date as well.

Guess I will delete map_sand.bin on server startup as well for now.
DinDin 17 Jul, 2024 @ 7:29pm 
I have determined the cause.
When a mod uses the command "saveGame()", "map_sand.bin" is created, which is sent to clients instead of the real server settings

In my case, the mod using this command is "Udderly Up To Date".
The admin and RCON /save and /quit commands do not cause this issue.
Only "saveGame()" causes this.

Diakon has said here that "Evelyn asked me to make this mod to fix this exact issue... It worked perfectly for our server and many others"

But in Steam DMs, Diakon has told me that UdderlyEvelyn has a server startup file to delete "map_sand.bin", and recommended that I do the same.

If it "worked perfectly", then why is UdderlyEvelyn deleting "map_sand.bin"?

* This mod doesn't fix the issue.
* UdderlyEvelyn is fixing the issue by deleting "map_sand.bin".
* The issue was caused by UdderlyEvelyn's "Udderly Up To Date" in the first place.

So what is the purpose of this mod?
Diakon  [author] 13 Jul, 2024 @ 2:59am 
@HQ Not sure. DinDin doesn't use said mod and has the issue, so while possible, it's not the only cause
7hePope 12 Jul, 2024 @ 2:28pm 
@Diakon do you think it's the server tweaker? not really a modding expert nor a beginner, but i just noticed that when i enabled the server tweaker mod the sandbox and files didn't match...

Or this might be irrelevant but dunno just thinking it might help...
Diakon  [author] 11 Jul, 2024 @ 11:45pm 
I've sent you a friend request for a more direct communication. Just the fact that after you reboot the server, the settings revert back to the old state... That's an extreme red flag. An admin performing a manual update should trigger all clients to download all of the new settings, and for the server to update
Diakon  [author] 11 Jul, 2024 @ 11:40pm 
This... This is extremely concerning.This is exactly what my mod was supposed to prevent. Evelyn asked me to make this mod to fix this exact issue... It worked perfectly for our server and many others, you're the first one to file a complaint... I'll see what I can do... If anything
DinDin 11 Jul, 2024 @ 5:58am 
I don't understand what you mean by "How so?"

In the multiplayer server where I am an admin, the Sandbox Settings shown in-game do not always match the settings in servertest_SandboxVars.lua - they often get stuck on a cached version.
When saving the Sandbox Settings, servertest_SandboxVars.lua is then overwritten with whatever values were shown, but after rebooting the server, the Sandbox Settings shown in-game revert to the old version again, no matter what changes were made.

Deleting map_sand.bin on the server results in the Sandbox Settings shown in game updating correctly to show the settings in servertest_SandboxVars.lua

As you have suggested, this issue is most likely caused by a mod doing something weird.

I was hoping that installing your mod would fix the issue. It does not.
Diakon  [author] 11 Jul, 2024 @ 3:40am 
@DinDin How so? Unless Zomboid devs secretly did update the game to break something... Or some different mod overwrites the settings in a weird way. So long it's installed on both server and client.
DinDin 4 Jul, 2024 @ 11:56pm 
I installed this mod, but the Sandbox settings still get "stuck" sometimes.

My solution is to regularly delete map_sand.bin
Diakon  [author] 29 Mar, 2024 @ 2:56am 
It's rather irrelevant. It runs while the game is, so put it wherever your heart desires
Leonidax1 28 Mar, 2024 @ 6:07pm 
Hello, what is the loading order, does it go at the beginning of all the mods or at the end?
Alkanshel 28 Oct, 2023 @ 10:05am 
No worries! Thank you for updating.
Diakon  [author] 28 Oct, 2023 @ 4:15am 
@Alkanshel I'm glad You've brought this up! It was caused by the last update, I forgot to clear a helper variable. I've pushed a fix now.
Alkanshel 27 Oct, 2023 @ 7:02pm 
@Diakon so I noticed this only happened when I made a change in-game on an admin account. Once I was able to paste the command to revert back to player privileges the errors stopped.
Diakon  [author] 26 Oct, 2023 @ 2:12pm 
Weird. It should only spit this out once per update. Unless it somehow gets into a loop... I'm gonna need a bit more info, like the collection of mods you run
Alkanshel 26 Oct, 2023 @ 1:47pm 
I noticed after I change a setting the server log spits out these lines non-stop.

Uploading the sandbox options to Global Mod Data
LOG : General , 1698353195982> 9,920,134,736> Finished updating Sandbox Data
Diakon  [author] 19 Oct, 2023 @ 8:11am 
Perhaps. Remember it's a Multiplayer-exclusive mod. It does nothing for Singleplayer
RunYouCleverBoy 19 Oct, 2023 @ 4:29am 
is this help with changing settings of cells and size in Iventory Tetris ?
Diakon  [author] 29 Sep, 2023 @ 4:02am 
Not to my knowledge, why @Frejth King?
Frejth King 29 Sep, 2023 @ 3:24am 
any issues with this mod?
Bambino 6 Sep, 2023 @ 10:40am 
This mod is 5/5.