Skip to content

NPCs sliding without animations #161

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

Closed
ampreeT opened this issue Oct 23, 2024 · 7 comments · Fixed by #215
Closed

NPCs sliding without animations #161

ampreeT opened this issue Oct 23, 2024 · 7 comments · Fixed by #215
Assignees
Labels
plugin-issues plugin-related bugs/crashes/issues

Comments

@ampreeT
Copy link
Owner

ampreeT commented Oct 23, 2024

Running a Linux server on the map bm_c1a0a and witnessed multiple different scientists sliding.

Need to figure out the following:

  • Does this happen on Windows?
  • Reproduction
bms_RvS93ENb9w.mp4
@Alienmario
Copy link
Collaborator

This has likely started with think pausing (Physics_RunThinkFunctions). Before any player enters in game, no entities are allowed thinking, which appears to result in this.
One would think that server hibernation would have handled the issue (of not running frames) altogether, but it doesn't seem to really do anything in BM.

@Alienmario
Copy link
Collaborator

Alienmario commented Oct 24, 2024

We could try hooking even higher - GameFrame, though I'm not sure what side effects that would have. Another way we could go at it is by host_timescale.

@Alienmario Alienmario self-assigned this Oct 29, 2024
@Alienmario Alienmario added the plugin-issues plugin-related bugs/crashes/issues label Oct 29, 2024
@ampreeT
Copy link
Owner Author

ampreeT commented Oct 29, 2024

We could try hooking even higher - GameFrame, though I'm not sure what side effects that would have. Another way we could go at it is by host_timescale.

Could you go a bit more detail on the host_timescale way? I'm not familar with the think pausing implementation :)

@MyGamepedia
Copy link

I can confirm that this can happen on Windows OS. The security guard from the first map of "Office Complex" (bm_c1a1a?) can repeat the scientist's magic.

@Alienmario
Copy link
Collaborator

@MyGamepedia
Would appreciate testing this build if you're able.
It's also running on official EU server.

@MyGamepedia
Copy link

@MyGamepedia Would appreciate testing this build if you're able. It's also running on official EU server.

I can't reproduce. I'll let you know if this will happen again.

@Alienmario
Copy link
Collaborator

Did not fix it. Working on a solution in "slidefix" branch.
The issue is repeatable on stock linux server @ bm_c1a2c.

Looks like they had the same issue when making hl2
https://github.com/ValveSoftware/source-sdk-2013/blob/0d8dceea4310fde5706b3ce1c70609d72a38efdf/mp/src/game/server/BaseAnimatingOverlay.cpp#L504

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin-issues plugin-related bugs/crashes/issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants