Forgified Fabric API

Forgified Fabric API

13M Downloads

Cannot join dedicated server with Cardinal Components API (unhandled packet: cardinal-components:entity_sync)

unilock opened this issue ยท 5 comments

commented

With Cardinal Components API installed, alongside a Fabric mod that adds a Component that requires syncing between client and server (in this case, Trickster), the client disconnects immediately after joining a dedicated server. (singleplayer works fine)

latest.log (client): https://gist.github.com/unilock/9ea8f4888b3ecffbb023474066bb9b4d
latest.log (server): https://gist.github.com/unilock/c5f16e51b70fc77c8f14864afb8fb019

To reproduce:

  1. Set up a Minecraft 1.21.1 client and server with NeoForge 21.1.77
  2. Install the following mods on both sides:
  1. Start the client and the server
  2. Attempt to join the server from the client
  3. Disconnect due to This server requires Cardinal Components API (unhandled packet: cardinal-components:entity_sync)
commented

Wasn't this fixed in 2.0.17? Or did it break again?

commented

Testing v2.0.16 and v2.0.18 had the same results, as described here. v2.0.17 leads to a disconnect similar to that of #166 and Sinytra/Connector#1512 (on a dedicated server, not singleplayer!)

commented

Sometimes, the game does let me join, but the server log is spammed with:

[Netty Server IO #1/WARN] [ne.ne.ne.ne.re.NetworkRegistry/]: No registration for payload cardinal-components:chunk_sync; refusing to decode.
[Netty Server IO #1/WARN] [ne.ne.ne.ne.re.NetworkRegistry/]: No registration for payload cardinal-components:entity_sync; refusing to decode.

...among similar messages for other payload types from Fabric mods.

commented

Should be fixed by #170, haven't tested

commented

#170 does appear to have fixed the issue :)