V2C

Dedicated Server Quick Setup Guide - Windows

Recommended Posts

vosdbk    11

Which place can i put "steam_group_id"?

Edited by vosdbk
  • Like 3

Share this post


Link to post
Share on other sites

I have tried converting my old server over to this new world but I keep getting [200] account failed (6): "E_INVALID_TOKEN"

I first tried getting the key as described, tried making a new key using the console, and tried using the old key.

  • Like 1

Share this post


Link to post
Share on other sites
Rokuna    3

I think I have everything set, once I get pass step 13, do I just start a game or is there a way to use myself as a dedicated server?

(sorry, completely new)

  • Like 1

Share this post


Link to post
Share on other sites
Gingerbread    315

This change needs more explanation. I found a path like this

~/.klei/DoNotStarveTogether/Cluster_1/Master

so will we create also Caves folder under here?

 

or do I have to create a folder named MyDediServer?

Edited by Gingerbread

Share this post


Link to post
Share on other sites
artemiyME    135

the path was generated because you started server with old config files, and server had no folders in place, you have to clean out the folder and make new one at .klei/<YourMainClusterFolder>, then make Main+Caves folders inside of it, etc.

Share this post


Link to post
Share on other sites
Gingerbread    315
7 minutes ago, artemiyME said:

the path was generated because you started server with old config files, and server had no folders in place, you have to clean out the folder and make new one at .klei/<YourMainClusterFolder>, then make Main+Caves folders inside of it, etc.

which one is the main cluster folder so now my server files seems like this

Quote

~/.klei/DoNotStarveTogether$ ls
backup  chat_log.txt  client.ini  client_save  Cluster_1  log.txt  modoverrides.lua  save.old  server_token.txt  settings.ini.old  worldgenoverride.lua
~/.klei/DoNotStarveTogether$ cd Cluster_1
~/.klei/DoNotStarveTogether/Cluster_1$ ls
cluster.ini  Master

 

Edited by Gingerbread

Share this post


Link to post
Share on other sites
haywardGB    9

Is this an official update now , or is still optional ? 

Do all dedicated server owners need to update using this page ?

Is there a version of this for Linux users , please ?

 

  • Like 1

Share this post


Link to post
Share on other sites
artemiyME    135

your main cluster folder is DoNotStarveTogether, it wil lcontain Caves and Overword settings/info of each cluster

1. save files "settings.ini.old", "server_token.txt", folder "save.old", "modoverrides.lua", " worldgenoverride.lua "
2. delete everthing in that folder.
3. follow the guide starting from #6

Share this post


Link to post
Share on other sites
wqwz111    0
1 minute ago, artemiyME said:

your main cluster folder is DoNotStarveTogether, it wil lcontain Caves and Overword settings/info of each cluster

1. save files "settings.ini.old", "server_token.txt", folder "save.old", "modoverrides.lua", " worldgenoverride.lua "
2. delete everthing in that folder.
3. follow the guide starting from #6

Could you tell me how to enable mods in this new version?

Share this post


Link to post
Share on other sites
Nikonarou    2

this is sort of headache, especially with rented dedicated servers and their file system is a bit different than how you run a dedicated server off your personal connection, how do i get my mods back on my server with my all settings.ini from the old way of doing things pre-cluster?

  • Like 1

Share this post


Link to post
Share on other sites
haywardGB    9

This update has borked my server and I'm not even sure I can be bothered to support them with a 24/7 dedicated server anymore. This whole thing seems a bit arse about face if you ask me. Running multiple servers for 1 game server ? 

This should have stayed optional . 

Edited by haywardGB

Share this post


Link to post
Share on other sites
Nikonarou    2
1 minute ago, haywardGB said:

This update has borked my server and I'm not even sure I can be bothered to support them with a 24/7 dedicated server anymore. This whole thing seems a bit arse about face if you ask me. Running multiple servers for 1 game server ? 

This should have stayed optional . 

Only way we can get caves content durning that process, not sure if they changing it. But 2 servers, does help with lag issues i think since the caves are sort of paused while the overworld is running.

Share this post


Link to post
Share on other sites
haywardGB    9
Just now, Nikonarou said:

Only way we can get caves content durning that process, not sure if they changing it. But 2 servers, does help with lag issues i think since the caves are sort of paused while the overworld is running.

You'll have players in both worlds, so two processes are running regardless. If you ask me, this will use more resources. 

Share this post


Link to post
Share on other sites
artemiyME    135
23 minutes ago, wqwz111 said:

Could you tell me how to enable mods in this new version?

