mateuskater Posted October 31, 2016 Share Posted October 31, 2016 I have a 26 day world in DST and I only created a dedicated server now but I don't want to start over. Link to comment Share on other sites More sharing options...
TwoDees Posted November 1, 2016 Share Posted November 1, 2016 Yes, take everything in your cluster_# folder and paste it into your dedicated server folder. Change your cluster.ini accordingly. This is how I pick the settings of my dedicated worlds & mods with ease. Link to comment Share on other sites More sharing options...
mateuskater Posted November 1, 2016 Author Share Posted November 1, 2016 10 hours ago, TwoDees said: Yes, take everything in your cluster_# folder and paste it into your dedicated server folder. Change your cluster.ini accordingly. This is how I pick the settings of my dedicated worlds & mods with ease. thanks, will try that. Link to comment Share on other sites More sharing options...
mateuskater Posted November 1, 2016 Author Share Posted November 1, 2016 11 hours ago, TwoDees said: Yes, take everything in your cluster_# folder and paste it into your dedicated server folder. Change your cluster.ini accordingly. This is how I pick the settings of my dedicated worlds & mods with ease. it didn't work. I started up in a new world. @TwoDees Link to comment Share on other sites More sharing options...
mateuskater Posted November 2, 2016 Author Share Posted November 2, 2016 still need help here... Link to comment Share on other sites More sharing options...
mateuskater Posted November 3, 2016 Author Share Posted November 3, 2016 aaaa... Link to comment Share on other sites More sharing options...
mateuskater Posted November 4, 2016 Author Share Posted November 4, 2016 bumpy boo. Link to comment Share on other sites More sharing options...
mateuskater Posted November 5, 2016 Author Share Posted November 5, 2016 ... Link to comment Share on other sites More sharing options...
mateuskater Posted November 6, 2016 Author Share Posted November 6, 2016 welp, I give up... Link to comment Share on other sites More sharing options...
alainmcd Posted November 6, 2016 Share Posted November 6, 2016 Go to (My) Documents\Klei\DoNotStarveTogether (DoNotStarveTogetherANewReign if you're in the A New Reign beta), copy and paste Cluster_1 (or whatever number) and rename the new folder to MyDediServer. Get a token for your dedicated server following steps 3-6 from the Quick Setup Guide. Go to your Don't Starve Together installation folder (in Steam, right-click "Don't Starve Together->Properties->Local Files->Browse Local Files), go to "bin" and create a new folder named "scripts". Create a new file named "MyDediServer.bat" (make sure it has the ".bat" extension) and paste this into it: @ECHO OFF cd .. "%~dp0..\dontstarve_dedicated_server_nullrenderer.exe" -only_update_server_mods start "My DST Server Forest" /D "%~dp0.." "%~dp0..\dontstarve_dedicated_server_nullrenderer.exe" -skip_update_server_mods -console -cluster MyDediServer -shard Master start "My DST Server Caves" /D "%~dp0.." "%~dp0..\dontstarve_dedicated_server_nullrenderer.exe" -skip_update_server_mods -console -cluster MyDediServer -shard Caves If your server doesn't have caves, remove the last line. Start your server by running this file. To stop the server, type "c_shutdown()" without the quotation marks in both windows or you'll lose your progress since the last autosave. Link to comment Share on other sites More sharing options...
mateuskater Posted November 6, 2016 Author Share Posted November 6, 2016 6 hours ago, alainmcd said: Go to (My) Documents\Klei\DoNotStarveTogether (DoNotStarveTogetherANewReign if you're in the A New Reign beta), copy and paste Cluster_1 (or whatever number) and rename the new folder to MyDediServer. Get a token for your dedicated server following steps 3-6 from the Quick Setup Guide. Go to your Don't Starve Together installation folder (in Steam, right-click "Don't Starve Together->Properties->Local Files->Browse Local Files), go to "bin" and create a new folder named "scripts". Create a new file named "MyDediServer.bat" (make sure it has the ".bat" extension) and paste this into it: @ECHO OFF cd .. "%~dp0..\dontstarve_dedicated_server_nullrenderer.exe" -only_update_server_mods start "My DST Server Forest" /D "%~dp0.." "%~dp0..\dontstarve_dedicated_server_nullrenderer.exe" -skip_update_server_mods -console -cluster MyDediServer -shard Master start "My DST Server Caves" /D "%~dp0.." "%~dp0..\dontstarve_dedicated_server_nullrenderer.exe" -skip_update_server_mods -console -cluster MyDediServer -shard Caves If your server doesn't have caves, remove the last line. Start your server by running this file. To stop the server, type "c_shutdown()" without the quotation marks in both windows or you'll lose your progress since the last autosave. I have the steam version of the dedicated server. @alainmcd Link to comment Share on other sites More sharing options...
alainmcd Posted November 6, 2016 Share Posted November 6, 2016 If you have DST installed on the same PC (and user), you can use these instructions; as far as I can tell, dontstarve_dedicated_server_nullrenderer.exe is the same for DST and DST Dedicated Server. If you don't have it installed (or simply prefer to use the dedicated server), just place MyDediServer in [DST Dedicated installation]\bin\scripts, and you'll need to edit your mods\dedicated_server_mods_setup.lua if you're using mods. Link to comment Share on other sites More sharing options...
mateuskater Posted November 6, 2016 Author Share Posted November 6, 2016 4 minutes ago, alainmcd said: If you have DST installed on the same PC (and user), you can use these instructions; as far as I can tell, dontstarve_dedicated_server_nullrenderer.exe is the same for DST and DST Dedicated Server. If you don't have it installed (or simply prefer to use the dedicated server), just place MyDediServer in [DST Dedicated installation]\bin\scripts, and you'll need to edit your mods\dedicated_server_mods_setup.lua if you're using mods. @alainmcd yeah I have the DoNotStarveTogetherDedicated. also is it normal that the cluster_1 folder has only 12KB? Link to comment Share on other sites More sharing options...
alainmcd Posted November 6, 2016 Share Posted November 6, 2016 That doesn't seem right. Is it an overworld-only server or does it have caves? Overworld-only worlds are handled differently and seem to store some of the data elsewhere. Link to comment Share on other sites More sharing options...
mateuskater Posted November 6, 2016 Author Share Posted November 6, 2016 3 minutes ago, alainmcd said: That doesn't seem right. Is it an overworld-only server or does it have caves? Overworld-only worlds are handled differently and seem to store some of the data elsewhere. over only. Link to comment Share on other sites More sharing options...
alainmcd Posted November 6, 2016 Share Posted November 6, 2016 Sorry, it's not that simple to convert an overworld-only save. I'm checking how to do it, I'll let you know if I find out. Link to comment Share on other sites More sharing options...
alainmcd Posted November 6, 2016 Share Posted November 6, 2016 Ok, I think I got it. First, backup your Documents\Klei\DoNotStarveTogether folder. If you're in the beta, the folder you'll be using is DoNotStarveTogetherANewReign. In DoNotStarveTogether, copy the folder Cluster_X (where X is the number of your save) and paste it, rename the new folder to MyDediServer. Create a server token (steps 3-6 from the Quick Setup Guide) and place it in MyDediServer. Now is where it gets interesting. Go to DoNotStarveTogether\client_save and open the file "saveindex" with a text editor. This is essentially a lua file. If you're not comfortable with lua, upload the file, I'll tell you how to proceed. If you're comfortable doing it yourself: you need to change the last_used_slot to 1 and remove the entries from the slots table that you don't need, so if your world is in slot 3, delete the entries 1, 2, 4 and 5. Save this file as DoNotStarveTogether\MyDediServer\Master\save\saveindex overwriting the file. In saveindex you'll need to find your session_id. Go to DoNotStarveTogether\client_save\session and copy the folder that matches your session_id, paste it in DoNotStarveTogether\MyDediServer\save\session. And that's it. Hopefully it'll work. Run your server with MyDediServer.bat. Link to comment Share on other sites More sharing options...
mateuskater Posted November 7, 2016 Author Share Posted November 7, 2016 18 minutes ago, alainmcd said: Ok, I think I got it. First, backup your Documents\Klei\DoNotStarveTogether folder. If you're in the beta, the folder you'll be using is DoNotStarveTogetherANewReign. In DoNotStarveTogether, copy the folder Cluster_X (where X is the number of your save) and paste it, rename the new folder to MyDediServer. Create a server token (steps 3-6 from the Quick Setup Guide) and place it in MyDediServer. Now is where it gets interesting. Go to DoNotStarveTogether\client_save and open the file "saveindex" with a text editor. This is essentially a lua file. If you're not comfortable with lua, upload the file, I'll tell you how to proceed. If you're comfortable doing it yourself: you need to change the last_used_slot to 1 and remove the entries from the slots table that you don't need, so if your world is in slot 3, delete the entries 1, 2, 4 and 5. Save this file as DoNotStarveTogether\MyDediServer\Master\save\saveindex overwriting the file. In saveindex you'll need to find your session_id. Go to DoNotStarveTogether\client_save\session and copy the folder that matches your session_id, paste it in DoNotStarveTogether\MyDediServer\save\session. And that's it. Hopefully it'll work. Run your server with MyDediServer.bat. I'll try that tomorrow thanks Link to comment Share on other sites More sharing options...
alainmcd Posted November 7, 2016 Share Posted November 7, 2016 Happy to help. Do let us know how it works out for you. Link to comment Share on other sites More sharing options...
mateuskater Posted November 7, 2016 Author Share Posted November 7, 2016 18 hours ago, alainmcd said: Happy to help. Do let us know how it works out for you. I did everything you told me and it created a new world lol. Link to comment Share on other sites More sharing options...
mateuskater Posted November 7, 2016 Author Share Posted November 7, 2016 @alainmcd it's okay if we can't manage to do it though, my friend wanted to create a new world Link to comment Share on other sites More sharing options...
alainmcd Posted November 7, 2016 Share Posted November 7, 2016 I just tried it again and it worked for me, not sure what could be going wrong :-/ 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.