Jump to content

Caves Dedicated Server Problem (Win7 64 bit)


Recommended Posts

Hey guys, I have some trouble getting the normal overworld + caves dedicated server thing running.

The main overworld server works fine, I think. The problem is with the caves server.

 

I start the servers with this batch file:

F:
cd "SteamLibrary\steamapps\common\Don't Starve Together Dedicated Server\bin"
Start  "DST_Overworld" dontstarve_dedicated_server_nullrenderer.exe -console -conf_dir DoNotStarveTogetherDedicated

timeout 30
Start  "DST_Caves" dontstarve_dedicated_server_nullrenderer.exe -console -conf_dir DST_Cave

The timeout is to make sure the main server has started first.

 

 

Dir Layout:

For the Overworld map:

 

DoNotStarveTogetherDedicated/settings.ini

[MISC]
CONSOLE_ENABLED = true
autocompiler_enabled = true
wathgrithrfont = true
netbook_mode = false
vibration = false
showpassword = false
autosubscribemods = false


[graphics]
windowed_width = 1280
windowed_height = 720
window_x = 231
window_y = 58
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


[account]
token = Yeah let's not post this


[network]
default_server_name = sarijopen
server_password = somepass
default_server_description = boema in the house
server_port = 10999
max_players = 1 .. 16
pvp = false
game_mode = survival
enable_snapshots = true
pause_when_empty = true
server_save_slot = 1..5


[audio]
volume_ambient = 10
volume_sfx = 10
volume_music = 10


[shard]
shard_enable = true
is_master = true
master_port = 11200
cluster_key = somepass

 

 

DoNotStarveTogetherDedicated/log.txt

[00:00:00]: Starting Up
[00:00:00]: Version: 148470
[00:00:00]: Current time: Wed Oct 14 16:30:09 2015

[00:00:00]: Don't Starve Together: 148470 WIN32
NNN Build Date: 2015-09-01_13-20-47
[00:00:00]: Parsing command line
[00:00:00]: Command Line Arguments: -console -conf_dir DoNotStarveTogetherDedicated
[00:00:00]: Initializing Minidump handler
[00:00:00]: ....Done
[00:00:00]: Fixing DPI
[00:00:00]: ...Done
[00:00:00]: THREAD - started 'GAClient' (2724)
[00:00:00]: HttpClient2::ClientThread::Main()
[00:00:00]: ProfileIndex:5.17
[00:00:00]: Network tick rate: U=15(2), D=0
[00:00:00]: Network tick rate: U=15(2), D=0
[00:00:00]: Authorized application F:\SteamLibrary\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/DoNotStarveTogetherDedicated/save/blocklist.txt (Failure)
[00:00:00]: THREAD - started 'ConsoleInput' (10492)
[00:00:00]: OnLoadPermissionList: APP:Klei/DoNotStarveTogetherDedicated/save/adminlist.txt (Failure)
[00:00:00]: OnLoadUserIdList: APP:Klei/DoNotStarveTogetherDedicated/save/whitelist.txt (Failure)
[00:00:00]: Server token retrieved from: server_token.txt
[00:00:00]: cGame::InitializeOnMainThread
[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:01]:     Load FE    
[00:00:01]:     Load FE: done    
[00:00:01]: ModIndex: Load sequence finished successfully.    
[00:00:01]: Reset() returning
[00:00:03]: [200] Account Communication Success (6)
[00:00:03]: [ACCOUNT_ACTION_TOKEN_PURPOSE] Received UserId from TokenPurpose: KU_OJd3FbQd
[00:00:03]: Starting Dedicated Server Game    
[00:00:03]: Network tick rate: U=15(2), D=0
[00:00:03]: [Warning] Could not confirm port 10999 is open in the firewall.
[00:00:03]: Setting up socket descriptors
[00:00:03]: Online Server Started on port: 10999
[00:00:03]: Collecting garbage...
[00:00:03]: lua_gc took 0.01 seconds
[00:00:03]: ~NetworkLuaProxy()
[00:00:03]: ~SimLuaProxy()
[00:00:03]: lua_close took 0.03 seconds
[00:00:03]: ReleaseAll
[00:00:03]: ReleaseAll Finished
[00:00:03]: cGame::StartPlaying
[00:00:03]: LOADING LUA
[00:00:03]: DoLuaFile scripts/main.lua
[00:00:03]: DoLuaFile loading buffer scripts/main.lua
[00:00:03]: scripts/main.lua(169,1) running main.lua
    
