Jump to content

Dedicated Server Mods, Files, and Locations for Overworld and Caves


Recommended Posts

Hi guys,

This is driving me a bit crazy; I've been searching for ages and can't find a definitive answer. Which files are required for running mods on a server with a cave server and where should they be located?

Does the server still use modoverrides.lua or has it gone back to modsettings.lua and dedicated_server_mods_setup.lua?

Is it in the parent folder "user\Documents\Klei\MyDediServer", the child folders "Master" and "Caves", or a "mods" folder in the parent folder?

I used to run a dedicated server prior to Caves going live and modoverrides.lua worked nicely.

Here was my current setup (files attached):

  • modoverrides.lua in parent and child folders
  • mods folder with modsettings.lua and dedicated_server_mods_setup.lua

Here was the dialogue from the master server .exe:

Spoiler

[00:00:00]: PersistRootStorage is now APP:Klei//DoNotStarveTogether/MyDediServer/Master/
[00:00:00]: Starting Up
[00:00:00]: Version: 170618
[00:00:00]: Current time: Wed Mar 23 21:16:46 2016

[00:00:00]: Don't Starve Together: 170618 WIN32
NNN Build Date: 340
[00:00:00]: Parsing command line
[00:00:00]: Command Line Arguments: -console -cluster MyDediServer -shard Master
[00:00:00]: [WARNING] -console has been deprecated: Use the [MISC] / console_enabled setting instead.
[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' (7992)
[00:00:00]: CurlRequestManager::ClientThread::Main()
[00:00:00]: ProfileIndex:5.21
[00:00:00]: [Connect] PendingConnection::Reset(true)
[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 C:\Install Images\steamcmd\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//DoNotStarveTogether/MyDediServer/blocklist.txt (Failure)
[00:00:00]: THREAD - started 'ConsoleInput' (6112)
[00:00:00]: OnLoadPermissionList: APP:Klei//DoNotStarveTogether/MyDediServer/adminlist.txt (Failure)
[00:00:00]: OnLoadUserIdList: APP:Klei//DoNotStarveTogether/MyDediServer/whitelist.txt (Failure)
[00:00:00]: Token retrieved from: APP:Klei//DoNotStarveTogether/MyDediServer/cluster_token.txt
[00:00:00]: Token retrieved from: APP:Klei//DoNotStarveTogether/MyDediServer/cluster_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(166,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]: ERROR: Failed to load modoverrides.lua
[00:00:00]: 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]: bloom_enabled       false
[00:00:01]: loaded saveindex
[00:00:01]: OnFilesLoaded()
[00:00:01]: OnUpdatePurchaseStateComplete
[00:00:02]:     Load FE
[00:00:03]:     Load FE: done
[00:00:03]: ModIndex: Load sequence finished successfully.
[00:00:03]: Reset() returning
[00:00:05]: [200] Account Communication Success (6)
[00:00:05]: Received (KU_2qz4OjEY) from TokenPurpose
[00:00:05]: Starting Dedicated Server Game
[00:00:05]: Network tick rate: U=15(2), D=0
[00:00:05]: About to start a server with the following settings:
[00:00:05]:   Dedicated: true
[00:00:05]:   Online: true
[00:00:05]:   Passworded: true
[00:00:05]:   ServerPort: 11000
[00:00:05]:   SteamAuthPort: 8768
[00:00:05]:   SteamMasterServerPort: 27018
[00:00:05]:   ClanID: false
[00:00:05]:   ClanOnly: false
[00:00:05]:   ClanAdmin: false
[00:00:05]:   LanOnly: false
[00:00:05]:   FriendsOnly: false
[00:00:05]:   EnableAutosaver: true
[00:00:05]:   PVP: false
[00:00:05]:   MaxPlayers: 2
[00:00:05]:   GameMode: endless
[00:00:05]:   OverridenDNS:
[00:00:05]:   PauseWhenEmpty: true
[00:00:05]:   InternetBroadcasting: true
[00:00:05]:   Intent: cooperative
[00:00:05]: [Warning] Could not confirm port 11000 is open in the firewall.
[00:00:05]: Online Server Started on port: 11000
[00:00:05]: Collecting garbage...
[00:00:05]: lua_gc took 0.02 seconds
[00:00:05]: ~ShardLuaProxy()
[00:00:05]: ~ItemServerLuaProxy()
[00:00:05]: ~InventoryLuaProxy()
[00:00:05]: ~NetworkLuaProxy()
[00:00:05]: ~SimLuaProxy()
[00:00:05]: lua_close took 0.05 seconds
[00:00:05]: ReleaseAll
[00:00:05]: ReleaseAll Finished
[00:00:05]: cGame::StartPlaying
[00:00:05]: LOADING LUA
[00:00:05]: DoLuaFile scripts/main.lua
[00:00:05]: DoLuaFile loading buffer scripts/main.lua
[00:00:05]: scripts/main.lua(166,1) running main.lua

[00:00:05]: loaded modindex
[00:00:05]: ModIndex: Beginning normal load sequence for dedicated server.

[00:00:05]: ERROR: Failed to load modoverrides.lua
[00:00:05]: LOADING LUA SUCCESS
[00:00:05]: PlayerDeaths could not load morgue
[00:00:05]: PlayerHistory could not load player_history
[00:00:05]: bloom_enabled       false
[00:00:05]: loaded saveindex
[00:00:05]: OnFilesLoaded()
[00:00:05]: OnUpdatePurchaseStateComplete
[00:00:05]:     Unload FE
[00:00:05]:     Unload FE done
[00:00:06]:     LOAD BE
[00:00:08]:     LOAD BE: done
[00:00:08]: Loading world: session/073E6CD1EBB64378/0000000003
[00:00:08]: Save file is at version 1
[00:00:09]: Begin Session: 073E6CD1EBB64378
[00:00:09]: saving to server_temp/server_save
[00:00:09]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml )
[00:00:09]: Could not preload undefined prefab 0x1872ccf0 (FROMNUM)
[00:00:10]: Loading Nav Grid
[00:00:10]: setting     summerlength    15
[00:00:10]: setting     isnightmaredawn false
[00:00:10]: setting     elapseddaysinseason     0
[00:00:10]: setting     isfullmoon      false
[00:00:10]: setting     moisture        0.033333335071802
[00:00:10]: setting     cavephase       day
[00:00:10]: setting     isnightmarewild false
[00:00:10]: setting     moonphase       new
[00:00:10]: setting     precipitationrate       0
[00:00:10]: setting     iswet   false
[00:00:10]: setting     winterlength    15
[00:00:10]: setting     temperature     30.033215972026
[00:00:10]: setting     isnightmarewarn false
[00:00:10]: setting     iswinter        false
[00:00:10]: setting     moistureceil    637.66595458984
[00:00:10]: setting     isday   true
[00:00:10]: setting     israining       false
[00:00:10]: setting     remainingdaysinseason   20
[00:00:10]: setting     precipitation   none
[00:00:10]: setting     wetness 0
[00:00:10]: setting     isnightmarecalm false
[00:00:10]: setting     timeinphase     0.000555674235026
[00:00:10]: setting     isdusk  false
[00:00:10]: setting     iscavedusk      false
[00:00:10]: setting     isautumn        true
[00:00:10]: setting     issnowing       false
[00:00:10]: setting     iscaveday       true
[00:00:10]: setting     phase   day
[00:00:10]: setting     snowlevel       0
[00:00:10]: setting     issnowcovered   false
[00:00:10]: setting     autumnlength    20
[00:00:10]: setting     pop     5.2273976416449e-005
[00:00:10]: setting     nightmaretime   0
[00:00:10]: setting     springlength    20
[00:00:10]: setting     isspring        false
[00:00:10]: setting     nightmarephase  none
[00:00:10]: setting     season  autumn
[00:00:10]: setting     time    0.000277837117513
[00:00:10]: setting     iscavenight     false
[00:00:10]: setting     cycles  0
[00:00:10]: setting     isnight false
[00:00:10]: setting     nightmaretimeinphase    0
[00:00:10]: setting     issummer        false
[00:00:13]: Reconstructing topology
[00:00:13]:     ...Sorting points
[00:00:13]:     ...Sorting edges
[00:00:13]:     ...Connecting nodes
[00:00:13]:     ...Validating connections
[00:00:13]:     ...Housekeeping
[00:00:13]:     ...Done!
[00:00:13]: 1 uploads added to server. From server_temp
[00:00:13]: About to start a shard with these settings:
[00:00:13]:   ShardName: [SHDMASTER]
[00:00:13]:   ShardID: 1
[00:00:13]:   ShardRole: MASTER
[00:00:13]:   MasterHost: (null)
[00:00:13]:   MasterBind: 127.0.0.1
[00:00:13]:   MasterPort: 10889
[00:00:13]: [Shard] Starting master server
[00:00:13]: [Warning] Could not confirm port 10889 is open in the firewall.
[00:00:13]: [Shard] Shard server started on port: 10889
[00:00:13]: Telling Client our new session identifier: 073E6CD1EBB64378
[00:00:13]: ModIndex: Load sequence finished successfully.
[00:00:14]: Reset() returning
[00:00:14]: [Steam] SteamGameServer_Init(8768, 11000, 27018)
Setting breakpad minidump AppID = 322330
[00:00:14]: [Steam] SteamGameServer_Init success
[00:00:14]: Validating portal[6] <-> 2419583612[6] (inactive)
[00:00:14]: Validating portal[7] <-> 2419583612[7] (inactive)
[00:00:14]: Validating portal[5] <-> 2419583612[5] (inactive)
[00:00:14]: Validating portal[8] <-> 2419583612[8] (inactive)
[00:00:14]: Validating portal[2] <-> 2419583612[2] (inactive)
[00:00:14]: Validating portal[4] <-> 2419583612[4] (inactive)
[00:00:14]: Validating portal[3] <-> 2419583612[3] (inactive)
[00:00:14]: Validating portal[10] <-> 2419583612[10] (inactive)
[00:00:14]: Validating portal[1] <-> 2419583612[1] (inactive)
[00:00:14]: Validating portal[9] <-> 2419583612[9] (inactive)
[00:00:14]: Sim paused
[00:00:15]: [Shard] Slave Caves(2419583612) connected: [LAN] 127.0.0.1
[00:00:15]: [Shard] Slave Caves(2419583612) ready!
[00:00:15]: World 2419583612 is now connected
[00:00:15]: Validating portal[6] <-> 2419583612[6] (disabled)
[00:00:15]: Validating portal[7] <-> 2419583612[7] (disabled)
[00:00:15]: Validating portal[5] <-> 2419583612[5] (disabled)
[00:00:15]: Validating portal[8] <-> 2419583612[8] (disabled)
[00:00:15]: Validating portal[2] <-> 2419583612[2] (disabled)
[00:00:15]: Validating portal[4] <-> 2419583612[4] (disabled)
[00:00:15]: Validating portal[3] <-> 2419583612[3] (disabled)
[00:00:15]: Validating portal[10] <-> 2419583612[10] (disabled)
[00:00:15]: Validating portal[1] <-> 2419583612[1] (disabled)
[00:00:15]: Validating portal[9] <-> 2419583612[9] (disabled)
[00:08:45]: Failed to send server listings
[00:08:45]: Failure error code received: 504
[00:08:45]: With Body:

 

 

Thanks,

Risk

 

 

dedicated_server_mods_setup.lua

modoverrides.lua

modsettings.lua

Link to comment
Share on other sites

Realised the answer, I'd been stupid - I think.

The 'mods' folder isn't necessary in user\Documents\Klei\MyDediServer, it needs to be in the steamapps folder of your dedicated server .exe (i.e. the parent of \Don'tStarveTogetherDedicatedServer\bin). So the correct folder is \Don'tStarveTogetherDedicatedServer\mods.

Hope this helps anyone else.

However, this seems to cause problems with my Caves server, eventually leading to it to shut down (attached log). Can anyone help me figure out why? Is it because the mods are incompatible with Caves?

server_log.txt

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