Jump to content

Squid herd removal crashed server


CossonWool
  • Fixed

Server log error is in the spoiler

Spoiler

[05:20:01]: ALL SQUID IN HERD ASLEEP AND ON WATER: REMOVE SQUID HERD    
[05:20:01]: Stale Component Reference: GUID 118641, scripts/entityscript.lua:1448
[05:20:01]: [string "scripts/components/map.lua"]:59: calling 'GetTileAtPoint' on bad self (number expected, got nil)
LUA ERROR stack traceback:
=[C]:-1 in (method) GetTileAtPoint (C) <-1--1>
scripts/components/map.lua:59 in (method) IsOceanTileAtPoint (Lua) <58-63>
   self = Map (07FD6D30)
   x = nil
   y = nil
   z = nil
scripts/components/map.lua:66 in () ? (Lua) <65-69>
   self = Map (07FD6D30)
   x = nil
   y = nil
   z = nil
   allow_boats = nil
=(tail call):-1 in ()  (tail) <-1--1>
scripts/prefabs/squidherd.lua:108 in (field) checkforremoval (Lua) <105-121>
   inst = 118636 - squidherd (valid:false)
   remove = true
   k = 118641 - squid (valid:false)
   v = true
scripts/prefabs/squidherd.lua:7 in (local) fn (Lua) <7-7>
scripts/entityscript.lua:1040 in (method) PushEvent (Lua) <1027-1054>
   self (valid:true) =
      GUID = 118645
      inlimbo = false
      under = true
      brain = --brain--
sleep time: 0.15
Priority - RUNNING <RUNNING> (execute 1, eval in 0.15)>0.15
   >Parallel - RUNNING <RUNNING> ()>0.15
   >   >NotJumpingBehaviour - READY <SUCCESS> ()>0.00
   >   >Priority - RUNNING <RUNNING> (execute 9, eval in 0.15)>0.15
   >   >   >Parallel - FAILED <FAILED> ()>0.00
   >   >   >   >PanicHaunted - FAILED <FAILED> ()>0.00
   >   >   >   >Panic - READY <READY> ()>0.00
   >   >   >Parallel - FAILED <FAILED> ()>0.00
   >   >   >   >OnFire - FAILED <FAILED> ()>0.00
   >   >   >   >Panic - READY <READY> ()>0.00
   >   >   >Sequence - FAILED <FAILED> ()>0.00
   >   >   >   >nearwall - FAILED <FAILED> ()>0.00
   >   >   >   >AttackWall - READY <READY> ()>0.00
   >   >   >Parallel - FAILED <FAILED> ()>0.00
   >   >   >   >Hooked - FAILED <FAILED> ()>0.00
   >   >   >   >Priority - READY <READY> ()>0.00
   >   >   >   >   >DoAction - READY <READY> ()>0.00
   >   >   >   >   >Priority - READY <READY> ()>0.00
   >   >   >   >   >   >Parallel - READY <READY> ()>0.00
   >   >   >   >   >   >    [**truncated**]
      sounds = table: 06B60DE8
      AnimState = AnimState (216067F0)
      eyeglow = 118646 - squideyelight (valid:true)
      LaunchProjectile = function - scripts/prefabs/squid.lua:53
      pendingtasks = table: 0C31C8D0
      sg = sg="squid", state="run", time=0.63, tags = "moving,running,canrotate,"
      name = Skittersquid
      waketask = PERIODIC 118645: 0.300000
      Transform = Transform (21606670)
      actionreplica = table: 0C31B340
      event_listening = table: 0C31BC00
      hop_distance = 6
      lower_components_shadow = table: 0C31AA80
      entity = Entity (189CA8E8)
      prefab = squid
      OnEntitySleep = function - scripts/prefabs/squid.lua:132
      OnSave = function - scripts/prefabs/squid.lua:135
      DynamicShadow = DynamicShadow (21607210)
      OnLoad = function - scripts/prefabs/squid.lua:139
      Network = Network (21607410)
      brainfn = table: 06B5FEC0
      event_listeners = table: 0C31B7F0
      spawntime = 1835.5000957288
      persists = true
      actioncomponents = table: 0C31AAF8
      geteatchance = function - scripts/prefabs/squid.lua:128
      updatecomponents = table: 0C31B688
      replica = table: 0C31AE18
      Physics = Physics (21607310)
      components = table: 0C31AEE0
      SoundEmitter = SoundEmitter (21606690)
   event = entitysleep
   data = nil
   listeners = table: 07CC20A8
   tocall = table: 0689B308
   i = 1
   fn = function - scripts/prefabs/squidherd.lua:7
scripts/mainfunctions.lua:418 in () ? (Lua) <415-420>
   guid = 118645
   event = entitysleep
   data = nil
   inst = 118645 - squid (valid:true)

[05:20:01]: [string "scripts/components/map.lua"]:59: calling 'GetTileAtPoint' on bad self (number expected, got nil)
LUA ERROR stack traceback:
    =[C]:-1 in (method) GetTileAtPoint (C) <-1--1>
    scripts/components/map.lua:59 in (method) IsOceanTileAtPoint (Lua) <58-63>
    scripts/components/map.lua:66 in () ? (Lua) <65-69>
    =(tail call):-1 in ()  (tail) <-1--1>
    scripts/prefabs/squidherd.lua:108 in (field) checkforremoval (Lua) <105-121>
    scripts/prefabs/squidherd.lua:7 in (local) fn (Lua) <7-7>
    scripts/entityscript.lua:1040 in (method) PushEvent (Lua) <1027-1054>
    scripts/mainfunctions.lua:418 in () ? (Lua) <415-420>
    
[05:20:01]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is     ScriptErrorWidget    not a screen?    
[05:20:01]: stack traceback:
    scripts/widgets/widget.lua:605 in (method) SetFocusFromChild (Lua) <602-627>
    scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627>
    scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627>
    scripts/widgets/widget.lua:656 in (method) SetFocus (Lua) <629-665>
    scripts/widgets/menu.lua:83 in (method) SetFocus (Lua) <74-85>
    scripts/widgets/scripterrorwidget.lua:109 in (method) OnUpdate (Lua) <102-119>
    scripts/update.lua:90 in () ? (Lua) <33-129>    

 


Steps to Reproduce
Get a boat, go afk in some ocean, come back to a crashed server, check the server log.



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