MidnightControls

MidnightControls

447k Downloads

Bug: Walking diagonally doesn't match keyboard WASD motion, even with Analog movement turned off

itsTyrion opened this issue ยท 2 comments

commented

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:

  1. Toggle off analog movement
  2. walk diagonally on a server with Grim anticheat
  3. 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)
image

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.

commented

This is probably fixed now, please reopen if the issue persists.

commented

still an issue, unfortunately
it's just a tiny bit off, value is pretty much what it was before, I wonder what could cause it.
Screen recording with input overlay:

2023-10-04.02-12-47.mp4