Jump to content

WX-78 Bug Report


SuChenQAQ
  • Pending

Game crashes when two robots attack a Scavenged Werepig.

[02:59:15]: [string "scripts/stategraphs/SGdaywalker2.lua"]:1819: attempt to index field 'targets' (a nil value)
LUA ERROR stack traceback:
scripts/stategraphs/SGdaywalker2.lua:1819 in (field) onupdate (Lua) <1778-1833>
   inst = 297980 - daywalker2 (valid:true)
   speedmult = 1
   target = 294173 - wx78 (valid:true)
   ignoreblock = true
   hit = true
   blocked = false
scripts/stategraph.lua:688 in (method) UpdateState (Lua) <646-690>
   self =
      timeout = 0.8
      tags = table: 0x35e81930
      mem = table: 0x1d051c80
      statemem = table: 0xbf030e0
      currentstate = table: 0x2c19ede0
      timelineindex = 1
      timeinstate = 0
      sg = Stategraph : daywalker2
      inst = 297980 - daywalker2 (valid:true)
      lastupdatetime = 10430.600543998
      bufferedevents = table: 0x33c35ec0
      statestarttime = 10430.600543998
      laststate = table: 0x3510bf30
   dt = 0.033333335071802
   startstate = table: 0x3510bf30
scripts/stategraph.lua:725 in (method) Update (Lua) <718-744>
   self =
      timeout = 0.8
      tags = table: 0x35e81930
      mem = table: 0x1d051c80
      statemem = table: 0xbf030e0
      currentstate = table: 0x2c19ede0
      timelineindex = 1
      timeinstate = 0
      sg = Stategraph : daywalker2
      inst = 297980 - daywalker2 (valid:true)
      lastupdatetime = 10430.600543998
      bufferedevents = table: 0x33c35ec0
      statestarttime = 10430.600543998
      laststate = table: 0x3510bf30
   dt = 0.033333335071802
scripts/stategraph.lua:128 in (method) Update (Lua) <109-146>
   self =
      updaters = table: 0x2e6c6f60
      OnEnterNewState = function - scripts/stategraph.lua:27
      tickwaiters = table: 0x127afcb0
      haveEvents = table: 0x1a7c2ea0
      hibernaters = table: 0x127afce0
      instances = table: 0x127afc30
   current_tick = 312918
   waiters = nil
   updaters = table: 0x35f0e650
   k = sg="daywalker2", state="electrocute", time=0.00, tags = "notalksound,hit,electrocute,nosleep,busy,noelectrocute,"
   v = true
   prefab = daywalker2
scripts/update.lua:288 in (upvalue) old_update (Lua) <224-298>
   dt = 0.033333335071802
   tick = 312918
   i = 312918
update:6 in () ? (Lua) <4-11>
   arg = nil
   start_time = 10735.56133306

[02:59:15]: [string "scripts/stategraphs/SGdaywalker2.lua"]:1819: attempt to index field 'targets' (a nil value)
LUA ERROR stack traceback:
    scripts/stategraphs/SGdaywalker2.lua:1819 in (field) onupdate (Lua) <1778-1833>
    scripts/stategraph.lua:688 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 (upvalue) old_update (Lua) <224-298>
    update:6 in () ? (Lua) <4-11>

 


Steps to Reproduce
 

The robot equipped with the Block Chip and Shock Chip is referred to as Robot A.
The robot without those chips equipped is referred to as Robot B.

Robot A uses its blocking ability while the Scavenged Werepig attacks Robot B. Then, when the Scavenged Werepig prepares to charge, Robot A is positioned in its charge path. If Robot A intercepts the charge and triggers the shock effect, the game crashes.




User Feedback


There are no comments to display.



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