Jump to content

Next day save = Lost connection


kilecko100
  • Pending

I can't proceed to the next day. I have 1 Serves, which I host on my PC. The issue is this:

When the night shifts to day, which the server is trying to save I lose connection, though I am hosting it myself.  Don't know what to do anymore. I hope I'm not the only one (sounds mean), so others may get some help for this problem aswell.

 

a9Nt.png


Steps to Reproduce
It simply happens all the time, no matter what server I am hosting, making a new one or even joining. Everytime it tries to save when it gets morning, I can walk about a few clicks and then I lose connection to the server.

client_log.txt server_log.txt server_log_2021-05-03-14-58-31.txt


Steps to Reproduce

It simply happens all the time. Everytime it tries to save when it gets morning, I can walk about a few clicks and then I lose connection to the server.




User Feedback


@kilecko100 It's your "Stumpt Grows" mod that's causing the crash. Disable it and you should be good.  

Spoiler

[00:08:41]: [string "../mods/workshop-369083494/modmain.lua"]:2305: attempt to call upvalue 'onsave_base' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-369083494/modmain.lua:2305 in (field) OnSave (Lua) <2304-2361>
   inst = 125829 - deciduous_root (valid:true)
   data = table: 255C60E8
scripts/entityscript.lua:1559 in (method) GetPersistData (Lua) <1527-1576>
   self (valid:true) =
      inlimbo = false
      OptDebug = false
      OnSproutGrowSprout = function - ../mods/workshop-369083494/modmain.lua:1652
      OptEdible = true
      target = 116196 - pigman (valid:true)
      AnimState = AnimState (1CB9E8F8)
      OptAutoCrumble = true
      OnSproutGrowSapling = function - ../mods/workshop-369083494/modmain.lua:1649
      OnRemoveEntity = function - ../mods/workshop-369083494/modmain.lua:2443
      pendingtasks = table: 23617180
      OnSproutWithered = function - ../mods/workshop-369083494/modmain.lua:1628
      OnSproutFertilize = function - ../mods/workshop-369083494/modmain.lua:1666
      Transform = Transform (1CB9E838)
      GrowTree = function - ../mods/workshop-369083494/modmain.lua:1752
      GrowVeggie = function - ../mods/workshop-369083494/modmain.lua:1779
      GetSwayLocoParam = function - ../mods/workshop-369083494/modmain.lua:1729
      event_listening = table: 23622148
      deciduoustree_growveggieevent = table: 21585B10
      lower_components_shadow = table: 23620E10
      vector = (-0.84, 0.00, -5.12)
      deciduoustree_growsproutevent = table: 23233EE0
      prefab = deciduous_root
      MakeBurntTreeAutoCrumble = function - ../mods/workshop-369083494/modmain.lua:2266
      persists = true
      owner = 115032 - deciduoustree (valid:true)
      event_listeners = table: 23622120
      OptGrowthSpeed = 1
      replica = table: 23620F00
      OnSproutGrowFlower = function - ../mods/workshop-369083494/modmain.lua:1643
      deciduoustree_growplantevent = table: 22A80D60
      GrowPlant = function - ../mods/workshop-369083494/modmain.lua:1885
      SOMETIMESLIGHT_NORMAL = 10
      targetpos = (443.76, 0.00, -438.89)
      PLANT_POINTS = table: 2361A240
      GrowFlower = function - ../mods/workshop-369083494/modmain.lua:1840
      DigUpStump = function - ../mods/workshop-369083494/modmain.lua:1563
      GrowUp = function - ../mods/workshop-369083494/modmain.lua:2176
      name = Birchnut Tree
      OnSproutGrowTree = function - ../mods/workshop-369083494/modmain.lua:1635
      MakeStumpGrow = function - ../mods/workshop-369083494/modmain.lua:2196
      OnSproutGrowPlant = function - ../mods/workshop-369083494/modmain.lua:1646
      OnSproutGrowVeggie = function - ../mods/workshop-369083494/modmain.lua:1640
      StartGrowing = function - ../mods/workshop-369083494/modmain.lua:2107
      OnSproutPlantSeed = function - ../mods/workshop-369083494/modmain.lua:1662
      step = 28
      deciduoustree_growsaplingevent = table: 22A7D0C0
      entity = Entity (237AFFE0)
      GUID = 125829
      origin = (444.60, 0.00, -433.77)
      OptDifficulty = 0
      dist_to_cover = 5.1924845852509
      OnSave = function - ../mods/workshop-369083494/modmain.lua:2304
      OnSproutHarvest = function - ../mods/workshop-369083494/modmain.lua:1684
      actioncomponents = table: 23620D98
      GrowSapling = function - ../mods/workshop-369083494/modmain.lua:1961
      GrowSprout = function - ../mods/workshop-369083494/modmain.lua:2022
      SoundEmitter = SoundEmitter (1CB9E9D8)
      targetangle = 1.7328917562149
      SOMETIMESLIGHT_EASY = 30
      OnLoad = function - ../mods/workshop-369083494/modmain.lua:2364
      Network = Network (1CB9E8B8)
      spawntime = 132.90000693128
      OnSproutStartGrowing = function - ../mods/workshop-369083494/modmain.lua:1655
      actionreplica = table: 23621A40
      components = table: 23620D48
      Physics = Physics (1CB9E998)
   references = nil
   data = table: 255C60E8
