Chat Patches

Chat Patches

2M Downloads

Receive chat and get network protocol error. - 214.6.11 - 1.21.4

YOMA8338 opened this issue · 5 comments

commented

Description

When the duplicate counter is enabled, it says network protocol error when sending chat and disconnects even in singleplay world.
Note that the compact chat did not work at first, so I changed the settings and this is what happened.

How to reproduce

  1. Enter the world with the duplicate counter enabled.
  2. Receive chat
  3. Forced disconnection.

Expected result

Chat is compact without disconnection.

Log file link

latest.log
disconnect-2025-01-22_06.09.07-client.txt

Specs and Details

Required information:

  • Windows11 24h2
  • ChatPatches 214.6.11
  • Fabric0.16.10-1.21.4, Fabric API0.115.0+1.21.4, and YetAnotherConfigLib3.6.2+1.21.4-fabric
  • Mod Menu13.0.1

Optional but suggested information:

  • [chatpatches.json](https://pastebin.com/y6f4BAry)
  • [chatlog.json](https://pastebin.com/04cfReXS)
commented

before i publish this, please test out this dev build with the fix. if you dont know how load this file then follow these instructions!

dev build: https://github.com/mrbuilder1961/ChatPatches/actions/runs/12939657554/artifacts/2477836625

commented

Turning off the CompactChat method eliminates the error, but disables the duplicate counter.

commented

okay i think i know how to fix this, thanks for the report. however, i have a couple questions. first, you're saying the counter doesn't work at ALL even when compact chat is off, could you elaborate a bit on that please?

but secondly, in your first log when i was scrolling for the error i saw another one about a player name being formatted incorrectly, did you know that was there/notice it in-game?

commented

I did not know about the error with the wrong format of the player name.
If you disable the CompactChat method toggle on the duplicate counter, the situation is the same as when you disable the duplicate counter itself.

commented

I just tried it and the duplicate counter didn't work, though I didn't get any errors.
I also tried the error about the player format being wrong and the duplicate counter not working, which I thought might be a problem with the Playername text toggle, but it just changed the player name in the chat. However, I noticed that when I hovered over a player, the UUID, etc. was disabled when I turned on Playername text toggle.
↓Although not shown in the image, there is a cursor over the player's name.

Image

Image