Jump to content

MIgrate game to dedicated server


Recommended Posts

I have a game that I started with some friend that I would like to migrate to a dedicated server (running on my machine). I was hoping it would be as easy as:

1. Installing the dedicated server from within Steam

2. Running the "TheNet:GenerateServerToken()" command.

3. Running dontstarve_dedicated_server_nullrenderer.exe from the command line.

 

When I try to launch the server, I get

[00:00:02]: [200] Account Failed (6): "E_INVALID_TOKEN"
[00:00:02]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[00:00:02]: !!!! Your Server Will Not Start !!!!
[00:00:02]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

 

I can post the whole log if needed, but I have have tried several things without any luck. I ran the ""TheNet:GenerateServerToken()" command several times, copied the server token into the Settings.ini file, moved the files to a different directory and used the -conf_dir command, verified the game's files through steam, etc. Any ideas on how to make this work?

Hi PRabahy

 

Did you copy the server token from inside the server_token.txt because if so it wont work

just copy and paste the server_token.txt to your custom directory (the folder with the settings.ini)

 

heres a link that should help you out

 

http://dont-starve-game.wikia.com/wiki/Don%E2%80%99t_Starve_Together_Dedicated_Servers#Server_Tokens

Here are the exact steps that I took to generate the server token:

1. Launch DST.

2. At the main screen, press ~.

3. Paste in "TheNet:GenerateServerToken()".

4. Press enter.

5. Close DST.

6. Open a command prompt.

7. cd to the directory containing dontstarve_dedicated_server_nullrenderer.exe.

8. Run dontstarve_dedicated_server_nullrenderer.exe.

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...