WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@WHY-HAVE-YOU-SUMMONED-ME

The check detects suspended movement packets, as in certain Blink modules.
Tested under 0/300/1000ms in Paper 1.8.8/1.12.2/1.21.1 with no falses.

@Axionize Axionize requested a review from ManInMyVan March 24, 2025 12:57
@Axionize
Copy link
Contributor

I see an awful lot of magic numbers here: 50e6, -19, could you document what these are for and how you derived them?

This seems like a fairly well thought out check but its very borderline heuristicy

I'd also appreciate it if you could join the Discord to talk to us in a more real-time manner https://discord.gg/brgGk53j

@ManInMyVan
Copy link
Contributor

-19

coming from 0.03/tick skipping sending one position every 20 ticks

@WHY-HAVE-YOU-SUMMONED-ME
Copy link
Author

WHY-HAVE-YOU-SUMMONED-ME commented Mar 25, 2025

Besides the now patched oversight causing falses from /tick rate, false flags were also found under extreme server lag (~2tps).
I'm not sure how to fix that issue, nor is it worthing to do so.

@WHY-HAVE-YOU-SUMMONED-ME
Copy link
Author

50e6

This is the tick duration measured in nanoseconds under 20tps.

-19

As mentioned by ManInMyVan, this comes from the player only sending movement packets once per second (20 ticks) when 0.03 is in effect.

Borderline heuristicy

I am aware that the check only works when the player is responding to transactions normally—which means that Blink modules blocking all outbound packets (instead of just movement packets) can easily bypass the check.

Despite that, I still think the check will be a good addition to Grim, since when the player do respond to transactions,
the check can consistently flag 1 tick of violation,
plus to my knowledge it is impossible to detect full-blocking Blink modules without applying heuristics.

Discord

Actually I didn't know that was a thing, thx for bringing it up I guess?

@CLAassistant
Copy link

CLAassistant commented Oct 6, 2025

CLA assistant check
All committers have signed the CLA.

@ManInMyVan ManInMyVan added the status: rebase required The pull request needs rebasing onto the merge branch label Nov 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: rebase required The pull request needs rebasing onto the merge branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants