AdvancedChatHUD icon indicating copy to clipboard operation
AdvancedChatHUD copied to clipboard

[BUG] Disconnected from server if toggle Chat hidden from Hidden to Shown

Open Acuena85 opened this issue 1 year ago • 2 comments

Describe the bug The bugg causes the player to be disconnected from the server with the following error message "Received chat packet with missing or invalid signature" if the chat had been hidden and the player turns the chat back on. Note that the played needs to try to send something in the chat before turning the chat back on.

I tested by disabling the mod and the core. Could not do it when it was disabled (Renming both mod files to *.jardisabeld)

Minecraft Info Minecraft information: Minecraft version: 1.19.2

  • AdvancedChatCore-1.19.2-1.5.8
  • AdvancedChatHUD-1.19.1-1.3.4

To Reproduce Steps to reproduce the behavior:

  1. Go to Options -> Chat Settings
  2. Turn "Chat: Shown" to "Chat: Hidden"
  3. Click Done and go back in-game
  4. Type anything in the chat. Should get a message "Chat disabled in client options"
  5. Go back into the Chat Settings and turn "Chat: Hidden" back to "Chat: Shown"
  6. Go back in-game and once again try to type something in the chat.
  7. And voila, disconnected

Expected behavior Should not get disconnected when trying to chat after turning the chat back on.

Screenshot: bild_2023-04-30_173233764

Additional context No other mods affecting the chat. In Vanilla, you can't open that chat when it's hidden, but with this mod you can.

Acuena85 avatar Apr 30 '23 15:04 Acuena85

Update: This shows up on the server side:

bild_2023-04-30_173657962

Acuena85 avatar Apr 30 '23 15:04 Acuena85

Interesting, I'll have to take a look at what Minecraft does in this situation

DarkKronicle avatar May 06 '23 02:05 DarkKronicle