Jump to content

Trying to catch Static while it's disappearing at the same time makes server crash


konijnenmoed
  • Pending
02:36:02]: [string "scripts/components/moonstormstaticcatcher.l..."]:17: attempt to index local 'target' (a nil value)
LUA ERROR stack traceback:
scripts/components/moonstormstaticcatcher.lua:17 in () ? (Lua) <15-30>
   self =
      inst = 480899 - moonstorm_static_catcher(LIMBO) (valid:true)
      oncaughtfn = function - scripts/prefabs/moonstorm_static.lua:351
   target = nil
   doer = 416711 - wortox (valid:true)
   objectradius = 0.2
=(tail call):-1 in ()  (tail) <-1--1>
scripts/bufferedaction.lua:26 in (method) Do (Lua) <22-36>
   self (valid:true) =
      forced = true
      action = table: 0x118eede0
      doer = 416711 - wortox (valid:true)
      onfail = table: 0x33a00fb0
      doerownsobject = true
      options = table: 0x2afeb4b0
      rotation = 0
      distance = 5
      autoequipped = true
      onsuccess = table: 0x33cc51c0
      invobject = 480899 - moonstorm_static_catcher(LIMBO) (valid:true)
      pos = -65.46, -314.49 on nil
scripts/entityscript.lua:1611 in (method) PerformBufferedAction (Lua) <1593-1626>
   self (valid:true) =
      _PostActivateHandshakeState_Client = 0
      _freesoulhop_counter = 0
      GetMoistureRateScale = function - scripts/prefabs/player_common.lua:254
      SetCameraDistance = function - scripts/prefabs/player_common.lua:1535
      CanSeePointOnMiniMap = function - scripts/prefabs/player_common_extensions.lua:899
      skeleton_prefab = skeleton_player
      EnableBoatCamera = function - scripts/prefabs/player_common.lua:923
      MakeGenericCommander = function - scripts/prefabs/player_common_extensions.lua:920
      IsOverheating = function - scripts/prefabs/player_common.lua:224
      CommandWheelAllowsGameplay = function - scripts/prefabs/player_common_extensions.lua:1100
      Light = Light (0x29f6caa0)
      FinishPortalHop = function - scripts/prefabs/wortox.lua:581
      ApplySkinOverrides = function - scripts/prefabs/player_common.lua:1711
      ResetMinimapOffset = function - scripts/prefabs/player_common.lua:1519
      ApplyScale = function - scripts/prefabs/player_common.lua:1630
      SetGhostMode = function - scripts/prefabs/player_common.lua:932
      ShowActions = function - scripts/prefabs/player_common.lua:1495
      SetGymStartState = function - scripts/prefabs/player_common.lua:55
      Transform = Transform (0x3c794680)
      DoCheckSoulsAdded = function - scripts/prefabs/wortox.lua:441
      actionreplica = table: 0x22c3b3c0
      event_listening = table: 0x3cfb6e30
      actioncomponents = table: 0x3a1070b0
      wortox_inclination = naughty
      SwapAllCharacteristics = function - scripts/prefabs/player_common.lua:2203
      prefab = wortox
      updatecomponents = table: 0x2d3f5590
      YOTB_issetunlocked = function - scripts/prefabs/player_common.lua:85
      ShakeCamera = function - scripts/prefabs/player_common.lua:1571
      YOTB_isskinunlocked = function - scripts/prefabs/player_common.lua:92
      MiniMapEntity = MiniMapEntity (0x290fd4d0)
      RecalculateInclination = function - scripts/prefabs/wortox.lua:250
      SetGymStopState = function - scripts/prefabs/player_common.lua:64
      EnableTargetLocking = function - scripts/prefabs/player_common_extensions.lua:1094
      _parasiteoverlay = net_bool (0x42fa0c90)
      _underleafcanopy = net_bool (0x450c6650)
      IsChannelCasting = function - scripts/prefabs/player_common.lua:286
      SetCameraZoomed = function - scripts/prefabs/player_common.lua:1557
      TargetForceAttackOnly = function - scripts/prefabs/player_common.lua:51
      CanSeeTileOnMiniMap = function - scripts/prefabs/player_common_extensions.lua:895
      DisableLoadingProtection = function - scripts/prefabs/player_common.lua:1098
      Network = Network (0x3df72970)
      AddCameraExtraDistance = function - scripts/prefabs/player_common.lua:1541
      userid = KU_3dzqqD2B
      CanBlinkTo = function - scripts/prefabs/wortox.lua:497
      name = XXXX
      _buffsymbol = net_hash (0x45569e40)
      ScreenFade = function - scripts/prefabs/player_common.lua:1604
      ChangeToMonkey = function - scripts/prefabs/player_
[02:36:02]: [string "scripts/components/moonstormstaticcatcher.l..."]:17: attempt to index local 'target' (a nil value)
LUA ERROR stack traceback:
    scripts/components/moonstormstaticcatcher.lua:17 in () ? (Lua) <15-30>
    =(tail call):-1 in ()  (tail) <-1--1>
    scripts/bufferedaction.lua:26 in (method) Do (Lua) <22-36>
    scripts/entityscript.lua:1611 in (method) PerformBufferedAction (Lua) <1593-1626>
    scripts/stategraphs/SGwilson.lua:24879 in (field) fn (Lua) <24873-24890>
    scripts/stategraph.lua:678 in (method) UpdateState (Lua) <646-690>
    scripts/stategraph.lua:716 in (method) Update (Lua) <709-735>
    scripts/stategraph.lua:128 in (method) Update (Lua) <109-146>
    scripts/update.lua:288 in () ? (Lua) <224-298>

Steps to Reproduce
  1. Player tries to catch static with Static Restrainer
  2. Static is disappearing while player sees catching animation
  3. Server crashes during catching animation



User Feedback


This is still an issue, just happened again.

 

16:47:26]: [string "scripts/components/moonstormstaticcatcher.l..."]:17: attempt to index local 'target' (a nil value)
LUA ERROR stack traceback:
scripts/components/moonstormstaticcatcher.lua:17 in () ? (Lua) <15-30>
   self =
      inst = 577218 - moonstorm_static_catcher(LIMBO) (valid:true)
      oncaughtfn = function - scripts/prefabs/moonstorm_static.lua:351
   target = nil
   doer = 135621 - waxwell (valid:true)
   objectradius = 0.2
=(tail call):-1 in ()  (tail) <-1--1>
scripts/bufferedaction.lua:26 in (method) Do (Lua) <22-36>
   self (valid:true) =
      forced = true
      action = table: 0x3ff7a6f0
      doer = 135621 - waxwell (valid:true)
      onfail = table: 0x3447afe0
      doerownsobject = true
      options = table: 0x4f8f1070
      rotation = 0
      distance = 5
      onsuccess = table: 0xf0978430
      invobject = 577218 - moonstorm_static_catcher(LIMBO) (valid:true)
      pos = 665.69, -156.24 on nil
scripts/entityscript.lua:1671 in (method) PerformBufferedAction (Lua) <1653-1686>
   self (valid:true) =
      _PostActivateHandshakeState_Client = 0
      GetMoistureRateScale = function - scripts/prefabs/player_common.lua:254
      _blackout = net_bool (0x44487dc0)
      CanSeePointOnMiniMap = function - scripts/prefabs/player_common_extensions.lua:899
      skeleton_prefab = skeleton_player
      EnableBoatCamera = function - scripts/prefabs/player_common.lua:932
      MakeGenericCommander = function - scripts/prefabs/player_common_extensions.lua:920
      IsOverheating = function - scripts/prefabs/player_common.lua:224
      CommandWheelAllowsGameplay = function - scripts/prefabs/player_common_extensions.lua:1100
      Light = Light (0x3eeef990)
      _OnDespawnPet = function - scripts/prefabs/player_common.lua:1483
      ResetMinimapOffset = function - scripts/prefabs/player_common.lua:1528
      customidlestate = waxwell_funnyidle
      ApplyScale = function - scripts/prefabs/player_common.lua:1639
      _announceshadowlevel = table: 0x3d6c21d0
      ShowActions = function - scripts/prefabs/player_common.lua:1504
      SetGymStartState = function - scripts/prefabs/player_common.lua:55
      IsChannelCastingItem = function - scripts/prefabs/player_common.lua:290
      actionreplica = table: 0x11bd5e80
      event_listening = table: 0xfb42280
      actioncomponents = table: 0x12622d60
      SwapAllCharacteristics = function - scripts/prefabs/player_common.lua:2222
      prefab = waxwell
      updatecomponents = table: 0x37dedce0
      YOTB_issetunlocked = function - scripts/prefabs/player_common.lua:85
      ShakeCamera = function - scripts/prefabs/player_common.lua:1580
      YOTB_isskinunlocked = function - scripts/prefabs/player_common.lua:92
      MiniMapEntity = MiniMapEntity (0x3a107aa0)
      SetGymStopState = function - scripts/prefabs/player_common.lua:64
      EnableTargetLocking = function - scripts/prefabs/player_common_extensions.lua:1094
      OnSleepIn = function - scripts/prefabs/player_common.lua:1340
      _underleafcanopy = net_bool (0x2471c2a0)
      IsChannelCasting = function - scripts/prefabs/player_common.lua:286
      SetCameraZoomed = function - scripts/prefabs/player_common.lua:1566
      TargetForceAttackOnly = function - scripts/prefabs/player_common.lua:51
      CanSeeTileOnMiniMap = function - scripts/prefabs/player_common_extensions.lua:895
      DisableLoadingProtection = function - scripts/prefabs/player_common.lua:1107
      Network = Network (0x4a2febb0)
      AddCameraExtraDistance = function - scripts/prefabs/player_common.lua:1550
      userid = KU_dBOtnkVu
      refusestobowtoroyalty = true
      name = konijnenmoeder
      _buffsymbol = net_hash (0x2369d440)
      ScreenFade = function - scripts/prefabs/player_common.lua:1613
      forget_field_task = PERIODIC 135621: 2.000000
      ChangeToMonkey = function - scripts/prefabs/player_common.lua:2241
      _PostActivateHandshakeState_Server = 3
      AttachClassified = function - scripts/prefabs/player_common.lua:1125
      isplayer = true
      _sharksoundparam = net_float (0x439e9650)
      _serverpauseddirt
[16:47:26]: [string "scripts/components/moonstormstaticcatcher.l..."]:17: attempt to index local 'target' (a nil value)
LUA ERROR stack traceback:
    scripts/components/moonstormstaticcatcher.lua:17 in () ? (Lua) <15-30>
    =(tail call):-1 in ()  (tail) <-1--1>
    scripts/bufferedaction.lua:26 in (method) Do (Lua) <22-36>
    scripts/entityscript.lua:1671 in (method) PerformBufferedAction (Lua) <1653-1686>
    scripts/stategraphs/SGwilson.lua:25085 in (field) fn (Lua) <25079-25096>
    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>
	

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