Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Needs testing! - Players are flailing about erratically in third person, for some reason #432

Open
1 of 2 tasks
xedmain opened this issue Jun 30, 2024 · 2 comments
Open
1 of 2 tasks
Labels
Animations Animation stuff. Including the syncronizing of animations between client and server based on state. bug Something isn't working

Comments

@xedmain
Copy link
Contributor

xedmain commented Jun 30, 2024

Build Info

20240629_321f139

Description

For some reason, sometimes, players are faliling about erratically out in third person. Their animations are just broken, some players' anims aren't though.

To Reproduce

  1. Join multiplayer game
  2. Look at a player near you
  3. Sometimes their animations are broken and they are all erratic

Expected behavior

Their animations are fine

Actual behavior

They're erratic and glitched

Operating System

  • Windows
  • Linux

Version/Distro

Arch

Machine's CPU

No response

Machine's GPU

No response

GPU's driver

No response

Build's compiler

GNU 10.3.0

Additional context and Screenshots

Needs better testing + a recording, but other people during the playtest (2024-06-29) also noted this bug.

@xedmain xedmain added the bug Something isn't working label Jun 30, 2024
@Rainyan Rainyan added the Animations Animation stuff. Including the syncronizing of animations between client and server based on state. label Jun 30, 2024
@AdamTadeusz
Copy link
Contributor

This is caused in part by neo player inheriting both a CBasePlayerAnimState and a CPlayerAnimstate, through their hl2mp_player and INEOPlayerAnimState. Could use an overhaul based on TonySergi's fixes

@AdamTadeusz
Copy link
Contributor

You can place a breakpoint in CNEO_Player's PostThink() call m_pPlayerAnimState->Update(RAD2DEG(flYaw), RAD2DEG(flPitch));, and CHL2MP_Player's PostThink() call m_PlayerAnimState.Update(); to see the two different playeranimstates in action. Placing breakpoints that continue code execution and print properties of the animation states shows discrepancies in the two

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Animations Animation stuff. Including the syncronizing of animations between client and server based on state. bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

3 participants