Bug: Walking diagonally doesn't match keyboard WASD motion, even with Analog movement turned off
itsTyrion opened this issue ยท 2 comments
Describe the bug
We use the anticheat Grim (Github repo), which simulates movement server side.
Therefore, any motion that isn't expected to be possible, doesn't matter if faster, slower or wrong direction.
As expected, analog movement obviously flags it most of the time.
Digital mode works forward/backward/left/right, but diagonally still flags grim, so it appears that the movement is slightly different.
To Reproduce
Steps to reproduce the behavior:
- Toggle off analog movement
- walk diagonally on a server with Grim anticheat
- you flag the
Simulation
check
Expected behavior
Movement that matches WASD when Analog Mode is turned off
Screenshots
probably not too useful but here's debug+verbose output showing the deviation right when I turned the stick from straight to diagonal walking.
P: is predicted X.X Y.Y Z.Z
A: is actual X.X Y.Y Z.Z
O: is offset (player.predictedVelocity.vector.distance(player.actualMovement) (says this line)
Desktop (please complete the following information):
- OS: Windows 10 LTSC 21
- Minecraft 1.19.3
- Fabric 0.14.17
- Mods Fabulously Optimized modpack.
- Version 1.7.3
- Branch 1.19.3
Additional context
Add any other context about the problem here.