[Bug]: "Server sent an invalid packet" crash after sending a message while in vanish
Bwapt opened this issue · 2 comments
Describe the bug
When trying to send a message via the ingame chat while being in vanish, nothing happens, right. But when you unvanish and try to send a message as normal, it makes crash all the players on the server with the following message : "Server sent an invalid packet". I precise that this is not a game crash, but more like a server disconnection without a server crash. We are using this mod on a modded server with a light modpack, but as we tried multiple times to reproduce this bug, we've never got any logs or crash reports related to this.
Reproduction Steps
- Vanish yourself (/vanish)
- Send a message
- Unvanish yourself (/vanish)
- Send another message
Expected behaviour
Don't send any message while in vanish.
Send the message while not in vanish.
Screenshots
Console output
Sadly not.
Game version
1.20.1
Mod version
1.4.4
Other mods installed
- Architectury API
- BetterVillage
- C2ME
- Cloth Config API
- Collective
- Connectible Chains
- Create Fabric
- Cristellib
- Croptopia
- Do API
- Easy Magic
- Essential Commands
- Fabric API
- Falling Tree
- Ferrite Core
- Forge Config API Port
- Inventory Sorter
- Inv View
- JEI
- Vinery
- LibraryFerret
- Malilib
- Macaw's Suite (Bridges, Doors, Fences, Furniture, Lights, Paths, Trapdoors)
- MemoryLeakFix
- MidnightLib
- Not Enough Crashes
- Puzzle Lib
- Repurposed Structures
- Sit
- Steam and Rails
- TaterzensNPC
- Towns and Towers
- Vanish
- WorldEdit
- Xaeros Minimap
- Xaeros Worldmap
- Yungs Suite (API, BetterDesertTemple, BetterDungeon, BetterJungleTemple, BetterMineshaft, BetterNetherFortress, BetterOceanMonument, BetterStronghold, BetterWitchHut, Bridges, Extras)
LuckPerms (don't know if it is useful)
Additional context
Sadly, I'm not sure this will be enough to debug this, as I can't provide you any log or crash report. It may be a compatibility issue with other mods, but we do not have any other servers to try this with only this mod.
Anyhow, you can find our modpack on this address : https://www.curseforge.com/minecraft/modpacks/azazelcompany-modpack
I really hope you'll be able to find something.
Bwapt
It seems like the problem comes from Chat signing. That's a feature added in 1.19.1 to validate send chat messages between Players.
A workaround for this issue is disabling the option removeChatMessage in "mods/vanish/config.json"
It might not be possible to fix this issue without a client side mod.
Thank you for your quick reply !
It seems that this indeed solved this issue, we'll just have to be careful to not send message while in vanish.
In the meantime, this is our part of the job to not being dumb and avoid sending messages while in vanish lmao.
Anyway, thank you very much !
Bwapt