Jump to content

Mimic items jump from bundle when peeking with razor, bundle remains and after peeking again it crashes server (LUA error)


konijnenmoed
  • Pending
[00:05:32]: [string "scripts/components/container_replica.lua"]:68: attempt to index field 'inventoryitem' (a nil value)
LUA ERROR stack traceback:
scripts/components/container_replica.lua:68 in (upvalue) SetOpener (Lua) <64-74>
   self =
      acceptsstacks = true
      _onputininventory = function - scripts/components/container_replica.lua:249
      _isopen = false
      classified = 141253 - container_classified (valid:true)
      _cannotbeopened = net_bool (0x269bf7a0)
      usespecificslotsforitems = false
      type = cooker
      _onitemget = function - scripts/components/container_replica.lua:28
      _ondropped = function - scripts/components/container_replica.lua:240
      _numslots = 4
      _skipopensnd = net_bool (0x273f73e0)
      _onitemlose = function - scripts/components/container_replica.lua:36
      _skipclosesnd = net_bool (0x22df9f00)
      itemtestfn = function - scripts/containers.lua:433
      issidewidget = false
      openers = table: 0x32f2dcd0
      widget = table: 0xe3eda80
      inst = 141252 - bundle_container (valid:true)
   opener = nil
   k = 1
   v = 141255 - greenamulet(LIMBO) (valid:false)
scripts/components/container_replica.lua:211 in (method) RemoveOpener (Lua) <208-226>
   self =
      acceptsstacks = true
      _onputininventory = function - scripts/components/container_replica.lua:249
      _isopen = false
      classified = 141253 - container_classified (valid:true)
      _cannotbeopened = net_bool (0x269bf7a0)
      usespecificslotsforitems = false
      type = cooker
      _onitemget = function - scripts/components/container_replica.lua:28
      _ondropped = function - scripts/components/container_replica.lua:240
      _numslots = 4
      _skipopensnd = net_bool (0x273f73e0)
      _onitemlose = function - scripts/components/container_replica.lua:36
      _skipclosesnd = net_bool (0x22df9f00)
      itemtestfn = function - scripts/containers.lua:433
      issidewidget = false
      openers = table: 0x32f2dcd0
      widget = table: 0xe3eda80
      inst = 141252 - bundle_container (valid:true)
   opener = 131063 - wormwood (valid:true)
   opencount = 0
scripts/components/container.lua:545 in (method) Close (Lua) <534-581>
   self =
      opencount = 0
      readonlycontainer_addedpreserver = true
      inst = 141252 - bundle_container (valid:true)
      ignoresound = false
      ignoreoverstacked = false
      slots = table: 0x2a5bec80
      _ = table: 0xf645ee0
      openlist = table: 0x1f195d20
   doer = 131063 - wormwood (valid:true)
scripts/components/container.lua:538 in (method) OnRemoveEntity (Lua) <534-581>
   self =
      opencount = 0
      readonlycontainer_addedpreserver = true
      inst = 141252 - bundle_container (valid:true)
      ignoresound = false
      ignoreoverstacked = false
      slots = table: 0x2a5bec80
      _ = table: 0xf645ee0
      openlist = table: 0x1f195d20
   doer = nil
   opener = 131063 - wormwood (valid:true)
   _ = true
scripts/entityscript.lua:1664 in (method) Remove (Lua) <1644-1711>
   self (valid:true) =
      GUID = 141252
      Transform = Transform (0x2e4cb0f0)
      inlimbo = false
      actionreplica = table: 0x25308060
      actioncomponents = table: 0x21865630
      lower_components_shadow = table: 0x10f29fd0
      entity = Entity (0x30536790)
      prefab = bundle_container
      updatecomponents = table: 0x2e8f6bd0
      Network = Network (0x1f5d76a0)
      persists = false
      name =  
      replica = table: 0x293aa640
      children = table: 0x2a004e20
      components = table: 0x3115aff0
      spawntime = 285.33334821463
   k = container
   v = table: 0x2c3f2d70
scripts/stategraphs/SGwilson.lua:18330 in (field) onexit (Lua) <18324-18333>
   inst = 131063 - wormwood (valid:true)
scripts/stategraph.lua:539 in (method) GoToState (Lua) <529-600>
   self =
      tags = table: 0x12775f90
      mem = table: 0x317bfe80
      statemem = table: 0x25a10c00
      currentstate = table: 0x34584370
      timelineindex = 1
      timeinstate = 5.5000002868474
      sg = Stategraph : wilson
      inst = 131063 - wormwood (valid:true)
      l
[00:05:32]: [string "scripts/components/container_replica.lua"]:68: attempt to index field 'inventoryitem' (a nil value)
LUA ERROR stack traceback:
    scripts/components/container_replica.lua:68 in (upvalue) SetOpener (Lua) <64-74>
    scripts/components/container_replica.lua:211 in (method) RemoveOpener (Lua) <208-226>
    scripts/components/container.lua:545 in (method) Close (Lua) <534-581>
    scripts/components/container.lua:538 in (method) OnRemoveEntity (Lua) <534-581>
    scripts/entityscript.lua:1664 in (method) Remove (Lua) <1644-1711>
    scripts/stategraphs/SGwilson.lua:18330 in (field) onexit (Lua) <18324-18333>
    scripts/stategraph.lua:539 in (method) GoToState (Lua) <529-600>
    scripts/stategraph.lua:439 in (method) StartAction (Lua) <430-461>
    scripts/entityscript.lua:1585 in (method) PushBufferedAction (Lua) <1548-1591>
    scripts/components/locomotor.lua:1441 in (method) OnUpdate (Lua) <1351-1652>
    scripts/components/locomotor.lua:980 in (method) GoToEntity (Lua) <927-982>
    scripts/components/locomotor.lua:904 in (method) PushAction (Lua) <827-925>
    scripts/components/inventory.lua:2051 in (method) UseItemFromInvTile (Lua) <2032-2058>
    scripts/networkclientrpc.lua:649 in () ? (Lua) <637-652>
    =[C]:-1 in (method) CallRPC (C) <-1--1>
    scripts/networkclientrpc.lua:1522 in (global) HandleRPCQueue (Lua) <1503-1575>
    scripts/update.lua:42 in () ? (Lua) <33-138>
	

 

 


Steps to Reproduce
  1. Have some mimic items bundled
  2. Peek with razor to see what's inside the bundle
  3. The mimic items will jump out when peeking
  4. Bundle remains like bundled supplies in inventory
  5. Peek with razor to see what's inside the bundle that is not suppose to exist anymore
  6. Server crashes one shard first (error only shows up in cave log)
  7. Server disconnects all players



User Feedback




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