Jump to content

Killing Mutated Merm Guard as Shadow aligned Wurt makes server crash


konijnenmoed
  • Fixed
[00:26:17]: [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 = 154886 - merm_shadow (valid:true)
   corpse = 155431 - mermcorpse (valid:true)
scripts/componentutil.lua:1207 in (global) TryEntityToCorpse (Lua) <1191-1225>
   inst = 154886 - merm_shadow (valid:true)
   corpseprefab = mermcorpse
   can_corpse = false
   can_rift_mutate = false
   can_prerift_mutate = true
   x = -467.09655761719
   y = -1.019233586419e-08
   z = -257.87652587891
   rot = -35.406317818309
   sx = 1.0499999523163
   sy = 1.0499999523163
   sz = 1.0499999523163
   corpse = 155431 - mermcorpse (valid:true)
scripts/stategraphs/commonstates.lua:2486 in (field) fn (Lua) <2484-2502>
   inst = 154886 - merm_shadow (valid:true)
   corpseprefab = mermcorpse
scripts/stategraph.lua:678 in (method) UpdateState (Lua) <646-690>
   self =
      tags = table: 0x3029d280
      mem = table: 0x424cf5c0
      statemem = table: 0x38f3a740
      currentstate = table: 0xc4f6600
      timeinstate = 0.033333335071802
      sg = Stategraph : merm
      inst = 154886 - merm_shadow (valid:true)
      lastupdatetime = 1363.6334044524
      bufferedevents = table: 0x35b92cf0
      statestarttime = 1363.6000711173
      laststate = table: 0x1235a270
   dt = 0.033333335071802
   startstate = table: 0xc4f6600
   idx = 1
   old_time = 0.033333335071802
   extra_time = 1.7384688064115e-09
scripts/stategraph.lua:725 in (method) Update (Lua) <718-744>
   self =
      tags = table: 0x3029d280
      mem = table: 0x424cf5c0
      statemem = table: 0x38f3a740
      currentstate = table: 0xc4f6600
      timeinstate = 0.033333335071802
      sg = Stategraph : merm
      inst = 154886 - merm_shadow (valid:true)
      lastupdatetime = 1363.6334044524
      bufferedevents = table: 0x35b92cf0
      statestarttime = 1363.6000711173
      laststate = table: 0x1235a270
   dt = 0.033333335071802
scripts/stategraph.lua:128 in (method) Update (Lua) <109-146>
   self =
      updaters = table: 0x2dc12a80
      OnEnterNewState = function - scripts/stategraph.lua:27
      tickwaiters = table: 0x9d88030
      haveEvents = table: 0x3f51a1a0
      hibernaters = table: 0x9d88060
      instances = table: 0x9d87fb0
   current_tick = 40909
   waiters = table: 0x387abcc0
   updaters = table: 0x33f02ce0
   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 = 40909
   i = 40909

[00:26:17]: [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. Kill Mutated Merm Guard that's been recruited before
2. Mutated Merm Guard turns into normal Merm Guard (but also leaves a corpse that should turn into a Shadow Merm Guard?)
3. Server crashes

Could also be related to the fact that they all grouped up to kill each other and because of that the corpses had to turn into Shadow Merm Guards.

  • Sad 1



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