bountygiver Posted January 28, 2015 Share Posted January 28, 2015 I had followed the instructions to get my token and placed the file in the same directory, but the dedicated server console still reports authentication failed and ask me to generate a token, I have tried generating a few more and none of them work... I installed the server from steam -> tools By the way my copy of DST is a gift from my brother's frontier pack, will that affect my ability to host dedicated servers? Link to comment Share on other sites More sharing options...
rezecib Posted January 28, 2015 Share Posted January 28, 2015 @bountygiver, No, that won't affect it. Hmm... The instructions do say to copy the server_token.txt file, but this isn't what was required before... Maybe that's why so many people are having problems? I have mine as the last line of my settings.ini, under [account]:server_token = blahblahblahTry that and see if it works? Link to comment Share on other sites More sharing options...
Demiskeleton Posted January 28, 2015 Share Posted January 28, 2015 Me and a friend are having the same problem, tried above suggestion and it didn't work. Link to comment Share on other sites More sharing options...
TonyV Posted January 28, 2015 Share Posted January 28, 2015 Put the server_token.txt file either in your Documents\Klei\DoNotStarveTogether folder (Windows) or in ~/.klei/DoNotStarveTogether (Linux). If you're using a -conf_dir option, put it in a subdirectory of the Klei directory based on the conf_dir name. For example, if you're running the dedicated server with -conf_dir configs, then the server_token.txt file should go in Documents\Klei\configs (Windows) or ~/.klei/configs (Linux) Link to comment Share on other sites More sharing options...
Demiskeleton Posted January 28, 2015 Share Posted January 28, 2015 Looking at the log file it says "Server token retrieved from: server_token.txt"so it's getting it but then at the end it just gives the [200] Account Failed (6): "E_EXPIRED_TOKEN" I must be doing something stupid but simple wrong Link to comment Share on other sites More sharing options...
rezecib Posted January 28, 2015 Share Posted January 28, 2015 @Demiskeleton, This is what the wiki says about that error: If you get the error Account Failed (6): "E_EXPIRED_TOKEN" you’ll want to verify that your saved the settings.ini file with the server token after you closed the game client, or your change will get overwritten. Link to comment Share on other sites More sharing options...
Demiskeleton Posted January 28, 2015 Share Posted January 28, 2015 I figured it out!I took the server token and put it in my settings.ini as server_token = and I also added my player token =both under the [account]finally deleted the server_token.txt file to something else (don't think this does anything but did it anyway) thanks for all the help guys Link to comment Share on other sites More sharing options...
Developer MarkL Posted January 28, 2015 Developer Share Posted January 28, 2015 @Demiskeleton, Very weird that fixed it for you- maybe the token is loading improperly from the file in some cases. Thank you for posting your solution of putting the token into settings.ini. Link to comment Share on other sites More sharing options...
bountygiver Posted January 29, 2015 Author Share Posted January 29, 2015 Alright after trying those method it still doesn't work, I think this is because the server uses "/" instead of "\" even when it is on Windows, since the log file also reported unable to create save files with the erroneous path Link to comment Share on other sites More sharing options...
bountygiver Posted January 29, 2015 Author Share Posted January 29, 2015 nevermind, I found the real culprit, the path actually starts from /Documents/Klei and you have to use relative path only 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.