Jump to content

[Linux] Cannot find .klei folder


Recommended Posts

Hello,

 

I wanted to host a dedicated server, and I've been following this guide: http://dont-starve-game.wikia.com/wiki/Guides/Don%E2%80%99t_Starve_Together_Dedicated_Servers

 

I have installed steamCMD and downloaded the game. Basically, I've finished the whole "Installation" part, but I got stuck at "Configuration" because I can't find ~/.klei/DoNotStarveTogether/

 

I am running an Ubuntu Linux server on an AWS EC2 Instance. I've look through entire folder directory, but I can't find it anywhere. Is there anyway I can download that folder? Or is there something else that I can do?

Hi @fakezombie,

 

you need to start your dedicated server one time for having .klei available

 

you can check my guide on linux, it's explain all step by step:

 

http://forums.kleientertainment.com/topic/59563-guide-how-to-setup-server-dedicated-cave-on-linux/

Hi! Thanks for your reply. I followed all your instructions, but got stuck at 14) Testing both servers

 

Here's my log:

$ tail -f /home/dst/.klei/DST_Overworld/log.txt

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

No auth token could be found.

To generate a server_token you must

open the console from a logged-in game

client with the tilda key (~) and type:

TheNet:GenerateServerToken()

This will create 'server_token.txt' in

your client settings directory. Copy this

into your server settings directory.

[CONNECT] PendingConnection::Reset(true)

 

The way I got my server token was to run the game on my own machine, and retrieve the server token as per the instructions above. I then 'scp'ed it into my server (so it's in the original text form - and has no typos)  into the /home/dst/.klei/DST_Overworld/ folder as stated. 

 

Here's what my DST_Overworld folder looks like:

~/.klei/DST_Overworld$ ls

chat_log.txt  log.txt  save  server_token.txt  settings.ini  worldgenoverride.lua

 

So the server_token.txt file is there. 

 

I'm not sure why it's still telling me that the auth token cannot be found. Any ideas on how to fix this?

If I remember correctly I also had problems using the server_token.txt key-file.
Alternatively you can copy your key into the settings.ini file, like this:

[account]server_token = my_server_token

If you do this, you don't need to take care of the NULL-delimiter at the
end of the file - just copy the text-part (the actual key) into the file.

Thank you, I restarted the server too while at it and it works now. The server is running, although I plan to add mods to it, hopefully it will go well.

 

I got some errors in after the server runs

Before someone is joining the server:

~/.klei/DST_Overworld$ tail -f /home/dst/.klei/DST_Overworld/log.txt Unload FE  Unload FE done  LOAD BE  LOAD BE: done Begin Session: 08C4BF3DD3B21CEAsaving to server_temp/server_save MiniMapComponent::AddAtlas( minimap/minimap_data.xml )Could not preload undefined prefab 0x1872ccf0 (FROMNUM)Loading Nav Grid OVERRIDE: setting season_start to autumn Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab) Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab) Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab) Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab) Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab) Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab) Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab) Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab) Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab) Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab) Can't find prefab spawnpoint SpawnSaveRecord [nil, spawnpoint] FAILED Reconstructing topology  ...Sorting points  ...Sorting edges  ...Connecting nodes  ...Validating connections  ...Housekeeping  ...Done! 1 uploads added to server. From server_tempAbout to start a shard with these settings:  ShardName: [SHDMASTER]  ShardID: 1  ShardRole: MASTER  MasterHost: (null)  MasterBind: 127.0.0.1  MasterPort: 11001[SHARD] STARTING MASTER SERVER[SHARD] Shard Server Started on port: 11001Telling Client our new session identifier: 08C4BF3DD3B21CEASim paused[Steam] SteamGameServer_Init (12345, 10999, 12346)[Steam] SteamGameServer_Init Success

and this one is after someone is joining the server:

[SHARD] Registering portal ID #1 Validating ID 1: world: <nil> (auto) available: false receives: 1 status: inactive (disabled by prefab) [SHARD] Registering portal ID #2 Validating ID 2: world: <nil> (auto) available: false receives: 2 status: inactive (disabled by prefab) [SHARD] Registering portal ID #3 Validating ID 3: world: <nil> (auto) available: false receives: 3 status: inactive (disabled by prefab) [SHARD] Registering portal ID #4 Validating ID 4: world: <nil> (auto) available: false receives: 4 status: inactive (disabled by prefab) [SHARD] Registering portal ID #5 Validating ID 5: world: <nil> (auto) available: false receives: 5 status: inactive (disabled by prefab) [SHARD] Registering portal ID #6 Validating ID 6: world: <nil> (auto) available: false receives: 6 status: inactive (disabled by prefab) [SHARD] Registering portal ID #7 Validating ID 7: world: <nil> (auto) available: false receives: 7 status: inactive (disabled by prefab) [SHARD] Registering portal ID #8 Validating ID 8: world: <nil> (auto) available: false receives: 8 status: inactive (disabled by prefab) [SHARD] Registering portal ID #9 Validating ID 9: world: <nil> (auto) available: false receives: 9 status: inactive (disabled by prefab) [SHARD] Registering portal ID #10 Validating ID 10: world: <nil> (auto) available: false receives: 10 status: inactive (disabled by prefab) SendHandShakeServerListing

There was no error while playing in the server though. Any idea what these errors mean?

Those are mostly warnings/notices and as long your servers runs, you can mostly ignore those.

It seems that you configured your server for sharding (connecting multiple servers). If this is not what you intended, you could remove the [shard] section from your settings.ini file. At the moment the server spins up as a master-server, which is probably unneeded in your case.

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.

×
  • Create New...