chibisesa Posted November 17, 2017 Author Share Posted November 17, 2017 Hmmmm - my server wont start now because of the Forge update I think It keeps on saying that there's a protocal mismatch lol Link to comment Share on other sites More sharing options...
Daniel86268 Posted November 17, 2017 Share Posted November 17, 2017 52 minutes ago, chibisesa said: Hmmmm - my server wont start now because of the Forge update I think It keeps on saying that there's a protocal mismatch lol It's probably a mod that needs to get updated by the Mod author to be compatible with the newest game version. Do you have any more specific logs for us to check out and see if we can find something? Link to comment Share on other sites More sharing options...
chibisesa Posted December 20, 2017 Author Share Posted December 20, 2017 This works: sudo screen -ls sudo screen -rx c_shutdown() ctrl a d sudo screen s ./run_dedicated_servers.sh (or whatever you named your script) Just now, chibisesa said: This works: sudo screen -ls sudo screen -rx c_shutdown() ctrl a d sudo screen s ./run_dedicated_servers.sh (or whatever you named your script) Basically I have to connect to the screen I had before, shut it down, then restart the server. Is there a better way to do this to update the server? Link to comment Share on other sites More sharing options...
Daniel86268 Posted December 20, 2017 Share Posted December 20, 2017 2 hours ago, chibisesa said: This works: sudo screen -ls sudo screen -rx c_shutdown() ctrl a d sudo screen s ./run_dedicated_servers.sh (or whatever you named your script) Basically I have to connect to the screen I had before, shut it down, then restart the server. Is there a better way to do this to update the server? You can create a seperate script to automaticially shutdown a DST server inside screen using this command (for example) similar to the solution cezarica posted earlier: screen -S master -p 0 -X stuff "c_shutdown()^M" This basicially sends the line "c_shutdown()^M" into the designated screen session. "c_shutdown()" obviously shuts down the server, and "^M" get's translated into pressing the enter key. To shut down multiple DST servers at once you can just modify the line, so it should look like this: screen -S caves -p 0 -X stuff "c_shutdown()^M" screen -S master -p 0 -X stuff "c_shutdown()^M" This is extendable to however many shards you are running. 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.