Jump to content

Can't start a new server/regenerate from old world after the update


Recommended Posts

Hi,

If i'm not mistaken, anyone with the server older than yesterdays update would prevent people from seeing the world settings from the server menu due to change in format of some scripts.

I asked around a bit yesterday, and the problem would be solved if I regenerate a new world.

I tried regenerating my world a bit ago, but the server started to closing on it's own after I launch it.

I am very bad at computer, took me days before I ever set my server in the first place.

I'll upload the log file for my master server.

 

can anyone help me fix this problem? :/

thanks in advance.

server_log.txt

@KimThought based on that server_log.txt, it seems the game cannot  operate properly with the previous contents of worldgenoverride.lua. In the spoiler below is a snippet from your own server_log.txt that is towards the end.

Spoiler

[00:02:01]: Worldgenoverride needs upgrading from v1 to v2!	
[00:02:01]:   Your file will be loaded correctly. However,	
[00:02:01]:   to ensure it will load correctly in the future,	
[00:02:01]:   please edit your worldgenoverride.lua to use this format:	
[00:02:01]: 

return {
  override_enabled=true,
  overrides={
    alternatehunt="default",
    angrybees="never",
    autumn="default",
    bearger="default",
    beefalo="default",
    beefaloheat="default",
    bees="default",
    berrybush="default",
    birds="default",
    boons="default",
    branching="most",
    butterfly="default",
    buzzard="default",
    cactus="default",
    carrot="default",
    catcoon="rare",
    chess="default",
    day="default",
    deciduousmonster="default",
    deerclops="default",
    dragonfly="default",
    flint="default",
    flowers="default",
    frograin="never",
    goosemoose="default",
    grass="default",
    houndmound="default",
    hounds="default",
    hunt="default",
    krampus="default",
    liefs="default",
    lightning="never",
    lightninggoat="default",
    loop="always",
    lureplants="default",
    marshbush="default",
    merm="default",
    meteorshowers="never",
    meteorspawner="never",
    moles="rare",
    mushroom="default",
    penguins="never",
    perd="rare",
    pigs="default",
    ponds="default",
    rabbits="rare",
    reeds="default",
    regrowth="fast",
    rock="default",
    rock_ice="rare",
    sapling="default",
    season_start="default",
    spiders="never",
    spring="default",
    start_location="default",
    summer="default",
    tallbirds="default",
    task_set="default",
    tentacles="default",
    touchstone="default",
    trees="rare",
    tumbleweed="never",
    walrus="default",
    weather="default",
    wildfires="never",
    winter="default",
    world_size="default" 
  } 
}

 

My suggestion would be to alter your old worldgenoverrides to the new format listed in the snippet above. Starting from return { down to the last }, would be what your worldgenoverrides.lua should contain. Report back with your server_log.txt again if applying the changes above still won't start up the server.

Forgot to add something, there is also a more detailed list for all the presets with possible options for each item in this Worldgenoverride.lua Thread.

Good luck, cheers.

thx for the replay. i tried changing worldgenoverrides.lua in the master server folder and tried to regenerate the world.

It didn't work, and here is the new log.

thank you for your help D:

server_log2.txt

okay I tried the settings in the thread you linked, and the server still doesn't open.

 

Here is my both master and caves server log files as well as their worldgenoverrides.lus.

 

Thanks for your help!

Master server_log.txt

Master worldgenoverride.lua

Caves server_log.txt

Cave worldgenoverride.lua

@KimThought Towards the end, the game wasn't able to detect or read the game_mode you listed in your settings. Mind attaching your cluster.ini from /DedicatedServer/Cluster_1/ ? Here's the devs' specifications for the cluster.ini and server.ini which also includes the specific options for each item. 

@KimThought Do i just copy and paste everything on there into the cluster.ini?

No, that link gives info about what to put for each item like for game_mode is either survival, endless or wilderness.

How about try and change the game_mode = Endless to game_mode = endless. I'm not entirely sure a small E will make a difference, but wouldn't hurt to try. Also the devs just released a hotfix for Don't Starve Together Dedicated Server. Install those updates, and try the changes above and start up the server again.

@KimThought Try deleting the save folders in both Caves and Master Folders, and try again. With regards to the master's worldgenoverrides.lua, are you changing anything in particular or do you have them all as default? If it's all default, you won't need to make a worldgenoverride.lua (I think).

So delete the save folders in Master and Caves and also delete the worldgenoverride.lua in the Master folder. Then try again. 

@KimThought the mod Structures and More... seems to be causing this new issue. If you read through the comments on that workshop page, someone has mentioned the same crash error to the mod creator. mainly this part of your server_log.txt:

[00:00:27]: [string "../mods/workshop-580851939/core/recipes.lua"]:17: attempt to call global 'Ingredient' (a nil value)
LUA ERROR stack traceback:
        ../mods/workshop-580851939/core/recipes.lua(17,1) in function 'fn'
        ../mods/workshop-580851939/engine.lua(91,1) in function 'Load'
        ../mods/workshop-580851939/core/main.lua(7,1)
        ../mods/workshop-580851939/engine.lua(73,1) in function 'Initialize'
        ../mods/workshop-580851939/modworldgenmain.lua(5,1) in main chunk
        =[C] in function 'xpcall'
        scripts/util.lua(609,1) in function 'RunInEnvironment'
        scripts/mods.lua(475,1) in function 'InitializeModMain'
        scripts/mods.lua(445,1) in function 'LoadMods'
        scripts/worldgen_main.lua(82,1) in main chunk

What I'll suggest now, is that you turn that mod off for now, until the mod creator can remedy the issue. 

@Ipsquiggle, @Kzisor, it's crashing, because there was removed require("recipe") from mods.lua in v172434.

While there is require("recipes") in main.lua (which does require("recipe")), there is none in worldgen_main.lua.

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