Jump to content

Dedicated server not acknowledging worldgenoverride.lua


Recommended Posts

Hey guys,

 

Just trying to setup a custom dedicated server with a few tweaks to world gen.  I'm not using a custom config directory, so it is default to \klei\DoNotStarveTogether\worldgenoverride.lua.  The contents:

 

return {        override_enabled = true,        unprepared = { -- "never", "rare", "default", "often", "always"                berrybush = "default",                cactus = "default",                carrot = "default",                mushroom = "default",        },        misc = {                autumn = "verylongseason", -- "noseason", "veryshortseason", "shortseason", "default", "longseason", "verylongseason", "random"                boons = "default", -- "never", "rare", "default", "often", "always"                branching = "most", -- "never", "least", "default", "most"                day = "longday", -- "default", "longday", "longdusk", "longnight", "noday", "nodusk", "nonight", "onlyday", "onlydusk", "onlynight"                frograin = "default", -- "never", "rare", "default", "often", "always"                lightning = "default", -- "never", "rare", "default", "often", "always"                loop = "always", -- "never", "default", "always"                season_start = "default", -- "default", "winter", "spring", "summer", "random"                spring = "verylongseason", -- "noseason", "veryshortseason", "shortseason", "default", "longseason", "verylongseason", "random"                summer = "verylongseason", -- "noseason", "veryshortseason", "shortseason", "default", "longseason", "verylongseason", "random"                touchstone = "always", -- "never", "rare", "default", "often", "always"                weather = "default", -- "never", "rare", "default", "often", "always"                wildfires = "default", -- "never", "rare", "default", "often", "always"                winter = "verylongseason", -- "noseason", "veryshortseason", "shortseason", "default", "longseason", "verylongseason", "random"                world_size = "huge", -- "default", "medium", "large", "huge"        },        animals = { -- "never", "rare", "default", "often", "always"                alternatehunt = "default",                angrybees = "default",                beefalo = "default",                beefaloheat = "default",                bees = "default",                birds = "default",                butterfly = "default",                buzzard = "default",                catcoon = "default",                frogs = "default",                hunt = "default",                lightninggoat = "default",                moles = "default",                penguins = "default",                perd = "default",                pigs = "default",                rabbits = "default",                tallbirds = "default",        },        monsters = { -- "never", "rare", "default", "often", "always"                bearger = "default",                chess = "default",                deciduousmonster = "default",                deerclops = "default",                dragonfly = "default",                goosemoose = "default",                houndmound = "default",                hounds = "default",                krampus = "default",                liefs = "default",                lureplants = "default",                merm = "default",                spiders = "default",                tentacles = "default",                walrus = "default",        },        resources = { -- "never", "rare", "default", "often", "always"                flint = "default",                flowers = "default",                grass = "default",                marshbush = "default",                meteorshowers = "default",                meteorspawner = "default",                reeds = "default",                rock = "default",                rock_ice = "default",                sapling = "default",                trees = "default",                tumbleweed = "default",        },} 

 

The resulting log:

