Missing2135 Posted April 14, 2021 Share Posted April 14, 2021 I ran the server successfully, but ran into a problem with none of the mods being applied. Using a solution from a person named Maoo, the mod was applied to the server. I have a question. What is the difference between appending "::" at the beginning and end of the first line in the BAT file content and not adding it? If you run it without "::" as a method guided by the developer, the mode will not be downloaded and applied, but if you run it in the way Maoo guides you, it will be applied. Then, is it possible to run BAT files without "::" in the future? Or, can you just run the BAT file without "::" once, and then run the BAT file with "::"? I'm so curious. Quote ::c:\steamcmd\steamcmd.exe +login anonymous +app_update 343050 validate +quit:: cd "c:\steamcmd\steamapps\common\Don't Starve Together Dedicated Server\bin" start dontstarve_dedicated_server_nullrenderer -console -cluster MyDediServer -shard Master start dontstarve_dedicated_server_nullrenderer -console -cluster MyDediServer -shard Caves Quote c:\steamcmd\steamcmd.exe +login anonymous +app_update 343050 validate +quit cd /D "c:\steamcmd\steamapps\common\Don't Starve Together Dedicated Server\bin" start dontstarve_dedicated_server_nullrenderer -console -cluster MyDediServer -shard Master start dontstarve_dedicated_server_nullrenderer -console -cluster MyDediServer -shard Caves Link to comment Share on other sites More sharing options...
Hadi5456 Posted April 17, 2021 Share Posted April 17, 2021 How to play dedicated map on my computer? Link to comment Share on other sites More sharing options...
LascarWreath Posted May 5, 2021 Share Posted May 5, 2021 Hi there, I would like to ask if there is a way to choose where the dedicated server is located? So far it chooses either the US or Singapore. My friend in China wants to play but both servers are too laggy for him. Is there a way to force input the dedicated server closer to him? Link to comment Share on other sites More sharing options...
sphem Posted May 20, 2021 Share Posted May 20, 2021 it tells me couldn't find auth token when I start the .bat file what do i do?? Link to comment Share on other sites More sharing options...
sphem Posted May 20, 2021 Share Posted May 20, 2021 On 5/5/2021 at 5:26 AM, LascarWreath said: Hi there, I would like to ask if there is a way to choose where the dedicated server is located? So far it chooses either the US or Singapore. My friend in China wants to play but both servers are too laggy for him. Is there a way to force input the dedicated server closer to him? since you installed it on your pc it will run from your pc so its located wherever your pc is located Link to comment Share on other sites More sharing options...
cuteJaven Posted May 23, 2021 Share Posted May 23, 2021 On 4/15/2021 at 7:15 AM, Missing2135 said: I ran the server successfully, but ran into a problem with none of the mods being applied. Using a solution from a person named Maoo, the mod was applied to the server. I have a question. What is the difference between appending "::" at the beginning and end of the first line in the BAT file content and not adding it? If you run it without "::" as a method guided by the developer, the mode will not be downloaded and applied, but if you run it in the way Maoo guides you, it will be applied. Then, is it possible to run BAT files without "::" in the future? Or, can you just run the BAT file without "::" once, and then run the BAT file with "::"? I'm so curious. Hello, Missing2135, I'm a beginner too. I found something which might have some thing to do with what you are asking for. In the first line, :: means annotation, which has the same function with # in python or // in C++. The rest of the first line just update the game itself and has nothing to do with the mod. There is a file named dedicated_server_mods_setup.lua in your server(you can use software 'everything' to find it) and this file controls the update of your server mod. That's all I know, maybe the first line influenced the function of the lua file and make the mod can't update regularly, I guess. Link to comment Share on other sites More sharing options...
starfader Posted June 21, 2021 Share Posted June 21, 2021 why do I always download setup.html instead of MyDediServer.zip file when i click Download Settings after configuring the server? Link to comment Share on other sites More sharing options...
MrCharming8568 Posted August 16, 2021 Share Posted August 16, 2021 hey i did everything and when i double click on the StartDTSServers.bat it just opens the text and doesn't run the server, am i doing something wrong? maybe it's my steamcmd? Link to comment Share on other sites More sharing options...
Konkarp Posted August 18, 2021 Share Posted August 18, 2021 On 2/12/2016 at 4:30 AM, V2C said: On 2/12/2016 at 4:30 AM, V2C said: 6. Copy and save the following text to: \\Documents\Klei\StartDSTServers.bat I can't find this in folder. Can someone help me with this? Link to comment Share on other sites More sharing options...
cezarica Posted August 27, 2021 Share Posted August 27, 2021 @Konkarp You are supposed to create a file called that way at step #6, as it doesn't exist by default. You can save it in any other location you choose and continue with the guide, but keep in mind to use the location you saved instead of the one they mention. 1 Link to comment Share on other sites More sharing options...
Ali Salman Posted October 4, 2021 Share Posted October 4, 2021 On 2/12/2016 at 6:30 AM, V2C said: 1. Download and install SteamCMD: Click here to download 2. Visit the Klei Accounts site and log in to your account. (Please note, Dedicated Servers are not supported for the Xbox and PlayStation versions of the game.) Reveal hidden contents 3. On the accounts page, visit the “GAMES” tab, then scroll down to Don’t Starve Together and click on the “Game Servers” button. Reveal hidden contents 4. If you don’t have any server yet, please click the “ADD NEW SERVER” button. If you have a valid server, click the green “CONFIGURE” button. Expired servers are colored in red and should be deleted. Hide contents 5. In the “Configure Server” page you will find a form with some options that you can edit to customize your server. Once you are ready, click the “Download Settings” button. Download the Zip archive, extract the content, and place the folder “MyDediServer” inside \\Documents\Klei\DoNotStarveTogether\. Hide contents 6. Copy and save the following text to: \\Documents\Klei\StartDSTServers.bat Hide contents c:\steamcmd\steamcmd.exe +login anonymous +app_update 343050 validate +quit cd /D "c:\steamcmd\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 Caves Please Note: You will need to fix the file pathing if the steamcmd or the game’s folders were not installed in the default location. 7. Checklist of all the files you should have now: Reveal hidden contents \\Documents\Klei\DoNotStarveTogether\MyDediServer\cluster_token.txt \\Documents\Klei\DoNotStarveTogether\MyDediServer\cluster.ini \\Documents\Klei\DoNotStarveTogether\MyDediServer\Master\server.ini \\Documents\Klei\DoNotStarveTogether\MyDediServer\Caves\server.ini \\Documents\Klei\DoNotStarveTogether\MyDediServer\Caves\worldgenoverride.lua \\Documents\Klei\StartDSTServers.bat 8. Double-click StartDSTServers.bat to start your dedicated servers! why it shows this Link to comment Share on other sites More sharing options...
Zillvr Posted October 8, 2021 Share Posted October 8, 2021 Hello @Ali Salman, based on what you posted. It seems you didn't properly installed SteamCMD. This guide by default requires you to install SteamCMD to the following location c:\steamcmd\steamcmd.exe in Step 1. In your screenshot, it says that i does not exist because you are in the incorrect folder location anyway. The location "C:\Users\ldhhb\OneDrive\??????????\Klei\DoNotStarveTogether..." does not have dontstarve_dedicated_server_nullrenderer_x64.exe. The executable file called dontstarve_dedicated_server_nullrenderer_x64 will be automatically downloaded by SteamCMD if you have the confirmed the following: SteamCMD is in the correct default location <- Step 1 You have downloaded and extracted the correct DST server files <- Steps 2 to 5 Have a batch file manually created with the name StartDSTServers.bat. <- Step 6 to 8 To explain further Step 6 requires that you create a batch file that will AUTOMATICALLY execute the command lines: c:\steamcmd\steamcmd.exe +login anonymous +app_update 343050 validate +quit cd /D "c:\steamcmd\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 Caves To create it, follow below: Open notepad Copy the text above from "c:\steamcmd\steamcmd.exe...." up to "....-cluster MyDediServer -shard Caves" Paste into notepad Click File Click Save As Click Save As File Type and set to All Files (*.*) In filename, write text "StartDSTServers.bat" Save to anywhere on your PC, I recommend in your documents folder The file that is generated will be what you use to LAUNCH the servers. Once you have followed all the steps above, just double click on your StartDSTServers.bat file that you made in your documents folder. 1 Link to comment Share on other sites More sharing options...
Seero Posted October 17, 2021 Share Posted October 17, 2021 Wait, no portforwarding? Link to comment Share on other sites More sharing options...
xx_xx Posted November 20, 2021 Share Posted November 20, 2021 (edited) Hi there, Thanks for the detailed guide. Really helpful. I'm trying to set up my own dedicated server. Followed the instructions to install steamcmd, but when trying to fix the pathing in step 6, my steamcmd folder does not have the steamapps\common folder to run the file. The error message is "Windows cannot find 'downstarve_dedicated_server_nullrenderer_x64'. I need the steamcmd\steamapps folder to add the mods into the world (i think?). Would be great if I can get some help here. Image4 shows the code that 'works' but I'm not sure how to mod it without the steamapps folder. Thanks -- Image1: my .bat file Image2: screenshot of my steamcmd folder - missing steamsapps\common folder image3: screenshot of my Steam folder - with the steamsapps\common folder image4: modified the second path to the steam folder and this enables me to open the game up to character selection screen in game. Edited November 20, 2021 by xx_xx Link to comment Share on other sites More sharing options...
Bruhrizons Posted November 27, 2021 Share Posted November 27, 2021 (edited) Hey what should I do if it says my null renderer is missing? -Thank You Nvm figured it out Edited November 27, 2021 by Bruhrizons Link to comment Share on other sites More sharing options...
8win Posted November 27, 2021 Share Posted November 27, 2021 (edited) On 2/11/2016 at 10:30 PM, V2C said: 6. Copy and save the following text to: \\Documents\Klei\StartDSTServers.bat i can't find this folder how do i get it Edited November 27, 2021 by 8win found new problem Link to comment Share on other sites More sharing options...
cba Posted December 4, 2021 Share Posted December 4, 2021 Im stuck in "registering master server in us lobby" what can i do? Link to comment Share on other sites More sharing options...
Mentyca Posted January 1, 2022 Share Posted January 1, 2022 Spoiler Hello, I'm trying to set up my dedicated server but encounters issues I don't quite understand. Here's the error I have I've done all the steps carefully, can anyone help me ? Link to comment Share on other sites More sharing options...
Ancient4075 Posted February 27, 2022 Share Posted February 27, 2022 On 2/11/2016 at 9:30 PM, V2C said: StartDSTServers.bat Why ant this working when I double click Link to comment Share on other sites More sharing options...
Justice_Play Posted March 23, 2022 Share Posted March 23, 2022 Anyone can leave me a DST Dedicated Server Beta Branch setup guide? I am having a really bad struggle making it work Link to comment Share on other sites More sharing options...
BekeHydo Posted May 15, 2022 Share Posted May 15, 2022 So, im pretty sure i did everything correctly but my server is NOT showing up, help! 1 Link to comment Share on other sites More sharing options...
el_adi Posted June 10, 2022 Share Posted June 10, 2022 I have the same problem as ali salman, only the file exists, but it does not find it Link to comment Share on other sites More sharing options...
blade20055 Posted June 21, 2022 Share Posted June 21, 2022 On 2/11/2016 at 9:30 PM, V2C said: it needs to be updated Link to comment Share on other sites More sharing options...
spadesslick413 Posted July 5, 2022 Share Posted July 5, 2022 i dont have startdstservers.bat, what do i do? Link to comment Share on other sites More sharing options...
MadPenguin35 Posted July 11, 2022 Share Posted July 11, 2022 could i get some help? [00:00:28]: THREAD - started 'FilesExistAsyncThread' (10288) [00:00:28]: FilesExistAsyncThread started (20261 files)... [00:00:28]: Check for write access: TRUE [00:00:28]: Check for read access: TRUE [00:00:28]: Available disk space for save files: 832785 MB [00:00:28]: ModIndex: Load sequence finished successfully. [00:00:28]: Reset() returning [00:00:28]: [200] Account Failed (6): "E_INVALID_TOKEN" [00:00:28]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [00:00:28]: !!!! Your Server Will Not Start !!!! [00:00:28]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [00:00:28]: No auth token could be found. [00:00:28]: Please visit https://accounts.klei.com/account/game/servers?game=DontStarveTogether [00:00:28]: to generate server configuration files [00:00:28]: [00:00:28]: Alternatively generate a cluster_token you can [00:00:28]: open the console from a logged-in game [00:00:28]: client with the tilda key (~ / ù) and type: [00:00:28]: TheNet:GenerateClusterToken() [00:00:28]: This will create 'cluster_token.txt' in [00:00:28]: your client settings directory. Copy this [00:00:28]: into your cluster settings directory. [00:00:28]: [Connect] PendingConnection::Reset(true) [00:00:36]: ... FilesExistAsyncThread complete this is on both of the tabs Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now