scripts/entityscript.lua:290 in (method) GetSaveRecord (Lua) <245-295>
   self (valid:true) =
      inlimbo = false
      OptDebug = false
      OnSproutGrowSprout = function - ../mods/workshop-3690
[00:08:41]: [string "../mods/workshop-369083494/modmain.lua"]:2305: attempt to call upvalue 'onsave_base' (a nil value)
LUA ERROR stack traceback:
    ../mods/workshop-369083494/modmain.lua:2305 in (field) OnSave (Lua) <2304-2361>
    scripts/entityscript.lua:1559 in (method) GetPersistData (Lua) <1527-1576>
    scripts/entityscript.lua:290 in (method) GetSaveRecord (Lua) <245-295>
    scripts/mainfunctions.lua:832 in (global) SaveGame (Lua) <812-975>
    scripts/shardindex.lua:314 in (method) SaveCurrent (Lua) <302-315>
    scripts/components/autosaver.lua:85 in (field) fn (Lua) <59-87>
    scripts/scheduler.lua:177 in (method) OnTick (Lua) <155-207>
    scripts/scheduler.lua:371 in (global) RunScheduler (Lua) <369-377>
    scripts/update.lua:185 in () ? (Lua) <164-243>
    
[00:08:41]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is     ScriptErrorWidget    not a screen?    
[00:08:41]: stack traceback:
    scripts/widgets/widget.lua:604 in (method) SetFocusFromChild (Lua) <601-626>
    scripts/widgets/widget.lua:623 in (method) SetFocusFromChild (Lua) <601-626>
    scripts/widgets/widget.lua:623 in (method) SetFocusFromChild (Lua) <601-626>
    scripts/widgets/widget.lua:648 in (method) SetFocus (Lua) <628-657>
    scripts/widgets/menu.lua:83 in (method) SetFocus (Lua) <74-85>
    scripts/widgets/scripterrorwidget.lua:109 in (method) OnUpdate (Lua) <102-119>
    scripts/update.lua:95 in () ? (Lua) <33-134>    

 

Share this comment


Link to comment
Share on other sites

1 hour ago, lakhnish said:

@kilecko100 It's your "Stumpt Grows" mod that's causing the crash. Disable it and you should be good.  

  Reveal hidden contents

[00:08:41]: [string "../mods/workshop-369083494/modmain.lua"]:2305: attempt to call upvalue 'onsave_base' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-369083494/modmain.lua:2305 in (field) OnSave (Lua) <2304-2361>
   inst = 125829 - deciduous_root (valid:true)
   data = table: 255C60E8
