[Server Crash] - Ewecus and Not valid targets


Recommended Posts

  • Developer

Bug Submission:

Category: Server Crash
Issue Title: Ewecus and Not valid targets
Issue Description: A server crash occurred when a player disconnected while fighting Ewecus (Spat)

Steps to Reproduce:

- c_spawn("spat")
- Disconnect while he's running away and before he turns back. (Need a good timing)
- crash :/



In behaviours/faceentity.lua (line 68): add self.target:IsValid() condition

if self.target and self.target:IsValid() and self.keepfn(self.inst, self.target) then    if self.inst.sg:HasStateTag("canrotate") then        self.inst:FacePoint(self.target.Transform:GetWorldPosition())    endelse    self.status = FAILEDend


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.