Packet Reordering + Dynamic Game Version Override (Dialer)#307
Open
luuma-e wants to merge 6 commits intoSandertv:masterfrom
Open
Packet Reordering + Dynamic Game Version Override (Dialer)#307luuma-e wants to merge 6 commits intoSandertv:masterfrom
luuma-e wants to merge 6 commits intoSandertv:masterfrom
Conversation
Reordering of packets in the login to have a correct order, similar to that of the minecraft client
Tempory fix for The Hive, problems with chunk loading
Add BaseGameVersion field in ListenConfig
Fix regex problem with server pattern in listen config
Owner
|
Please keep all comments in English, thank you. |
Author
did I ask for your opinion ? No, I don't think so, thank you |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Feature: Dynamic Game Version Override
I added a system that lets the client use specific Minecraft versions for different servers. The implementation allows for exact matches or regex patterns against server addresses.
dialer := minecraft.Dialer{ BaseGameVersion: map[string]string{ ".*\\.hivebedrock\\.network": "1.17.0", "play\\.example\\.com": "1.19.0", }, }This helps maintain compatibility with servers that require specific game versions without needing code changes.
Feature: Packet Reordering
The commit reorganizes packet ordering in gophertunnel to more precisely mimic a genuine Minecraft client. This change helps evade anticheat systems that flag non-standard packet sequences.
The modifications ensure:
These changes are essential because modern anticheat systems detect unofficial clients by checking packet timing and order. By replicating the exact behavior of an official client, gophertunnel can connect to protected servers without triggering these security mechanisms.