Jump to content

Portable cook pot


cezarica
  • Fixed

Caves shard was offline and when wanted to start it again it crashed again. Sadly I don't have any logs cos in a rush I forgot to backup the logs as well when removed the caves folders to start fresh again.

[00:00:16]: [string "scripts/prefabs/portablecookpot.lua"]:144: attempt to index a nil value
LUA ERROR stack traceback:
scripts/prefabs/portablecookpot.lua:144 in (upvalue) ShowProduct (Lua) <141-146>
   inst = 109178 - portablecookpot (valid:true)
   product = spoiled_food
scripts/prefabs/portablecookpot.lua:162 in (field) oncontinuedone (Lua) <159-164>
   inst = 109178 - portablecookpot (valid:true)
scripts/components/stewer.lua:241 in (method) OnLoad (Lua) <208-248>
   self =
      oncontinuecooking = function - scripts/prefabs/portablecookpot.lua:166
      oncontinuedone = function - scripts/prefabs/portablecookpot.lua:159
      ondonecooking = function - scripts/prefabs/portablecookpot.lua:148
      product_spoilage = 0.9572202831163
      product = spoiled_food
      onharvest = function - scripts/prefabs/portablecookpot.lua:175
      onstartcooking = function - scripts/prefabs/portablecookpot.lua:87
      onspoil = function - scripts/prefabs/portablecookpot.lua:134
      inst = 109178 - portablecookpot (valid:true)
      spoiledproduct = spoiled_food
      cooktimemult = 0.8
      _ = table: 0x17435190
   data = table: 0xaf4e750
scripts/entityscript.lua:1590 in (method) SetPersistData (Lua) <1581-1598>
   self (valid:true) =
      DynamicShadow = DynamicShadow (0x173e3f50)
      Transform = Transform (0x173e17c0)
      inlimbo = false
      actionreplica = table: 0x173df730
      event_listening = table: 0x17447da0
      actioncomponents = table: 0x173def60
      lower_components_shadow = table: 0x173daf10
      entity = Entity (0x173d8fc0)
      AnimState = AnimState (0x19022e30)
      prefab = portablecookpot
      Light = Light (0x173e1fa0)
      OnSave = function - scripts/prefabs/portablecookpot.lua:190
      Network = Network (0x173e4410)
      persists = true
      physicsradiusoverride = 0.5
      MiniMapEntity = MiniMapEntity (0x173e3b80)
      SoundEmitter = SoundEmitter (0x173e2000)
      name = MISSING NAME
      OnLoad = function - scripts/prefabs/portablecookpot.lua:196
      event_listeners = table: 0x17448580
      spawntime = 0
      nameoverride = portablecookpot_item
      replica = table: 0x173e1370
      Physics = Physics (0x167458f0)
      components = table: 0x173db370
      GUID = 109178
   data = table: 0xaf4e6a0
   newents = table: 0x124aa9d0
   k = stewer
   v = table: 0xaf4e750
   cmp = table: 0x17435590
scripts/mainfunctions.lua:356 in (global) SpawnSaveRecord (Lua) <321-363>
   saved = table: 0xaf4e5f0
   newents = table: 0x124aa9d0
   inst = 109178 - portablecookpot (valid:true)
scripts/gamelogic.lua:549 in (upvalue) PopulateWorld (Lua) <325-583>
   savedata = table: 0xb90c150
   profile = table: 0xb273650
   world = 100025 - world (valid:true)
   map = Map (0xbb14d00)
   waterfall_tuning = table: 0x9951510
   minimap_ocean_tuning = table: 0x9a280d0
   retrofiting = table: 0x9b9bdf0
   tuning_override = table: 0x124b9480
   newents = table: 0x124aa9d0
   prefab = portablecookpot
   ents = table: 0xaf4e580
   i = 1
   v = table: 0xaf4e5f0
scripts/gamelogic.lua:799 in (upvalue) DoInitGame (Lua) <682-878>
   savedata = table: 0xb90c150
   profile = table: 0xb273650
   was_file_load = false
scripts/gamelogic.lua:912 in (local) cb (Lua) <906-913>
   savedata = table: 0xb90c150
scripts/saveindex.lua:312 in (upvalue) OnLoadSaveDataFile (Lua) <294-313>
   file = session/6B5C66D6E53F65BE/0000000575
   cb = function - scripts/gamelogic.lua:906
   load_success = true
   str = return {world_network={persistdata={worldtemperature={seasontemperature=27.5,daylight=true,noisetime=262974.84375,season="autumn",phasetemperature=2.6942673592181},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}}},quaker={state=2,mammalsremaining=1,time=5.4333336167037,debrispersecond=5},clock={moonwaxing=false,totaltimeinphase=240,cycles=571,phase="day",remainingtimeinphase=43
[00:00:16]: [string "scripts/prefabs/portablecookpot.lua"]:144: attempt to index a nil value
LUA ERROR stack traceback:
    scripts/prefabs/portablecookpot.lua:144 in (upvalue) ShowProduct (Lua) <141-146>
    scripts/prefabs/portablecookpot.lua:162 in (field) oncontinuedone (Lua) <159-164>
    scripts/components/stewer.lua:241 in (method) OnLoad (Lua) <208-248>
    scripts/entityscript.lua:1590 in (method) SetPersistData (Lua) <1581-1598>
    scripts/mainfunctions.lua:356 in (global) SpawnSaveRecord (Lua) <321-363>
    scripts/gamelogic.lua:549 in (upvalue) PopulateWorld (Lua) <325-583>
    scripts/gamelogic.lua:799 in (upvalue) DoInitGame (Lua) <682-878>
    scripts/gamelogic.lua:912 in (local) cb (Lua) <906-913>
    scripts/saveindex.lua:312 in (upvalue) OnLoadSaveDataFile (Lua) <294-313>
    scripts/saveindex.lua:317 in () ? (Lua) <316-318>
    =[C]:-1 in (method) GetPersistentString (C) <-1--1>
    scripts/saveindex.lua:316 in (method) GetSaveDataFile (Lua) <315-319>
    
[00:00:16]: Check for write access: TRUE
[00:00:16]: Check for read access: TRUE
[00:00:16]: ModIndex: Load sequence finished successfully.    
[00:00:16]: Reset() returning
[00:00:16]: 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:00:16]: 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
Don't know.



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.

There are no comments to display.



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