Jump to content

秃鹫的攻击导致游戏崩溃BUG


jjen
  • Fixed

在最新发布的更新中,秃鹫的攻击会导致游戏崩溃。在新创建的游戏和之前版本的游戏中均可浮现此问题。

以下是"server_log.txt"报错日志

[00:03:05]: A timer with the name 	salt	 already exists on 	102452 - beefalo	!	
[00:03:18]:  START OF ATTACK 	
[00:03:18]: [string "scripts/stategraphs/SGbuzzard.lua"]:412: attempt to index field 'target' (a nil value)
LUA ERROR stack traceback:
scripts/stategraphs/SGbuzzard.lua:412 in (field) fn (Lua) <411-415>
   inst = 123733 - buzzard (valid:true)
scripts/stategraph.lua:603 in (method) UpdateState (Lua) <571-615>
   self =
      tags = table: 3C212B88
      mem = table: 3C850188
      statemem = table: 3C212C78
      currentstate = table: 304583A8
      timeinstate = 0.50000002607703
      sg = Stategraph : buzzard
      inst = 123733 - buzzard (valid:true)
      bufferedevents = table: 3C218420
      timelineindex = 3
      lastupdatetime = 19.60000102222
      laststate = table: 3044D818
      statestarttime = 19.100000996143
   dt = 0.46666669100523
   startstate = table: 304583A8
   idx = 2
   old_time = 0.50000002607703
   extra_time = 2.6077032089233e-008
scripts/stategraph.lua:642 in (method) Update (Lua) <634-662>
   self =
      tags = table: 3C212B88
      mem = table: 3C850188
      statemem = table: 3C212C78
      currentstate = table: 304583A8
      timeinstate = 0.50000002607703
      sg = Stategraph : buzzard
      inst = 123733 - buzzard (valid:true)
      bufferedevents = table: 3C218420
      timelineindex = 3
      lastupdatetime = 19.60000102222
      laststate = table: 3044D818
      statestarttime = 19.100000996143
   dt = 0.46666669100523
scripts/stategraph.lua:128 in (method) Update (Lua) <109-146>
   self =
      updaters = table: 3C7FF218
      OnEnterNewState = function - scripts/stategraph.lua:27
      tickwaiters = table: 0C966C98
      haveEvents = table: 3C7FCD60
      hibernaters = table: 0C966CE8
      instances = table: 0C966CC0
   current_tick = 588
   waiters = table: 3C212DB8
   updaters = table: 3C7FD170
   k = sg="buzzard", state="attack", time=0.50, tags = "attack,busy,"
   v = true
   prefab = buzzard
scripts/update.lua:283 in () ? (Lua) <219-293>
   dt = 0.033333335071802
   tick = 588
   i = 588

[00:03:18]: [string "scripts/stategraphs/SGbuzzard.lua"]:412: attempt to index field 'target' (a nil value)
LUA ERROR stack traceback:
    scripts/stategraphs/SGbuzzard.lua:412 in (field) fn (Lua) <411-415>
    scripts/stategraph.lua:603 in (method) UpdateState (Lua) <571-615>
    scripts/stategraph.lua:642 in (method) Update (Lua) <634-662>
    scripts/stategraph.lua:128 in (method) Update (Lua) <109-146>
    scripts/update.lua:283 in () ? (Lua) <219-293>

Klei ID:KU__CRUc3cL

Steam ID:  j_jen


Steps to Reproduce

使用食物引诱秃鹫降落,在秃鹫吃食物时攻击秃鹫并让秃鹫出现攻击动作,即可复现此问题

  • Like 1



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