HawtDawg Posted March 2, 2023 Share Posted March 2, 2023 I've gotten most of the stuff done but for some reason this is showing up as I try to run the actual .bat file, does this mean I'm missing a file or something? Link to comment https://forums.kleientertainment.com/forums/topic/146268-dedi-server-setup-help/ Share on other sites More sharing options...
HawtDawg Posted March 2, 2023 Author Share Posted March 2, 2023 I found the thing I needed to download (Kind of an L on my part) but now it's unable to find the cluster token for some reason when I start the dedicated server application, I know what my cluster token is and I'm sure I have it in the right location so I'm overall just confused Without that Cluster Token working the original issue is still there Link to comment https://forums.kleientertainment.com/forums/topic/146268-dedi-server-setup-help/#findComment-1623030 Share on other sites More sharing options...
Geeris Posted March 2, 2023 Share Posted March 2, 2023 Hi, @HawtDawg! Considering that all the apparatus is correct as it says, the only issue that I could identify is that there is an extra folder, with the same name "MyDediServer" inside the root "MyDediServer". The server looks for -> "/MyDediServer/cluster_token.txt". But according to the print, it must be in -> "/MyDediServer/MyDediServer/cluster_token.txt" Cut all the files to the root "MyDediServer" and maybe this will solve it. Link to comment https://forums.kleientertainment.com/forums/topic/146268-dedi-server-setup-help/#findComment-1623126 Share on other sites More sharing options...
HawtDawg Posted March 2, 2023 Author Share Posted March 2, 2023 1 hour ago, Geeris said: Hi, @HawtDawg! Considering that all the apparatus is correct as it says, the only issue that I could identify is that there is an extra folder, with the same name "MyDediServer" inside the root "MyDediServer". The server looks for -> "/MyDediServer/cluster_token.txt". But according to the print, it must be in -> "/MyDediServer/MyDediServer/cluster_token.txt" Cut all the files to the root "MyDediServer" and maybe this will solve it. I fixed the files and its still resulting in the same issue ugh.. Here are more screenshots of my files/codes in case I have something else causing this maybe? Full code from the dedicated server program (Sorry its long) [00:00:00]: System Memory: Memory Load: 64% Available Physical Memory: 2883m/8104m Available Page File: 8789m/16209m Available Virtual Memory: 134213502m/134217727m Available Extended Virtual Memory: 0m [00:00:00]: Process Memory: Peak Working Set Size: 13m Working Set Size: 13m Quota Peak Page Pool Usage: 180k Quota Page Pool Usage: 179k Quota Peak Non Paged Pool Usage:31k Quota Non Paged Pool Usage: 13k Page File Usage: 3m Peak Page File Usage: 3m [00:00:00]: PersistRootStorage is now APP:Klei//DoNotStarveTogether/Cluster_1/Master/ [00:00:00]: Starting Up [00:00:00]: Version: 542788 [00:00:00]: Current time: Thu Mar 02 14:38:28 2023 [00:00:00]: Don't Starve Together: 542788 WIN32 [00:00:00]: Build Date: 1779 [00:00:00]: Mode: 64-bit [00:00:00]: Parsing command line [00:00:00]: Command Line Arguments: [00:00:00]: Initializing distribution platform [00:00:00]: Initializing Minidump handler [00:00:00]: ....Done [00:00:00]: ....Done [00:00:00]: Fixing DPI [00:00:00]: ...Done [00:00:00]: THREAD - started 'GAClient' (18356) [00:00:00]: CurlRequestManager::ClientThread::Main() [00:00:00]: Mounting file system databundles/klump.zip successful. [00:00:00]: Mounting file system databundles/shaders.zip successful. [00:00:00]: Mounting file system databundles/fonts.zip successful. [00:00:00]: Mounting file system databundles/anim_dynamic.zip successful. [00:00:00]: Mounting file system databundles/bigportraits.zip successful. [00:00:00]: Mounting file system databundles/images.zip successful. [00:00:00]: Mounting file system databundles/scripts.zip successful. [00:00:00]: [Steam] SteamGameServer_Init(10999, 27016) Setting breakpad minidump AppID = 322330 [00:00:01]: [Steam] SteamGameServer_Init success [00:00:01]: ProfileIndex:0.55 [00:00:01]: [Connect] PendingConnection::Reset(true) [00:00:01]: Platform: 1 [00:00:01]: Network tick rate: U=15(2), D=0 [00:00:01]: Network tick rate: U=15(2), D=0 [00:00:01]: Authorized application C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Together Dedicated Server\bin64\dontstarve_dedicated_server_nullrenderer_x64.exe is enabled in the firewall. [00:00:01]: WindowsFirewall - Application already authorized [00:00:01]: OnLoadPermissionList: APP:Klei//DoNotStarveTogether/Cluster_1/blocklist.txt (Failure) [00:00:01]: THREAD - started 'StreamInput' (17284) [00:00:01]: OnLoadPermissionList: APP:Klei//DoNotStarveTogether/Cluster_1/adminlist.txt (Failure) [00:00:01]: OnLoadUserIdList: APP:Klei//DoNotStarveTogether/Cluster_1/whitelist.txt (Failure) [00:00:01]: Token file not found: APP:Klei//DoNotStarveTogether/Cluster_1/cluster_token.txt, success: F, len: 0 [00:00:01]: Token file not found: APP:Klei//DoNotStarveTogether/Cluster_1/cluster_token.txt, success: F, len: 0 [00:00:01]: HardwareStats: OS name Microsoft Windows 11 Home version 10.0.22000 platformSpecific SP 0.0 architecture 64-bit CPU clockSpeed 3593 name AMD Ryzen 5 3500 6-Core Processor manufacturer AuthenticAMD numCores 6 features SSE,SSE2,SSE3,SSSE3,SSE41,SSE42,AVX RAM megsOfRam 8192 GPU megsOfRam 4095 videoModeDescription 1920 x 1080 x 4294967296 colors name NVIDIA GeForce GTX 1650 SUPER driverVersion 31.0.15.1694 driverDate 20220721000000.000000-000 refreshRate 60 [00:00:01]: cGame::InitializeOnMainThread [00:00:01]: Renderer initialize: Okay [00:00:01]: AnimManager initialize: Okay [00:00:01]: Buffers initialize: Okay [00:00:01]: cDontStarveGame::DoGameSpecificInitialize() [00:00:01]: GameSpecific initialize: Okay [00:00:01]: cGame::StartPlaying [00:00:01]: AppVersion::GetArchitecture() x64 [00:00:01]: LOADING LUA [00:00:01]: DoLuaFile scripts/main.lua [00:00:01]: DoLuaFile loading buffer scripts/main.lua [00:00:02]: taskgrouplist: default Together [00:00:02]: taskgrouplist: classic Classic [00:00:02]: taskgrouplist: cave_default Underground [00:00:02]: taskgrouplist: lavaarena_taskset The Forge [00:00:02]: taskgrouplist: quagmire_taskset The Gorge [00:00:02]: Running main.lua [00:00:02]: loaded modindex [00:00:02]: ModIndex: Beginning normal load sequence for dedicated server. [00:00:02]: Event data unavailable: lavaarena_event_server/lavaarena_achievement_quest_defs [00:00:03]: LOADING LUA SUCCESS [00:00:03]: PlayerDeaths could not load morgue [00:00:03]: PlayerHistory could not load player_history [00:00:03]: ServerPreferences could not load server_preferences [00:00:03]: ConsoleScreenSettings could not load consolescreen [00:00:03]: bloom_enabled true [00:00:03]: OnFilesLoaded() [00:00:03]: OnUpdatePurchaseStateComplete [00:00:03]: Klump load on boot started. [00:00:03]: Klump files loaded: 0 [00:00:05]: Load FE [00:00:06]: Load FE: done [00:00:06]: THREAD - started 'FilesExistAsyncThread' (15056) [00:00:06]: Check for write access: TRUE [00:00:06]: FilesExistAsyncThread started (21475 files)... [00:00:06]: Check for read access: TRUE [00:00:06]: Available disk space for save files: 9958 MB [00:00:06]: ModIndex: Load sequence finished successfully. [00:00:06]: Reset() returning [00:00:07]: [200] Account Failed (6): "E_INVALID_TOKEN" [00:00:07]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [00:00:07]: !!!! Your Server Will Not Start !!!! [00:00:07]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [00:00:07]: No auth token could be found. [00:00:07]: Please visit https://accounts.klei.com/account/game/servers?game=DontStarveTogether [00:00:07]: to generate server configuration files [00:00:07]: [00:00:07]: Alternatively generate a cluster_token you can [00:00:07]: open the console from a logged-in game [00:00:07]: client with the tilda key (~ / ù) and type: [00:00:07]: TheNet:GenerateClusterToken() [00:00:07]: This will create 'cluster_token.txt' in [00:00:07]: your client settings directory. Copy this [00:00:07]: into your cluster settings directory. [00:00:07]: [Connect] PendingConnection::Reset(true) [00:00:30]: ... FilesExistAsyncThread complete (I've had issues with Windows for some reason being dumb and blocking a lot of stuff for being ' a virus ' so I could also have that be an issue) Link to comment https://forums.kleientertainment.com/forums/topic/146268-dedi-server-setup-help/#findComment-1623135 Share on other sites More sharing options...
Geeris Posted March 2, 2023 Share Posted March 2, 2023 39 minutes ago, HawtDawg said: [00:00:00]: PersistRootStorage is now APP:Klei//DoNotStarveTogether/Cluster_1/Master/ Apparently, your server's executable is pointing to the "Cluster_1" folder, however the correct folder with the server settings is "MyDediServer"? Assuming you've already downloaded the basic server settings from the Klei Accounts website, try the following: 1 - Check if "MyDediServer" folder is in the correct location (by default it's: "/Documents/Klei/DoNotStarveTogether/MyDediServer"). 2 - In the Dedicated Server files (same location as your second print), go to "bin/scripts" folder there you will find "launch_preconfigured_servers.bat", copy this file and go back to the "bin" folder and then paste it. 3 - Right click on the pasted "launch_preconfigured_servers.bat" file and edit (open in notepad). Delete existing commands and add the following: start dontstarve_dedicated_server_nullrenderer -cluster MyDediServer -shard Master start dontstarve_dedicated_server_nullrenderer -cluster MyDediServer -shard Caves IMPORTANT: In the above command lines, "MyDediServer" refers to the name of the folder where your files are saved ("/Documents/Klei/DoNotStarveTogether/MyDediServer") . The second line should only be added if you want caves. 4 - Save the edited .bat file (I recommend renaming it to "MyDediServer.bat", for easy identification). 5 - Run the .bat file, this should open the server. Link to comment https://forums.kleientertainment.com/forums/topic/146268-dedi-server-setup-help/#findComment-1623159 Share on other sites More sharing options...
HawtDawg Posted March 3, 2023 Author Share Posted March 3, 2023 @GeerisHoly **** it worked, I got scared for a moment it didn't but I had put it into the bin64 file rather than the bin file which is why it didn't work as the code you sent doesn't refer to it. Thank you so much I have no idea why my thing was so weird with the files but I'm glad to have it working now :] Link to comment https://forums.kleientertainment.com/forums/topic/146268-dedi-server-setup-help/#findComment-1623248 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.