This error has crashed my Starving Floor server three times now and it seems that it is not Starving Floor that is causing it. Please tell me if it is rather a mod I use tht is causing it. Here is the log of a recent crash:
[string "scripts/components/inventoryitem.lua"]:10: attempt to index field 'inventoryitem' (a nil value) LUA ERROR stack traceback: scripts/components/inventoryitem.lua:10 in (field) ? (Lua) <9-11> self = isnew = false nobounce = true ondropfn = function - scripts/standardcomponents.lua:621 pushlandedevents = true sinks = false canbepickedupalive = true is_landed = false trappable = true inst = 122340 - spider(LIMBO) (valid:false) keepondeath = false droprandomdir = false _ = table: 0x36dc7220 onputininventoryfn = function - scripts/standardcomponents.lua:614 owner = nil scripts/class.lua:30 in () ? (Lua) <23-32> t = table: 0x2ffc3c30 k = owner v = nil p = table: 0x25fb72e0 old = 119984 - webber (valid:true) scripts/components/inventoryitem.lua:131 in (method) ClearOwner (Lua) <130-132> self = isnew = false nobounce = true ondropfn = function - scripts/standardcomponents.lua:621 pushlandedevents = true sinks = false canbepickedupalive = true is_landed = false trappable = true inst = 122340 - spider(LIMBO) (valid:false) keepondeath = false droprandomdir = false _ = table: 0x36dc7220 onputininventoryfn = function - scripts/standardcomponents.lua:614 owner = nil scripts/components/inventoryitem.lua:207 in (method) OnRemoved (Lua) <203-210> self = isnew = false nobounce = true ondropfn = function - scripts/standardcomponents.lua:621 pushlandedevents = true sinks = false canbepickedupalive = true is_landed = false trappable = true inst = 122340 - spider(LIMBO) (valid:false) keepondeath = false droprandomdir = false _ = table: 0x36dc7220 onputininventoryfn = function - scripts/standardcomponents.lua:614 scripts/components/inventory.lua:979 in () ? (Lua) <960-1007> self = DropItem = function - ../mods/workshop-1952248433/modmain.lua:506 ignoreoverflow = false dropondeath = false isvisible = true ConsumeItemsByFn = function - ../mods/workshop-1418878027/scripts/gf_init_components.lua:95 ignoresound = false isopen = true ignorefull = false inst = 119984 - webber (valid:true) equipslots = table: 0x2e6a7a60 opencontainers = table: 0x3671b6e0 silentfull = false itemslots = table: 0x31780100 _ = table: 0x2c270c60 item = 122340 - spider(LIMBO) (valid:false) wholestack = false prevslot = 1 k = 1 v = 122340 - spider(LIMBO) (valid:false) =(tail call):-1 in () (tail) <-1--1> scripts/components/inventory.lua:490 in (upvalue) old_DropItem (Lua) <485-510> self = DropItem = function - ../mods/workshop-1952248433/modmain.lua:506 ignoreoverflow = false dropondeath = false isvisible = true ConsumeItemsByFn = function - ../mods/workshop-1418878027/scripts/gf_init_components.lua:95 ignoresound = false isopen = true ignorefull = false inst = 119984 - webber (valid:true) equipslots = table: 0x2e6a7a60 opencontainers = table: 0x3671b6e0 silentfull = false itemslots = table: 0x31780100 _ = table: 0x2c270c60 item = 122340 - spider(LIMBO) (valid:false) wholestack = false randomdir = (0.91, 0.00, 0.42) pos = nil ../mods/workshop-1952248433/modmain.lua:507 in (method) DropItem (Lua) <506-517> self = DropItem = function - ../mods/workshop-1952248433/modmain.lua:506 ignoreoverflow = false dropondeath = false isvisible = true ConsumeItemsByFn = function - ../mods/workshop-1418878027/scripts/gf_init_components.lua:95 ignoresound = false isopen = true ignorefull = false inst = 119984 - webber (valid:true) equipslots = table: 0x2e6a7a60 opencontainers = table: 0x3671b6e0 silentfull = false itemslots = table: 0x31780100 _ = table: 0x2c270c60 item = 122340 - spider(LIMBO) (valid:false) wholestack = fal [string "scripts/components/inventoryitem.lua"]:10: attempt to index field 'inventoryitem' (a nil value) LUA ERROR stack traceback: scripts/components/inventoryitem.lua:10 in (field) ? (Lua) <9-11> scripts/class.lua:30 in () ? (Lua) <23-32> scripts/components/inventoryitem.lua:131 in (method) ClearOwner (Lua) <130-132> scripts/components/inventoryitem.lua:207 in (method) OnRemoved (Lua) <203-210> scripts/components/inventory.lua:979 in () ? (Lua) <960-1007> =(tail call):-1 in () (tail) <-1--1> scripts/components/inventory.lua:490 in (upvalue) old_DropItem (Lua) <485-510> ../mods/workshop-1952248433/modmain.lua:507 in (method) DropItem (Lua) <506-517> scripts/components/thief.lua:21 in (method) StealItem (Lua) <11-42> scripts/prefabs/frog.lua:42 in (field) onhitotherfn (Lua) <41-43> scripts/components/combat.lua:506 in (upvalue) _oldGetAttacked (Lua) <433-518> ../mods/workshop-1418878027/scripts/gf_init_components.lua:39 in (method) GetAttacked (Lua) <38-45> scripts/components/combat.lua:921 in () ? (Lua) <858-945> =(tail call):-1 in () (tail) <-1--1> scripts/stategraphs/SGfrog.lua:168 in (field) fn (Lua) <168-168> scripts/stategraph.lua:572 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:233 in () ? (Lua) <164-243>
Steps to Reproduce
hi
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 accountSign in
Already have an account? Sign in here.
Sign In Now