Don't Starve Together

Don't Starve Together

FishTigress Jun 17, 2018 @ 10:54am
How to set up a dedicated server?
I want to set a dedicated server that would run from my PC. I tried to use a post from 2016 as my basis and it almost works but when I try to launch the server in-game it just says "There was some sort of trouble starting the server. Please try again". Trying again doesn't work...

All the answers I see are from like 2015 or 2016 and I'm not confident that all those still work... I saw one which was going to use Steam Tools and a Don't Starve Together Dedicated Server thing but I can't find where to apply those to my Steam.

Also tried a SteamCMD path but that didn't work either.

I tried to set up a Main server and a Caves branch for it with 2 mods.

So can you people tell me how do I set a dedicated server in 2018? Has someone made an easy .zip file for this?

The post I used to try to make a dedicated server: https://forums.kleientertainment.com/topic/72744-howto-run-a-dedicated-server-from-your-pc-without-steamcmd-or-the-dedicated-server-tool/

Thanks in advance. :2017stickycrab:
< >
Showing 1-12 of 12 comments
FishTigress Jun 17, 2018 @ 11:52pm 
...This apparently got ignored so... Boop
Wariat117 Jun 18, 2018 @ 12:14am 
Originally posted by FishTigress:
one which was going to use Steam Tools and a Don't Starve Together Dedicated Server thing but I can't find where to apply those to my Steam.
left mouse button on library -> tools -> dst dedicated server?
FishTigress Jun 18, 2018 @ 1:20am 
I feel like I followed every step now with the Dedicated server tool but it keeps giving me this note:

[00:00:05]: [200] Account Failed (6): "E_INVALID_TOKEN"
[00:00:05]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[00:00:05]: !!!! Your Server Will Not Start !!!!
[00:00:05]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[00:00:05]: No auth token could be found.
[00:00:05]: To generate a cluster_token you must
[00:00:05]: open the console from a logged-in game
[00:00:05]: client with the tilda key (~ / ) and type:
[00:00:05]: TheNet:GenerateClusterToken()
[00:00:05]: This will create 'cluster_token.txt' in
[00:00:05]: your client settings directory. Copy this
[00:00:05]: into your cluster settings directory.
[00:00:05]: [Connect] PendingConnection::Reset(true)
[00:00:05]: ... FilesExistAsyncThread complete


I've refreshed the tokens multiple times but that didn't work... I don't know where it exactly generates the Cluster Token with that command. I tried it once but the console doesn't tell me did it work or not.

Tried to set the token in Klei/DoNotStarveTogether_EasyConfigOverworld/Cluster_1 and also to the same place for caves. What does it exactly mean with the "cluster settings directory"?

Understanding coding stuff is so hard :clownghost:
Wariat117 Jun 18, 2018 @ 1:47am 
I didn't set any server but using this command created "cluster_token.txt" files in
"Cluster_3" and "Cluster_5" in this location:
C:\Users\%username%\Documents\Klei\DoNotStarveTogether\



I don't know where is this place tho:
Copy this
[00:00:05]: into your cluster settings directory.
Does it mean that you have to put it into other cluster folders too?
Or server has separated clusters somewhere ;D



edit:
Nvm, those cluster tokens weren't created by this command o-O
They created themself earlier without command.
I can't find any cluster_token.txt with today's date
Last edited by Wariat117; Jun 18, 2018 @ 1:50am
FishTigress Jun 18, 2018 @ 2:47am 
A small update: When I type in the TheNet:GenerateClusterToken() command to a logged-in server's command line, it just gives me the message "attempt to call a nil value".

So, uh... Is this an outdated thing or?...
Wariat117 Jun 18, 2018 @ 2:59am 
Originally posted by FishTigress:
A small update: When I type in the TheNet:GenerateClusterToken() command to a logged-in server's command line
You have said earlier that the command has to be used in game not on server
Originally posted by FishTigress:
[00:00:05]: open the console from a logged-in game
[00:00:05]: client with the tilda key (~ / ) and type:
[00:00:05]: TheNet:GenerateClusterToken()


you didn't even start the dedicated server tho ;d (unless steam started to hide tools from the steam profile and I can't check if you have started it)
Last edited by Wariat117; Jun 18, 2018 @ 3:01am
FishTigress Jun 18, 2018 @ 3:15am 
I used the command in-game, on a server that I hosted myself where no one else could come that wasn't dedicated but it doesn't do anything :/

I tried to use it when the dedicated server command wasn't running and when it was running and the command didn't work either times. Idk why it's not working at all.
Wariat117 Jun 18, 2018 @ 3:23am 
maybe it is bug and devs don't even know about it?


Originally posted by Wariat117:
(unless steam started to hide tools from the steam profile and I can't check if you have started it)
Yeah, just checked... steam hides tools from profile now ;d
FishTigress Jun 18, 2018 @ 3:25am 
Idk if they could've changed it for Gorge? Probably not?
Wariat117 Jun 18, 2018 @ 3:34am 
Originally posted by FishTigress:
Idk if they could've changed it for Gorge? Probably not?
probably not because the gorge and the game are separated
You can still join normal server when event is on
MorangoSan Dec 17, 2018 @ 5:54pm 
i have this problem:

Account Failed (6): "E_Invalid_TOKEN"
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! ! ! ! Your Server Will Not Start ! ! ! !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
No auth token could be found
To generate a clauster_token you must
open the console from a logged-in game
client with the thilda key (] / c) and type:
TheNet:GenerateClausterToken ()
This will create 'cluster_token.txt" in
your client settings directory. Copy this
into your cluster settings directory



I have already generated the token on the site 2 times, it does not work, and I want to open a dedicated one on a dedicated server that already hosts other games, but on this dedicated machine I can not open any games because it is not made for this, I open the game on it and use the "~" to type this command that the console tells me and generate a token, does anyone know how to help me?
konrad.kaluzny Feb 9, 2022 @ 9:31am 
I think the bug "E_Invalid_TOKEN" only affects people with multiple accounts.
The error is due to the wrong location of the MyDediServer folder.

Solution: you must paste folder MyDediServer to:
- "Documents\Klei\DoNotStarveTogether\"
NOT ONLY IN:
- "Documents\Klei\DoNotStarveTogether\YOURCLIENTNUMBER\"
Last edited by konrad.kaluzny; Feb 9, 2022 @ 9:36am
< >
Showing 1-12 of 12 comments
Per page: 1530 50

Date Posted: Jun 17, 2018 @ 10:54am
Posts: 12