MidnightControls

MidnightControls

2M Downloads

Bug: Network Protocol Error when joining server (NeoForge)

LyraGhost opened this issue ยท 2 comments

commented

Describe the bug
Currently unable to join any servers (modded or vanilla) that don't have the mod installed.
When joining, I receive a Network protocol error.
(They don't seem to like the hello packet that is being sent)

Game doesn't crash, but can't join servers.

To Reproduce
Steps to reproduce the behavior:

  1. Minecraft with NeoForge + midnightcontrols
  2. Join any server (modded or vanilla) that doesn't have the mod installed.
  3. See error (doesn't crash but does generate debug report, attached below)

Expected behavior
Should be able to join servers probably?

Desktop (please complete the following information):

Additional context
Add any other context about the problem here.
In case of a crash, please provide the crash log.

disconnect-2024-12-27_13.17.21-client.txt

Tried the same setup with fabric (0.16.9) + fabric api (0.110.0), and midnightcontrols 1.10.0 (fabric version), which worked as expected.

commented

Also having this issue, same network protocol error with the same java.lang.UnsupportedOperationException: Payload midnightcontrols:hello may not be sent to the server! in the log when joining a server. Tried using 1.10.0 as well as rc1 and 2, as well as with the latest and earliest compatible versions of midnightlib. Also tried using the 1.10.0 beta but that one required it to be on the server as well.

neoforge 21.1.128
minecraft version 1.21.1
midnightcontrols version neoforge-1.10.0