I did not get that far, and I have to go now, but I'm pretty sure with 2 same options you had before modoverrides.lua in Cluster folder or modsettings in DST steam folder.

9 minutes ago, haywardGB said:

This update has borked my server and I'm not even sure I can be bothered to support them with a 24/7 dedicated server anymore. This whole thing seems a bit arse about face if you ask me. Running multiple servers for 1 game server ? 

This should have stayed optional . 

I'm pretty sure reason this is being changed is exactly because Klei is gearing up to merge servers into one, instead of hosting them separately (since player hosted cave/overworld merged server are in beta already)

 

 

 

Edited by artemiyME
  • Like 1

Share this post


Link to post
Share on other sites
wqwz111    0
Just now, artemiyME said:

I did not get that far, and I have to go now, but I'm pretty sure with 2 same options you had before modoverrides.lua in Cluster folder or modsettings in DST steam folder.

Thanks, my server does not work right now. I have followed all steps listed above. the console is showing like below:

[Steam] SteamGameServer_Init(8768, 11000, 27018)
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
[Steam] SteamGameServer_Init(8768, 11000, 27019)
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
[Steam] SteamGameServer_Init(8768, 11000, 27020)
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
[Steam] SteamGameServer_Init(8768, 11000, 27021)
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
[Steam] SteamGameServer_Init(8768, 11000, 27022)
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
[Steam] SteamGameServer_Init(8768, 11000, 27023)
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
[Steam] SteamGameServer_Init(8768, 11000, 27024)
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
[Steam] SteamGameServer_Init(8768, 11000, 27025)
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
[Steam] SteamGameServer_Init(8768, 11000, 27026)
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
[Steam] SteamGameServer_Init(8768, 11000, 27027)
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
[Warning] SteamGameServer_Init failed 

Share this post


Link to post
Share on other sites
Xaviien    3

I followed the instructions to the letter, I'm fairly certain, except I changed survival and cooperative to endless and social in the ini.

When I open StartDSTServers.bat I get the error "Windows cannot find 'dontstarve_dedicated_server_nullrenderer'. Make sure you typed the name correctly, and then try again."

  • Like 2

Share this post


Link to post
Share on other sites
Nikonarou    2

Kinda wished they had not messed with this (new cluster settings not even sure how to link to my group page anymore, and mods don't work). But i guess change is part of the beta process.

Share this post


Link to post
Share on other sites
Coleoud    1

@V2C

After creating a text document named cluster_token.txt , putting in the server token and saving it, I don't exactly know how I'm supposed to carry out step 7 when I don't have any other files than these.

 

Spoiler

EZiwqL1.png

 

Edited by Coleoud

Share this post


Link to post
Share on other sites
Lectroburn    0

I have attached the folder structure for the server. Extract it under  Documents\Klei\DoNotStarveTogether\ (for windows users).

Fill in the cluster tokens and the ini files for each shard.

Make sure all port numbers are different between servers.

ServerTemplate.zip

Share this post


Link to post
Share on other sites
Gingerbread    315

hmm so i am able to make it work but the problem is caves did not work even though i added server.ini file of caves. I am told artemiy's server has no caves at the moment too. Are we missing something here or is there something not covered in this thread?

Edited by Gingerbread

Share this post


Link to post
Share on other sites
V2C    3,826

Hey guys, I know this is not an easy process, but I'll try my best to work through it with you.

First of all, I'll try to explain the folder structure:

All save data goes inside \\Documents\Klei\DoNotStarveTogether now, whether it is your client save slots, or your dedicated server saves.. There is no need to use the -conf_dir command line argument anymore.

Inside, you may find folders for Cluster_1, Cluster_2, etc... These are save slots when hosting from the game client. I recommend you leave these folders alone.

The "MyDediServer" as mentioned in the guide is any custom folder name for your dedicated server save. It can be anything, and will be used in the command line argument "-cluster MyDediServer", for example.

Within your cluster folder (e.g. MyDediServer), there will be two more shard folders, one for the Master shard (aka Forest world), and one for the Caves shard. Again, the folder names can be anything ("Master" and "Caves" is recommended) and will be used in the command line arguments "-shard Master" or "-shard Caves" for example. 

Typical set of command line arguments would be:

"-console -cluster MyDediServer -shard Master" <- to start the master forest server

"-console -cluster MyDediServer -shard Caves" <- to start the slave caves server

NOTE: Remember to check the worldgenoverride.lua inside the Caves folder to make sure DST_CAVE preset is enabled.

  • Like 2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now