alainmcd Posted December 16, 2017 Author Share Posted December 16, 2017 @lilmist, yes, you have to shut down your server first. Start the game client, go to the Host screen, open the Mods tab and deselect the mods you want to remove. You might have to briefly enter the game to confirm the changes. Exit and relaunch your server via your script. Link to comment Share on other sites More sharing options...
Xiellify Posted December 16, 2017 Share Posted December 16, 2017 Hello I need help with the caves. Server failed to start because I think the port needs to be changed? First time trying to run a dedicated server. Link to comment Share on other sites More sharing options...
alainmcd Posted December 20, 2017 Author Share Posted December 20, 2017 Hi @Xiellify, welcome to the forums! (And sorry for the late reply!) It does look like the port that your caves server is trying to use is already being used. Do you happen to have another server running? If not, you can manually change the port by going to (My) Documents\Klei\DoNotStarveTogether\Cluster_5\Caves and opening server.ini with a file editor, then changing server_port = 10999 under [NETWORK] to something else, for example, server_port = 11009. Link to comment Share on other sites More sharing options...
DatShadowJK Posted January 20, 2018 Share Posted January 20, 2018 So does c_shutdown() save all progress in the server to be loaded later with the batch file? Link to comment Share on other sites More sharing options...
alainmcd Posted January 21, 2018 Author Share Posted January 21, 2018 Yes, c_shutdown() saves your world unless you explicitly tell it not to with c_shutdown(false). Link to comment Share on other sites More sharing options...
FreyaMaluk Posted January 24, 2018 Share Posted January 24, 2018 dunno what might be the issue, but if I host directly people can see my ping in the "browse servers" option, but if I host using this method people see my ping as ??? I don't understand why is this happening. Link to comment Share on other sites More sharing options...
alainmcd Posted January 24, 2018 Author Share Posted January 24, 2018 @FreyaMaluk, sorry, I have no idea. Is your ping shown when you host a server with caves? I believe it's the server_port under [NETWORK] in the server.ini file of your master server the one that should be forwarded, so make sure it is. Other than that I can't help you. Link to comment Share on other sites More sharing options...
FreyaMaluk Posted January 25, 2018 Share Posted January 25, 2018 14 hours ago, alainmcd said: @FreyaMaluk, sorry, I have no idea. Is your ping shown when you host a server with caves? I believe it's the server_port under [NETWORK] in the server.ini file of your master server the one that should be forwarded, so make sure it is. Other than that I can't help you. how can I do that? should I change something in the server.ini file? and if that's the case.. what should I do exactly? Link to comment Share on other sites More sharing options...
alainmcd Posted January 25, 2018 Author Share Posted January 25, 2018 I'm assuming the world you host that shows the ping properly isn't the same world. Go to (My) Documents\Klei\DoNotStarveTogether\Cluster_5\Master and open server.ini in any file editor, open the server.ini file for the other world you're hosting and compare the server_port from each file. Change the server_port from Cluster_5 so they match - should be OK as long as you don't try and host both worlds simultaneously. Link to comment Share on other sites More sharing options...
flavyx Posted April 11, 2018 Share Posted April 11, 2018 Thanks man. Works like a charm! I use this method since I began playing 2 weeks ago. Ty a lot! Link to comment Share on other sites More sharing options...
Kaizerr Posted April 21, 2018 Share Posted April 21, 2018 Hello there, so, this solution is amazing and works fine, I just don't get where I should type c_shutdown() , because when I open the .bat file, my cmd opens, executes it and close, please send help Link to comment Share on other sites More sharing options...
maradyne Posted April 22, 2018 Share Posted April 22, 2018 Thanks a bunch for this. Been trying to get a dedicated server running on my laptop with a few basic variety/balance mods to take advantage of the quad-core system, but figuring out how to transfer all the world/mod settings over and get a console running was becoming somewhat of a pain. I hope this topic gets pinned. Good work. Link to comment Share on other sites More sharing options...
Alarsin Posted May 17, 2018 Share Posted May 17, 2018 Hello there. This is what happens when I try to run the batch file: [00:00:04]: [200] Account Failed (6): "E_INVALID_TOKEN" [00:00:04]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [00:00:04]: !!!! Your Server Will Not Start !!!! [00:00:04]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [00:00:04]: No auth token could be found. [00:00:04]: To generate a cluster_token you must [00:00:04]: open the console from a logged-in game [00:00:04]: client with the tilda key (~ / ) and type: [00:00:04]: TheNet:GenerateClusterToken() [00:00:04]: This will create 'cluster_token.txt' in [00:00:04]: your client settings directory. Copy this [00:00:04]: into your cluster settings directory. [00:00:04]: [Connect] PendingConnection::Reset(true) [00:00:04]: ... FilesExistAsyncThread complete I tried following these instructions but the same thing happened again. Link to comment Share on other sites More sharing options...
Alarsin Posted May 17, 2018 Share Posted May 17, 2018 1 hour ago, Alarsin said: Hello there. This is what happens when I try to run the batch file: [00:00:04]: [200] Account Failed (6): "E_INVALID_TOKEN" [00:00:04]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [00:00:04]: !!!! Your Server Will Not Start !!!! [00:00:04]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [00:00:04]: No auth token could be found. [00:00:04]: To generate a cluster_token you must [00:00:04]: open the console from a logged-in game [00:00:04]: client with the tilda key (~ / ) and type: [00:00:04]: TheNet:GenerateClusterToken() [00:00:04]: This will create 'cluster_token.txt' in [00:00:04]: your client settings directory. Copy this [00:00:04]: into your cluster settings directory. [00:00:04]: [Connect] PendingConnection::Reset(true) [00:00:04]: ... FilesExistAsyncThread complete I tried following these instructions but the same thing happened again. Nvm, I solved this problem by deleting my .bat file and inserting it again. Thanks alainmcd for that awesome and simple guide! Link to comment Share on other sites More sharing options...
YeOlOdd Posted August 3, 2018 Share Posted August 3, 2018 Seems kind of awkward replying to this at such a late time, but I'm having a bit of an issue with starting up the server. I had been using this method for the past month or so, and just yesterday, the Server Master won't finish loading. Caves does finish, with the Sim Paused message, however the Server Master simply doesn't continue past a certain point. The part where it ends: [00:02:17]: [Shard] Starting master server [00:02:17]: [Warning] Could not confirm port 10888 is open in the firewall. [00:02:17]: [Shard] Shard server started on port: 10888 [00:02:17]: Telling Client our new session identifier: 023E56330C56EE0E [00:02:17]: ModIndex: Load sequence finished successfully. [00:02:18]: Reset() returning [00:02:18]: [Steam] SteamGameServer_Init(8766, 10999, 27016) Setting breakpad minidump AppID = 322330 [00:02:18]: [Steam] SteamGameServer_Init success [00:02:19]: Validating portal[6] <-> 1996392949[6] (inactive) [00:02:19]: Validating portal[8] <-> 1996392949[8] (inactive) [00:02:19]: Validating portal[1] <-> 1996392949[1] (inactive) [00:02:19]: Validating portal[2] <-> 1996392949[2] (inactive) [00:02:19]: Validating portal[5] <-> 1996392949[5] (inactive) [00:02:19]: Validating portal[3] <-> 1996392949[3] (inactive) [00:02:19]: Validating portal[10] <-> 1996392949[10] (inactive) [00:02:19]: Validating portal[9] <-> 1996392949[9] (inactive) [00:02:19]: Validating portal[7] <-> 1996392949[7] (inactive) [00:02:19]: Validating portal[4] <-> 1996392949[4] (inactive) [00:02:19]: Sim paused [00:02:19]: Gameserver logged on to Steam, assigned SteamID [A:1:1296870406:10419] [00:02:21]: [Shard] Slave Caves(1996392949) connected: [LAN] 127.0.0.1 [00:02:22]: [Shard] Slave Caves(1996392949) ready! [00:02:22]: World 1996392949 is now connected [00:02:22]: Validating portal[6] <-> 1996392949[6] (disabled) [00:02:22]: Validating portal[8] <-> 1996392949[8] (disabled) [00:02:22]: Validating portal[1] <-> 1996392949[1] (disabled) [00:02:22]: Validating portal[2] <-> 1996392949[2] (disabled) [00:02:22]: Validating portal[5] <-> 1996392949[5] (disabled) [00:02:22]: Validating portal[3] <-> 1996392949[3] (disabled) [00:02:22]: Validating portal[10] <-> 1996392949[10] (disabled) [00:02:22]: Validating portal[9] <-> 1996392949[9] (disabled) [00:02:22]: Validating portal[7] <-> 1996392949[7] (disabled) [00:02:22]: Validating portal[4] <-> 1996392949[4] (disabled) Also sorry if there is a rule regarding replying to late posts. I looked through most of em and didn't see one, and felt it was appropriate to reply with my issue on here. Thanks for your time EDIT: After waiting about 10 minutes or so, the server came online on it's own. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.