Jump to content

Dedicated Server Ignoring some of worldgenoverride.lua


Recommended Posts

my Dedicated Server is Ignoring some of worldgenoverride.lua's settings, but accepting some. I attached an image of the server prompt saying that it will ignore them, but not why. Any ideas?

Here is part of my worldgenoverride.lua

--Cold
return {
    override_enabled = true,
    preset = "SURVIVAL_TOGETHER",
    overrides = {
        -- MISC
        task_set = "default",
        start_location = "default",
        world_size = "small",
        branching = "most",
        loop = "always",
        autumn = "noseason",
        winter = "verylongseason",
        spring = "noseason",
        summer = "noseason",
        season_start = "winter",
        day = "onlynight",

file has been cut off because it would be unnecessary.

 

wtf.PNG

@ToNiO55

Look at the bottom of the image I attached with the server output.

"removing onetime override  season_start"

And it does it for more of them too, and in the game, the world doesn't have those settings.

I found where in the code that this happens, but there is no explanation of why it is. inside data\scripts\gamelogic.lua
 

            -- Clear out one time overrides
            local onetime = {"season_start", "autumn", "winter", "spring", "summer", "frograin", "wildfires", "prefabswaps_start", "rock_ice"}
            for i,override in ipairs(onetime) do
                if world.topology.overrides[override] ~= nil then
                    print("removing onetime override",override)
                    world.topology.overrides[override] = nil
                end
            end

 

The important settings are posted in OP. The problem seems to be that child servers have to have the same weather settings as the master I think. This is a 2 tiered world, with caves and an overworld. The problem happens in the caves.

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