Jump to content

Trying to set up dedicated server, but no go


Recommended Posts

I read this page http://dont-starve-game.wikia.com/wiki/Don%E2%80%99t_Starve_Together_Dedicated_Servers and tried to follow it but I guess I missed something.

 

Inside Documents\Klei\DoNotStarveTogether

save\

chat_log.txt 0 KB

log.txt 66 KB

server_token.txt 1 KB

settings.ini 1 KB

 

Inside settings.ini

 

[sTEAM]
DISABLECLOUD = true
 
 
[MISC]
CONSOLE_ENABLED = true
netbook_mode = false
vibration = false
showpassword = false
autosubscribemods = true
 
 
[graphics]
fullscreen_width = 1920
fullscreen_height = 1080
display_id = 0
refresh_rate = 60
fullscreen = true
use_small_textures = false
screenshake = true
bloom = false
distortion = false
HUDSize = 5
 
 
[audio]
volume_ambient = 10
volume_sfx = 10
volume_music = 10
 
 
[account]
token = cut
dedicated_lan_server = true
 
 
[network]
default_server_name = SL_DST_fun
default_server_description = Just playing DST
max_players = 4
game_mode = endless
enable_vote_kick = true
enable_snapshots = false
pvp = false
enable_autosaver = true
connection_timeout = 8000
server_save_slot = 1
pause_when_empty = false
 
 
Run the shrotcut in desktop -- does bunch of stuff and then poof nothing.
Windows 7.
I see errors in log.
 
 
[00:00:08]: [string "scripts/prefabs/statueruins.lua"]:206: variable 'GetNightmareClock' is not declared
 
Edit:
Ok I had a previously played server slot 1. Deleted it and reran the server.
Now it doesn't show above error but then nothing. The log ends with below
 
[00:00:15]: Begin Session: 03200013D39C9CD7
[00:00:15]: saving to server/03200013D39C9CD7/server_save
[00:00:15]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml )
[00:00:16]: Loading Nav Grid
[00:00:20]: 1 uploads added to server. From server/03200013D39C9CD7
[00:00:20]: Telling Client our new session identifier: 03200013D39C9CD7
 
Is the server running?
 

Edit:

Unable to find "SL_DST_fun" on my other computer (same network).

Something with router?

 

Edit:
I actually don't  have worldgenoverride.lua yet...

Link to comment
Share on other sites

If you set the last filter option in the DST client's server filter options, "Show LAN", to YES, do you then see your server's listing?  (Remember to set it back to NO when done testing)

 

Also, as a test, if you set:

 

dedicated_lan_server

 

to false, are you then able to see your server in the client's server listing?

Link to comment
Share on other sites

Two issues:

1) When I switch to lan ( = true ), it's not showing anywhere

2) So for now I'll use lan = false. However, now it says it doesn't have any mods.

 

I already have modoverrides.lua.

Inside (snippet):

 

return {
["workshop-343753877"] = { enabled = true  } --Status Announcements
    ,["workshop-343762271"] = { enabled = true  } --More DST Characters
    ,["workshop-345692228"] = { enabled = true  } --Minimap HUD
    ,["workshop-347079953"] = { enabled = true  } --Display Food Values
    ,["workshop-347360448"] = { enabled = true  } --Where's My Beefalo
    ,["workshop-386924851"] = { enabled = true ,  --Craftable Krampus Sack
configuration_options = {
CCS_Difficulty = "Easy"
    }
  }
}

 

Do I also need dedicated_server_mods_setup.lua?

 

Link to comment
Share on other sites

I set those two lua files and the mods are not being loaded.

What am I missing?

 

Content of dedicated_server_mods_setup.lua (snippet)

ServerModSetup("343753877") --Status Announcements
ServerModSetup("343762271") --More DST Characters
ServerModSetup("345692228") --Minimap HUD
ServerModSetup("347079953") --Display Food Values
ServerModSetup("347360448") --Where's My Beefalo
ServerModSetup("386924851") --Craftable Krampus Sack

 

Both are in same folder, same with settings.ini, server_token.txt, log.txt, chat_log.txt and the "save" folder.

 

Edit:

Ok I moved dedicated_server_mods_setup.lua to common\Don't Starve Together Dedicated Server\mods and now it's download all mods. Let's see if it's working now...

 

Edit:

What the hell! It's still showing as no mods.

 

Edit:

Shutdown, reset etc -- and now it's showing as mods enabled.

Yay, it's working now!

Link to comment
Share on other sites

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...