Wilster05 Posted May 11, 2016 Share Posted May 11, 2016 Im trying to add a restart script, i found some of the code on another post on these forums but im having trouble getting it to work properly. I think I may have been looking at something that is outdated. If you were to make a restart script and another for the caves (say a restart2) what would they need to be to work with the file directories and files you created had us create in this tutorial/guide? Would really help me out. Im trying to add admins to a list but i must restart the server in order to do so. Anyway I am new to hosting dedicated servers so any help would be much appreciated. Link to comment Share on other sites More sharing options...
Hineios Posted January 11, 2017 Share Posted January 11, 2017 Well I've been trying to run my dedicated server on Ubuntu but I've been unsuccessful so far... I've followed this guide to the letter but when I run the script it stops after some time. This is the output I get: root@dst:~# ~/run_dedicated_servers.sh Redirecting stderr to '/root/Steam/logs/stderr.txt' [ 0%] Checking for available updates... [----] Verifying installation... Steam Console Client (c) Valve Corporation -- type 'quit' to exit -- Loading Steam API...Created shared memory when not owner SteamController_Shared_mem OK. Connecting anonymously to Steam Public...Logged in OK Waiting for license info...OK Update state (0x5) validating, progress: 0.00 (0 / 739405935) Update state (0x5) validating, progress: 19.83 (146588559 / 739405935) Update state (0x5) validating, progress: 52.83 (390657723 / 739405935) Update state (0x5) validating, progress: 88.22 (652337268 / 739405935) Success! App '343050' fully installed. Caves: [00:00:00]: PersistRootStorage is now /root/.klei//DoNotStarveTogether/MyDediServer/Caves/ Master: [00:00:00]: PersistRootStorage is now /root/.klei//DoNotStarveTogether/MyDediServer/Master/ Master: [00:00:00]: Starting Up Master: [00:00:00]: Version: 202070 Master: [00:00:00]: Current time: Wed Jan 11 13:56:10 2017 Master: Master: [00:00:00]: System Name: Linux Master: [00:00:00]: Host Name: dst Master: [00:00:00]: Release(Kernel) Version: 4.4.0-57-generic Master: [00:00:00]: Kernel Build Timestamp: #78-Ubuntu SMP Fri Dec 9 23:50:32 UTC 2016 Master: [00:00:00]: Machine Arch: x86_64 Master: [00:00:00]: Don't Starve Together: 202070 LINUX Master: [00:00:00]: Build Date: 1644 Master: [00:00:00]: Parsing command line Master: [00:00:00]: Command Line Arguments: -console -cluster MyDediServer -monitor_parent_process 13988 -shard Master Master: [00:00:00]: [WARNING] -console has been deprecated: Use the [MISC] / console_enabled setting instead. Master: [00:00:00]: Initializing distribution platform Master: [00:00:00]: ....Done Caves: [00:00:00]: Starting Up Caves: [00:00:00]: Version: 202070 Caves: [00:00:00]: Current time: Wed Jan 11 13:56:10 2017 Caves: Caves: [00:00:00]: System Name: Linux Caves: [00:00:00]: Host Name: dst Caves: [00:00:00]: Release(Kernel) Version: 4.4.0-57-generic Caves: [00:00:00]: Kernel Build Timestamp: #78-Ubuntu SMP Fri Dec 9 23:50:32 UTC 2016 Caves: [00:00:00]: Machine Arch: x86_64 Caves: [00:00:00]: Don't Starve Together: 202070 LINUX Caves: [00:00:00]: Build Date: 1644 Caves: [00:00:00]: Parsing command line Caves: [00:00:00]: Command Line Arguments: -console -cluster MyDediServer -monitor_parent_process 13988 -shard Caves Caves: [00:00:00]: [WARNING] -console has been deprecated: Use the [MISC] / console_enabled setting instead. Caves: [00:00:00]: Initializing distribution platform Caves: [00:00:00]: ....Done Caves: [00:00:00]: THREAD - started 'GAClient' (4133235520) Caves: [00:00:00]: CurlRequestManager::ClientThread::Main() Master: [00:00:00]: THREAD - started 'GAClient' (4132711232) Master: [00:00:00]: CurlRequestManager::ClientThread::Main() Caves: [00:00:00]: ProfileIndex:10.80 Master: [00:00:00]: ProfileIndex:10.57 Caves: [00:00:00]: [Connect] PendingConnection::Reset(true) Master: [00:00:00]: [Connect] PendingConnection::Reset(true) Master: [00:00:00]: Network tick rate: U=15(2), D=0 Caves: [00:00:00]: Network tick rate: U=15(2), D=0 Caves: [00:00:00]: Network tick rate: U=15(2), D=0 Master: [00:00:00]: Network tick rate: U=15(2), D=0 Caves: [00:00:00]: OnLoadPermissionList: /root/.klei//DoNotStarveTogether/MyDediServer/blocklist.txt (Failure) Master: [00:00:00]: OnLoadPermissionList: /root/.klei//DoNotStarveTogether/MyDediServer/blocklist.txt (Failure) Master: [00:00:00]: OnLoadPermissionList: /root/.klei//DoNotStarveTogether/MyDediServer/adminlist.txt (Failure) Master: [00:00:00]: OnLoadUserIdList: /root/.klei//DoNotStarveTogether/MyDediServer/whitelist.txt (Failure) Caves: [00:00:00]: OnLoadPermissionList: /root/.klei//DoNotStarveTogether/MyDediServer/adminlist.txt (Failure) Caves: [00:00:00]: OnLoadUserIdList: /root/.klei//DoNotStarveTogether/MyDediServer/whitelist.txt (Failure) Master: [00:00:00]: THREAD - started 'ConsoleInput' (4126145344) Caves: [00:00:00]: Token retrieved from: /root/.klei//DoNotStarveTogether/MyDediServer/cluster_token.txt Caves: [00:00:00]: Token retrieved from: /root/.klei//DoNotStarveTogether/MyDediServer/cluster_token.txt Caves: [00:00:00]: cGame::InitializeOnMainThread Master: [00:00:00]: Token retrieved from: /root/.klei//DoNotStarveTogether/MyDediServer/cluster_token.txt Master: [00:00:00]: Token retrieved from: /root/.klei//DoNotStarveTogether/MyDediServer/cluster_token.txt Master: [00:00:00]: cGame::InitializeOnMainThread Caves: [00:00:00]: THREAD - started 'ConsoleInput' (4126145344) Caves: [00:00:00]: Renderer initialize: Okay Master: [00:00:00]: Renderer initialize: Okay Caves: [00:00:01]: AnimManager initialize: Okay Master: [00:00:01]: AnimManager initialize: Okay Master: [00:00:01]: Buffers initialize: Okay Caves: [00:00:01]: Buffers initialize: Okay Master: [00:00:01]: cDontStarveGame::DoGameSpecificInitialize() Caves: [00:00:01]: cDontStarveGame::DoGameSpecificInitialize() Caves: [00:00:01]: FMOD Error: An invalid object handle was used. Caves: [00:00:01]: GameSpecific initialize: Okay Caves: [00:00:01]: cGame::StartPlaying Master: [00:00:01]: FMOD Error: An invalid object handle was used. Master: [00:00:01]: GameSpecific initialize: Okay Master: [00:00:01]: cGame::StartPlaying Master: [00:00:01]: LOADING LUA Caves: [00:00:01]: LOADING LUA Caves: [00:00:01]: DoLuaFile scripts/main.lua Master: [00:00:01]: DoLuaFile scripts/main.lua Master: [00:00:01]: DoLuaFile loading buffer scripts/main.lua Caves: [00:00:01]: DoLuaFile loading buffer scripts/main.lua Master: [00:00:01]: running main.lua Master: Caves: [00:00:01]: running main.lua Caves: Master: [00:00:01]: loaded modindex Caves: [00:00:01]: loaded modindex Caves: [00:00:01]: ModIndex: Beginning normal load sequence for dedicated server. Caves: Master: [00:00:01]: ModIndex: Beginning normal load sequence for dedicated server. Master: Caves: [00:00:01]: DownloadMods(0) Master: [00:00:01]: DownloadMods(0) Master: [00:00:01]: FMOD Error: An invalid object handle was used. Caves: [00:00:01]: FMOD Error: An invalid object handle was used. Caves: [00:00:02]: LOADING LUA SUCCESS Master: [00:00:02]: LOADING LUA SUCCESS Caves: [00:00:02]: PlayerDeaths could not load morgue Caves: [00:00:02]: PlayerHistory could not load player_history Master: [00:00:02]: PlayerDeaths could not load morgue Master: [00:00:02]: PlayerHistory could not load player_history Caves: [00:00:02]: bloom_enabled false Master: [00:00:02]: bloom_enabled false Caves: [00:00:02]: loaded saveindex Caves: [00:00:02]: OnFilesLoaded() Caves: [00:00:02]: OnUpdatePurchaseStateComplete Master: [00:00:02]: loaded saveindex Master: [00:00:02]: OnFilesLoaded() Master: [00:00:02]: OnUpdatePurchaseStateComplete Master: [00:00:04]: Load FE Caves: [00:00:04]: Load FE Caves: [00:00:05]: Load FE: done Caves: [00:00:05]: ModIndex: Load sequence finished successfully. Caves: [00:00:05]: Reset() returning Master: [00:00:05]: Load FE: done Master: [00:00:05]: ModIndex: Load sequence finished successfully. Master: [00:00:05]: Reset() returning Caves: [00:00:06]: [200] Account Communication Success (6) Master: [00:00:06]: [200] Account Communication Success (6) Master: [00:00:06]: Received (KU_rQNmn-j1) from TokenPurpose Master: [00:00:06]: Starting Dedicated Server Game Master: [00:00:06]: Network tick rate: U=15(2), D=0 Caves: [00:00:06]: Received (KU_rQNmn-j1) from TokenPurpose Caves: [00:00:06]: Starting Dedicated Server Game Caves: [00:00:06]: Network tick rate: U=15(2), D=0 Caves: [00:00:06]: About to start a server with the following settings: Master: [00:00:06]: About to start a server with the following settings: Caves: [00:00:06]: Dedicated: true Master: [00:00:06]: Dedicated: true Caves: [00:00:06]: Online: true Master: [00:00:06]: Online: true Caves: [00:00:06]: Passworded: true Master: [00:00:06]: Passworded: true Caves: [00:00:06]: ServerPort: 11001 Master: [00:00:06]: ServerPort: 11000 Caves: [00:00:06]: SteamAuthPort: 8769 Master: [00:00:06]: SteamAuthPort: 8768 Caves: [00:00:06]: SteamMasterServerPort: 27019 Master: [00:00:06]: SteamMasterServerPort: 27018 Caves: [00:00:06]: ClanID: false Master: [00:00:06]: ClanID: false Caves: [00:00:06]: ClanOnly: false Master: [00:00:06]: ClanOnly: false Caves: [00:00:06]: ClanAdmin: false Master: [00:00:06]: ClanAdmin: false Caves: [00:00:06]: LanOnly: false Master: [00:00:06]: LanOnly: false Caves: [00:00:06]: FriendsOnly: false Master: [00:00:06]: FriendsOnly: false Caves: [00:00:06]: EnableAutosaver: true Master: [00:00:06]: EnableAutosaver: true Caves: [00:00:06]: PVP: true Master: [00:00:06]: PVP: true Caves: [00:00:06]: MaxPlayers: 6 Master: [00:00:06]: MaxPlayers: 6 Caves: [00:00:06]: GameMode: survival Master: [00:00:06]: GameMode: survival Caves: [00:00:06]: OverridenDNS: Master: [00:00:06]: OverridenDNS: Caves: [00:00:06]: PauseWhenEmpty: true Master: [00:00:06]: PauseWhenEmpty: true Caves: [00:00:06]: VoteEnabled: true Master: [00:00:06]: VoteEnabled: true Caves: [00:00:06]: InternetBroadcasting: true Master: [00:00:06]: InternetBroadcasting: true Caves: [00:00:06]: Intent: cooperative Master: [00:00:06]: Intent: cooperative Master: [00:00:06]: Online Server Started on port: 11000 Caves: [00:00:06]: Online Server Started on port: 11001 Caves: [00:00:06]: Collecting garbage... Master: [00:00:06]: Collecting garbage... Caves: [00:00:06]: lua_gc took 0.05 seconds Master: [00:00:06]: lua_gc took 0.05 seconds Master: [00:00:06]: ~ShardLuaProxy() Caves: [00:00:06]: ~ShardLuaProxy() Caves: [00:00:06]: ~ItemServerLuaProxy() Master: [00:00:06]: ~ItemServerLuaProxy() Caves: [00:00:06]: ~InventoryLuaProxy() Master: [00:00:06]: ~InventoryLuaProxy() Caves: [00:00:06]: ~NetworkLuaProxy() Master: [00:00:06]: ~NetworkLuaProxy() Caves: [00:00:06]: ~SimLuaProxy() Master: [00:00:06]: ~SimLuaProxy() Master: [00:00:06]: lua_close took 0.08 seconds Caves: [00:00:06]: lua_close took 0.08 seconds Master: [00:00:06]: ReleaseAll Master: [00:00:06]: ReleaseAll Finished Master: [00:00:06]: cGame::StartPlaying Caves: [00:00:06]: ReleaseAll Caves: [00:00:06]: ReleaseAll Finished Caves: [00:00:06]: cGame::StartPlaying Caves: [00:00:06]: LOADING LUA Master: [00:00:06]: LOADING LUA Master: [00:00:06]: DoLuaFile scripts/main.lua Master: [00:00:06]: DoLuaFile loading buffer scripts/main.lua Caves: [00:00:06]: DoLuaFile scripts/main.lua Caves: [00:00:06]: DoLuaFile loading buffer scripts/main.lua Master: [00:00:07]: running main.lua Master: Caves: [00:00:07]: running main.lua Caves: Caves: [00:00:07]: loaded modindex Master: [00:00:07]: loaded modindex Caves: [00:00:07]: ModIndex: Beginning normal load sequence for dedicated server. Caves: Master: [00:00:07]: ModIndex: Beginning normal load sequence for dedicated server. Master: Master: [00:00:07]: LOADING LUA SUCCESS Caves: [00:00:07]: LOADING LUA SUCCESS Master: [00:00:07]: PlayerDeaths could not load morgue Caves: [00:00:07]: PlayerDeaths could not load morgue Master: [00:00:07]: PlayerHistory could not load player_history Master: [00:00:07]: bloom_enabled false Caves: [00:00:07]: PlayerHistory could not load player_history Master: [00:00:07]: loaded saveindex Caves: [00:00:07]: bloom_enabled false Caves: [00:00:07]: loaded saveindex Master: [00:00:07]: OnFilesLoaded() Master: [00:00:07]: OnUpdatePurchaseStateComplete Caves: [00:00:07]: OnFilesLoaded() Caves: [00:00:07]: OnUpdatePurchaseStateComplete Caves: [00:00:07]: Unload FE Master: [00:00:07]: Unload FE Caves: [00:00:07]: Unload FE done Master: [00:00:07]: Unload FE done Caves: [00:00:08]: LOAD BE Master: [00:00:08]: LOAD BE root@dst:~# Caves: [00:00:13]: LOAD BE: done Caves: [00:00:13]: Loading world: session/6618D768E5CE610B/0000000002 Caves: [00:00:13]: Save file is at version 4.5 Caves: [00:00:13]: Begin Session: 6618D768E5CE610B Caves: [00:00:13]: saving to server_temp/server_save Caves: [00:00:13]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml ) Caves: [00:00:14]: Loading Nav Grid Caves: [00:00:14]: [Shard] Slave is waiting for LUA... ls dontstarvetogether_dedicated_server run_dedicated_servers.sh Steam steamcmd root@dst:~# Link to comment Share on other sites More sharing options...
Pabloraja Posted April 14, 2017 Share Posted April 14, 2017 Hello, i had follow this guide, but my dedicated server didn't start. ./dontstarve_dedicated_server_nullrenderer: error while loading shared libraries: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory ./dontstarve_dedicated_server_nullrenderer: error while loading shared libraries: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory How can i fix it?? 1 Link to comment Share on other sites More sharing options...
alainmcd Posted April 14, 2017 Share Posted April 14, 2017 Hi @Pabloraja, welcome to the forums! Try this. If the first solution doesn't work, try the method suggested in the second answer to that solution. Link to comment Share on other sites More sharing options...
Circleus Posted May 3, 2017 Share Posted May 3, 2017 On 4/13/2017 at 8:21 PM, Pabloraja said: Hello, i had follow this guide, but my dedicated server didn't start. ./dontstarve_dedicated_server_nullrenderer: error while loading shared libraries: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory ./dontstarve_dedicated_server_nullrenderer: error while loading shared libraries: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory How can i fix it?? You probably missing dependancies sudo dpkg --add-architecture i386 sudo apt-get update && sudo apt-get upgrade sudo apt-get install lib32gcc1 lib32stdc++6 libcurl4-gnutls-dev:i386 I'm sure you missing libcurl4-gnutls-dev:i386 To solve that issue, you add the architecture then you update and upgrade your packages to have libcurl4-gnutls-dev:i386 available to installing A lot of people having issue installing the libcurl4-gnutls-dev:i386 1 Link to comment Share on other sites More sharing options...
Saudor Posted June 18, 2017 Share Posted June 18, 2017 (edited) Hello! I have followed this guide and im having issues whenever i try to enable mods (this installation used to work last year but it has since stopped working (it simply shuts down) so i did a clean install from scratch and the server does not start with the mods enabled). I have tried the "ForceEnableMod" method as well as the method mentioned here (["workshop-376333686"] = {enabled = true },) Thank you! Terminal Saved Output Edited June 18, 2017 by Saudor Link to comment Share on other sites More sharing options...
alainmcd Posted June 18, 2017 Share Posted June 18, 2017 Hi @Saudor, welcome to the forums! Try removing the validate parameter when calling steamcmd.sh in your run_dedicated_servers.sh script. Then set up the mods you want to use in dedicated_server_mods_setup.lua in the mods folder of your Dedicated Server tool installation via ServerModSetup (or ServerModCollectionSetup), and enable the mods for each shard in their respective modoverrides.lua files. Don't use ForceEnableMod or the modsettings.lua file. 2 Link to comment Share on other sites More sharing options...
Saudor Posted June 18, 2017 Share Posted June 18, 2017 1 hour ago, alainmcd said: Hi @Saudor, welcome to the forums! Try removing the validate parameter when calling steamcmd.sh in your run_dedicated_servers.sh script. Then set up the mods you want to use in dedicated_server_mods_setup.lua in the mods folder of your Dedicated Server tool installation via ServerModSetup (or ServerModCollectionSetup), and enable the mods for each shard in their respective modoverrides.lua files. Don't use ForceEnableMod or the modsettings.lua file. Thank you! I actually noticed the dedicated_server_mods_setup.lua file being overwritten so did a nasty hack on the main start.sh file to "restore" from a backup file after each update. Removing validate seems to fix this! As for the problem, it was actually the mod called "better clothes" that was crashing startup. I removed it and it seems to be fine now. Weird since ive been using that one for ages now. Im also back to using modoverrides.lua to enable the mods for the master/cave instances. 1 Link to comment Share on other sites More sharing options...
JosejeSinohui Posted June 21, 2017 Share Posted June 21, 2017 Hello, i followed this guide exactly with a 32 bit ubuntu machine, a 64bit ubuntu machine, and a 64 bit debian machine (all of them digital ocean droplets) and i got the same error in all of them, i only changed the server name in the configuration file. this is the output, any clue what the problem is? Spoiler root@debian-512mb-sfo1-01:~# ~/run_dedicated_servers.sh Redirecting stderr to '/root/Steam/logs/stderr.txt' [ 0%] Checking for available updates... [----] Verifying installation... Steam Console Client (c) Valve Corporation -- type 'quit' to exit -- Loading Steam API...OK. Connecting anonymously to Steam Public...Logged in OK Waiting for user info...OK Update state (0x3) reconfiguring, progress: 0.00 (0 / 0) Update state (0x5) validating, progress: 24.85 (206533395 / 831192435) Update state (0x5) validating, progress: 62.19 (516901358 / 831192435) Update state (0x5) validating, progress: 97.89 (813617669 / 831192435) Success! App '343050' fully installed. Caves: [00:00:00]: PersistRootStorage is now /root/.klei//DoNotStarveTogether/MyDediServer/Caves/ Master: [00:00:00]: PersistRootStorage is now /root/.klei//DoNotStarveTogether/MyDediServer/Master/ Master: [00:00:00]: Starting Up Master: [00:00:00]: Version: 220849 Master: [00:00:00]: Current time: Wed Jun 21 23:28:51 2017 Master: Master: [00:00:00]: System Name: Linux Master: [00:00:00]: Host Name: debian-512mb-sfo1-01 Caves: [00:00:00]: Starting Up Master: [00:00:00]: Release(Kernel) Version: 4.9.0-3-amd64 Master: [00:00:00]: Kernel Build Timestamp: #1 SMP Debian 4.9.30-2 (2017-06-12) Caves: [00:00:00]: Version: 220849 Master: [00:00:00]: Machine Arch: x86_64 Caves: [00:00:00]: Current time: Wed Jun 21 23:28:51 2017 Caves: Master: [00:00:00]: Don't Starve Together: 220849 LINUX Master: [00:00:00]: Build Date: 2192 Caves: [00:00:00]: System Name: Linux Master: [00:00:00]: Parsing command line Master: [00:00:00]: Command Line Arguments: -console -cluster MyDediServer -monitor_parent_process 7096 -shard Master Caves: [00:00:00]: Host Name: debian-512mb-sfo1-01 Caves: [00:00:00]: Release(Kernel) Version: 4.9.0-3-amd64 Master: [00:00:00]: [WARNING] -console has been deprecated: Use the [MISC] / console_enabled setting instead. Caves: [00:00:00]: Kernel Build Timestamp: #1 SMP Debian 4.9.30-2 (2017-06-12) Master: [00:00:00]: Initializing distribution platform Caves: [00:00:00]: Machine Arch: x86_64 Master: [00:00:00]: ....Done Caves: [00:00:00]: Don't Starve Together: 220849 LINUX Caves: [00:00:00]: Build Date: 2192 Caves: [00:00:00]: Parsing command line Caves: [00:00:00]: Command Line Arguments: -console -cluster MyDediServer -monitor_parent_process 7096 -shard Caves Caves: [00:00:00]: [WARNING] -console has been deprecated: Use the [MISC] / console_enabled setting instead. Caves: [00:00:00]: Initializing distribution platform Caves: [00:00:00]: ....Done Caves: [00:00:00]: THREAD - started 'GAClient' (4133874496) Caves: [00:00:00]: CurlRequestManager::ClientThread::Main() Master: [00:00:00]: THREAD - started 'GAClient' (4133247808) Master: [00:00:00]: CurlRequestManager::ClientThread::Main() Master: [00:00:00]: ProfileIndex:10.50 Caves: [00:00:00]: ProfileIndex:13.88 Master: [00:00:00]: [Connect] PendingConnection::Reset(true) Caves: [00:00:00]: [Connect] PendingConnection::Reset(true) Master: [00:00:00]: Network tick rate: U=15(2), D=0 Caves: [00:00:00]: Network tick rate: U=15(2), D=0 Caves: [00:00:00]: Network tick rate: U=15(2), D=0 Master: [00:00:00]: Network tick rate: U=15(2), D=0 Master: [00:00:00]: OnLoadPermissionList: /root/.klei//DoNotStarveTogether/MyDediServer/blocklist.txt (Failure) Caves: [00:00:00]: OnLoadPermissionList: /root/.klei//DoNotStarveTogether/MyDediServer/blocklist.txt (Failure) Caves: [00:00:00]: OnLoadPermissionList: /root/.klei//DoNotStarveTogether/MyDediServer/adminlist.txt (Failure) Master: [00:00:00]: OnLoadPermissionList: /root/.klei//DoNotStarveTogether/MyDediServer/adminlist.txt (Failure) Caves: [00:00:00]: OnLoadUserIdList: /root/.klei//DoNotStarveTogether/MyDediServer/whitelist.txt (Failure) Master: [00:00:00]: OnLoadUserIdList: /root/.klei//DoNotStarveTogether/MyDediServer/whitelist.txt (Failure) Caves: [00:00:00]: Token retrieved from: /root/.klei//DoNotStarveTogether/MyDediServer/cluster_token.txt Master: [00:00:00]: Token retrieved from: /root/.klei//DoNotStarveTogether/MyDediServer/cluster_token.txt Caves: [00:00:00]: Token retrieved from: /root/.klei//DoNotStarveTogether/MyDediServer/cluster_token.txt Master: [00:00:00]: Token retrieved from: /root/.klei//DoNotStarveTogether/MyDediServer/cluster_token.txt Caves: [00:00:00]: cGame::InitializeOnMainThread Master: [00:00:00]: cGame::InitializeOnMainThread Caves: [00:00:00]: THREAD - started 'ConsoleInput' (4127193920) Caves: [00:00:00]: Renderer initialize: Okay Master: [00:00:00]: THREAD - started 'ConsoleInput' (4126145344) Master: [00:00:00]: Renderer initialize: Okay Caves: [00:00:00]: AnimManager initialize: Okay Caves: [00:00:00]: Buffers initialize: Okay Master: [00:00:00]: AnimManager initialize: Okay Master: [00:00:00]: Buffers initialize: Okay Caves: [00:00:00]: cDontStarveGame::DoGameSpecificInitialize() Caves: [00:00:00]: GameSpecific initialize: Okay Caves: [00:00:00]: cGame::StartPlaying Master: [00:00:00]: cDontStarveGame::DoGameSpecificInitialize() Master: [00:00:00]: GameSpecific initialize: Okay Master: [00:00:00]: cGame::StartPlaying Caves: [00:00:00]: LOADING LUA Caves: [00:00:00]: DoLuaFile scripts/main.lua Master: [00:00:00]: LOADING LUA Caves: [00:00:00]: DoLuaFile loading buffer scripts/main.lua Master: [00:00:00]: DoLuaFile scripts/main.lua Master: [00:00:00]: DoLuaFile loading buffer scripts/main.lua Caves: [00:00:00]: running main.lua Caves: Master: [00:00:00]: running main.lua Master: Caves: [00:00:00]: loaded modindex Caves: [00:00:00]: ModIndex: Beginning normal load sequence for dedicated server. Caves: Caves: [00:00:00]: DownloadMods(0) Master: [00:00:00]: loaded modindex Master: [00:00:00]: ModIndex: Beginning normal load sequence for dedicated server. Master: Master: [00:00:00]: DownloadMods(0) Caves: [00:00:01]: LOADING LUA SUCCESS Master: [00:00:01]: LOADING LUA SUCCESS Caves: [00:00:01]: PlayerDeaths could not load morgue Master: [00:00:01]: PlayerDeaths could not load morgue Master: [00:00:01]: PlayerHistory could not load player_history Caves: [00:00:01]: PlayerHistory could not load player_history Master: [00:00:01]: bloom_enabled false Caves: [00:00:01]: bloom_enabled false Master: [00:00:01]: loaded saveindex Master: [00:00:01]: OnFilesLoaded() Caves: [00:00:02]: loaded saveindex Master: [00:00:02]: OnUpdatePurchaseStateComplete Caves: [00:00:02]: OnFilesLoaded() Caves: [00:00:02]: OnUpdatePurchaseStateComplete Master: [00:00:03]: Load FE Caves: [00:00:03]: Load FE Master: [00:00:04]: Load FE: done Master: [00:00:04]: ModIndex: Load sequence finished successfully. Master: [00:00:04]: Reset() returning Caves: [00:00:04]: Load FE: done Caves: [00:00:04]: ModIndex: Load sequence finished successfully. Caves: [00:00:04]: Reset() returning Caves: [00:00:05]: [200] Account Communication Success (6) Caves: [00:00:05]: Received (KU_KmHGVJ8E) from TokenPurpose Caves: [00:00:05]: Starting Dedicated Server Game Caves: [00:00:05]: Network tick rate: U=15(2), D=0 Caves: [00:00:05]: About to start a server with the following settings: Caves: [00:00:05]: Dedicated: true Caves: [00:00:05]: Online: true Caves: [00:00:05]: Passworded: false Caves: [00:00:05]: ServerPort: 11001 Caves: [00:00:05]: SteamAuthPort: 8769 Caves: [00:00:05]: SteamMasterServerPort: 27019 Caves: [00:00:05]: ClanID: false Caves: [00:00:05]: ClanOnly: false Caves: [00:00:05]: ClanAdmin: false Caves: [00:00:05]: LanOnly: false Caves: [00:00:05]: FriendsOnly: false Caves: [00:00:05]: EnableAutosaver: true Caves: [00:00:05]: EncodeUserPath: false Caves: [00:00:05]: PVP: false Caves: [00:00:05]: Event: false Caves: [00:00:05]: MaxPlayers: 3 Caves: [00:00:05]: GameMode: survival Caves: [00:00:05]: OverridenDNS: Caves: [00:00:05]: PauseWhenEmpty: true Caves: [00:00:05]: VoteEnabled: true Caves: [00:00:05]: InternetBroadcasting: true Caves: [00:00:05]: Intent: cooperative Caves: [00:00:05]: Online Server Started on port: 11001 Master: [00:00:05]: [200] Account Communication Success (6) Master: [00:00:05]: Received (KU_KmHGVJ8E) from TokenPurpose Master: [00:00:05]: Starting Dedicated Server Game Master: [00:00:05]: Network tick rate: U=15(2), D=0 Master: [00:00:05]: About to start a server with the following settings: Master: [00:00:05]: Dedicated: true Master: [00:00:05]: Online: true Master: [00:00:05]: Passworded: false Master: [00:00:05]: ServerPort: 11000 Master: [00:00:05]: SteamAuthPort: 8768 Master: [00:00:05]: SteamMasterServerPort: 27018 Master: [00:00:05]: ClanID: false Master: [00:00:05]: ClanOnly: false Master: [00:00:05]: ClanAdmin: false Master: [00:00:05]: LanOnly: false Master: [00:00:05]: FriendsOnly: false Master: [00:00:05]: EnableAutosaver: true Master: [00:00:05]: EncodeUserPath: true Master: [00:00:05]: PVP: false Master: [00:00:05]: Event: false Master: [00:00:05]: MaxPlayers: 3 Master: [00:00:05]: GameMode: survival Master: [00:00:05]: OverridenDNS: Master: [00:00:05]: PauseWhenEmpty: true Master: [00:00:05]: VoteEnabled: true Master: [00:00:05]: InternetBroadcasting: true Master: [00:00:05]: Intent: cooperative Caves: [00:00:05]: Collecting garbage... Master: [00:00:05]: Online Server Started on port: 11000 Caves: [00:00:05]: lua_gc took 0.03 seconds Caves: [00:00:05]: ~ShardLuaProxy() Caves: [00:00:05]: ~ItemServerLuaProxy() Caves: [00:00:05]: ~InventoryLuaProxy() Caves: [00:00:05]: ~NetworkLuaProxy() Caves: [00:00:05]: ~SimLuaProxy() Master: [00:00:05]: Collecting garbage... Caves: [00:00:05]: lua_close took 0.06 seconds Master: [00:00:05]: lua_gc took 0.04 seconds Master: [00:00:05]: ~ShardLuaProxy() Master: [00:00:05]: ~ItemServerLuaProxy() Master: [00:00:05]: ~InventoryLuaProxy() Master: [00:00:05]: ~NetworkLuaProxy() Master: [00:00:05]: ~SimLuaProxy() Caves: [00:00:05]: ReleaseAll Caves: [00:00:05]: ReleaseAll Finished Caves: [00:00:05]: cGame::StartPlaying Caves: [00:00:05]: LOADING LUA Master: [00:00:05]: lua_close took 0.06 seconds Caves: [00:00:05]: DoLuaFile scripts/main.lua Caves: [00:00:05]: DoLuaFile loading buffer scripts/main.lua Master: [00:00:05]: ReleaseAll Master: [00:00:05]: ReleaseAll Finished Master: [00:00:05]: cGame::StartPlaying Master: [00:00:05]: LOADING LUA Master: [00:00:05]: DoLuaFile scripts/main.lua Master: [00:00:05]: DoLuaFile loading buffer scripts/main.lua Caves: [00:00:05]: running main.lua Caves: Caves: [00:00:05]: loaded modindex Caves: [00:00:05]: ModIndex: Beginning normal load sequence for dedicated server. Caves: Master: [00:00:05]: running main.lua Master: Master: [00:00:05]: loaded modindex Master: [00:00:05]: ModIndex: Beginning normal load sequence for dedicated server. Master: Caves: [00:00:05]: LOADING LUA SUCCESS Caves: [00:00:05]: PlayerDeaths could not load morgue Caves: [00:00:05]: PlayerHistory could not load player_history Caves: [00:00:05]: bloom_enabled false Caves: [00:00:05]: loaded saveindex Caves: [00:00:05]: OnFilesLoaded() Caves: [00:00:05]: OnUpdatePurchaseStateComplete Caves: [00:00:05]: Load Slot: ... generating new world Caves: [00:00:05]: WorldSim::SimThread::SimThread() Caves: [00:00:05]: ABOUT TO INSTALL STACKTRACE Caves: [00:00:05]: DoLuaFile scripts/stacktrace.lua Caves: [00:00:05]: DoLuaFile loading buffer scripts/stacktrace.lua Caves: [00:00:05]: INSTALLED STACKTRACE Caves: [00:00:05]: WorldSim::SimThread::SimThread() complete Caves: [00:00:05]: ModIndex: Load sequence finished successfully. Caves: [00:00:05]: Reset() returning Master: [00:00:05]: LOADING LUA SUCCESS Caves: [00:00:05]: THREAD - started 'WorldSim' (4036766528) Caves: [00:00:05]: WorldSim::SimThread::Main() Caves: [00:00:05]: DoLuaFile scripts/worldgen_main.lua Caves: [00:00:05]: DoLuaFile loading buffer scripts/worldgen_main.lua Caves: [00:00:05]: DLC enabled : false Master: [00:00:05]: PlayerDeaths could not load morgue Master: [00:00:05]: PlayerHistory could not load player_history Master: [00:00:05]: bloom_enabled false Master: [00:00:05]: loaded saveindex Master: [00:00:05]: OnFilesLoaded() Master: [00:00:05]: OnUpdatePurchaseStateComplete Master: [00:00:05]: Unload FE Master: [00:00:05]: Unload FE done Caves: [00:00:06]: running worldgen_main.lua Caves: Caves: [00:00:06]: SEED = 1498087736 Caves: [00:00:06]: Generating world with these parameters: Caves: [00:00:06]: level_type SURVIVAL Caves: [00:00:06]: level_data: Caves: [00:00:06]: K: 1 V: table: 0xb4580d8 Caves: [00:00:06]: K: background_node_range V: table: 0xb458100 Caves: [00:00:06]: K: 1 V: 0 Caves: [00:00:06]: K: 2 V: 1 Caves: [00:00:06]: K: desc V: Delve into the caves... together! Caves: [00:00:06]: K: hideminimap V: false Caves: [00:00:06]: K: id V: DST_CAVE Caves: [00:00:06]: K: location V: cave Caves: [00:00:06]: K: max_playlist_position V: 999 Caves: [00:00:06]: K: min_playlist_position V: 0 Caves: [00:00:06]: K: name V: The Caves Caves: [00:00:06]: K: numrandom_set_pieces V: 0 Caves: [00:00:06]: K: override_level_string V: false Caves: [00:00:06]: K: overrides V: table: 0xa48de70 Caves: [00:00:06]: K: layout_mode V: RestrictNodesByKey Caves: [00:00:06]: K: roads V: never Caves: [00:00:06]: K: season_start V: default Caves: [00:00:06]: K: start_location V: caves Caves: [00:00:06]: K: task_set V: cave_default Caves: [00:00:06]: K: world_size V: default Caves: [00:00:06]: K: wormhole_prefab V: tentacle_pillar Caves: [00:00:06]: K: required_prefabs V: table: 0xb458350 Caves: [00:00:06]: K: 1 V: multiplayer_portal Caves: [00:00:06]: K: substitutes V: table: 0xaf25150 Caves: [00:00:06]: K: version V: 3 Caves: [00:00:06]: Caves: ####### Caves: # Caves: # Generating SURVIVAL Mode Level Caves: # Caves: ####### Caves: Caves: [00:00:06]: Prefab Swap Selection: regular grass Caves: [00:00:06]: Prefab Swap Selection: regular twigs Caves: [00:00:06]: Prefab Swap Selection: juicy berries Caves: [00:00:06]: New size: 425 default Caves: [00:00:06]: Creating story... Caves: [00:00:06]: RestrictNodesByKey Caves: [00:00:06]: ##############################RestrictNodesByKey Caves: [00:00:06]: Finding valid start task... Caves: [00:00:06]: ...picked CaveExitTask4 Caves: [00:00:06]: Has start node GrasslandSinkhole Caves: [00:00:06]: Baking map... 425 Caves: [00:00:06]: [WorldSimActual::GenerateVoronoiMap] Caves: [00:00:06]: GenerateVoronoiMap [1]: Caves: . Caves: [00:00:06]: ...Done. Caves: [00:00:06]: [AddEmptyNodes] Caves: [00:00:06]: GenerateVoronoiMap [100]: Master: [00:00:07]: LOAD BE Master: [00:00:11]: LOAD BE: done Master: [00:00:11]: Loading world: session/84CFCB2C959A5C95/0000000002 Master: [00:00:11]: Save file is at version 4.77 Master: [00:00:12]: Begin Session: 84CFCB2C959A5C95 Master: [00:00:12]: saving to server_temp/server_save Master: [00:00:12]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml ) root@debian-512mb-sfo1-01:~# Caves: .....10....20....30....40....50....60....70....80....90..[00:00:14]: Parent process is dead, exiting... Caves: Updates 0Seconds elapsed: 14.2677 fps:0 Caves: Saving Dedicated server data... Caves: [00:00:14]: [Shard] Stopping shard mode Caves: ..100 Caves: [00:00:14]: ...Done. Caves: [00:00:14]: [WorldSimActual::GenerateVoronoiMap] complete [success] Caves: [00:00:14]: [WorldSimActual::ConvertToTileMap] Caves: [00:00:14]: [ConvertToTileMap] Caves: [00:00:14]: [WorldSimActual::ConvertToTileMap] complete Caves: [00:00:14]: [WorldSimActual::SeparateIslands] Caves: [00:00:14]: [SeparateIslands] Caves: [00:00:14]: [WorldSimActual::SeparateIslands] complete Caves: [00:00:14]: Map Baked! Caves: [00:00:14]: [WorldSimActual::ForceConnectivity] Caves: [00:00:14]: [GenerateLandmasses] Caves: [00:00:14]: [MergeConnectedLandmasses] true Caves: [00:00:14]: [WorldSimActual::ForceConnectivity] complete Caves: [00:00:14]: [GetWormholesExtra] connected 0 unconnected 1 Caves: [00:00:14]: [GetWormholesExtra] after: connected 1 unconnected 0 Caves: [00:00:14]: [GetWormholesExtra] pushed 0 wormholes Caves: [00:00:14]: Encoding... Caves: [00:00:14]: Encoding... DONE Caves: [00:00:14]: Checking Tags Caves: [00:00:15]: Couldn't generate any points for maze. Aborting. Caves: [00:00:15]: Populating voronoi... Caves: [00:00:15]: Warning! Could not find a spot for EvergreenSinkhole in node CaveExitTask6:1:SinkholeCopses Caves: [00:00:15]: Warning! Could not find a spot for EvergreenSinkhole in node CaveExitTask6:1:SinkholeCopses Caves: [00:00:15]: Warning! Could not find a spot for Mudlights in node SwampySinkhole:3:TentacleMud Caves: [00:00:15]: Warning! Could not find a spot for Mudlights in node SwampySinkhole:3:TentacleMud Caves: [00:00:15]: Warning! Could not find a spot for RabbitTown in node CaveExitTask2:0:RabbitTown Caves: [00:00:15]: Warning! Could not find a spot for StraightWall in node Residential3:1:Vacant Caves: [00:00:15]: Warning! Could not find a spot for StraightWall in node Residential3:1:Vacant Caves: [00:00:15]: Warning! Could not find a spot for StraightWall in node Residential3:1:Vacant Caves: [00:00:15]: Warning! Could not find a spot for StraightWall2 in node Residential3:1:Vacant Caves: [00:00:15]: Warning! Could not find a spot for StraightWall2 in node Residential3:1:Vacant Caves: [00:00:15]: Warning! Could not find a spot for StraightWall2 in node Residential3:1:Vacant Caves: [00:00:15]: Warning! Could not find a spot for CornerWall2 in node Residential3:1:Vacant Caves: [00:00:15]: Warning! Could not find a spot for CornerWall2 in node Residential3:1:Vacant Caves: [00:00:15]: Warning! Could not find a spot for StraightWall2 in node Residential:4:Vacant Caves: [00:00:15]: Warning! Could not find a spot for CornerWall2 in node Residential:4:Vacant Caves: [00:00:15]: Warning! Could not find a spot for CornerWall2 in node Residential:4:Vacant Caves: [00:00:15]: Warning! Could not find a spot for StraightWall in node Residential:2:Vacant Caves: [00:00:15]: Warning! Could not find a spot for StraightWall in node Residential:2:Vacant Caves: [00:00:15]: Warning! Could not find a spot for StraightWall2 in node Residential:2:Vacant Caves: [00:00:15]: Warning! Could not find a spot for StraightWall2 in node Residential:2:Vacant Caves: [00:00:15]: Warning! Could not find a spot for CornerWall2 in node Residential:2:Vacant Caves: [00:00:15]: Warning! Could not find a spot for CornerWall2 in node Residential:2:Vacant Caves: [00:00:15]: Warning! Could not find a spot for CornerWall2 in node Residential:2:Vacant Caves: [00:00:15]: Warning! Could not find a spot for WoodBoon in node Military:BG_86:MilitaryMaze Caves: [00:00:15]: Warning! Could not find a spot for RabbitTown in node RabbitTown:0:RabbitTown Caves: [00:00:15]: Warning! Could not find a spot for CornerWall in node Residential:3:Vacant Caves: [00:00:15]: Warning! Could not find a spot for CornerWall in node Residential:3:Vacant Caves: [00:00:15]: Warning! Could not find a spot for StraightWall2 in node Residential:3:Vacant Caves: [00:00:15]: Warning! Could not find a spot for StraightWall2 in node Residential:3:Vacant Caves: [00:00:15]: Warning! Could not find a spot for CornerWall2 in node Residential:3:Vacant Caves: [00:00:15]: Warning! Could not find a spot for CornerWall2 in node Residential:3:Vacant Caves: [00:00:15]: Warning! Could not find a spot for CornerWall2 in node Residential:3:Vacant Caves: [00:00:15]: Warning! Could not find a spot for EvergreenSinkhole in node UndergroundForest:0:SinkholeCopses Caves: [00:00:15]: Warning! Could not find a spot for EvergreenSinkhole in node UndergroundForest:0:SinkholeCopses Caves: [00:00:15]: disconnected tiles... 139 Caves: [00:00:15]: Checking Required Prefab atrium_gate has at least 1 instances (1 found). Caves: [00:00:15]: Checking Required Prefab minotaur_spawner has at least 1 instances (1 found). Caves: [00:00:15]: Checking Required Prefab multiplayer_portal has at least 1 instances (1 found). Caves: [00:00:15]: Checking Required Prefab sacred_chest has at least 1 instances (1 found). Caves: [00:00:15]: Done cave map gen! Caves: [00:00:15]: Checking map... Caves: [00:00:15]: Generation complete Caves: [00:00:15]: WorldSim::SimThread::Main() complete Caves: [00:00:15]: Collecting garbage... Caves: [00:00:15]: lua_gc took 0.01 seconds Caves: [00:00:15]: ~ShardLuaProxy() Caves: [00:00:15]: ~ItemServerLuaProxy() Caves: [00:00:15]: ~InventoryLuaProxy() Caves: [00:00:15]: ~NetworkLuaProxy() Caves: [00:00:15]: ~SimLuaProxy() Caves: [00:00:15]: lua_close took 0.01 seconds Caves: [00:00:15]: Manager - ORPHANED UNKNOWN RESOURCES: Caves: [00:00:15]: shaders/ui_yuv.ksh - 1 Caves: [00:00:15]: CurlRequestManager::ClientThread::Main() complete Caves: [00:00:15]: HttpClient2 discarded 0 callbacks. Caves: [00:00:15]: Shutting down Link to comment Share on other sites More sharing options...
DrDuckling Posted July 21, 2017 Share Posted July 21, 2017 On 2/16/2016 at 2:52 PM, 255 said: This guide will help you set up a dedicated server on an Ubuntu machine (32 or 64-bit) 1. Install dependencies: Reveal hidden contents For a 64-bit machine: sudo apt-get install libstdc++6:i386 libgcc1:i386 libcurl4-gnutls-dev:i386 For a 32-bit machine: sudo apt-get install libstdc++6 libgcc1 libcurl4-gnutls-dev 2. Install steamcmd. Reveal hidden contents Download and install steamcmd by following the instructions here: https://developer.valvesoftware.com/wiki/SteamCMD#Linux . This guide will assume that you have installed steamcmd to ~/steamcmd . You can skip the part about creating a new user if you wish. A shortened version of the necessary commands: mkdir ~/steamcmd cd ~/steamcmd wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz tar -xvzf steamcmd_linux.tar.gz 3. Create your dedicated server folders: Reveal hidden contents You'll need to create these folders: ~/.klei/DoNotStarveTogether/MyDediServer/Master ~/.klei/DoNotStarveTogether/MyDediServer/Caves You can use these commands: mkdir -p ~/.klei/DoNotStarveTogether/MyDediServer/Master mkdir -p ~/.klei/DoNotStarveTogether/MyDediServer/Caves 4. Create your cluster_token.txt Hide contents 4a. Start Don't Starve Together from Steam and click on the "Play!" button. Reveal hidden contents 4b. Click on the "Acct Info" button. Reveal hidden contents 4c. Click on the "Generate Server Token" button, copy the token, and paste it into the file: ~/.klei/DoNotStarveTogether/MyDediServer/cluster_token.txt You can quickly do this by running the following command, replacing YourServerTokenHere with your server token (Keep the quotes around the token). echo 'YourServerTokenHere' > ~/.klei/DoNotStarveTogether/MyDediServer/cluster_token.txt 5. Create your cluster.ini file. Hide contents Copy, and save the following text to ~/.klei/DoNotStarveTogether/MyDediServer/cluster.ini [GAMEPLAY] game_mode = survival max_players = 6 pvp = false pause_when_empty = true [NETWORK] cluster_description = This server is super duper! cluster_name = Super Server cluster_intention = cooperative cluster_password = [MISC] console_enabled = true [SHARD] shard_enabled = true bind_ip = 127.0.0.1 master_ip = 127.0.0.1 master_port = 10889 cluster_key = supersecretkey Here is a command to do that automatically for you: base64 -di > ~/.klei/DoNotStarveTogether/MyDediServer/cluster.ini <<< 'W0dBTUVQTEFZXQpnYW1lX21vZGUgPSBzdXJ2aXZhbAptYXhfcGxheWVycyA9IDYKcHZwID0gZmFsc2UKcGF1c2Vfd2hlbl9lbXB0eSA9IHRydWUKCgpbTkVUV09SS10KY2x1c3Rlcl9kZXNjcmlwdGlvbiA9IFRoaXMgc2VydmVyIGlzIHN1cGVyIGR1cGVyIQpjbHVzdGVyX25hbWUgPSBTdXBlciBTZXJ2ZXIKY2x1c3Rlcl9pbnRlbnRpb24gPSBjb29wZXJhdGl2ZQpjbHVzdGVyX3Bhc3N3b3JkID0gCgoKW01JU0NdCmNvbnNvbGVfZW5hYmxlZCA9IHRydWUKCgpbU0hBUkRdCnNoYXJkX2VuYWJsZWQgPSB0cnVlCmJpbmRfaXAgPSAxMjcuMC4wLjEKbWFzdGVyX2lwID0gMTI3LjAuMC4xCm1hc3Rlcl9wb3J0ID0gMTA4ODkKY2x1c3Rlcl9rZXkgPSBzdXBlcnNlY3JldGtleQo=' 6. Edit your cluster.ini file. Hide contents Now is a good time to change any settings you'd like to customize. Open ~/.klei/DoNotStarveTogether/MyDediServer/cluster.ini in your favourite text editor, and change anything you need to. At a minimum, you should change the cluster_name from "Super Server" to something else. This is the name that will show up in server listings. 7. Create your Master server.ini Hide contents Copy, and save the following text to ~/.klei/DoNotStarveTogether/MyDediServer/Master/server.ini [NETWORK] server_port = 11000 [SHARD] is_master = true [STEAM] master_server_port = 27018 authentication_port = 8768 Here is a command to do that automatically for you: base64 -di > ~/.klei/DoNotStarveTogether/MyDediServer/Master/server.ini <<< 'W05FVFdPUktdCnNlcnZlcl9wb3J0ID0gMTEwMDAKCgpbU0hBUkRdCmlzX21hc3RlciA9IHRydWUKCgpbU1RFQU1dCm1hc3Rlcl9zZXJ2ZXJfcG9ydCA9IDI3MDE4CmF1dGhlbnRpY2F0aW9uX3BvcnQgPSA4NzY4Cg==' 8. Create your Caves server.ini Hide contents Copy, and save the following text to ~/.klei/DoNotStarveTogether/MyDediServer/Caves/server.ini [NETWORK] server_port = 11001 [SHARD] is_master = false name = Caves [STEAM] master_server_port = 27019 authentication_port = 8769 Here is a command to do that automatically for you: base64 -di > ~/.klei/DoNotStarveTogether/MyDediServer/Caves/server.ini <<< 'W05FVFdPUktdCnNlcnZlcl9wb3J0ID0gMTEwMDEKCgpbU0hBUkRdCmlzX21hc3RlciA9IGZhbHNlCm5hbWUgPSBDYXZlcwoKCltTVEVBTV0KbWFzdGVyX3NlcnZlcl9wb3J0ID0gMjcwMTkKYXV0aGVudGljYXRpb25fcG9ydCA9IDg3NjkK' 9. Create your Caves worldgenoverride.lua Hide contents Copy, and save the following text to ~/.klei/DoNotStarveTogether/MyDediServer/Caves/worldgenoverride.lua return { override_enabled = true, preset = "DST_CAVE", } Here is a command to do that automatically for you: base64 -di > ~/.klei/DoNotStarveTogether/MyDediServer/Caves/worldgenoverride.lua <<< 'cmV0dXJuIHsKICAgIG92ZXJyaWRlX2VuYWJsZWQgPSB0cnVlLAogICAgcHJlc2V0ID0gIkRTVF9DQVZFIiwKfQo=' 10. Create the script that will run the servers. Reveal hidden contents Copy, and save the following text to ~/run_dedicated_servers.sh Make sure that the "#!/bin/bash" is on the first line of the file, or just run the command below to generate the file. #!/bin/bash steamcmd_dir="$HOME/steamcmd" install_dir="$HOME/dontstarvetogether_dedicated_server" cluster_name="MyDediServer" dontstarve_dir="$HOME/.klei/DoNotStarveTogether" function fail() { echo Error: "$@" >&2 exit 1 } function check_for_file() { if [ ! -e "$1" ]; then fail "Missing file: $1" fi } cd "$steamcmd_dir" || fail "Missing $steamcmd_dir directory!" check_for_file "steamcmd.sh" check_for_file "$dontstarve_dir/$cluster_name/cluster.ini" check_for_file "$dontstarve_dir/$cluster_name/cluster_token.txt" check_for_file "$dontstarve_dir/$cluster_name/Master/server.ini" check_for_file "$dontstarve_dir/$cluster_name/Caves/server.ini" ./steamcmd.sh +force_install_dir "$install_dir" +login anonymous +app_update 343050 validate +quit check_for_file "$install_dir/bin" cd "$install_dir/bin" || fail run_shared=(./dontstarve_dedicated_server_nullrenderer) run_shared+=(-console) run_shared+=(-cluster "$cluster_name") run_shared+=(-monitor_parent_process $$) "${run_shared[@]}" -shard Caves | sed 's/^/Caves: /' & "${run_shared[@]}" -shard Master | sed 's/^/Master: /' Here is a command to do that automatically for you: base64 -di > ~/run_dedicated_servers.sh <<< 'IyEvYmluL2Jhc2gKCnN0ZWFtY21kX2Rpcj0iJEhPTUUvc3RlYW1jbWQiCmluc3RhbGxfZGlyPSIkSE9NRS9kb250c3RhcnZldG9nZXRoZXJfZGVkaWNhdGVkX3NlcnZlciIKY2x1c3Rlcl9uYW1lPSJNeURlZGlTZXJ2ZXIiCmRvbnRzdGFydmVfZGlyPSIkSE9NRS8ua2xlaS9Eb05vdFN0YXJ2ZVRvZ2V0aGVyIgoKZnVuY3Rpb24gZmFpbCgpCnsKICAgICAgICBlY2hvIEVycm9yOiAiJEAiID4mMgogICAgICAgIGV4aXQgMQp9CgpmdW5jdGlvbiBjaGVja19mb3JfZmlsZSgpCnsKICAgIGlmIFsgISAtZSAiJDEiIF07IHRoZW4KICAgICAgICAgICAgZmFpbCAiTWlzc2luZyBmaWxlOiAkMSIKICAgIGZpCn0KCmNkICIkc3RlYW1jbWRfZGlyIiB8fCBmYWlsICJNaXNzaW5nICRzdGVhbWNtZF9kaXIgZGlyZWN0b3J5ISIKCmNoZWNrX2Zvcl9maWxlICJzdGVhbWNtZC5zaCIKY2hlY2tfZm9yX2ZpbGUgIiRkb250c3RhcnZlX2Rpci8kY2x1c3Rlcl9uYW1lL2NsdXN0ZXIuaW5pIgpjaGVja19mb3JfZmlsZSAiJGRvbnRzdGFydmVfZGlyLyRjbHVzdGVyX25hbWUvY2x1c3Rlcl90b2tlbi50eHQiCmNoZWNrX2Zvcl9maWxlICIkZG9udHN0YXJ2ZV9kaXIvJGNsdXN0ZXJfbmFtZS9NYXN0ZXIvc2VydmVyLmluaSIKY2hlY2tfZm9yX2ZpbGUgIiRkb250c3RhcnZlX2Rpci8kY2x1c3Rlcl9uYW1lL0NhdmVzL3NlcnZlci5pbmkiCgouL3N0ZWFtY21kLnNoICtmb3JjZV9pbnN0YWxsX2RpciAiJGluc3RhbGxfZGlyIiArbG9naW4gYW5vbnltb3VzICthcHBfdXBkYXRlIDM0MzA1MCB2YWxpZGF0ZSArcXVpdAoKY2hlY2tfZm9yX2ZpbGUgIiRpbnN0YWxsX2Rpci9iaW4iCgpjZCAiJGluc3RhbGxfZGlyL2JpbiIgfHwgZmFpbCAKCnJ1bl9zaGFyZWQ9KC4vZG9udHN0YXJ2ZV9kZWRpY2F0ZWRfc2VydmVyX251bGxyZW5kZXJlcikKcnVuX3NoYXJlZCs9KC1jb25zb2xlKQpydW5fc2hhcmVkKz0oLWNsdXN0ZXIgIiRjbHVzdGVyX25hbWUiKQpydW5fc2hhcmVkKz0oLW1vbml0b3JfcGFyZW50X3Byb2Nlc3MgJCQpCgoiJHtydW5fc2hhcmVkW0BdfSIgLXNoYXJkIENhdmVzICB8IHNlZCAncy9eL0NhdmVzOiAgLycgJgoiJHtydW5fc2hhcmVkW0BdfSIgLXNoYXJkIE1hc3RlciB8IHNlZCAncy9eL01hc3RlcjogLycKCgo=' 11. Give the script executable permissions Reveal hidden contents In a terminal, run: chmod u+x ~/run_dedicated_servers.sh 12. Run the script to start the dedicated servers: Reveal hidden contents In a terminal, run: ~/run_dedicated_servers.sh I'm getting the same error as JosejeSinohui. Please help! Ubunto 17. Link to comment Share on other sites More sharing options...
Kidult Posted August 26, 2017 Share Posted August 26, 2017 On 2016/2/23 at 0:21 AM, ale2582 said: 你好! 我有一个问题, 一个问题, 我 无法解决。 我 从头开始重新安装了所有 内容,现在游戏正常运行,但是我无法让你下载并运行该模块。我插在MODS的文件夹,并dedicated_server_mods_setup 在modsetting 文件夹,但是当我启动脚本,删除一切,如果我进入,并加载 服务器显示 零 模。 我也 尝试 在 MISC 声音下插入setting.ini 主站 mods_enabled = true , 但是没有解决。能帮助我? I ran into the same problem,How to solve it ? Link to comment Share on other sites More sharing options...
Kidult Posted August 26, 2017 Share Posted August 26, 2017 Why doesn't my mods always load ?Please help me Here is the server log. [00:00:00]: System Name: Linux [00:00:00]: Kernel Build Timestamp: #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 [00:00:00]: Machine Arch: x86_64 [00:00:00]: Don't Starve Together: 226323 LINUX [00:00:00]: Build Date: 2439 [00:00:00]: Parsing command line [00:00:00]: Command Line Arguments: -console -cluster MyDediServer -monitor_parent_process 1367 -shard Master [00:00:00]: [WARNING] -console has been deprecated: Use the [MISC] / console_enabled setting instead. [00:00:00]: Initializing distribution platform [00:00:00]: ....Done [00:00:00]: THREAD - started 'GAClient' (4132567872) [00:00:00]: CurlRequestManager::ClientThread::Main() [00:00:00]: ProfileIndex:17.19 [00:00:00]: [Connect] PendingConnection::Reset(true) [00:00:00]: Network tick rate: U=15(2), D=0 [00:00:00]: Network tick rate: U=15(2), D=0 [00:00:00]: OnLoadPermissionList: /root/.klei//DoNotStarveTogether/MyDediServer/blocklist.txt (Failure) [00:00:00]: OnLoadPermissionList: /root/.klei//DoNotStarveTogether/MyDediServer/adminlist.txt (Failure) [00:00:00]: OnLoadUserIdList: /root/.klei//DoNotStarveTogether/MyDediServer/whitelist.txt (Failure) [00:00:00]: Token retrieved from: /root/.klei//DoNotStarveTogether/MyDediServer/cluster_token.txt [00:00:00]: Token retrieved from: /root/.klei//DoNotStarveTogether/MyDediServer/cluster_token.txt [00:00:00]: cGame::InitializeOnMainThread [00:00:00]: THREAD - started 'StreamInput' (4125096768) [00:00:00]: Renderer initialize: Okay [00:00:00]: AnimManager initialize: Okay [00:00:00]: Buffers initialize: Okay [00:00:00]: cDontStarveGame::DoGameSpecificInitialize() [00:00:00]: GameSpecific initialize: Okay [00:00:00]: cGame::StartPlaying [00:00:00]: LOADING LUA [00:00:00]: DoLuaFile scripts/main.lua [00:00:00]: DoLuaFile loading buffer scripts/main.lua [00:00:00]: running main.lua [00:00:00]: Could not load modindex [00:00:00]: ModIndex: Beginning normal load sequence for dedicated server. [00:00:00]: DownloadMods(0) [00:00:02]: LOADING LUA SUCCESS Link to comment Share on other sites More sharing options...
Quan Tran Posted September 23, 2017 Share Posted September 23, 2017 (edited) How could I exit console without stop server (and go back to it) Edited September 23, 2017 by Quan Tran Link to comment Share on other sites More sharing options...
chibisesa Posted October 15, 2017 Share Posted October 15, 2017 (edited) Please see my issue below Edited October 15, 2017 by chibisesa Link to comment Share on other sites More sharing options...
chibisesa Posted October 15, 2017 Share Posted October 15, 2017 Issue with installing dependencies: Errors were encountered while processing: /var/cache/apt/archives/libcurl14-gnutls-dev_7.47.0-1ubuntu2.3_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) I'm on Ubuntu Linux 14.04 Link to comment Share on other sites More sharing options...
chibisesa Posted October 28, 2017 Share Posted October 28, 2017 On 3/1/2016 at 3:43 PM, KuroTsuto said: Use the following: screen -d -m ~/run_dedicated_servers.sh This will run the shell script in a "detached session". You can additionally give the session a name such that you can easily re-attach it to your terminal later: screen -S DSTServer -d -m ~/run_dedicated_servers.sh to re-attach: screen -d -r DSTServer The default key-binding to detach from a session without terminating the active server process is Ctrl-a Ctrl-d This solved my problem, but now, I can't restart the server. How do I remove this kind of action? Thank you! Link to comment Share on other sites More sharing options...
dabb079 Posted November 4, 2017 Share Posted November 4, 2017 Hey guys, Very new to linux and getting a dedicated server up and running. So I manged to get the server up and I can connect to it but it's not loading my worldgenoverride.lua info. I have created a worldgenoverride.lua in Master and Caves with the option i would like but its not using those. Where does this server pull this info from and how do i make it take the option i want? Thanks for your help everyone. Link to comment Share on other sites More sharing options...
myxal Posted November 4, 2017 Share Posted November 4, 2017 15 hours ago, dabb079 said: not loading my worldgenoverride.lua @dabb079 - it appears the name for that file has changed to leveldataoverride.lua. Did you try that? Link to comment Share on other sites More sharing options...
dabb079 Posted November 4, 2017 Share Posted November 4, 2017 14 minutes ago, myxal said: @dabb079 - it appears the name for that file has changed to leveldataoverride.lua. Did you try that? No I didn't know that. I will try that right now. Thanks! Link to comment Share on other sites More sharing options...
Ceruleancerise Posted November 28, 2017 Share Posted November 28, 2017 DigitalOcean VPS: root@frostbite:~# dpkg -i libcurl4-gnutls-dev_7.55.1-1ubuntu2.1_i386.deb (Reading database ... 67682 files and directories currently installed.) Preparing to unpack libcurl4-gnutls-dev_7.55.1-1ubuntu2.1_i386.deb ... Unpacking libcurl4-gnutls-dev:i386 (7.55.1-1ubuntu2.1) ... dpkg: error processing archive libcurl4-gnutls-dev_7.55.1-1ubuntu2.1_i386.deb (--install): trying to overwrite shared '/usr/bin/curl-config', which is different from other instances of package libcurl4-gnutls-dev:i386 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: libcurl4-gnutls-dev_7.55.1-1ubuntu2.1_i386.deb I get an error message similar to others referring to this, seems it wont install from apt-get or manually. Thoughts? Link to comment Share on other sites More sharing options...
Terule Posted May 9, 2018 Share Posted May 9, 2018 Is it possible to install DST server in windows store linux version? Link to comment Share on other sites More sharing options...
lucasmcastro Posted June 24, 2018 Share Posted June 24, 2018 (edited) On 02/03/2016 at 9:41 AM, Ruskimo said: Hey Maco02, Thnx for the response! After houres I found the solution: I needed to add this line dpkg --add-architecture i386 Hey, thanks! this dpkg command helped me. Edited June 24, 2018 by lucasmcastro Link to comment Share on other sites More sharing options...
FearsomeKitty Posted December 8, 2018 Share Posted December 8, 2018 followed everything step by step and keep getting this in the terminal when i enter ~/run_dedicated_servers.sh : /home/steam/run_dedicated_servers.sh: line 21: cd: /home/steam/steamcmd: Not a directory Error: Missing /home/steam/steamcmd directory! it should be noted i haven't used ubuntu since about 2008, so i am basically a noob again. Link to comment Share on other sites More sharing options...
myxal Posted December 8, 2018 Share Posted December 8, 2018 3 hours ago, FearsomeKitty said: Error: Missing /home/steam/steamcmd directory! Where have you created the directory for steamcmd? I see that the guide here suggests "skipping creating the new user if you want", so if you did that, you'll have to adjust the run_dedicated_servers.sh script. Link to comment Share on other sites More sharing options...
FearsomeKitty Posted December 8, 2018 Share Posted December 8, 2018 (edited) ahh, i didn't even think of doing that. thank you, I'm so burnt out it would have taken so long before i even saw that. now it is stuck doing this, and my server never shows up, what could be the cause? :c Spoiler Caves: [00:00:17]: [Shard] Slave LUA is now ready! Caves: [00:00:17]: Sim paused Master: [00:00:25]: Registering master server in US lobby Caves: [00:05:16]: Registering slave in US lobby Caves: [00:10:16]: Registering slave in US lobby Caves: [00:15:16]: Registering slave in US lobby Caves: [00:20:16]: Registering slave in US lobby Caves: [00:25:16]: Registering slave in US lobby Caves: [00:30:03]: [200] Account Communication Success (6) Caves: [00:30:03]: Received (KU_7f4Hy2qQ) from TokenPurpose Master: [00:30:03]: [200] Account Communication Success (6) Master: [00:30:03]: Received (KU_7f4Hy2qQ) from TokenPurpose Caves: [00:30:16]: Registering slave in US lobby Caves: [00:35:16]: Registering slave in US lobby Caves: [00:40:16]: Registering slave in US lobby Caves: [00:45:16]: Registering slave in US lobby Caves: [00:50:16]: Registering slave in US lobby Caves: [00:55:16]: Registering slave in US lobby Master: [01:00:03]: [200] Account Communication Success (6) Master: [01:00:03]: Received (KU_7f4Hy2qQ) from TokenPurpose Caves: [01:00:03]: [200] Account Communication Success (6) Caves: [01:00:03]: Received (KU_7f4Hy2qQ) from TokenPurpose Caves: [01:00:16]: Registering slave in US lobby Caves: [01:05:16]: Registering slave in US lobby Caves: [01:10:16]: Registering slave in US lobby Caves: [01:15:16]: Registering slave in US lobby Caves: [01:20:16]: Registering slave in US lobby Edited December 9, 2018 by FearsomeKitty 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