Ipsquiggle

worldgenoverride.lua with the new post-Caves settings

Recommended Posts

Venitos    0

Hi, 

ive been having problems with the worldgenoverride.lua file i've followed the instructions and put in the proper folders like C:\Users\Sarey\Documents\Klei\DoNotStarveTogether and i've restarted the world and everything and yet my logs mention

nothing about worldgenoverride.lua im sorry but its driving me nuts, i've been working on the fix for about 7 hours in total :/ please i need help

Share this post


Link to post
Share on other sites

@Ipsquiggle Your template has the preset parameter without quotes. Not an obvious issue in a normal world since that's all set to defaults anyway, but made me absent-mindedly make an overworld in my caves shard by mistake. XD

  • Like 1

Share this post


Link to post
Share on other sites
Ipsquiggle    2,693
On 5/15/2016 at 9:53 AM, TheHalcyonOne said:

@Ipsquiggle Your template has the preset parameter without quotes. Not an obvious issue in a normal world since that's all set to defaults anyway, but made me absent-mindedly make an overworld in my caves shard by mistake. XD

Thanks! Fixed. :D

  • Like 1

Share this post


Link to post
Share on other sites
Silverscott    1

Hi all, need help to setup my server.

I'm under Linux Debian Jessie (8.5), my server works and my friends & i can play but i've troubles with the worldgenoverride.lua file  :(

When i start the dst server all changes i made in this file doesn't works. When i'm connecting on the server IG all parameters stays on "Default"

How can i debug this error ? Thx for help

Share this post


Link to post
Share on other sites
Ipsquiggle    2,693
On 7/27/2016 at 7:21 AM, Silverscott said:

Hi all, need help to setup my server.

I'm under Linux Debian Jessie (8.5), my server works and my friends & i can play but i've troubles with the worldgenoverride.lua file  :(

When i start the dst server all changes i made in this file doesn't works. When i'm connecting on the server IG all parameters stays on "Default"

How can i debug this error ? Thx for help

Can you post your log file from the server generating a new world? There should be a message saying if the override was correctly applied or not, something like this:

Quote

[00:01:27]: Found a worldgen override file with these contents:
[00:01:27]:     K:      override_enabled         V:     true
[00:01:27]:     K:      preset   V:     DST_CAVE
[00:01:27]:   sanity-checking worldgenoverride.lua...
[00:01:27]: Loaded and applied world gen overrides from ../worldgenoverride.lua

Also just to double check: the file is in the correct location? It should be in the server's main data folder, at

~/.klei/DoNotStarveTogether/worldgenoverride.lua for a client-hosted server, or

~/.klei/DoNotStarveTogether/<clustername>/<servername>/worldgenoverride.lua for a dedicated server.

Share this post


Link to post
Share on other sites
Ipsquiggle    2,693
4 hours ago, KittenCanaveral said:

With the A new age updates , Will there be any changes to the worldgenoveride.lua file ?

Ah, thanks for reminding me! It has been updated; just a tweak for the petrification was added. :)

Share this post


Link to post
Share on other sites
ScottHansen    1,123
9 hours ago, ToNiO55 said:

Hi @Ipsquiggle

could you update the worldgenoverride.lua for add events please?

161021091643548927.jpg

thx you very much

Done

wormattacks  and  specialevent  have been added. See the first post for details.

  • Like 2

Share this post


Link to post
Share on other sites
ScottHansen    1,123

FYI.

On 4/21/2015 at 11:06 AM, Ipsquiggle said:

Update Dec 12, 2016

  Hide contents

Updated specialevent to include "winters_feast"

 

  • Like 1

Share this post


Link to post
Share on other sites
CassieCroft    73

I am playing on my dedi server that has 800 days but does not seem to have many hunts available.  I have updated my worldgenoverride.lua file to make hunts appear more often, but they don't show up when I update. Is it the case these settings won't implement unless I regenerate the world?

 

Share this post


Link to post
Share on other sites
Nyx_Overkill    12

I got mindf#$% to understand how to modify settings separately main world and caves.Because every time i went to change settings in worldgenoverride.lua,weird settings happened like add the new ones and dont change the previous ones,or mix them or confuse both worlds etc.What i did:
Lets say you have a previous world with random modified settings.Before you run the dedicated server go to dedicated server file and delete the followings ->
master/save/saveindex
master/save/server_temp/server_save
caves/save/saveindex
caves/save/server_temp/server_save

Then change settings in master/worldgenoverride.lua    <- This will change settings for the Main World    
worldgenoverride.lua

Then add specific only settings to caves/worldgenoverride.lua*  <- This will change settings for the Caves
worldgenoverride.lua

*Caves worldgenoverride.lua file.Lets say u want to change settings for monkeys to remove them.Just add under ANIMALS this:        monkey = "never",             -- "never", "rare", "default", "often", "always"

Save after settings.Run Dedicated server.I dont know if its matter but i give the command for regenerate to the master shard cmd window (Shardname SHDMASTER).
c_regenerateworld(1)

Hope thats helpfull....

 

Share this post


Link to post
Share on other sites
egerton    0
On 2016/11/21 at 10:24 PM, thanhgiakaka said:

Guys , can u teach me : how to make a server ONLY CAVE ?

just use the DST_CAVE setting for both Master and Cave under Server folder

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now