这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@luuma-e
Copy link

@luuma-e luuma-e commented Apr 12, 2025

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:

  1. ClientCacheStatus is sent before SetLocalPlayerAsInitialized
    
  2. Critical server packets are received before sending RequestChunkRadius
    
  3. Packets follow the exact sequence: RequestChunkRadius → Interact → PlayerAuthInput → SetLocalPlayerAsInitialized
    
  4. PlayerAuthInput is only sent after receiving StartGame
    

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.

luuma-e added 6 commits April 11, 2025 18:51
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
Copy link

@NopeNotDark NopeNotDark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

لا حاجة ، أصلي من أجلك

@Sandertv
Copy link
Owner

Please keep all comments in English, thank you.

@luuma-e
Copy link
Author

luuma-e commented Apr 13, 2025

لا حاجة ، أصلي من أجلك

did I ask for your opinion ? No, I don't think so, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants