Jump to content

tuning_override.lua Error from server_log


Recommended Posts

Greetings.

I tried to override settings for my server. Specifically, the spawn rate of Treeguards, Hounds, the Antlion Tribute and the Bearger to be set to their Default Settings.

I used these set of commands:

TheWorld.topology.overrides.deerclops = "default"
TheWorld.topology.overrides.krampus = "default"
TheWorld.topology.overrides.deerclops = "default"
TheWorld.topology.overrides.antliontribute = "default"

TheWorld.topology.overrides.leif = "default"

and then did

c_save()

c_reset()

to which when it restarted, the Overworld crashed and I looked at it's server_log to where I found this:

[00:00:35]: [string "scripts/tuning_override.lua"]:40: attempt to call field '?' (a nil value)
LUA ERROR stack traceback:
scripts/tuning_override.lua:40 in (upvalue) SetSpawnMode (Lua) <38-42>
   spawner = table: 0B7F98B8
   difficulty = default
scripts/tuning_override.lua:47 in (field) ? (Lua) <46-48>
   difficulty = default
scripts/gamelogic.lua:464 in (upvalue) PopulateWorld (Lua) <313-518>
   savedata = table: 0B164530
   profile = table: 0699B890
   world = 100026 - world (valid:true)
   tuning_override = table: 07F58D38
   override = hounds
   value = default
scripts/gamelogic.lua:734 in (upvalue) DoInitGame (Lua) <617-813>
   savedata = table: 0B164530
   profile = table: 0699B890
   was_file_load = false
scripts/gamelogic.lua:847 in (upvalue) cb (Lua) <841-848>
   savedata = table: 0B164530
scripts/saveindex.lua:285 in () ? (Lua) <267-286>
   load_success = true
   str = return {world_network={persistdata={worldtemperature={seasontemperature=27.5,daylight=true,noisetime=93812.3515625,season="autumn",phasetemperature=1.0941852379333},seasons={elapseddaysinseason=11,premode=false,remainingdaysinseason=9,lengths={summer=15,autumn=20,spring=20,winter=15},totaldaysinseason=20,mode="cycle",season="autumn",segs={summer={night=4,day=11,dusk=1},autumn={night=2,day=8,dusk=6},spring={night=3,day=5,dusk=8},winter={night=6,day=5,dusk=5}}},clock={moonwaxing=false,totaltimeinphase=360,cycles=196,phase="day",remainingtimeinphase=334.71850585938,moonphase2="half",segs={night=1,day=12,dusk=3}},globalpositions={worldmap=""},weather={preciptype="none",daylight=true,moistureceil=4447.1596679688,minlightningdelay=60,peakprecipitationrate=0.95388650894165,season="autumn",moisturerateval=0.25923357332036,lightningmode="rain",moistureceilmultiplier=8,moisture=3937.9001464844,stopsnowthreshold=0,snowlevel=0,moisturefloormultiplier=1,moisturerateoffset=0,noisetime=93812.3515625,moisturerate=0.129616782 [**truncated**]
   success = true
   savedata = table: 0B164530
=[C]:-1 in (method) GetPersistentString (C) <-1--1>
scripts/saveindex.lua:267 in (method) GetSaveDataFile (Lua) <266-287>
   self =
      data = table: 0B15FAF8
      current_slot = 1
   file = session/542B3073BCDA9073/0000000265
   cb = function - scripts/gamelogic.lua:841
scripts/saveindex.lua:293 in (method) GetSaveData (Lua) <289-297>
   self =
      data = table: 0B15FAF8
      current_slot = 1
   slot = 1
   cb = function - scripts/gamelogic.lua:841
   file = session/542B3073BCDA9073/0000000265
scripts/gamelogic.lua:849 in (upvalue) DoLoadWorld (Lua) <840-850>
   saveslot = 1
   onload = function - scripts/gamelogic.lua:841
scripts/gamelogic.lua:892 in (upvalue) LoadSlot (Lua) <886-898>
   slot = 1
scripts/gamelogic.lua:958 in (upvalue) DoResetAction (Lua) <909-998>

[00:00:35]: [string "scripts/tuning_override.lua"]:40: attempt to call field '?' (a nil value)
LUA ERROR stack traceback:
    scripts/tuning_override.lua:40 in (upvalue) SetSpawnMode (Lua) <38-42>
    scripts/tuning_override.lua:47 in (field) ? (Lua) <46-48>
    scripts/gamelogic.lua:464 in (upvalue) PopulateWorld (Lua) <313-518>
    scripts/gamelogic.lua:734 in (upvalue) DoInitGame (Lua) <617-813>
    scripts/gamelogic.lua:847 in (upvalue) cb (Lua) <841-848>
    scripts/saveindex.lua:285 in () ? (Lua) <267-286>
    =[C]:-1 in (method) GetPersistentString (C) <-1--1>
    scripts/saveindex.lua:267 in (method) GetSaveDataFile (Lua) <266-287>
    scripts/saveindex.lua:293 in (method) GetSaveData (Lua) <289-297>
    scripts/gamelogic.lua:849 in (upvalue) DoLoadWorld (Lua) <840-850>
    scripts/gamelogic.lua:892 in (upvalue) LoadSlot (Lua) <886-898>
    scripts/gamelogic.lua:958 in (upvalue) DoResetAction (Lua) <909-998>
    
[00:00:35]: ModIndex: Load sequence finished successfully.    
[00:00:35]: Reset() returning

Any form of help would be appreciated.

Cheers,

Chris.

Link to comment
Share on other sites

According to this guide

it's not leif, but instead liefs

liefs = "default", 				-- "never", "rare", "default", "often", "always"

So I assume it created a new value, but doesn't know what to do with it. Try going back to a previous save and redo those changes.

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