Jump to content

Crashing on first chop


YesterdaysMindr
  • Pending

Just recently, I've been having trouble in a world of mine. For some reason, when I attempt to chop down an evergreen near a Totally Normal Tree set piece, the server instantly crashes on the first chop, disconnecting me. Relevant part of server_log.lua attached inside spoiler. Was playing with mods enabled, but none altered the evergreen prefab (except for a changed drops mod, which has worked fine in the past.)

EDIT: Non-player chops also cause the server to fall down (e.g. a meteor.)

Spoiler

[00:03:45]: [(KU_qCroUZ89) engiSonic] ReceiveRemoteExecute(c_save()) @(-237.31, 105.87)
[00:03:46]: Serializing user: session/44315144068DF31E/A7MGPLP7KCG9/0000000009
[00:03:46]: Serializing world: session/44315144068DF31E/0000000009
[00:03:48]: [string "scripts/prefabs/evergreens.lua"]:434: attempt to index field 'combat' (a nil value)
LUA ERROR stack traceback:
scripts/prefabs/evergreens.lua:434 in (field) onwork (Lua) <412-437>
   inst = 109288 - evergreen (valid:true)
   chopper = 112260 - winona (valid:true)
   chopsleft = 14
   numchops = 1
   x = -236.5
   y = 0
   z = 108.05799865723
   ents = table: 26C663B0
   i = 1
   v = 107200 - livingtree (valid:true)
scripts/components/workable.lua:121 in (method) WorkedBy (Lua) <112-140>
   self =
      onwork = function - scripts/prefabs/evergreens.lua:412
      lastworktime = 86.800004526973
      inst = 109288 - evergreen (valid:true)
      savestate = false
      onfinish = function - ../mods/workshop-563754964/scripts/trees.lua:8
      _ = table: 3866C400
   worker = 112260 - winona (valid:true)
   numworks = 1
scripts/actions.lua:510 in (upvalue) DoToolWork (Lua) <506-530>
   act = Chop 109288 - evergreen With Inv: 112320 - axe(LIMBO) (valid:true)
   workaction = table: 07C00428
scripts/actions.lua:533 in (field) fn (Lua) <532-540>
   act = Chop 109288 - evergreen With Inv: 112320 - axe(LIMBO) (valid:true)
scripts/bufferedaction.lua:24 in (method) Do (Lua) <20-34>
   self (valid:true) =
      action = table: 07C00428
      invobject = 112320 - axe(LIMBO) (valid:true)
      onfail = table: 26D2D110
      doerownsobject = true
      autoequipped = true
      target = 109288 - evergreen (valid:true)
      options = table: 26D2D160
      doer = 112260 - winona (valid:true)
      onsuccess = table: 26D2D4D0
scripts/entityscript.lua:1313 in (method) PerformBufferedAction (Lua) <1305-1323>
   self (valid:true) =
      DynamicShadow = DynamicShadow (1B038C60)
      inlimbo = false
      GetMoistureRateScale = function - scripts/prefabs/player_common.lua:146
      SetCameraDistance = function - scripts/prefabs/player_common.lua:985
      ScreenFlash = function - scripts/prefabs/player_common.lua:1047
      player_classified = 112261 - player_classified (valid:true)
      playercolour = table: 0BEAE2E8
      health_info_max = 0
      ShowWardrobePopUp = function - scripts/prefabs/player_common.lua:973
      Light = Light (1B038BE0)
      _isrezattuned = false
      OnRemoveEntity = function - scripts/prefabs/player_common.lua:648
      health_info_max_exact = 0
      pendingtasks = table: 125103D8
      ShowHUD = function - scripts/prefabs/player_common.lua:967
      ShowGiftItemPopUp = function - scripts/prefabs/player_common.lua:979
      sg = sg="wilson", state="chop", time=0.07, tags = "prechop,chopping,working,"
      IsHUDVisible = function - scripts/prefabs/player_common.lua:957
      ApplyScale = function - scripts/prefabs/player_common.lua:1062
      SetGhostMode = function - scripts/prefabs/player_common.lua:561
      ShowActions = function - scripts/prefabs/player_common.lua:961
      OnWakeUp = function - scripts/prefabs/player_common.lua:832
      Transform = Transform (1B0385A0)
      actionreplica = table: 1250C5F8
      event_listening = table: 125109F0
      actioncomponents = table: 1250C468
      lower_components_shadow = table: 1250C2B0
      GetMaxMoisture = function - scripts/prefabs/player_common.lua:136
      net_health_info = net_ushortint (11F887F0)
      CanUseTouchStone = function - scripts/prefabs/player_common.lua:86
      updatecomponents = table: 12511440
      dycshb_cstyle_net = net_string (11F888D0)
      ShakeCamera = function - scripts/prefabs/player_common.lua:1005
      OnDespawn = function - scripts/prefabs/player_common.lua:854
      persists = false
      MiniMapEntity = MiniMapEntity (1B0389E0)
      IsFreezing = function - scripts/prefabs/player_common.lua:106
      replica = table: 1250C300
      GetTemperature = function - scripts/prefabs/player_common.lua:96
      OnSleepIn = function - scripts/prefabs/player_common.lua:804
      ghostenabled = true
      EnableMovementPrediction = function - scripts/prefabs/player_common.lua:517
      PushEvent = function - ../mods/workshop-1378549454/scripts/tools/customtechtree.lua:79
      SetCameraZoomed = function - sc
[00:03:49]: [string "scripts/prefabs/evergreens.lua"]:434: attempt to index field 'combat' (a nil value)
LUA ERROR stack traceback:
    scripts/prefabs/evergreens.lua:434 in (field) onwork (Lua) <412-437>
    scripts/components/workable.lua:121 in (method) WorkedBy (Lua) <112-140>
    scripts/actions.lua:510 in (upvalue) DoToolWork (Lua) <506-530>
    scripts/actions.lua:533 in (field) fn (Lua) <532-540>
    scripts/bufferedaction.lua:24 in (method) Do (Lua) <20-34>
    scripts/entityscript.lua:1313 in (method) PerformBufferedAction (Lua) <1305-1323>
    scripts/stategraphs/SGwilson.lua:2049 in (field) fn (Lua) <2047-2051>
    scripts/stategraph.lua:568 in (method) UpdateState (Lua) <536-580>
    scripts/stategraph.lua:607 in (method) Update (Lua) <599-627>
    scripts/stategraph.lua:125 in (method) Update (Lua) <109-148>
    scripts/update.lua:218 in () ? (Lua) <149-228>
	
[00:03:49]: 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:03:49]: stack traceback:
	scripts/widgets/widget.lua:602 in (method) SetFocusFromChild (Lua) <599-624>
	scripts/widgets/widget.lua:621 in (method) SetFocusFromChild (Lua) <599-624>
	scripts/widgets/widget.lua:621 in (method) SetFocusFromChild (Lua) <599-624>
	scripts/widgets/widget.lua:649 in (method) SetFocus (Lua) <626-658>
	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:90 in () ? (Lua) <33-129>	

 


Steps to Reproduce
Chop down an evergreen tree near a Totally Normal Tree, on at least Day 3.



User Feedback


Did you check to see if it's an issue without any mods enabled?

There have been a lot of bug reports about people crashing when they plant seeds as Wormwood or via a farm, and turns out the culprit was a mod called MyPets, which from a quick glance at it's steam description, doesn't seem to indicate any changes to seeds or seed planting. Other mods are also known to affect other areas of the game that at first wouldn't seem obvious to the player (The "Where's my Beefalo" mod makes it so you can't attack Dfly ¯\_(ツ)_/¯).

  • Like 1

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