Jump to content

Changing spider type while in backpack crashes the server


catunia
  • Fixed

When trying to change or mutate a spider into a different one while in backpack or inventory it crashes the server.

 

[01:19:59]: [string "scripts/components/spidermutator.lua"]:17: attempt to index field 'inventory' (a nil value)
LUA ERROR stack traceback:
    scripts/components/spidermutator.lua:17 in (method) Mutate (Lua) <13-38>
    scripts/actions.lua:3688 in (field) fn (Lua) <3686-3693>
    scripts/bufferedaction.lua:25 in (method) Do (Lua) <21-35>
    scripts/entityscript.lua:1325 in (method) PerformBufferedAction (Lua) <1312-1335>
    scripts/stategraphs/SGwilson.lua:7638 in (field) fn (Lua) <7637-7639>
    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>

server_log_2021-06-27-22-37-24.txt


Steps to Reproduce

change a spider while in inventory or backpack.




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