Project Zomboid

Project Zomboid

43 arvostelua
Sandbox Settings Sync Fix
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
Päivitetty
150.943 KB
1.4.2023 klo 10.56
28.10.2023 klo 4.14
50 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Sandbox Settings Sync Fix

Kuvaus
So, ever had an issue where you change a setting over on the server's sandbox due to popular request, and yet you receive complaints that it hasn't changed? Your settings probably didn't sync over. Offline Players don't get updates... Well, now they will the moment they log in! And More!

Initially written by UdderlyEvelyn, refined by Daikon, this mod fixes a long-standing issue for servers with large mod-packs! Synchronising the settings over Global Mod Data, with an effort to maintain compatibility with other mods and minimise the traffic, no longer will your players be playing a different game!

This mod was made for the UdderlyRP server, find us on Discord at https://discord.gg/9HUdNf7qGe


Workshop ID: 2956046897
Mod ID: daikonUdderlySandboxSyncFix
16 kommenttia
DinDin 9 tuntia sitten 
My issue appears to be exactly the same issue that UdderlyEvelyn described here: https://theindiestone.com/forums/index.php?/topic/65537-4178-dedicated-mp-sandbox-setting-synchronization-issues/

They also mention map_sand.bin - but talk about the *client* deleting the file.
I have found that deleting the file on the *server* causes the server file to be re-created and all clients download the updated file.
DinDin 10 tuntia sitten 
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  [tekijä] 12 tuntia sitten 
@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.7. klo 23.56 
I installed this mod, but the Sandbox settings still get "stuck" sometimes.

My solution is to regularly delete map_sand.bin
Diakon  [tekijä] 29.3. klo 2.56 
It's rather irrelevant. It runs while the game is, so put it wherever your heart desires
Leonidax1 28.3. klo 18.07 
Hello, what is the loading order, does it go at the beginning of all the mods or at the end?
Alkanshel 28.10.2023 klo 10.05 
No worries! Thank you for updating.
Diakon  [tekijä] 28.10.2023 klo 4.15 
@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.10.2023 klo 19.02 
@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  [tekijä] 26.10.2023 klo 14.12 
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