[00:00:03]: loaded modindex    
[00:00:03]: ModIndex: Beginning normal load sequence for dedicated server.
    
[00:00:03]: LOADING LUA SUCCESS
[00:00:03]: PlayerDeaths could not load morgue    
[00:00:03]: PlayerHistory could not load player_history    
[00:00:03]: loaded profile    
[00:00:03]: bloom_enabled    false    
[00:00:03]: loaded saveindex    
[00:00:03]: OnFilesLoaded()    
[00:00:03]: OnUpdatePurchaseStateComplete    
[00:00:03]:     Unload FE    
[00:00:03]:     Unload FE done    
[00:00:04]:     LOAD BE    
[00:00:06]:     LOAD BE: done    
[00:00:06]: Deserialize world session from session/05A0006DDDBA30AD/0000000001    
[00:00:06]: Save file is at version 1    
[00:00:06]: Begin Session: 05A0006DDDBA30AD
[00:00:06]: saving to server_temp/server_save    
[00:00:06]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml )
[00:00:07]: Loading Nav Grid    
[00:00:09]: Reconstructing topology    
[00:00:09]:     ...Sorting points    
[00:00:09]:     ...Sorting edges    
[00:00:09]:     ...Connecting nodes    
[00:00:09]:     ...Validating connections    
[00:00:09]:     ...Housekeeping    
[00:00:09]:     ...Done!    
[00:00:09]: 1 uploads added to server. From server_temp
[00:00:09]: Telling Client our new session identifier: 05A0006DDDBA30AD
[00:00:09]: ModIndex: Load sequence finished successfully.    
[00:00:10]: Reset() returning
[00:00:10]: SteamGameServer_Init Success

 

 

 

Cave server:

DST_Cave/settings.ini

[MISC]
CONSOLE_ENABLED = true
autocompiler_enabled = true
wathgrithrfont = true
netbook_mode = false
vibration = false
showpassword = false
autosubscribemods = false


[graphics]
windowed_width = 1280
windowed_height = 720
window_x = 231
window_y = 58
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


[account]
token = No Really

[network]
default_server_name = sarijopen
server_password = somepass

default_server_description = boema in the house
server_port = 11001
max_players = 1 .. 16
pvp = false
game_mode = survival
enable_snapshots = true
pause_when_empty = true
server_save_slot = 1..5


[audio]
volume_ambient = 10
volume_sfx = 10
volume_music = 10


[shard]
shard_enable = true
is_master = false
master_ip = 127.0.0.1
master_port = 11200
shard_name = caves
cluster_key = somepass

 

DST_Cave/worldgenoverride.lua

return {
override_enabled = true,
preset="DST_CAVE",
}

 

DST_Cave/log.txt

[00:00:00]: Starting Up
[00:00:00]: Version: 148470
[00:00:00]: Current time: Wed Oct 14 16:30:26 2015

[00:00:00]: Don't Starve Together: 148470 WIN32
NNN Build Date: 2015-09-01_13-20-47
[00:00:00]: Parsing command line
[00:00:00]: Command Line Arguments: -console -conf_dir DST_Cave
[00:00:00]: Initializing Minidump handler
[00:00:00]: ....Done
[00:00:00]: Fixing DPI
[00:00:00]: ...Done
[00:00:00]: THREAD - started 'GAClient' (9932)
[00:00:00]: HttpClient2::ClientThread::Main()
[00:00:00]: ProfileIndex:4.35
[00:00:00]: Network tick rate: U=15(2), D=0
[00:00:00]: Network tick rate: U=15(2), D=0
[00:00:00]: Authorized application F:\SteamLibrary\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/DST_Cave/save/blocklist.txt (Failure)
[00:00:00]: OnLoadPermissionList: APP:Klei/DST_Cave/save/adminlist.txt (Failure)
[00:00:00]: OnLoadUserIdList: APP:Klei/DST_Cave/save/whitelist.txt (Failure)
[00:00:00]: THREAD - started 'ConsoleInput' (7404)
[00:00:00]: Server token retrieved from: server_token.txt
[00:00:00]: cGame::InitializeOnMainThread
[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:01]: scripts/main.lua(169,1) running main.lua
    
