Don't Starve Together

Don't Starve Together

How to get offline server to work online again?
My issue is regarding a (non dedicated) server I am hosting, which I've always played in online mode up until earlier today. I didn't have access to Wifi, so I started up Steam in offline mode, loaded up DST, and loaded up the server in question. I received a prompt warning me that only people with LAN access would be able to join my server. Once I'm in game, I see that the world hasn't changed, my base is still as it was, etc., but I'm missing all the items in my inventory. Dejected, I shut the game off. My plan was to load it back up once I had internet access again, and switch the server (currently offline) back to online...

... And that's where the problem occurs for me. When I open DST, go to "Host Game", and select the server in question, the options "Public", "Friends Only", and "Steam Group" are grayed out and non selectable. Server Mode is stuck at Offline; the arrow that allows me to switch between Online and Offline is gone. The word "Offline" is grayed out (like "Public" etc).

I can still change world name, password, and enable/disable/configure mods.

I've tried to find a solution to this problem (reinstall the game, restart Steam, restart Wifi, restart computer), to no avail. If any of you good people know something about this that I do not, I'd be eternally grateful if you would share it with me.
< >
Showing 1-7 of 7 comments
GroverBoyGaming Oct 21, 2015 @ 1:39pm 
I have had the same problem to, I see it has become a couple of days after posting this, have you found a way to fix it?
Fuzzy Oct 22, 2015 @ 4:47pm 
ive had the same problem as well... any luck?
Badditude Oct 23, 2015 @ 1:02am 
I was looking around in the DST folder and found this setting and it fixed it.
Try these steps.

(1) Start your offline game but make sure you are connected to the net.
open console, type c_save(). This will save the world.

(2) Go to the portal and drop all your stuff because this will create a new character
but our world/base will remain the same.

(3) Go to Documents\Klei\DoNotStarveTogether\save
Find the saveindex file and open it with a notepad.

(4) Ctrl+F to find your server name, after the server there should be a setting which says
online_mode = false
Just change this to True
Save and exit

(5) Now host your server again and it should let you choose Public or Friends setting etc.
Just BE WARNED that it will ask you to create a new character.


Tthanks, it helps me a lot)
Jack Chan Apr 18, 2020 @ 8:51pm 
Just letting you know this still works today (Lockdown 2020), very helpful advice thank you.
The only wrinkle: when I reentered my world, all my items were by the gate as expected, but my exploration of the map was wiped. Maybe next time I could prepare a map scroll before the process?
neon Jul 8, 2020 @ 5:59pm 
This can be done in a way that can preserve your character and it's inventory.

Go to your save location on disk. In that directory there is a "session" folder. In that subfolder is another uniquely named folder. In that folder are the save files numbered for the number of days played in that world. It also contains uniquely contained subfolders for each of the players.

Offline players will have a 12 character folder name.
Steam/Klei players will have a folder with a unique name 8 character prefixed by "KU_" ending with a "_".

You can simply rename the offline folder to the proper steam/Klei player ID. Then start the server.

To find your Steam/Klei ID make a new (online) world and be the only player. Or look at an old save game of an online world. It may be a challenge if the old world had multiple players as there will be multiple unique directories assigned to each player.

e.g. change folder name:
save/session/58B3EDF2F8A7C241/A7HVR11VAFKP
save/session/58B3EDF2F8A7C241/KU_aBcDeXyZ_
Last edited by neon; Jul 8, 2020 @ 6:00pm
BAM.滅 Feb 13, 2021 @ 5:21pm 
is this still working? I can't make it to work.
< >
Showing 1-7 of 7 comments
Per page: 1530 50

Date Posted: Oct 9, 2015 @ 11:11am
Posts: 7