Project Zomboid

Project Zomboid

43 vurderinger
Sandbox Settings Sync Fix
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Filstørrelse:
Offentliggjort:
Opdateret:
150.943 KB
1. apr. 2023 kl. 10:56
28. okt. 2023 kl. 4:14
50 ændringsbemærkninger ( vis )

Abonner for at downloade
Sandbox Settings Sync Fix

Beskrivelse
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 kommentarer
DinDin For 9 timer siden 
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 For 9 timer siden 
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  [ophavsmand] For 11 timer siden 
@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. juli kl. 23:56 
I installed this mod, but the Sandbox settings still get "stuck" sometimes.

My solution is to regularly delete map_sand.bin
Diakon  [ophavsmand] 29. mar. kl. 2:56 
It's rather irrelevant. It runs while the game is, so put it wherever your heart desires
Leonidax1 28. mar. kl. 18:07 
Hello, what is the loading order, does it go at the beginning of all the mods or at the end?
Alkanshel 28. okt. 2023 kl. 10:05 
No worries! Thank you for updating.
Diakon  [ophavsmand] 28. okt. 2023 kl. 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. okt. 2023 kl. 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  [ophavsmand] 26. okt. 2023 kl. 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