Jump to content

Merms caused the server crash.


xLin_
  • Fixed

The server crashed when Wurt fought the Celestial Champion on the Lunar Island.

[00:06:04]: [string "scripts/prefabs/merm.lua"]:926: attempt to index field 'named' (a nil value)
LUA ERROR stack traceback:
scripts/prefabs/merm.lua:926 in (method) SaveCorpseData (Lua) <925-927>
   inst = 126304 - merm_shadow (valid:true)
   corpse = 127280 - mermcorpse (valid:true)
scripts/componentutil.lua:1207 in (global) TryEntityToCorpse (Lua) <1191-1225>
   inst = 126304 - merm_shadow (valid:true)
   corpseprefab = mermcorpse
   can_corpse = false
   can_rift_mutate = false
   can_prerift_mutate = true
   x = 222.24542236328
   y = -2.2177252034794e-008
   z = -597.21636962891
   rot = 167.45910644531
   sx = 1.0499999523163
   sy = 1.0499999523163
   sz = 1.0499999523163
   corpse = 127280 - mermcorpse (valid:true)
scripts/stategraphs/commonstates.lua:2486 in (field) fn (Lua) <2484-2502>
   inst = 126304 - merm_shadow (valid:true)
   corpseprefab = mermcorpse
scripts/stategraph.lua:678 in (method) UpdateState (Lua) <646-690>
   self =
      tags = table: 000000004C915350
      mem = table: 0000000048C4AA70
      statemem = table: 000000004C9151C0
      currentstate = table: 0000000043669D60
      timeinstate = 0.033333335071802
      sg = Stategraph : merm
      inst = 126304 - merm_shadow (valid:true)
      bufferedevents = table: 000000004C9154E0
      statestarttime = 233.2333454974
      lastupdatetime = 233.26667883247
      laststate = table: 0000000043662740
   dt = 0.033333335071802
   startstate = table: 0000000043669D60
   idx = 1
   old_time = 0.033333335071802
   extra_time = 1.7384688064115e-009
scripts/stategraph.lua:725 in (method) Update (Lua) <718-744>
   self =
      tags = table: 000000004C915350
      mem = table: 0000000048C4AA70
      statemem = table: 000000004C9151C0
      currentstate = table: 0000000043669D60
      timeinstate = 0.033333335071802
      sg = Stategraph : merm
      inst = 126304 - merm_shadow (valid:true)
      bufferedevents = table: 000000004C9154E0
      statestarttime = 233.2333454974
      lastupdatetime = 233.26667883247
      laststate = table: 0000000043662740
   dt = 0.033333335071802
scripts/stategraph.lua:128 in (method) Update (Lua) <109-146>
   self =
      updaters = table: 000000004D0D0920
      OnEnterNewState = function - scripts/stategraph.lua:27
      tickwaiters = table: 000000000FA395C0
      haveEvents = table: 000000004C913820
      hibernaters = table: 000000000FA3A010
      instances = table: 000000000FA39480
   current_tick = 6998
   waiters = table: 0000000026F0CD00
   updaters = table: 000000004C9132D0
   k = sg="merm", state="corpse", time=0.03, tags = "noattack,dead,busy,"
   v = true
   prefab = merm_shadow
scripts/update.lua:288 in () ? (Lua) <224-298>
   dt = 0.033333335071802
   tick = 6998
   i = 6998

[00:06:04]: [string "scripts/prefabs/merm.lua"]:926: attempt to index field 'named' (a nil value)
LUA ERROR stack traceback:
    scripts/prefabs/merm.lua:926 in (method) SaveCorpseData (Lua) <925-927>
    scripts/componentutil.lua:1207 in (global) TryEntityToCorpse (Lua) <1191-1225>
    scripts/stategraphs/commonstates.lua:2486 in (field) fn (Lua) <2484-2502>
    scripts/stategraph.lua:678 in (method) UpdateState (Lua) <646-690>
    scripts/stategraph.lua:725 in (method) Update (Lua) <718-744>
    scripts/stategraph.lua:128 in (method) Update (Lua) <109-146>
    scripts/update.lua:288 in () ? (Lua) <224-298>

Steps to Reproduce

 

1.Wurt carries Shadow Affinity.

2.Recruited approximately 35 Merms.

3.Fought the Celestial Champion on the Lunar Island.

4.The crash appears to occur when Merms die.




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