zynlnow Posted September 19, 2015 Share Posted September 19, 2015 TheNet:GenerateServerToken()command doesn't work! There is no "server_token.txt" in the directory "/My Documents/Klei/DoNotStarveTogether/". Link to comment https://forums.kleientertainment.com/forums/topic/57971-cant-generate-a-server-token/ Share on other sites More sharing options...
zynlnow Posted September 20, 2015 Author Share Posted September 20, 2015 can you help me,thanks! Link to comment https://forums.kleientertainment.com/forums/topic/57971-cant-generate-a-server-token/#findComment-674656 Share on other sites More sharing options...
jacklul Posted September 20, 2015 Share Posted September 20, 2015 I believe you can also click "Account" in the main menu and generate a token from there.All you will have to do now is to copy it to the clipboard and paste to settings.ini like that:[account]server_token = THE_TOKENthis replaces the requirement of server_token.txt Link to comment https://forums.kleientertainment.com/forums/topic/57971-cant-generate-a-server-token/#findComment-674658 Share on other sites More sharing options...
Developer Ipsquiggle Posted September 21, 2015 Developer Share Posted September 21, 2015 This command only works when you are logged into steam in a normal DST game. It will create the server_token.txt file in your save directory, which you can then copy into the save directory for your server. Link to comment https://forums.kleientertainment.com/forums/topic/57971-cant-generate-a-server-token/#findComment-674925 Share on other sites More sharing options...
zynlnow Posted September 21, 2015 Author Share Posted September 21, 2015 This command only works when you are logged into steam in a normal DST game. It will create the server_token.txt file in your save directory, which you can then copy into the save directory for your server. yea, but the command is not work when i am logged into steam and DST . It can't create the server_token.txt file in my save directory. c_connect("ip", 10999, "password")the connect command in the console mod not work. It seems my console of DST is broken. What's more, verifying integrity of game cache can't solve the problem. Link to comment https://forums.kleientertainment.com/forums/topic/57971-cant-generate-a-server-token/#findComment-674933 Share on other sites More sharing options...
zynlnow Posted September 26, 2015 Author Share Posted September 26, 2015 when i type command "TheNet:GenerateServerToken()" or "c_connect("ip", 10999, "password")" in cpnsole, it always sayattempt to call a nul value what happened? help me, thanks! Link to comment https://forums.kleientertainment.com/forums/topic/57971-cant-generate-a-server-token/#findComment-676011 Share on other sites More sharing options...
zynlnow Posted September 27, 2015 Author Share Posted September 27, 2015 Uninstalling the game and installing it again, the problem can be solved. Link to comment https://forums.kleientertainment.com/forums/topic/57971-cant-generate-a-server-token/#findComment-676187 Share on other sites More sharing options...
Developer Ipsquiggle Posted September 28, 2015 Developer Share Posted September 28, 2015 Whoops, sorry I missed your further question here... Well, I'm glad the problem was resolved! Link to comment https://forums.kleientertainment.com/forums/topic/57971-cant-generate-a-server-token/#findComment-676539 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.