retrooper / packetevents

PacketEvents is emerging as a strong contender in the realm of Minecraft packet processing libraries. Designed to simplify packet manipulation while delivering high performance, this powerful tool aims to demystify the complexities of projects utilizing packets.
GNU General Public License v3.0
513 stars 148 forks source link

1.7.10 clients forced disconnect #300

Closed zhusun890 closed 2 years ago

zhusun890 commented 2 years ago

Describe the bug When the version 1.7.10 client joins the server, the player will be forcibly disconnected with the reason "Internal Exception: io.netty.handler.codec.DecoderException: com.github.retrooper.packetevents.exception.PacketProcessException: Failed to map the Packet ID 21 to a PacketType constant. Connection state: LOGIN, Server version: 1.8.8"

Software brand TacoSpigot 1.8.8 R3, FlameCord build 77

Plugins ProtocolSupport-1.8, Frost (Practice Plugin), ProtocolLib latest

How To Reproduce

  1. Join with 1.7.10 client (taking Lunar Client 1.7.10 as an example)
  2. Error and forced disconnect

Expected behavior Allow version 1.7.10 clients to join the server or give self-resolution advice. (e.g. multi-client version plugin alternatives)

Screenshots None

Additional context None

*The logs of when the error occurred Error Logs.txt

retrooper commented 2 years ago

Use ViaVersion & ViaBackwards. We don’t support ProtocolSupport 1.8.

retrooper commented 2 years ago

If you use ProtocolSupport, use the latest version of their plugin, which unfortunately must be on the current latest server version. So just use ViaRewind.