Jump to content

SGshadowcreature


cezarica
  • Fixed

Running version 436978 and my Master shard crashed with this error:

[10:15:26]: [string "scripts/stategraphs/SGshadowcreature.lua"]:75: attempt to perform arithmetic on field 'laststartattacktime' (a nil value)
LUA ERROR stack traceback:
scripts/stategraphs/SGshadowcreature.lua:75 in (field) onenter (Lua) <67-86>
   inst = 323992 - crawlinghorror (valid:true)
   t = 25585.634667728
   target = 302003 - wathgrithr (valid:true)
scripts/stategraph.lua:505 in (method) GoToState (Lua) <456-515>
   self =
      tags = table: 0x27da9b00
      mem = table: 0x31558240
      statemem = table: 0x27da9ad0
      currentstate = table: 0x2d75cba0
      timeinstate = 0
      sg = Stategraph : shadowcreature
      inst = 323992 - crawlinghorror (valid:true)
      bufferedevents = table: 0x26e56e20
      timelineindex = 1
      lastupdatetime = 25585.301334377
      laststate = table: 0x2d76dbb0
      statestarttime = 25584.768001016
   statename = idle
   params = nil
   state = table: 0x2d75cba0
scripts/stategraphs/SGshadowcreature.lua:115 in () ? (Lua) <110-117>
   inst = 323992 - crawlinghorror (valid:true)
=(tail call):-1 in ()  (tail) <-1--1>
scripts/stategraph.lua:402 in (method) HandleEvents (Lua) <396-416>
   self =
      tags = table: 0x27da9b00
      mem = table: 0x31558240
      statemem = table: 0x27da9ad0
      currentstate = table: 0x2d75cba0
      timeinstate = 0
      sg = Stategraph : shadowcreature
      inst = 323992 - crawlinghorror (valid:true)
      bufferedevents = table: 0x26e56e20
      timelineindex = 1
      lastupdatetime = 25585.301334377
      laststate = table: 0x2d76dbb0
      statestarttime = 25584.768001016
   buff_events = table: 0x26e56e20
   k = 1
   event = table: 0x25cb8330
scripts/stategraph.lua:150 in (method) Update (Lua) <109-153>
   self =
      updaters = table: 0x331e4b40
      OnEnterNewState = function - scripts/stategraph.lua:27
      tickwaiters = table: 0xb3f3120
      haveEvents = table: 0x33c7b9d0
      hibernaters = table: 0xb3f3150
      instances = table: 0xb3f30a0
   current_tick = 767569
   waiters = table: 0x32976620
   updaters = table: 0x1e965ae0
   evs = table: 0x346e7ca0
   k = sg="shadowcreature", state="idle", time=0.87, tags = "idle,canrotate,"
   v = true
scripts/update.lua:233 in () ? (Lua) <164-243>
   dt = 0.033333335071802
   tick = 767569
   i = 767569
[10:15:26]: [string "scripts/stategraphs/SGshadowcreature.lua"]:75: attempt to perform arithmetic on field 'laststartattacktime' (a nil value)
LUA ERROR stack traceback:
    scripts/stategraphs/SGshadowcreature.lua:75 in (field) onenter (Lua) <67-86>
    scripts/stategraph.lua:505 in (method) GoToState (Lua) <456-515>
    scripts/stategraphs/SGshadowcreature.lua:115 in () ? (Lua) <110-117>
    =(tail call):-1 in ()  (tail) <-1--1>
    scripts/stategraph.lua:402 in (method) HandleEvents (Lua) <396-416>
    scripts/stategraph.lua:150 in (method) Update (Lua) <109-153>
    scripts/update.lua:233 in () ? (Lua) <164-243>
    
[10:15:26]: 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?    
[10:15:26]: 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:95 in () ? (Lua) <33-134>   


Steps to Reproduce

No clue. See above error.




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