Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#5552 closed defect (fixed)

OOS on rejoin - VisualActor animation state

Reported by: elexis Owned by: wraitii
Priority: Release Blocker Milestone: Alpha 24
Component: Simulation Keywords: regression
Cc: Patch:

Description

As of r22626 there is an OOS on rejoin that happens (every? time?) someone rejoins.

The ones who didnt rejoin have their animals in feeding state while the ones on rejoin have it set to idle ("anim name" / m_AnimName).

Reproduce: start the game, join the match with a spectator, OOS.

Alternatively start a match, end the match, run the rejointest.

Change History (4)

comment:1 by elexis, 5 years ago

--- 260401,260430 ----
      current speed: 0
      facePointAfterMove: true
      length: 0
      length: 0
    Vision:
    VisualActor:
      base actor: "fauna/deer.xml"
      r: 1
      g: 1
      b: 1
!     anim name: "idle"
      anim once: false
      anim speed: 1
      sound group: ""
      anim desync: 0.05
      anim sync repeat time: 0
      anim sync offset time: 0
      length: 1
      key: "animation"
!     value: "idle"
      seed: 29198
      actor: "fauna/deer.xml"
    AIProxy:
    Armour:
      object: {
    "invulnerable": false
  }

comment:2 by elexis, 5 years ago

Introduced by the Deserialize Init call in r22586

comment:3 by wraitii, 5 years ago

Owner: set to wraitii
Resolution: fixed
Status: newclosed

In 22648:

Fix VisualActor OOS introduced in rp22586

A call to SelectAnimation("idle") was left over.

Reported by: elexis

Fixes #5552

Differential Revision: https://code.wildfiregames.com/D2169

comment:4 by elexis, 5 years ago

Keywords: regression added
Note: See TracTickets for help on using tickets.