Odysil Posted January 4, 2017 Share Posted January 4, 2017 Hey, Is there a way to switch between running console commands in different shards? Sometimes I use for example c_listallplayers() and it'll only list those that are in the caves world and sometimes only in the master world. It's not consistent either, sometimes when the server restarts it'll only run commands in caves and sometimes only in master. c_announce("") will always work though since it automatically runs itself in all worlds. Would be neat if there was a way to switch between them, haven't found a way through searching, might've missed it though. I frequently connect through SSH to my server to check on the DST server and it'd be nice to be able to run commands in the world the player in question currently exists in. Link to comment Share on other sites More sharing options...
cezarica Posted January 5, 2017 Share Posted January 5, 2017 What operating system you have? Link to comment Share on other sites More sharing options...
Odysil Posted January 5, 2017 Author Share Posted January 5, 2017 Debain 8 is the OS on the server I run it on. That shouldn't matter though considering it's not bash commands I'm asking about, it's the console commands for the DST server. Here is an example that shows c_listallplayers() running only in caves while c_announce("") runs in both, the problem then being there is no way to switch into running c_listallplayers() in master, that I know of at least. c_listallplayers() Caves: [17:50:20]: ConsoleInput: "c_listallplayers()" c_announce("Test") Caves: [17:50:32]: ConsoleInput: "c_announce("Test")" Caves: [17:50:32]: [Announcement] Test Master: [17:50:32]: [Announcement] Test Link to comment Share on other sites More sharing options...
Odysil Posted January 5, 2017 Author Share Posted January 5, 2017 I guess I can run the shards in different bash sessions to split them and then run commands in both, not ideal though but that's what I'll do if there is no way to switch. Link to comment Share on other sites More sharing options...
cezarica Posted January 8, 2017 Share Posted January 8, 2017 I'm not aware of such a switch you are looking for, so only option left is to start the Master and Caves separately and have them run from each owns screen. For instance: screen -dmS DST_M ./dontstarve_dedicated_server_nullrenderer -cluster MyDediServer -shard Master screen -dmS DST_S ./dontstarve_dedicated_server_nullrenderer -cluster MyDediServer -shard Caves and then you just resume the shard you want with screen -r DST_M for instance. Link to comment Share on other sites More sharing options...
Odysil Posted January 8, 2017 Author Share Posted January 8, 2017 Ah well that's a bummer. Thanks for the tip with screen but I just modified my startup script so it opens another pane with tmux running the caves. Link to comment Share on other sites More sharing options...
GDK7 Posted January 13, 2017 Share Posted January 13, 2017 I wish I could c_shutdown() both Master and Caves, inside console server. There is a way? I'm using Linux btw. Thx 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.