Jump to content

where should I put -only_update_server_mods to update my mods


Recommended Posts

heres my steamcmd command

c:\steamcmd\steamcmd.exe +login anonymous +app_update 343050 +quit
cd /D "c:\Program Files (x86)\Steam\steamapps\common\Don't Starve Together Dedicated Server\bin64"
start dontstarve_dedicated_server_nullrenderer_x64 -console -cluster MyDediServer -shard Master
start dontstarve_dedicated_server_nullrenderer_x64 -console -cluster MyDediServer -shard Cave

In your skirpt there would be two locations for the parameter. It'd would look like this:

c:\steamcmd\steamcmd.exe +login anonymous +app_update 343050 +quit
cd /D "c:\Program Files (x86)\Steam\steamapps\common\Don't Starve Together Dedicated Server\bin64"
start dontstarve_dedicated_server_nullrenderer_x64 -console -cluster MyDediServer -shard Master -only_update_server_mods
start dontstarve_dedicated_server_nullrenderer_x64 -console -cluster MyDediServer -shard Cave -only_update_server_mods

Since you have the launch command twice in there. However technically you don't need to run this per shard, and instead only per server, if at all. (It should update the mods when you start the server.)

If you want to do a seperate script it'd look like this:

c:\steamcmd\steamcmd.exe +login anonymous +app_update 343050 +quit
cd /D "c:\Program Files (x86)\Steam\steamapps\common\Don't Starve Together Dedicated Server\bin64"
start dontstarve_dedicated_server_nullrenderer_x64 -console -only_update_server_mods

(You don't need the cluster folder or shard name for this one iirc.)

Alernatively if the auto update on server launch doesn't work, you can also include the -only_update_server_mods part in your main launch script, which would look like this:

c:\steamcmd\steamcmd.exe +login anonymous +app_update 343050 +quit
cd /D "c:\Program Files (x86)\Steam\steamapps\common\Don't Starve Together Dedicated Server\bin64"
start /wait dontstarve_dedicated_server_nullrenderer_x64 -console -only_update_server_mods
start dontstarve_dedicated_server_nullrenderer_x64 -console -cluster MyDediServer -shard Master -only_update_server_mods
start dontstarve_dedicated_server_nullrenderer_x64 -console -cluster MyDediServer -shard Cave -only_update_server_mods

Afaik the "start" essentially disconnects the process from your current shell instance, which allows you to run the two shard instances from one shell.

So by adding the /wait parameter to the -only_update_server_mods we wait till the server is done updating the mods before launching the two server instances.

In the video it shows that the server downloaded the mods and shut down afterwards. That's probably because you copy/pasted my last script... which I copy pasted wrongly. I forgot to remove the -only_update_server_mods from the actual server start lines... Sorry about that. :roll:

Try this instead:

c:\steamcmd\steamcmd.exe +login anonymous +app_update 343050 +quit
cd /D "c:\Program Files (x86)\Steam\steamapps\common\Don't Starve Together Dedicated Server\bin64"
start /wait dontstarve_dedicated_server_nullrenderer_x64 -console -only_update_server_mods
start dontstarve_dedicated_server_nullrenderer_x64 -console -cluster MyDediServer -shard Master
start dontstarve_dedicated_server_nullrenderer_x64 -console -cluster MyDediServer -shard Cave

Does it say which mods are outdated? If it's only one or two mods you could try copying them over from your client. Maybe the server somehow struggles to download the servers from the Steam workshop properly, or a mod is no longer available on the workshop, so the server can't update it.

No idea about the memory errors though. I'd say either a mod is causing issues, or your friend has too little System RAM or your friend uses the 32bit version of the game.
Or a combination of two or more of the above.

hey I found out the culprits to this problems

first off the outdated mods error was bcz the auto-subscibe option in settings-advanced was disabled

second my friend was not aware he had to update his gpu drivers seperatly so just downloading the latest drivers fixed the issue

thank you so much for helping  have a nice day :-D

also I hope this thread might help someone in future

This just shows some issues with a couple of mods which seem to contain some sort of legacy files. That shouldn't be the issue.

The actual problem is most likely in the previous part of the log. For the best debugging, please post your entire log here.

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.

×
  • Create New...