[00:00:01]: loaded modindex    
[00:00:01]: ModIndex: Beginning normal load sequence for dedicated server.
    
[00:00:01]: DownloadMods(0)
[00:00:01]: FMOD Error: An invalid object handle was used.
[00:00:01]: LOADING LUA SUCCESS
[00:00:01]: PlayerDeaths could not load morgue    
[00:00:01]: PlayerHistory could not load player_history    
[00:00:01]: loaded profile    
[00:00:01]: bloom_enabled    false    
[00:00:01]: loaded saveindex    
[00:00:01]: OnFilesLoaded()    
[00:00:01]: OnUpdatePurchaseStateComplete    
[00:00:02]:     Load FE    
[00:00:02]:     Load FE: done    
[00:00:02]: ModIndex: Load sequence finished successfully.    
[00:00:02]: Reset() returning
[00:00:04]: [200] Account Communication Success (6)
[00:00:04]: [ACCOUNT_ACTION_TOKEN_PURPOSE] Received UserId from TokenPurpose: KU_OJd3FbQd
[00:00:04]: Starting Dedicated Server Game    
[00:00:04]: Network tick rate: U=15(2), D=0
[00:00:04]: [Warning] Could not confirm port 11001 is open in the firewall.
[00:00:04]: Setting up socket descriptors
[00:00:04]: Online Server Started on port: 11001
[00:00:04]: Collecting garbage...
[00:00:04]: lua_gc took 0.01 seconds
[00:00:04]: ~NetworkLuaProxy()
[00:00:04]: ~SimLuaProxy()
[00:00:04]: lua_close took 0.02 seconds
[00:00:04]: ReleaseAll
[00:00:04]: ReleaseAll Finished
[00:00:04]: cGame::StartPlaying
[00:00:04]: LOADING LUA
[00:00:04]: DoLuaFile scripts/main.lua
[00:00:04]: DoLuaFile loading buffer scripts/main.lua
[00:00:04]: scripts/main.lua(169,1) running main.lua
    
[00:00:04]: loaded modindex    
[00:00:04]: ModIndex: Beginning normal load sequence for dedicated server.
    
[00:00:04]: LOADING LUA SUCCESS
[00:00:04]: PlayerDeaths could not load morgue    
[00:00:04]: PlayerHistory could not load player_history    
[00:00:04]: loaded profile    
[00:00:04]: bloom_enabled    false    
[00:00:04]: loaded saveindex    
[00:00:04]: OnFilesLoaded()    
[00:00:04]: OnUpdatePurchaseStateComplete    
[00:00:04]: Load Slot: ... generating new world    
[00:00:04]: WorldSim::SimThread::SimThread()
[00:00:04]: WorldSim::SimThread::SimThread() complete
[00:00:04]: THREAD - started 'WorldSim' (7120)
[00:00:04]: WorldSim::SimThread::Main()
[00:00:04]: DoLuaFile scripts/worldgen_main.lua
[00:00:04]: ModIndex: Load sequence finished successfully.    
[00:00:04]: Reset() returning
[00:00:04]: DoLuaFile loading buffer scripts/worldgen_main.lua
[00:00:04]: DLC enabled :     false    
[00:00:04]: scripts/worldgen_main.lua(79,1) running worldgen_main.lua
    