[00:00:00]: Starting Up[00:00:00]: Version: 134801[00:00:00]: Don't Starve Together: 134801 WIN32NNN Build Date: 2015-04-27_16-58-08[00:00:00]: Parsing commandline[00:00:00]: Command Line Arguments: [00:00:00]: Initializin Minidump handler[00:00:00]: ....Done[00:00:00]: Fixing DPI[00:00:00]: ...Done[00:00:00]: THREAD - started 'GAClient' (6956)[00:00:00]: HttpClient::ClientThread::Main()[00:00:00]: ProfileIndex:4.30[00:00:00]: THREAD - started 'GAClient' (8012)[00:00:00]: HttpClient::ClientThread::Main()[00:00:00]: THREAD - started 'GAClient' (4376)[00:00:00]: Network tick rate: U=15(2), D=0[00:00:00]: HttpClient::ClientThread::Main()[00:00:00]: Network tick rate: U=15(2), D=0[00:00:00]: Authorized application C:\Servers\Don't Starve Together\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/save/blocklist.txt (Failure)[00:00:00]: OnLoadPermissionList: APP:Klei/DoNotStarveTogether/save/adminlist.txt (Failure)[00:00:00]: Server token retrieved from: server_token.txt[00:00:00]: THREAD - started 'GAClient' (7760)[00:00:00]: cGame::InitializeOnMainThread[00:00:00]: THREAD - started 'GAClient' (6780)[00:00:00]: HttpClient::ClientThread::Main()[00:00:00]: HttpClient::ClientThread::Main()[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(167,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]: loaded profile	[00:00:01]: bloom_enabled	false	[00:00:01]: loaded saveindex	[00:00:01]: OnFilesLoaded()	[00:00:01]: 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:02]: [200] Account Communication Success (6)[00:00:02]: [ACCOUNT_ACTION_TOKEN_PURPOSE] Received UserId from TokenPurpose: KU_8OiGL_VH[00:00:02]: Starting Dedicated Server Game	[00:00:02]: Network tick rate: U=15(2), D=0[00:00:02]: [Warning] Could not confirm port 10999 is open in the firewall. [00:00:02]: Setting up socket descriptors[00:00:02]: Online Server Started on port: 10999[00:00:02]: Collecting garbage...[00:00:02]: lua_gc took 0.01 seconds[00:00:02]: ~NetworkLuaProxy()[00:00:02]: ~SimLuaProxy()[00:00:02]: lua_close took 0.01 seconds[00:00:02]: 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(167,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]: loaded profile	[00:00:03]: bloom_enabled	false	[00:00:03]: loaded saveindex	[00:00:03]: OnFilesLoaded()	[00:00:03]: OnUpdatePurchaseStateComplete	[00:00:03]: Load Slot: ... generating new world	[00:00:03]: WorldSim::SimThread::SimThread()[00:00:03]: WorldSim::SimThread::SimThread() complete[00:00:03]: THREAD - started 'WorldSim' (9200)[00:00:03]: WorldSim::SimThread::Main()[00:00:03]: DoLuaFile scripts/worldgen_main.lua[00:00:03]: ModIndex: Load sequence finished successfully.	[00:00:03]: DoLuaFile loading buffer scripts/worldgen_main.lua[00:00:03]: Reset() returning[00:00:03]: DLC enabled : 	false	[00:00:03]: scripts/worldgen_main.lua(77,1) running worldgen_main.lua	[00:00:03]: scripts/worldgen_main.lua(79,1) SEED = 	1430222010	[00:00:03]: scripts/worldgen_main.lua(456,1) WORLDGEN PRESET: 	SURVIVAL_TOGETHER	[00:00:03]: scripts/worldgen_main.lua(464,1) WORLDGEN LEVEL ID: 	1	[00:00:03]: scripts/worldgen_main.lua(471,1) ######### Generating Normal Mode Together Forever Level########	[00:00:03]: Creating story...	[00:00:03]: LinkNodesByKeys	[00:00:03]: Baking map...	425	[00:00:04]: Map Baked!	[00:00:05]: Encoding...	[00:00:05]: Encoding... DONE	[00:00:05]: Checking Tags	[00:00:05]: Populating voronoi...	[00:00:05]: AddPortMapping(10999, 10999, 192.168.1.133) failed with code 718 (ConflictInMappingEntry)[00:00:05]: Done forest map gen!	[00:00:05]: scripts/worldgen_main.lua(245,1) Checking map...	[00:00:05]: scripts/worldgen_main.lua(599,1) Generation complete	[00:00:05]: WorldSim::SimThread::Main() complete[00:00:13]: Serializing world session to session/08700105EC3116E9/0000000001[00:00:18]: 	Unload FE	[00:00:18]: 	Unload FE done	[00:00:19]: 	LOAD BE	[00:00:19]: Could not preload undefined prefab 0x4058bc0 (molehat)[00:00:19]: Could not preload undefined prefab 0x20e21d7a (puppet_wes)[00:00:19]: Could not preload undefined prefab 0x20e21d7a (puppet_wes)[00:00:20]: 	LOAD BE: done	[00:00:20]: Begin Session: 08700105EC3116E9[00:00:20]: saving to server_temp/server_save	[00:00:20]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml )[00:00:20]: Loading Nav Grid	[00:00:23]: Reconstructing topology	[00:00:23]: 	...Sorting points	[00:00:23]: 	...Sorting edges	[00:00:23]: 	...Connecting nodes	[00:00:23]: 	...Validating connections	[00:00:23]: 	...Housekeeping	[00:00:23]: 	...Done!	[00:00:23]: 1 uploads added to server. From server_temp[00:00:23]: Telling Client our new session identifier: 08700105EC3116E9[00:00:23]: SteamGameServer_Init Success 

 

I'm not seeing the changes take affect in game, and I'm also not seeing anything in the log that shows the server reading the worldgenoverride.lua.  Is there a config option or something I missed to enable world override?

 

Thanks!

Link to comment
Share on other sites

you need a custom folder because client must be separated from server, try to create a folder in eg: klei/myserver.

 

I think that the last comma is not necessary

 

Oh?  I'm not running my client and my server on the same PC though.  Should I still set up a custom folder regardless?

Link to comment
Share on other sites

can you take a look in the browser?? and then click view world??

 

Do you have a rented server??

I can see it in my LAN servers, yes, but the view world option is greyed out and nothing happens when I click it.  I can join the world and play on it just fine, however.

 

Nah it's just another pc in my house running dedicated servers, such as this.

Link to comment
Share on other sites

Just thought I'd update everyone, I did end up solving this.  You must specify a custom settings.ini for worldgenoverride to take effect, even if you're not running a client on that machine.  That's what solved it for me, at least.

 

Or, as I discovered with some testing, you may need to delete the entire "save" folder

Link to comment
Share on other sites

you need a custom folder because client must be separated from server, try to create a folder in eg: klei/myserver.

 

I think that the last comma is not necessary

Thanks, this suggestion did end up working for me!

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