Jump to content

Server crashed. Help me


Pure Brilliance
  • Fixed

When I start the server, it crashes repeatedly in 90 seconds. Even after removing all the mods, it keeps crashing. Below is the log file.

[00:01:32]: [string "scripts/util.lua"]:546: attempt to perform arithmetic on local 'v1' (a nil value)
LUA ERROR stack traceback:
scripts/util.lua:546 in () ? (Lua) <536-555>
   v1 = nil
   v2 = nil
   v3 = 15.728343009949
   v4 = 342.63818359375
=(tail call):-1 in ()  (tail) <-1--1>
scripts/simutil.lua:68 in () ? (Lua) <63-76>
   x = nil
   y = nil
   z = nil
   rangesq = 1.#INF
   isalive = nil
   closestPlayer = nil
   i = 1
   v = 140448 - winona (valid:true)
=(tail call):-1 in ()  (tail) <-1--1>
scripts/prefabs/wagstaff_npc.lua:870 in (field) fn (Lua) <866-885>
   inst = 142896 - wagstaff_npc_mutations (valid:false)
   x = nil
   y = nil
   z = nil
scripts/scheduler.lua:186 in (method) OnTick (Lua) <164-216>
   self =
      running = table: 000000000BBFC350
      waitingfortick = table: 000000000BBFBCC0
      hibernating = table: 000000000BBFC120
      tasks = table: 000000000BBFC9E0
      waking = table: 00000000742E6890
      attime = table: 000000000BBFC530
   tick = 4393
   k = PERIODIC 142896: 2.875000
   v = true
   already_dead = false
scripts/scheduler.lua:409 in (global) RunScheduler (Lua) <407-415>
   tick = 4393
scripts/update.lua:240 in () ? (Lua) <224-298>
   dt = 0.033333335071802
   tick = 4393
   i = 4393


[00:01:32]: [string "scripts/util.lua"]:546: attempt to perform arithmetic on local 'v1' (a nil value)
LUA ERROR stack traceback:
    scripts/util.lua:546 in () ? (Lua) <536-555>
    =(tail call):-1 in ()  (tail) <-1--1>
    scripts/simutil.lua:68 in () ? (Lua) <63-76>
    =(tail call):-1 in ()  (tail) <-1--1>
    scripts/prefabs/wagstaff_npc.lua:870 in (field) fn (Lua) <866-885>
    scripts/scheduler.lua:186 in (method) OnTick (Lua) <164-216>
    scripts/scheduler.lua:409 in (global) RunScheduler (Lua) <407-415>
    scripts/update.lua:240 in () ? (Lua) <224-298>
    
[00:01:32]: Stale Component Reference: GUID 142896, scripts/prefabs/wagstaff_npc.lua:869
[00:01:32]: Stale Component Reference: GUID 142896, scripts/prefabs/wagstaff_npc.lua:869
[00:01:32]: Stale Component Reference: GUID 142896, scripts/prefabs/wagstaff_npc.lua:869
[00:01:32]: Stale Component Reference: GUID 142896, scripts/prefabs/wagstaff_npc.lua:869
[00:01:32]: Stale Component Reference: GUID 142896, scripts/prefabs/wagstaff_npc.lua:869
[00:01:32]: Stale Component Reference: GUID 142896, scripts/prefabs/wagstaff_npc.lua:869
[00:01:32]: Stale Component Reference: GUID 142896, scripts/prefabs/wagstaff_npc.lua:869
[00:01:32]: Stale Component Reference: GUID 142896, scripts/prefabs/wagstaff_npc.lua:869
[00:01:32]: Stale Component Reference: GUID 142896, scripts/prefabs/wagstaff_npc.lua:869
[00:01:32]: Stale Component Reference: GUID 142896, scripts/prefabs/wagstaff_npc.lua:869
[00:01:32]: Stale Component Reference: GUID 142896, scripts/prefabs/wagstaff_npc.lua:869
[00:01:32]: Stale Component Reference: GUID 142896, scripts/prefabs/wagstaff_npc.lua:869
[00:01:32]: Stale Component Reference: GUID 142896, scripts/prefabs/wagstaff_npc.lua:869
[00:01:32]: Stale Component Reference: GUID 142896, scripts/prefabs/wagstaff_npc.lua:869
[00:01:32]: Stale Component Reference: GUID 142896, scripts/prefabs/wagstaff_npc.lua:869
[00:01:32]: Stale Component Reference: GUID 142896, scripts/prefabs/wagstaff_npc.lua:869
[00:01:32]: Stale Component Reference: GUID 142896, scripts/prefabs/wagstaff_npc.lua:869
[00:01:32]: Stale Component Reference: GUID 142896, scripts/prefabs/wagstaff_npc.lua:869
[00:01:32]: Stale Component Reference: GUID 142896, scripts/prefabs/wagstaff_npc.lua:869


Steps to Reproduce

   




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.

This is a familiar bug. The likely cause is one of the mutated bosses dying while off screen.

You can prevent this from happening by deleting those mobs from your world immediately after launching it:

After launch, pause your server ASAP.
Run this command (Remote, not Local)

c_removeall("mutateddeerclops") c_removeall("mutatedbearger") c_removeall("mutatedwarg")

Try to run your game and see if it stops crashing after those 90 seconds.

Edited by Adgycarp
Typo

Share this comment


Link to comment
Share on other sites

This has been fixed in the beta branch. In the meantime, you may run the console command provided by Adgycarp.

Thank you, Adgycarp, for helping tracking this down.

Changed Status to Fixed

  • Thanks 1

Share this comment


Link to comment
Share on other sites



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