Gingerbread Posted February 12, 2016 Share Posted February 12, 2016 (edited) Quote #!/bin/sh screen -Sdm "world" bash -c './dontstarve_dedicated_server_nullrenderer -console -cluster Cluster_1 -shard Master' screen -Sdm "cave" bas -c './dontstarve_dedicated_server_nullrenderer -console -cluster Cluster_1 -shard Caves' screen does not start for cave server (nvm instead of bash I wrote bas...) Edited February 12, 2016 by Gingerbread Link to comment Share on other sites More sharing options...
Developer V2C Posted February 12, 2016 Author Developer Share Posted February 12, 2016 The next big change is that what used to be "settings.ini" has now been split up into "cluster.ini" and "server.ini" files. cluster.ini contains settings that should be common to all shards that belong to that cluster. For example, the server name and description. server.ini, which you will find in the shards' folders ("Master" and "Caves"), should contain anything else that is specific to that shard server, such as the server port, since each server needs to use a different port. Most of the other files haven't been changed, and you will see the familiar save and session folders nested inside "Master" and "Caves". Mod setting files can be copied into the "Master" and "Caves" folders and should work the same as they did previously as well. Link to comment Share on other sites More sharing options...
n0xxx Posted February 12, 2016 Share Posted February 12, 2016 2 hours ago, Xaviien said: 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." I am getting the exact same error message. Any tips how to clear this up? 1 Link to comment Share on other sites More sharing options...
Gingerbread Posted February 12, 2016 Share Posted February 12, 2016 (edited) 11 minutes ago, V2C said: The next big change is that what used to be "settings.ini" has now been split up into "cluster.ini" and "server.ini" files. cluster.ini contains settings that should be common to all shards that belong to that cluster. For example, the server name and description. server.ini, which you will find in the shards' folders ("Master" and "Caves"), should contain anything else that is specific to that shard server, such as the server port, since each server needs to use a different port. Most of the other files haven't been changed, and you will see the familiar save and session folders nested inside "Master" and "Caves". Mod setting files can be copied into the "Master" and "Caves" folders and should work the same as they did previously as well. Quote About to start a shard with these settings: ShardName: Caves ShardID: 644144701 ShardRole: SLAVE MasterHost: 127.0.0.1 MasterBind: (null) MasterPort: 10999 [Shard] Connecting to master... [Shard] Connection to master failed. Waiting to reconnect... About to start a shard with these settings: ShardName: Caves ShardID: 644144701 ShardRole: SLAVE MasterHost: 127.0.0.1 MasterBind: (null) MasterPort: 10999 [Shard] Connecting to master... Hey V2C I am able to make caves server work but cannot connect to master shard.. Do you know what might be the problem/ Master server port is 10999 for mine so shard part of my cluster.ini is like this Quote [SHARD] shard_enabled = true bind_ip = 127.0.0.1 master_ip = 127.0.0.1 master_port = 10999 cluster_key = ^hT3_7<,df I did not quite understand if master_port and master server port is same or do we have to change the number to the one in your example? Edited February 12, 2016 by Gingerbread Link to comment Share on other sites More sharing options...
Developer V2C Posted February 12, 2016 Author Developer Share Posted February 12, 2016 server_port and master_port are not the same thing. server_port is used by players to connect to a server. master_port is used internally for slave servers to connect to a master server. Try using 10889.. The ports specified in the guide are recommended for dedicated servers, as they will not interfere with the ports that the game will try to use if you try to host a game from the game client at the same time. 1 Link to comment Share on other sites More sharing options...
Gingerbread Posted February 12, 2016 Share Posted February 12, 2016 Just now, V2C said: server_port and master_port are not the same thing. server_port is used by players to connect to a server. master_port is used internally for slave servers to connect to a master server. Try using 10889.. The ports specified in the guide are recommended for dedicated servers, as they will not interfere with the ports that the game will try to use if you try to host a game from the game client at the same time. yes thanks... I changed it to 10889 and it connected... After 3 hours its running. LOL. Link to comment Share on other sites More sharing options...
Developer V2C Posted February 12, 2016 Author Developer Share Posted February 12, 2016 14 minutes ago, n0xxx said: I am getting the exact same error message. Any tips how to clear this up? Please check that you have correctly installed SteamCMD to c:\steamcmd\ before you run the batch file. 1 minute ago, Gingerbread said: yes thanks... I changed it to 10889 and it connected... After 3 hours its running. LOL. Glad to hear that it worked out =) Link to comment Share on other sites More sharing options...
BadWolfL Posted February 12, 2016 Share Posted February 12, 2016 I have 3 token in my account info. I also generate 1 token by command TheNet:GenerateClusterToken(). But none of these tokens works. It always say E_INVALID_TOKEN Link to comment Share on other sites More sharing options...
Gingerbread Posted February 12, 2016 Share Posted February 12, 2016 (edited) 4 minutes ago, V2C said: Please check that you have correctly installed SteamCMD to c:\steamcmd\ before you run the batch file. Glad to hear that it worked out =) so old location for master server worldgenoverride.lua not changed? Because you did not mention that in this thread. Also where modoverrides.lua location will be? Same old folder location for both which is: ~/.klei/DoNotStarveTogether/modoverrides.lua ~/.klei/DoNotStarveTogether/worldgenoverride.lua ?? Edited February 12, 2016 by Gingerbread Link to comment Share on other sites More sharing options...
Developer V2C Posted February 12, 2016 Author Developer Share Posted February 12, 2016 4 minutes ago, Gingerbread said: so old location for master server worldgenoverride.lua not changed? Because you did not mention that in this thread. Also where modoverrides.lua location will be? Same old folder location for both which is: ~/.klei/DoNotStarveTogether/modoverrides.lua ~/.klei/DoNotStarveTogether/worldgenoverride.lua ?? Those will go in: ~/.klei/DoNotStarveTogether/YourClusterFolder/Master/modoverrides.lua ~/.klei/DoNotStarveTogether/YourClusterFolder/Caves/modoverrides.lua ~/.klei/DoNotStarveTogether/YourClusterFolder/Caves/worldgenoverride.lua Here, I've assumed that you want the same mods in both the Master and the Caves, and that you only wanted the worldgenoverride.lua for Caves. 1 Link to comment Share on other sites More sharing options...
Rykio Posted February 12, 2016 Share Posted February 12, 2016 Guys, how to fix this error with my server? Thx u so much. Link to comment Share on other sites More sharing options...
Developer V2C Posted February 12, 2016 Author Developer Share Posted February 12, 2016 @Rykio There is no error, everything looks like it started up correctly! Link to comment Share on other sites More sharing options...
Rykio Posted February 12, 2016 Share Posted February 12, 2016 @V2C 1 minute ago, V2C said: There is no error, everything looks like it started up correctly! When i create Host, this error appear. 1 Link to comment Share on other sites More sharing options...
Gingerbread Posted February 12, 2016 Share Posted February 12, 2016 4 minutes ago, V2C said: Those will go in: ~/.klei/DoNotStarveTogether/YourClusterFolder/Master/modoverrides.lua ~/.klei/DoNotStarveTogether/YourClusterFolder/Caves/modoverrides.lua ~/.klei/DoNotStarveTogether/YourClusterFolder/Caves/worldgenoverride.lua Here, I've assumed that you want the same mods in both the Master and the Caves, and that you only wanted the worldgenoverride.lua for Caves. And where adminlist, blocklist and whitelist files will be in? Link to comment Share on other sites More sharing options...
n0xxx Posted February 12, 2016 Share Posted February 12, 2016 18 minutes ago, V2C said: Please check that you have correctly installed SteamCMD to c:\steamcmd\ before you run the batch file. Glad to hear that it worked out =) i'm still getting the same error message... does it matter that i have steam installed on my D: drive instead of C: ?? 1 Link to comment Share on other sites More sharing options...
Developer V2C Posted February 12, 2016 Author Developer Share Posted February 12, 2016 (edited) 23 minutes ago, Gingerbread said: And where adminlist, blocklist and whitelist files will be in? I believe those should now go in: ~/.klei/DoNotStarveTogether/YourClusterFolder/adminlist.txt If that does not work, I will have to get back to you tomorrow. Edited February 12, 2016 by V2C Updated with correct folder now Link to comment Share on other sites More sharing options...
Gingerbread Posted February 12, 2016 Share Posted February 12, 2016 (edited) 7 minutes ago, V2C said: I believe those should now go in: ~/.klei/DoNotStarveTogether/YourClusterFolder/Master/save/adminlist.txt If that does not work, I will have to get back to you tomorrow. it does not work I guess they will be under Cluster_1 not under save anymore lemme try and I will report back.. OnLoadPermissionList: /home/username/.klei//DoNotStarveTogether/Cluster_1/blocklist.txt (Failure) OnLoadPermissionList: /home/username/.klei//DoNotStarveTogether/Cluster_1/adminlist.txt (Failure) OnLoadUserIdList: /home/username/.klei//DoNotStarveTogether/Cluster_1/whitelist.txt (Failure) Edited February 12, 2016 by Gingerbread Link to comment Share on other sites More sharing options...
ToNiO55 Posted February 12, 2016 Share Posted February 12, 2016 (edited) Hi @V2C i have just one problem it's still possible to custom steam ports? because before this update it's works, but now it's doesn't works server.ini of Master: authentication_port = 12367 master_server_port = 12368 server.ini of Caves: authentication_port = 12369 master_server_port = 12370 log of Master: Spoiler [Steam] SteamGameServer_Init(8766, 20067, 27016) [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(8766, 20067, 27017) [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(8766, 20067, 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(8766, 20067, 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(8766, 20067, 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(8766, 20067, 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(8766, 20067, 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(8766, 20067, 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(8766, 20067, 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(8766, 20067, 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. [Warning] SteamGameServer_Init failed Your server will still start, but some Steam functionality may be missing. Steam ports can be configured through command line by adding: -steam_authentication_port 12345 -steam_master_server_port 12346 or through settings.ini, under the [network] heading steam_authentication_port = 12345 steam_master_server_port = 12346 log of Cave: Spoiler [Steam] SteamGameServer_Init(8766, 20068, 27016) [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(8766, 20068, 27017) [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(8766, 20068, 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(8766, 20068, 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(8766, 20068, 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(8766, 20068, 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(8766, 20068, 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(8766, 20068, 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(8766, 20068, 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(8766, 20068, 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. [Warning] SteamGameServer_Init failed Your server will still start, but some Steam functionality may be missing. Steam ports can be configured through command line by adding: -steam_authentication_port 12345 -steam_master_server_port 12346 or through settings.ini, under the [network] heading steam_authentication_port = 12345 steam_master_server_port = 12346 Edited February 12, 2016 by ToNiO55 Link to comment Share on other sites More sharing options...
Gingerbread Posted February 12, 2016 Share Posted February 12, 2016 (edited) Quote OnLoadPermissionList: /home/username/.klei//DoNotStarveTogether/Cluster_1/blocklist.txt (Success) OnLoadPermissionList: /home/username/.klei//DoNotStarveTogether/Cluster_1/adminlist.txt (Success) OnLoadUserIdList: /home/username/.klei//DoNotStarveTogether/Cluster_1/whitelist.txt (Success) So yeah it works like that.. this is the folder that those 3 files should go in. Edited February 12, 2016 by Gingerbread 1 Link to comment Share on other sites More sharing options...
Developer V2C Posted February 12, 2016 Author Developer Share Posted February 12, 2016 41 minutes ago, ToNiO55 said: Hi @V2C i have just one problem it's still possible to custom steam ports? because before this update it's works, but now it's doesn't works Yes this will still be supported.. However, there appears to be a missing file in the Linux package causing this error. We'll try to patch this tomorrow! 1 Link to comment Share on other sites More sharing options...
Raztastic Posted February 12, 2016 Share Posted February 12, 2016 I'm unable to connect to my own server. I've migrated my old preconfig server. My friends are able to join, who were on the server before, but when I try, it says: Failed to initiate migration for a player forward. 4 minutes ago, Raztastic said: I'm unable to connect to my own server. I've migrated my old preconfig server. My friends are able to join, who were on the server before, but when I try, it says: Failed to initiate migration for a player forward. From the log: [00:10:41]: New incoming connection 173.67.27.6|59417 <3736963729593084962> [00:10:41]: Client connected from 173.67.27.6|59417 <3736963729593084962> [00:10:41]: ValidateGameSessionToken re^eyJVc2VySUQiOiJLVV9jalpQRDBSdyIsIkdhbWUiOiJEb250U3RhcnZlVG9nZXRoZXIiLCJQdXJwb3NlIjoiR2FtZVNlc3Npb24ifQ==^71AiAC3kDAZKGMEv+8X/5D828Q9YFZIL for <3736963729593084962> [00:10:41]: Client authenticated: (KU_cjZPD0Rw) artiopi8 [00:10:41]: [Steam] SendUserConnectAndAuthenticate for '76561198063471083' [00:10:42]: [Steam] Authenticated client '76561198063471083' [00:10:42]: [Shard] Read save location file for (KU_cjZPD0Rw) [00:10:42]: CreateDir [APP:Klei//DoNotStarveTogether/MyDediServer/Master/save/session/1A2966560435E756/KU_cjZPD0Rw_] failed, or directory already exist [00:10:48]: Resuming user: session/1A2966560435E756/KU_cjZPD0Rw_/0000000111 [00:10:48]: Spawning player at: [Load] (-124.13, -0.00, 153.34) [00:10:48]: Sim unpaused [00:11:45]: New incoming connection 192.168.1.1|62191 <8740764159991632886> [00:11:45]: Client connected from [LAN] 192.168.1.1|62191 <8740764159991632886> [00:11:45]: ValidateGameSessionToken re^eyJVc2VySUQiOiJLVV9KZ1I4dHVUbiIsIkdhbWUiOiJEb250U3RhcnZlVG9nZXRoZXIiLCJQdXJwb3NlIjoiR2FtZVNlc3Npb24ifQ==^1LQtGrMJQnFfw+oJyIRvyPIA0PXmzPZe for <8740764159991632886> [00:11:45]: Client authenticated: (KU_JgR8tuTn) Captain Uberpants [00:11:45]: [Steam] Authenticated host '76561198070610320' [00:11:46]: [Shard] Read save location file for (KU_JgR8tuTn) [00:11:46]: CreateDir [APP:Klei//DoNotStarveTogether/MyDediServer/Master/save/session/1A2966560435E756/KU_JgR8tuTn_] failed, or directory already exist [00:11:46]: [Shard] Forwarding player to (2014513117) [00:11:46]: [Shard] Player KU_JgR8tuTn trying to migrate to an unknown or not-ready world ((2014513117)) [00:11:46]: [Shard] Failed to initiate migration for a player forward. [00:11:46]: CloseConnectionWithReason: ID_DST_USER_CONNECTION_FAILED [00:11:46]: [Steam] SendUserDisconnect for '76561198070610320' [00:11:46]: [Shard] (KU_JgR8tuTn) disconnected from [SHDMASTER](1) Link to comment Share on other sites More sharing options...
Developer V2C Posted February 12, 2016 Author Developer Share Posted February 12, 2016 @Raztastic Can you go to ....MyDediServer\Caves\server.ini, and add (or edit if "id" already exists) [SHARD]id = 2014513117 1 Link to comment Share on other sites More sharing options...
Maoo Posted February 12, 2016 Share Posted February 12, 2016 (edited) Hi! How I download mods and use it? My all mods is gone! Edited February 12, 2016 by Maoo Link to comment Share on other sites More sharing options...
Maris Posted February 12, 2016 Share Posted February 12, 2016 What is client.ini? Link to comment Share on other sites More sharing options...
ForsakenHuang Posted February 12, 2016 Share Posted February 12, 2016 3 hours ago, V2C said: Those will go in: ~/.klei/DoNotStarveTogether/YourClusterFolder/Master/modoverrides.lua ~/.klei/DoNotStarveTogether/YourClusterFolder/Caves/modoverrides.lua ~/.klei/DoNotStarveTogether/YourClusterFolder/Caves/worldgenoverride.lua Here, I've assumed that you want the same mods in both the Master and the Caves, and that you only wanted the worldgenoverride.lua for Caves. I copy modoverrides.lua into those folder,but MODs still don't work. Should the dedicated_server_mods_setup.lua in the dedicated server's installation folder make any change?or there's some other problem? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now