Don't Starve Together

Don't Starve Together

Waiter 101 v7.65
 This topic has been pinned, so it's probably important
Midrealm  [developer] 19 Feb, 2019 @ 6:37am
Version 6 Update Error
After version six, some previously saved games are failing to start.
This is due to changes in the mod configuration.

NOTE: This may also prevent NEW created worlds from having the proper configuration.

If your log shows the error
[00:00:29]: [string "../mods/workshop-381565292/scripts/waiter_k..."]:207: attempt to compare number with string

The saved configuration data is wrong - Part of the problem is Steam cloud backs up your save data, and it keeps restoring the incorrect (previously saved) information, despite attempts to correct it.

This can/must be manually corrected -
(Keep in mind you will have to do this for each affected cluster / saved game)
=-=-=-=-
FIRST:
Look iin these folders:
C:\...\Documents\Klei\DoNotStarveTogether\client_save\
and also in
C:\...\Documents\Klei\DoNotStarveTogether\Cluster_1\Master\save\
for a file called saveindex
Open the file with notepad or similar editor and look for

"workshop-381565292"]={
configuration_options={

When you find the configuration data , check that each of the config options has a numerical value.. if any have quotation marks around them, remove the quotes and save the file.
so :: waiter_crops="1",
should instead be :: waiter_crops=1,
after correcting all of these move to the next Step

The configuration data most likely will appear multiple times in your saveindex, depending on how many saved slots have used the mod.

After checking all saveindex files. Move on to the next step.

NOTE : If running Caves on your game, make sure to change the saveindex there as well

=-=-=-=-
SECOND:
In each cluster:
Look for the same configuration data in a file called modoverrides.lua
"..\Documents\Klei\DoNotStarveTogether\Cluster_1\Master\modoverrides.lua"
( If you do not have a modoverrides go on to the next step)
Edit the file and change all entries to numerical values instead of text (this means removing the quotation marks around each value - so a value showing "0" should instead be 0 )

NOTE : If running Caves on your game, make sure to change the modoverrides there as well

=-=-=-=-
FINALLY
This step should not really be necessary - but better safe than sorry.

Launch the Game
Before Loading the world - go to mod options - switch each mod option off and on (or whatever you wish as long as the option is changed at least once) - and apply
Then return the configuration options to how you want for your game and click apply again.
=-=-=-=-=
Your World should now launch normally.
Last edited by Midrealm; 22 Feb, 2019 @ 5:56pm