Jump to content

Trying to hit the spider crashes the server.


PhIogiston
  • Pending

[00:03:47]: [string "scripts/componentutil.lua"]:1144: attempt to call method 'GetLunacyAreaModifier' (a nil value)
LUA ERROR stack traceback:
scripts/componentutil.lua:1144 in (global) GetLunarPreRiftMutationChance (Lua) <1141-1145>
   inst = 128197 - spider (valid:true)
scripts/componentutil.lua:1158 in (global) CanLunarPreRiftMutateFromCorpse (Lua) <1147-1161>
   inst = 128197 - spider (valid:true)
scripts/componentutil.lua:1194 in (global) TryEntityToCorpse (Lua) <1191-1223>
   inst = 128197 - spider (valid:true)
   corpseprefab = spidercorpse
   can_corpse = nil
   can_rift_mutate = false
scripts/stategraphs/commonstates.lua:2486 in (field) fn (Lua) <2484-2502>
   inst = 128197 - spider (valid:true)
   corpseprefab = spidercorpse
scripts/stategraph.lua:678 in (method) UpdateState (Lua) <646-690>
   self =
      tags = table: 36D15738
      mem = table: 330885B8
      statemem = table: 36D15648
      currentstate = table: 344D7018
      timeinstate = 0.033333335071802
      sg = Stategraph : spider
      inst = 128197 - spider (valid:true)
      lastupdatetime = 103.93333875388
      bufferedevents = table: 36D16228
      statestarttime = 103.90000541881
      laststate = table: 3445C548
   dt = 0.033333335071802
   startstate = table: 344D7018
   idx = 1
   old_time = 0.033333335071802
   extra_time = 1.7384688064115e-009
scripts/stategraph.lua:725 in (method) Update (Lua) <718-744>
   self =
      tags = table: 36D15738
      mem = table: 330885B8
      statemem = table: 36D15648
      currentstate = table: 344D7018
      timeinstate = 0.033333335071802
      sg = Stategraph : spider
      inst = 128197 - spider (valid:true)
      lastupdatetime = 103.93333875388
      bufferedevents = table: 36D16228
      statestarttime = 103.90000541881
      laststate = table: 3445C548
   dt = 0.033333335071802
scripts/stategraph.lua:128 in (method) Update (Lua) <109-146>
   self =
      updaters = table: 3520A828
      OnEnterNewState = function - scripts/stategraph.lua:27
      tickwaiters = table: 10B26F28
      haveEvents = table: 36D14950
      hibernaters = table: 10B26F78
      instances = table: 10B26F00
   current_tick = 3118
   waiters = table: 32DD2710
   updaters = table: 36D14A18
   k = sg="spider", state="corpse", time=0.03, tags = "noattack,dead,busy,"
   v = true
   prefab = spider
scripts/update.lua:288 in () ? (Lua) <224-298>
   dt = 0.033333335071802
   tick = 3118
   i = 3118

[00:03:47]: [string "scripts/componentutil.lua"]:1144: attempt to call method 'GetLunacyAreaModifier' (a nil value)
LUA ERROR stack traceback:
    scripts/componentutil.lua:1144 in (global) GetLunarPreRiftMutationChance (Lua) <1141-1145>
    scripts/componentutil.lua:1158 in (global) CanLunarPreRiftMutateFromCorpse (Lua) <1147-1161>
    scripts/componentutil.lua:1194 in (global) TryEntityToCorpse (Lua) <1191-1223>
    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. Hit a spider.

2. Server is crushing




User Feedback


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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...