packetevents icon indicating copy to clipboard operation
packetevents copied to clipboard

Failed to map the Packet ID 95

Open vblackten opened this issue 8 months ago • 3 comments

Describe the bug

When joing the server with a Minecraft 1.21.5 client through FlameCord 2.3.6 and connecting to a backend Paper 1.21.4 server, the client gets disconnected with the following error: PacketProcessException : Failed to map the Packet ID 95 to a PacketType constant. Bound: CLIENT, Connection state: CONFIGURATION, Server version: 1.21.5 This does not occur when the backend server is running on 1.21.5 and the client also uses 1.21.5 — in that case, everything works fine.

Software brand

Proxy: FlameCord 2.3.6 Server: Paper 1.21.4 latest

Plugins

FlameCord:

  • packetevents-bungeecord-2.8.0-snapshot dev#665

Server:

  • packetevents-spigot-2.8.0-snapshot dev#665
  • ViaVersion 5.3.1

How To Reproduce

  1. Setup FlameCord 2.3.6 with packetevents
  2. Setup server Paper 1.21.4 with packetevents and ViaVersion
  3. Attempt to join using 1.21.5 client
  4. Observe the disconnect with a PacketProcessException

Expected behavior

The 1.21.5 client should be able to connect via ViaVersion to the 1.21.4 backend server without crashing or disconnecting due to packet ID mapping issues.

Screenshots

Additional context

vblackten avatar Apr 12 '25 22:04 vblackten

is this error reproducible when replacing flamecord with normal bungeecord? if yes, please report this issue to flamecord, we can't fix issues with software we don't have access to

booky10 avatar Apr 13 '25 14:04 booky10

I have the same issue. Do you know why your plugin might be throwing this error? This might make it easier for flamecord staff to find the cause.. In about 1 out of 100 attempts, it successfully connects to the server.

pitruk avatar Apr 16 '25 20:04 pitruk

(When I use a bungeecord it seems to work as it should)

pitruk avatar Apr 16 '25 20:04 pitruk