Jump to content

Harvesting bug


cezarica
  • Fixed

Just upgraded to version 428382 and master shard just crashed. No clue what happened as I wasn't the first to connect to it.

 [00:01:49]: [string "scripts/components/harvestable.lua"]:106: bad argument #1 to 'min' (number expected, got nil)
LUA ERROR stack traceback:
=[C]:-1 in (field) min (C) <-1--1>
scripts/components/harvestable.lua:106 in (method) StartGrowing (Lua) <102-113>
   self =
      onharvestfn = function - scripts/prefabs/beebox.lua:114
      pausetime = 268.06666500121
      product = honey
      inst = 122371 - beebox (valid:true)
      maxproduce = 6
      ongrowfn = function - scripts/prefabs/beebox.lua:103
      _ = table: 0x27dffcb0
   time = nil
   growtime = nil
scripts/components/harvestable.lua:165 in () ? (Lua) <135-168>
   self =
      onharvestfn = function - scripts/prefabs/beebox.lua:114
      pausetime = 268.06666500121
      product = honey
      inst = 122371 - beebox (valid:true)
      maxproduce = 6
      ongrowfn = function - scripts/prefabs/beebox.lua:103
      _ = table: 0x27dffcb0
   picker = 127131 - walter (valid:true)
   produce = 6
   pos = (97.50, 0.00, -20.50)
=(tail call):-1 in ()  (tail) <-1--1>
scripts/bufferedaction.lua:25 in (method) Do (Lua) <21-35>
   self (valid:true) =
      action = table: 0x98c8610
      invobject = 127162 - pickaxe(LIMBO) (valid:true)
      onfail = table: 0x225b1680
      doerownsobject = true
      target = 122371 - beebox (valid:true)
      options = table: 0x1fb979e0
      doer = 127131 - walter (valid:true)
      onsuccess = table: 0x27ce4dd0
scripts/entityscript.lua:1313 in (method) PerformBufferedAction (Lua) <1305-1323>
   self (valid:true) =
      DynamicShadow = DynamicShadow (0xc52dc90)
      inlimbo = false
      GetMoistureRateScale = function - scripts/prefabs/player_common.lua:146
      SetCameraDistance = function - scripts/prefabs/player_common.lua:1037
      ScreenFlash = function - scripts/prefabs/player_common.lua:1099
      player_classified = 127132 - player_classified (valid:true)
      playercolour = table: 0x21bf7ad0
      ShowWardrobePopUp = function - scripts/prefabs/player_common.lua:1019
      Light = Light (0x9e7afe0)
      _OnDespawn = function - scripts/prefabs/walter.lua:166
      _isrezattuned = false
      OnRemoveEntity = function - scripts/prefabs/player_common.lua:668
      pendingtasks = table: 0x98dd700
      ShowHUD = function - scripts/prefabs/player_common.lua:1013
      ShowGiftItemPopUp = function - scripts/prefabs/player_common.lua:1025
      sg = sg="wilson", state="dolongaction", time=1.00, tags = "doing,nodangle,"
      IsHUDVisible = function - scripts/prefabs/player_common.lua:1003
      ApplyScale = function - scripts/prefabs/player_common.lua:1114
      SetGhostMode = function - scripts/prefabs/player_common.lua:581
      ShowActions = function - scripts/prefabs/player_common.lua:1007
      OnWakeUp = function - scripts/prefabs/player_common.lua:869
      Transform = Transform (0xc52dbb0)
      actionreplica = table: 0x9e7b0a0
      event_listening = table: 0xbd27100
      actioncomponents = table: 0xc611520
      _hermit_music = table: 0x23e4b5d0
      GetMaxMoisture = function - scripts/prefabs/player_common.lua:136
      CanUseTouchStone = function - scripts/prefabs/player_common.lua:86
      updatecomponents = table: 0xa4c68a0
      ShakeCamera = function - scripts/prefabs/player_common.lua:1057
      OnDespawn = function - scripts/prefabs/player_common.lua:891
      persists = false
      _update_tree_sanity_task = PERIODIC 127131: 1.000000
      MiniMapEntity = MiniMapEntity (0xc52dc30)
      IsFreezing = function - scripts/prefabs/player_common.lua:106
      _OnLoad = function - scripts/prefabs/walter.lua:176
      replica = table: 0xc611550
      GetTemperature = function - scripts/prefabs/player_common.lua:96
      GUID = 127131
      ghostenabled = true
      _sanity_damage_protection = table: 0x2197dcb0
      EnableMovementPrediction = function - scripts/prefabs/player_common.lua:525
      worldstatewatching = table: 0xb8a4860
      SetCameraZoomed = function - scripts/prefabs/player_common.lua:1043
      Network = Network (0x9e7b060)
      Physics = Physics (0xbfb2030)
      GetMoisture = function - scripts/
[00:01:49]: [string "scripts/components/harvestable.lua"]:106: bad argument #1 to 'min' (number expected, got nil)
LUA ERROR stack traceback:
    =[C]:-1 in (field) min (C) <-1--1>
    scripts/components/harvestable.lua:106 in (method) StartGrowing (Lua) <102-113>
    scripts/components/harvestable.lua:165 in () ? (Lua) <135-168>
    =(tail call):-1 in ()  (tail) <-1--1>
    scripts/bufferedaction.lua:25 in (method) Do (Lua) <21-35>
    scripts/entityscript.lua:1313 in (method) PerformBufferedAction (Lua) <1305-1323>
    scripts/stategraphs/SGwilson.lua:5108 in (field) ontimeout (Lua) <5101-5109>
    scripts/stategraph.lua:554 in (method) UpdateState (Lua) <540-584>
    scripts/stategraph.lua:611 in (method) Update (Lua) <603-631>
    scripts/stategraph.lua:128 in (method) Update (Lua) <109-153>
    scripts/update.lua:228 in () ? (Lua) <159-238>
    
[00:01: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:01:49]: stack traceback:
    scripts/widgets/widget.lua:605 in (method) SetFocusFromChild (Lua) <602-627>
    scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627>
    scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627>
    scripts/widgets/widget.lua:656 in (method) SetFocus (Lua) <629-665>
    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

No clue what happened, hope the log is enough to figure out.

Edit: apparently a player "harvested the honey" when the server crashed. 3 times in a row now.

  • Like 1
  • Big Ups 1



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.


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