DaniDestruction Posted July 28, 2015 Share Posted July 28, 2015 Hey guys, I'm trying to set up a dedicated server that runs off of my computer. I've been following the wiki post about setting up the server, and for some reason I'm not getting the second configuration file folder so that my settings save. (I've been playing on my server when i had it up before, and my map would not save to the server, so i'd have a blank map everytime i'd log in) I've copied the -conf_dir myDSTserver to the .exe in the target area so that it would create the config directory, but it's not showing up. I'm also running the dedicated server via shortcut, not through the direct .exe under the bin folder. I hope that all makes sense haha. I'm not very good at explaining things. Here's the log file if that helps any:[00:00:00]: Starting Up[00:00:00]: Version: 144821[00:00:00]: Current time: Tue Jul 28 16:20:03 2015 [00:00:00]: Don't Starve Together: 144821 WIN32NNN Build Date: 2015-07-27_14-52-34[00:00:00]: Parsing command line[00:00:00]: Command Line Arguments: [00:00:00]: Initializin Minidump handler[00:00:00]: ....Done[00:00:00]: Fixing DPI[00:00:00]: ...Done[00:00:00]: THREAD - started 'GAClient' (11188)[00:00:00]: HttpClient::ClientThread::Main()[00:00:00]: ProfileIndex:3.44[00:00:00]: THREAD - started 'GAClient' (10364)[00:00:00]: HttpClient::ClientThread::Main()[00:00:00]: THREAD - started 'GAClient' (5844)[00:00:00]: Network tick rate: U=15(2), D=0[00:00:00]: HttpClient::ClientThread::Main()[00:00:00]: Network tick rate: U=15(2), D=0[00:00:00]: Authorized application C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Together Dedicated Server\bin\dontstarve_dedicated_server_nullrenderer-conf_dir myDSTserver.exe is enabled in the firewall.[00:00:00]: WindowsFirewall - Application already authorized[00:00:00]: OnLoadPermissionList: APP:Klei/DoNotStarveTogether/save/blocklist.txt (Failure)[00:00:00]: OnLoadPermissionList: APP:Klei/DoNotStarveTogether/save/adminlist.txt (Failure)[00:00:00]: OnLoadUserIdList: APP:Klei/DoNotStarveTogether/save/whitelist.txt (Failure)[00:00:00]: Server token retrieved from: server_token.txt[00:00:00]: THREAD - started 'GAClient' (9532)[00:00:00]: HttpClient::ClientThread::Main()[00:00:00]: THREAD - started 'GAClient' (11048)[00:00:00]: cGame::InitializeOnMainThread[00:00:00]: THREAD - started 'GAClient' (10192)[00:00:00]: HttpClient::ClientThread::Main()[00:00:00]: HttpClient::ClientThread::Main()[00:00:00]: Renderer initialize: Okay[00:00:00]: AnimManager initialize: Okay[00:00:00]: Buffers initialize: Okay[00:00:00]: cDontStarveGame::DoGameSpecificInitialize()[00:00:00]: FMOD Error: An invalid object handle was used. [00:00:00]: GameSpecific initialize: Okay[00:00:00]: cGame::StartPlaying[00:00:00]: LOADING LUA[00:00:00]: DoLuaFile scripts/main.lua[00:00:00]: DoLuaFile loading buffer scripts/main.lua[00:00:00]: scripts/main.lua(169,1) running main.lua [00:00:00]: loaded modindex [00:00:00]: ModIndex: Beginning normal load sequence for dedicated server. [00:00:00]: DownloadMods(0)[00:00:00]: FMOD Error: An invalid object handle was used. [00:00:00]: LOADING LUA SUCCESS[00:00:00]: PlayerDeaths could not load morgue [00:00:00]: PlayerHistory could not load player_history [00:00:00]: loaded profile [00:00:00]: bloom_enabled false [00:00:00]: loaded saveindex [00:00:00]: OnFilesLoaded() [00:00:00]: OnUpdatePurchaseStateComplete [00:00:00]: Load FE [00:00:00]: Load FE: done [00:00:00]: ModIndex: Load sequence finished successfully. [00:00:00]: Reset() returning[00:00:02]: [200] Account Communication Success (6)[00:00:02]: [ACCOUNT_ACTION_TOKEN_PURPOSE] Received UserId from TokenPurpose: KU_Ehy_juS1[00:00:02]: Starting Dedicated Server Game [00:00:02]: Network tick rate: U=15(2), D=0[00:00:02]: [Warning] Could not confirm port 10999 is open in the firewall. [00:00:02]: Setting up socket descriptors[00:00:02]: Online Server Started on port: 10999[00:00:02]: Collecting garbage...[00:00:02]: lua_gc took 0.01 seconds[00:00:02]: ~NetworkLuaProxy()[00:00:02]: ~SimLuaProxy()[00:00:02]: lua_close took 0.01 seconds[00:00:02]: ReleaseAll[00:00:02]: ReleaseAll Finished[00:00:02]: cGame::StartPlaying[00:00:02]: LOADING LUA[00:00:02]: DoLuaFile scripts/main.lua[00:00:02]: DoLuaFile loading buffer scripts/main.lua[00:00:02]: scripts/main.lua(169,1) running main.lua [00:00:02]: loaded modindex [00:00:02]: ModIndex: Beginning normal load sequence for dedicated server. [00:00:02]: LOADING LUA SUCCESS[00:00:02]: PlayerDeaths could not load morgue [00:00:02]: PlayerHistory could not load player_history [00:00:02]: loaded profile [00:00:02]: bloom_enabled false [00:00:02]: loaded saveindex [00:00:02]: OnFilesLoaded() [00:00:02]: OnUpdatePurchaseStateComplete [00:00:02]: Unload FE [00:00:02]: Unload FE done [00:00:02]: LOAD BE [00:00:03]: LOAD BE: done [00:00:03]: Deserialize world session from session/0CA00012AB54E56B/0000000003 [00:00:03]: Save file is at version 1 [00:00:03]: Begin Session: 0CA00012AB54E56B[00:00:03]: saving to server_temp/server_save [00:00:03]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml )[00:00:03]: Loading Nav Grid [00:00:03]: setting summerlength 15 [00:00:03]: setting elapseddaysinseason 0 [00:00:03]: setting isfullmoon false [00:00:03]: setting moisture 21.633089065552 [00:00:03]: setting springlength 20 [00:00:03]: setting moonphase quarter [00:00:03]: setting precipitationrate 0 [00:00:03]: setting iswet false [00:00:03]: setting winterlength 15 [00:00:03]: setting iswinter false [00:00:03]: setting issummer false [00:00:03]: setting moistureceil 698.25372314453 [00:00:03]: setting isday true [00:00:03]: setting wetness 0 [00:00:03]: setting isnight false [00:00:03]: setting isdusk false [00:00:03]: setting isspring false [00:00:03]: setting isautumn true [00:00:03]: setting issnowing false [00:00:03]: setting snowlevel 0 [00:00:03]: setting issnowcovered false [00:00:03]: setting autumnlength 20 [00:00:03]: setting phase day [00:00:03]: setting temperature 34.303573429225 [00:00:03]: setting pop 0.030981702422049 [00:00:03]: setting season autumn [00:00:03]: setting israining false [00:00:03]: setting remainingdaysinseason 20 [00:00:03]: setting time 0.18031628926595 [00:00:03]: setting cycles 0 [00:00:03]: setting precipitation none [00:00:03]: setting timeinphase 0.3606325785319 [00:00:04]: Reconstructing topology [00:00:04]: ...Sorting points [00:00:04]: ...Sorting edges [00:00:04]: ...Connecting nodes [00:00:04]: ...Validating connections [00:00:04]: ...Housekeeping [00:00:04]: ...Done! [00:00:04]: Truncating to snapshot #3...[00:00:04]: - session/0CA00012AB54E56B/KU_Ehy_juS1_/0000000004[00:00:04]: 1 file(s) removed[00:00:04]: 1 uploads added to server. From server_temp[00:00:04]: Telling Client our new session identifier: 0CA00012AB54E56B[00:00:04]: ModIndex: Load sequence finished successfully. [00:00:04]: Reset() returning[00:00:05]: SteamGameServer_Init Success[00:00:05]: SetLobbyGameServer 0 Anyone have any help or advice? Link to comment Share on other sites More sharing options...
Developer bizziboi Posted July 28, 2015 Developer Share Posted July 28, 2015 Hi @DaniDestruction, It seems not to be seeing your command line option '-conf_dir myDSTserver - the log file says the server is started without command line arguments. What exactly do you mean when you say 'I've copied the -conf_dir myDSTserver to the .exe in the target area'? I think you need to modify the shortcut to use the command line option '-conf_dir myDSTserver ' Link to comment Share on other sites More sharing options...
DaniDestruction Posted July 28, 2015 Author Share Posted July 28, 2015 Hi @DaniDestruction, It seems not to be seeing your command line option '-conf_dir myDSTserver - the log file says the server is started without command line arguments. What exactly do you mean when you say 'I've copied the -conf_dir myDSTserver to the .exe in the target area'? I think you need to modify the shortcut to use the command line option '-conf_dir myDSTserver ' I right clicked the .exe, went to properties and then pasted it at the end of "dontstarve_dedicated_server_nullrenderer". I'm not sure where else I would put that at. Link to comment Share on other sites More sharing options...
Developer bizziboi Posted July 28, 2015 Developer Share Posted July 28, 2015 Hi @DaniDestruction, A-ha, you didn't create a shortcut, you merely renamed the executable. In order to create a shortcut, you right-click the exe and select 'create shortcut' from the dropdown. Now if you open up the properties of that shortcut you should be able to set command line options by adding them in the 'target' field, after the executable path, and outside the quotes, and with a whitespace before it, as in"F:\SteamLibrary\SteamApps\common\Don't Starve Together Beta\bin\dontstarve_steam.exe" -conf_dir MyDSTServer Link to comment Share on other sites More sharing options...
DaniDestruction Posted July 28, 2015 Author Share Posted July 28, 2015 @bizziboiSo i dont actually add that to the dedicated server .exe? Just to the actual don't starve client? Link to comment Share on other sites More sharing options...
Developer bizziboi Posted July 28, 2015 Developer Share Posted July 28, 2015 @DaniDestruction, Ah, no my bad - that was just to show what the command line should look like (as some people enter it inside the quotes'. It should be applied to the server shortcut. Link to comment Share on other sites More sharing options...
DaniDestruction Posted July 28, 2015 Author Share Posted July 28, 2015 Alright, I did that fine. Now it's telling me my server token isnt working. And I generated it and put it in the correct file location. Restarted the server. Still nothing :\ Link to comment Share on other sites More sharing options...
Developer bizziboi Posted July 28, 2015 Developer Share Posted July 28, 2015 @DaniDestruction, Hmmm, can you copy and paste your log for that? It's a bit outside my realm but others know more Link to comment Share on other sites More sharing options...
DaniDestruction Posted July 29, 2015 Author Share Posted July 29, 2015 [00:00:00]: Starting Up[00:00:00]: Version: 144821[00:00:00]: Current time: Tue Jul 28 19:56:55 2015 [00:00:00]: Don't Starve Together: 144821 WIN32NNN Build Date: 2015-07-27_14-52-34[00:00:00]: Parsing command line[00:00:00]: Command Line Arguments: -conf_dir myDSTserver [00:00:00]: Initializin Minidump handler[00:00:00]: ....Done[00:00:00]: Fixing DPI[00:00:00]: ...Done[00:00:00]: THREAD - started 'GAClient' (2380)[00:00:00]: HttpClient::ClientThread::Main()[00:00:00]: ProfileIndex:3.42[00:00:00]: THREAD - started 'GAClient' (6636)[00:00:00]: HttpClient::ClientThread::Main()[00:00:00]: THREAD - started 'GAClient' (9668)[00:00:00]: Network tick rate: U=15(2), D=0[00:00:00]: HttpClient::ClientThread::Main()[00:00:00]: Network tick rate: U=15(2), D=0[00:00:00]: Authorized application C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Together Dedicated Server\bin\dontstarve_dedicated_server_nullrenderer.exe is enabled in the firewall.[00:00:00]: WindowsFirewall - Application already authorized[00:00:00]: OnLoadPermissionList: APP:Klei/myDSTserver/save/blocklist.txt (Failure)[00:00:00]: OnLoadPermissionList: APP:Klei/myDSTserver/save/adminlist.txt (Failure)[00:00:00]: OnLoadUserIdList: APP:Klei/myDSTserver/save/whitelist.txt (Failure)[00:00:00]: Server token retrieved from: server_token.txt[00:00:00]: THREAD - started 'GAClient' (9156)[00:00:00]: HttpClient::ClientThread::Main()[00:00:00]: THREAD - started 'GAClient' (5696)[00:00:00]: cGame::InitializeOnMainThread[00:00:00]: THREAD - started 'GAClient' (6600)[00:00:00]: HttpClient::ClientThread::Main()[00:00:00]: Renderer initialize: Okay[00:00:00]: HttpClient::ClientThread::Main()[00:00:00]: AnimManager initialize: Okay[00:00:00]: Buffers initialize: Okay[00:00:00]: cDontStarveGame::DoGameSpecificInitialize()[00:00:00]: FMOD Error: An invalid object handle was used. [00:00:00]: GameSpecific initialize: Okay[00:00:00]: cGame::StartPlaying[00:00:00]: LOADING LUA[00:00:00]: DoLuaFile scripts/main.lua[00:00:00]: DoLuaFile loading buffer scripts/main.lua[00:00:00]: scripts/main.lua(169,1) running main.lua [00:00:00]: loaded modindex [00:00:00]: ModIndex: Beginning normal load sequence for dedicated server. [00:00:00]: DownloadMods(0)[00:00:00]: FMOD Error: An invalid object handle was used. [00:00:00]: LOADING LUA SUCCESS[00:00:00]: PlayerDeaths could not load morgue [00:00:00]: PlayerHistory could not load player_history [00:00:00]: loaded profile [00:00:00]: bloom_enabled false [00:00:00]: Could not load saveindex [00:00:00]: OnFilesLoaded() [00:00:00]: OnUpdatePurchaseStateComplete [00:00:01]: Load FE [00:00:01]: Load FE: done [00:00:01]: ModIndex: Load sequence finished successfully. [00:00:01]: Reset() returning[00:00:02]: [200] Account Failed (6): "E_EXPIRED_TOKEN"[00:00:02]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!![00:00:02]: !!!! Your Server Will Not Start !!!![00:00:02]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!![00:00:02]: If you wish to run your server without authentication[00:00:02]: Or if you wish to use your server for a LAN game[00:00:02]: You must run it in 'lan mode'[00:00:02]: Add the command line argument -lan[00:00:02]: To generate a server_token from a game client, open console[00:00:02]: open console with the tilda key (~)[00:00:02]: Type: TheNet:GenerateServerToken() Link to comment Share on other sites More sharing options...
Developer bizziboi Posted July 29, 2015 Developer Share Posted July 29, 2015 @DaniDestruction, Did you put the generated token in the new directory? (the myDSTServer one)Also make sure you didn't mistype or mis-copy&paste the token...they generally don't expire. I'd suggest generating your token once more and copy and pasting it in the right location just to be sure. Link to comment Share on other sites More sharing options...
DaniDestruction Posted July 29, 2015 Author Share Posted July 29, 2015 Yeah I just tried that and it worked, I feel like an idiot since it was so simple. The wiki guide is a little hard to read. Thank you for all of your help @bizziboiYou guys are da best <3 Link to comment Share on other sites More sharing options...
Developer bizziboi Posted July 29, 2015 Developer Share Posted July 29, 2015 @DaniDestruction, Cool, glad we got it to work Enjoy! 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.