Don 39;t Starve Together Linux

0 views
Skip to first unread message

Marthe Bernskoetter

unread,
Jul 31, 2024, 2:03:25 AM7/31/24
to proflipsmongve

Hello! I need help to create a new dedicated server on linux basis (ubuntu 20.10). in the past I have already created and started a server (which lasted almost 5 years) to which the subscription to the vps has accidentally expired and everything has been canceled. to date I find myself having to recreate it but I can't put it on. I followed the forum guide but I think not updated. furthermore, the guide obliges the connection to the klei account, which from the terminal I could only do by installing a gui to the server and downloaded the files through the browser, but even so it does not work. Is it possible to have a detailed step by step guide of each step? in the guide, there is no reference to downloading the game via steamcmd, is it no longer necessary or is the guide supposed to be already present? thanks to anyone willing to help me , I am desperate

thanks for the answer, in the meantime I managed to install everything, but the guide is not correct. the script contains the game installer, but the step is described after it is downloaded and placed in the ./klei/donotstarvetogether folder, which does not exist unless created manually. moreover the script if left as is overwrites every time it is launched, so it needs to be duplicated and a string removed. in any case with a lot of effort and crossing the web guides, I managed to install everything. now I would like to have if it is possible the text file and its location for the creation of a custom map, where I can choose the duration of the seasons etc, by chance do you have a copy?

don 39;t starve together linux


DOWNLOADhttps://perdigahiara.blogspot.com/?ldf=2zU0P2



But when i leave ssh console and when players is connected or not, it's shutdown after at least 30min without log or explanation.
I must launch it again, an again, an again... or keep console open.

Hello.
I follow your actions and finally start the script. It tells me there is no token here, but I've downloaded the token from the klei website and uploaded it. Could you tell me the reason for this?
Thank you.

just create a server directly from the game. I copy the settings to the folder with the dedicated server. But the problem has already been resolved. Server settings are defaulted if I save the modified template. If you do not do this, then the server is created with the necessary settings.

@json_gbriel I'm not too familiar with the original guide or AWS EC2 - your ls output suggests the dedicated server app didn't get installed. Wasn't there something else in the script output besides the missing bin directory?

The script references ./steamcmd.sh but there's no such script in your directory. No idea where you're supposed to get this. The command syntax in the script suggests it's the normal steamcmd executable.

how to use multi core of the cpu like Intel core i7 or use the navidia GPU to make the game run better? I use the top command in linux and find out the dedicate server only use one core of cpu in the same time. That make player feel stutters. How can I deal with it. Is there any extra dependence package can make it better? Thank you for any reply.

My first advice to you - before changing anything in the game, try disabling mods. There are plenty of them that cause poor performance. And I don't mean just server mods, even client-side mods and their combinations can overload the server (always-updated minimap + global positions or map sharing, for example). An i7 definitely shouldn't struggle to run the game on defaults. (Unless it's one of those macbook/chromebook "i7"s, which is about as powerful as a decent smartphone).

There's not much you can set or change in the stock game, other than maybe decrease tick rate. Being bound to single core is a limitation of LUA, not much can be done about that. GPU is completely useless to a dedicated server.

Thank you for your reply. In fact I really use a lot of server mods. And I know that's why the server is slow down. But some of us players love the items of those mods so I can't just shut them down. I tried to rewrite some of them to make the codes easily however it doesn't work as good as I expected. I heard of the luaJIT, but don't know that can do it. Thanks for your advice and hoping klei can add multi core support in some day.

To elaborate on the mods issue - I don't use many mods that add new items, but I don't think simply adding more in-game items has a significant impact on performance (the more common issue when adding items is running out of graphics memory). Stuttering and lagging can be caused by just 1 or 2 misbehaving mods. For example, the Insight mod recently became popular, so I swapped ShowMe (origin) for that mod, only to find that my server would randomly start stuttering (the mod has since been updated, not sure if the issue persists as I went back to ShowMe before the performance fix landed in Insight).

Unfortunately, I'm not aware of any way to determine what is causing the slowdown other than trial and error. Rollbacks are a thing, backups are pretty easy (I usually just bump max_snapshots to 25, gives me enough time to experiment with the world without losing the most recent "proper gameplay" snapshot).

Thank you. I have read part of code of the mod which I think slow my server down and find out they use a lot of code like IF ELSE and FOR WHILE and also Eventhandles. Although the eventhandles might run in another thread but as I know all of the DST server thread is working in the same progress. So maybe they still make my server slower. I tried to regenworld and split the landform from mods to different worlds, and it works well for now .By the way, could you please tell me how to change the max_snapshots? I haven't find any variable look like to mean it in the official code.

Hello, i've just followed the entire process and it worked perfectly (the world have been showed on my DST multiplayer list and these things), but i decided to quit and restart it just for test if it's all was working well, and after do it and run the command

You didn't include the full log (you can find each shard's log as server_log.txt in a shard's folder), but I'm guessing at the beginning it says that your commandline includes that -monitor_parent_process argument or whatever it was. The effect of this switch is that when the launching process exits, both/all shards exit as well, avoiding a problematic situation of not running all shards.

I don't use Klei's script so I'm not even sure how it's supposed to work. As written, the server will monitor the process of the script, which will exit as soon as the shards are launched. Looks broken to me. Drop the switch from the assignment to run_shared and the servers should work. You will need to make sure, when stopping the server, to terminate both shards - the order and minor delays don't matter. killall dontstarve...nullrenderer should do the trick in the trivial case of 1 cluster, but if you're running multiple clusters you'll need to do something more sophisticated.

I do not have a directory called "run_dedicated_servers.sh" even after downloading the shell file via wget. Any help with this will be nice.

Fixed: I forgot to extract the dediserver file and I removed the .sh from the file name. Then it worked.

Don't Starve is a survival game developed by Klei Entertainment. The game was initially released for Microsoft Windows, OS X, and Linux on April 23, 2013.[1] A PlayStation 4 port, renamed Don't Starve: Giant Edition, became available the following year (with PlayStation Vita and PlayStation 3 versions released in September 2014 and June 2015 respectively, and an Xbox One version released in August 2015).[2][3] Don't Starve for iOS, renamed Don't Starve: Pocket Edition was released on July 9, 2015.[4] An Android version was released on October 20, 2016. Downloadable content titled Reign of Giants was released on April 30, 2014, and a multiplayer standalone expansion called Don't Starve Together became free for existing users on June 3, 2015.[5] On Steam, this game is able to be purchased with a free copy for a friend. A Nintendo Switch port came out on April 12, 2018.

93ddb68554
Reply all
Reply to author
Forward
0 new messages