[00:00:04]: scripts/worldgen_main.lua(81,1) SEED =     1444833030    
[00:00:04]: scripts/worldgen_main.lua(484,1) WORLDGEN PRESET:     SURVIVAL_TOGETHER    
[00:00:04]: scripts/worldgen_main.lua(492,1) WORLDGEN LEVEL ID:     1    
[00:00:04]: scripts/worldgen_main.lua(499,1)
#######
#
# Generating Normal Mode Together Forever Level
#
#######
    
[00:00:04]: DoLuaFile Error: scripts/worldgen_main.lua:308: bad argument #1 to 'pairs' (table expected, got string)
LUA ERROR stack traceback:
        =[C] in function 'pairs'
        scripts/worldgen_main.lua(308,1) in function 'OverrideTweaks'
        scripts/worldgen_main.lua(506,1)
        =(tail call) ?
        =(tail call) ?
[00:00:04]: scripts/worldgen_main.lua:308: bad argument #1 to 'pairs' (table expected, got string)
LUA ERROR stack traceback:
        =[C] in function 'pairs'
        scripts/worldgen_main.lua(308,1) in function 'OverrideTweaks'
        scripts/worldgen_main.lua(506,1)
        =(tail call) ?
        =(tail call) ?
[00:00:04]: Error loading worldgen_main.lua
[00:00:04]: WorldSim::SimThread::Main() ERROR
[00:00:04]: scripts/worldgen_main.lua:308: bad argument #1 to 'pairs' (table expected, got string)
LUA ERROR stack traceback:
        =[C] in function 'pairs'
        scripts/worldgen_main.lua(308,1) in function 'OverrideTweaks'
        scripts/worldgen_main.lua(506,1)
        =(tail call) ?
        =(tail call) ?
[00:00:04]: scripts/worldgen_main.lua:308: bad argument #1 to 'pairs' (table expected, got string)
LUA ERROR stack traceback:
        =[C] in function 'pairs'
        scripts/worldgen_main.lua(308,1) in function 'OverrideTweaks'
        scripts/worldgen_main.lua(506,1)
        =(tail call) ?
        =(tail call) ?    
[00:00:04]: SCRIPT ERROR! Showing error screen    
[00:00:04]: WorldSim::SimThread::Main() complete
 

 

It seems like it's not seeing the DST_CAVE preset in worldgenoverride.lua

 

What am I missing here?

This happened to me also. It's an easy fix if you had the same issue as me. Most likely your "worldgenoverride.lua" is probably "worldgenoverride.lua.txt". The reason why it still has a .txt even though you only see .lua is because your windows explorer probably has extensions hidden that's why it's still a .txt even though you named it .lua

 

Hope this helps. :)

Well, long story short: I was stupid.

Tip for other people: Do not use steamcmd if you don't have to. You can easily download the dedicated server through the GUI as described here.

Don't forget to set it to the beta version though! (Right click on the game -> properties then there's beta somewhere in the dialog)

 

I assumed steamcmd would automagically detect your Steam GUI settings and install paths and all that jazz. Guess what, it doesn't! Games downloaded through steamcmd are saved to the dir steamcmd is launched from by default. You can pass all sorts of options to it to solve this stuff, but honestly it's not worth the trouble unless you want to deploy to a hundred servers IMHO.

This should have been an wasy spot for me as the build number is the first thing that pops up in the logs. The dedicated server I was running had an old non beta build number, so now I have everything running without the caves server shutting down. It seems to connect, but i have explored a lot in god mode, and haven't found a cave entrance yet.

 

 

I tried teleporting to a cave entrance by using the

c_gonext("cave_entrance")​

command, but to no avail

log snippet:

[00:15:43]: [oboema:KU_OJd3FbQd] ReceiveRemoteExecute(c_gonext("cave_entrance")) @(-106.98, 49.51)[00:15:43]: Finding a     cave_entrance    [00:15:43]: Could not find any objects matching 'cave_entrance'.   

I used this command to teleport to a flower and this did work, so either there is no cave entrance or you can only jump to explored objects.

 

I'll post my logs later, right now there is some delicious food waiting for my stomach.

 

 

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