lisu60 Posted January 29, 2019 Share Posted January 29, 2019 Hi everyone! I'm new in this forum. This problem confused me for days until I fixed it just now. I copied a Cluster directory from a Windows machine and put it on a Linux server. Most things were going well except that it won't pause when nobody is online, though "pause_when_empty" was set true. The cluster.ini file was generated by the Windows machine and not edited: [GAMEPLAY] game_mode = survival max_players = 6 pvp = false pause_when_empty = true [NETWORK] lan_only_cluster = false cluster_intention = social cluster_password = xxxxx cluster_description = cluster_name = xxxxx offline_cluster = false cluster_language = en [MISC] console_enabled = true As I observed more into the server logs, I found that the "max_players" option remained 16 as default, which is not what I set. So I guessed it might be the problem of section orders, and I changed it into: [NETWORK] lan_only_cluster = false cluster_intention = social cluster_password = xxxxxx cluster_description = cluster_name = xxxxxx offline_cluster = false cluster_language = en [GAMEPLAY] game_mode = survival max_players = 6 pvp = false pause_when_empty = true [MISC] console_enabled = true And it worked. And it is confusing. For it was generated by DST itself on a Windows machine, I assumed that it works the same way on a Linux dedicated server, which didn't happen; Since the INI file format itself doesn't require sections to be in specific order, it's you developers who's responsible for clarifying such requirement, which I had never seen or noticed in so much searching and reading in the past days. Regards. Link to comment Share on other sites More sharing options...
Daniel86268 Posted January 30, 2019 Share Posted January 30, 2019 When copying over a text from Windows to Linux it can always happen that Windows has some invisible control symbols in the text, that Linux can't handle/doesn't know what to do with, and therefore doesn't accept the syntax. By copying stuff around inside your Linux machine you might've removed/overwritten those said symbols and therefore fixed your file. Link to comment Share on other sites More sharing options...
Nofew Posted February 6, 2019 Share Posted February 6, 2019 Linux and Windows use different line-ending schemes. If you copy and paste text from one OS to the other, it actually won't be identical. Some programs will pick up on this and get very confused. There's some programs that fix this by doing search and replacements in the files. If you don't feel like garbing one of those, then just open the file in a text editor on the target OS, backspace all newline characters, and then retype them. 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.