scripts/entityscript.lua:1559 in (method) GetPersistData (Lua) <1527-1576>
   self (valid:true) =
      inlimbo = false
      OptDebug = false
      OnSproutGrowSprout = function - ../mods/workshop-369083494/modmain.lua:1652
      OptEdible = true
      target = 116196 - pigman (valid:true)
      AnimState = AnimState (1CB9E8F8)
      OptAutoCrumble = true
      OnSproutGrowSapling = function - ../mods/workshop-369083494/modmain.lua:1649
      OnRemoveEntity = function - ../mods/workshop-369083494/modmain.lua:2443
      pendingtasks = table: 23617180
      OnSproutWithered = function - ../mods/workshop-369083494/modmain.lua:1628
      OnSproutFertilize = function - ../mods/workshop-369083494/modmain.lua:1666
      Transform = Transform (1CB9E838)
      GrowTree = function - ../mods/workshop-369083494/modmain.lua:1752
      GrowVeggie = function - ../mods/workshop-369083494/modmain.lua:1779
      GetSwayLocoParam = function - ../mods/workshop-369083494/modmain.lua:1729
      event_listening = table: 23622148
      deciduoustree_growveggieevent = table: 21585B10
      lower_components_shadow = table: 23620E10
      vector = (-0.84, 0.00, -5.12)
      deciduoustree_growsproutevent = table: 23233EE0
      prefab = deciduous_root
      MakeBurntTreeAutoCrumble = function - ../mods/workshop-369083494/modmain.lua:2266
      persists = true
      owner = 115032 - deciduoustree (valid:true)
      event_listeners = table: 23622120
      OptGrowthSpeed = 1
      replica = table: 23620F00
      OnSproutGrowFlower = function - ../mods/workshop-369083494/modmain.lua:1643
      deciduoustree_growplantevent = table: 22A80D60
      GrowPlant = function - ../mods/workshop-369083494/modmain.lua:1885
      SOMETIMESLIGHT_NORMAL = 10
      targetpos = (443.76, 0.00, -438.89)
      PLANT_POINTS = table: 2361A240
      GrowFlower = function - ../mods/workshop-369083494/modmain.lua:1840
      DigUpStump = function - ../mods/workshop-369083494/modmain.lua:1563
      GrowUp = function - ../mods/workshop-369083494/modmain.lua:2176
      name = Birchnut Tree
      OnSproutGrowTree = function - ../mods/workshop-369083494/modmain.lua:1635
      MakeStumpGrow = function - ../mods/workshop-369083494/modmain.lua:2196
      OnSproutGrowPlant = function - ../mods/workshop-369083494/modmain.lua:1646
      OnSproutGrowVeggie = function - ../mods/workshop-369083494/modmain.lua:1640
      StartGrowing = function - ../mods/workshop-369083494/modmain.lua:2107
      OnSproutPlantSeed = function - ../mods/workshop-369083494/modmain.lua:1662
      step = 28
      deciduoustree_growsaplingevent = table: 22A7D0C0
      entity = Entity (237AFFE0)
      GUID = 125829
      origin = (444.60, 0.00, -433.77)
      OptDifficulty = 0
      dist_to_cover = 5.1924845852509
      OnSave = function - ../mods/workshop-369083494/modmain.lua:2304
      OnSproutHarvest = function - ../mods/workshop-369083494/modmain.lua:1684
      actioncomponents = table: 23620D98
      GrowSapling = function - ../mods/workshop-369083494/modmain.lua:1961
      GrowSprout = function - ../mods/workshop-369083494/modmain.lua:2022
      SoundEmitter = SoundEmitter (1CB9E9D8)
      targetangle = 1.7328917562149
      SOMETIMESLIGHT_EASY = 30
      OnLoad = function - ../mods/workshop-369083494/modmain.lua:2364
      Network = Network (1CB9E8B8)
      spawntime = 132.90000693128
      OnSproutStartGrowing = function - ../mods/workshop-369083494/modmain.lua:1655
      actionreplica = table: 23621A40
      components = table: 23620D48
      Physics = Physics (1CB9E998)
   references = nil
   data = table: 255C60E8
scripts/entityscript.lua:290 in (method) GetSaveRecord (Lua) <245-295>
   self (valid:true) =
      inlimbo = false
      OptDebug = false
      OnSproutGrowSprout = function - ../mods/workshop-3690
[00:08:41]: [string "../mods/workshop-369083494/modmain.lua"]:2305: attempt to call upvalue 'onsave_base' (a nil value)
LUA ERROR stack traceback:
    ../mods/workshop-369083494/modmain.lua:2305 in (field) OnSave (Lua) <2304-2361>
    scripts/entityscript.lua:1559 in (method) GetPersistData (Lua) <1527-1576>
    scripts/entityscript.lua:290 in (method) GetSaveRecord (Lua) <245-295>
    scripts/mainfunctions.lua:832 in (global) SaveGame (Lua) <812-975>
    scripts/shardindex.lua:314 in (method) SaveCurrent (Lua) <302-315>
    scripts/components/autosaver.lua:85 in (field) fn (Lua) <59-87>
    scripts/scheduler.lua:177 in (method) OnTick (Lua) <155-207>
    scripts/scheduler.lua:371 in (global) RunScheduler (Lua) <369-377>
    scripts/update.lua:185 in () ? (Lua) <164-243>
    
[00:08:41]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is     ScriptErrorWidget    not a screen?    
[00:08:41]: stack traceback:
    scripts/widgets/widget.lua:604 in (method) SetFocusFromChild (Lua) <601-626>
    scripts/widgets/widget.lua:623 in (method) SetFocusFromChild (Lua) <601-626>
    scripts/widgets/widget.lua:623 in (method) SetFocusFromChild (Lua) <601-626>
    scripts/widgets/widget.lua:648 in (method) SetFocus (Lua) <628-657>
    scripts/widgets/menu.lua:83 in (method) SetFocus (Lua) <74-85>
    scripts/widgets/scripterrorwidget.lua:109 in (method) OnUpdate (Lua) <102-119>
    scripts/update.lua:95 in () ? (Lua) <33-134>    

thank you, i will try it

 

 

Share this comment


Link to comment
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

×
  • Create New...