Jump to content

Crash of SGmerm.lua


xiaochency
  • Fixed
Quote
[string "scripts/stategraphs/SGmerm.lua"]:393: attempt to index a nil value
LUA ERROR stack traceback:
scripts/stategraphs/SGmerm.lua:393 in (field) fn (Lua) <392-398>
   inst = 105934 - mermguard (valid:true)
scripts/stategraph.lua:665 in (method) UpdateState (Lua) <633-677>
   self =
      tags = table: 0x2a6d6470
      mem = table: 0x26eee3f0
      statemem = table: 0x2a6d6440
      currentstate = table: 0x254eca80
      timelineindex = 3
      timeinstate = 0.33333335071802
      sg = Stategraph : merm
      inst = 105934 - mermguard (valid:true)
      lastupdatetime = 227.23334518448
      bufferedevents = table: 0x27c312e0
      statestarttime = 226.90001183376
      laststate = table: 0x25514180
   dt = 0.26666668057442
   startstate = table: 0x254eca80
   idx = 2
   old_time = 0.33333335071802
   extra_time = 1.7384688077993e-08
scripts/stategraph.lua:703 in (method) Update (Lua) <696-722>
   self =
      tags = table: 0x2a6d6470
      mem = table: 0x26eee3f0
      statemem = table: 0x2a6d6440
      currentstate = table: 0x254eca80
      timelineindex = 3
      timeinstate = 0.33333335071802
      sg = Stategraph : merm
      inst = 105934 - mermguard (valid:true)
      lastupdatetime = 227.23334518448
      bufferedevents = table: 0x27c312e0
      statestarttime = 226.90001183376
      laststate = table: 0x25514180
   dt = 0.26666668057442
scripts/stategraph.lua:128 in (method) Update (Lua) <109-146>
   self =
      updaters = table: 0x28b650a0
      OnEnterNewState = function - scripts/stategraph.lua:27
      tickwaiters = table: 0x15a281b0
      haveEvents = table: 0xb1e0810
      hibernaters = table: 0x15a281e0
      instances = table: 0x15a28130
   current_tick = 6817
   waiters = table: 0x1147b6f0
   updaters = table: 0x33c69880
   k = sg="merm", state="eat", time=0.33, tags = "busy,"
   v = true
   prefab = mermguard
scripts/update.lua:288 in (local) j (Lua) <224-298>
   dt = 0.033333335071802
   tick = 6817
   i = 6817
../mods/workshop-2847908822/modmain_.lua:1 in () ? (Lua) <1-1>
   d = function - =[C]:-1
   f = table: 0x15377fd0
   g = table: 0x138c1e20
   h = table: 0x138c25c0
   y = nil
   j = function - scripts/update.lua:224
   z = nil
   A = nil
   B = nil
   p = nil
   C = nil
   n = 302.9804469943
   l = table: 0x23eb17c0
   D = nil
   E = nil
   o = nil
   F = nil
   G = nil
   H = nil
   I = nil
   J = nil
=(tail call):-1 in ()  (tail) <-1--1>

[00:05:16]: [string "scripts/stategraphs/SGmerm.lua"]:393: attempt to index a nil value
LUA ERROR stack traceback:
    scripts/stategraphs/SGmerm.lua:393 in (field) fn (Lua) <392-398>
    scripts/stategraph.lua:665 in (method) UpdateState (Lua) <633-677>
    scripts/stategraph.lua:703 in (method) Update (Lua) <696-722>
    scripts/stategraph.lua:128 in (method) Update (Lua) <109-146>
    scripts/update.lua:288 in (local) j (Lua) <224-298>
    ../mods/workshop-2847908822/modmain_.lua:1 in () ? (Lua) <1-1>
    =(tail call):-1 in ()  (tail) <-1--1>

 


Steps to Reproduce

pElOgLF.png
给mermguard添加buff触发的崩溃
A crash occurred when adding a buff trigger to Mermguard.




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