LevelZ icon indicating copy to clipboard operation
LevelZ copied to clipboard

Velocity Compatibility

Open GabriewF opened this issue 2 years ago • 5 comments

[18:27:37 INFO]: [server connection] Username -> modded has connected [18:27:37 ERROR]: [server connection] Username -> modded: exception encountered in com.velocitypowered.proxy.connection.backend.BackendPlaySessionHandler@7d0b6512 com.velocitypowered.proxy.util.except.QuietRuntimeException: A packet did not decode successfully (invalid data). If you are a developer, launch Velocity with -Dvelocity.packet-decode-logging=true to see more.

I'm using Fabric 1.19.2, When I enter without using Velocity, I enter normally

GabriewF avatar Nov 08 '22 19:11 GabriewF

Pls send the latest log here

Globox1997 avatar Nov 26 '22 18:11 Globox1997

https://mclo.gs/ZrFBDOt

TheRealM18 avatar Jun 12 '23 22:06 TheRealM18

I had a similar issue because of the player list packet being too large. I can't find a way to disable the level in the player list in the config, so unless that is added as an option it doesn't seem to be compatible with Velocity.

sammyshear avatar Jun 22 '23 03:06 sammyshear

After looking through the code, I noticed that it is actually possible to disable this functionality on the client with the showLevelList option, but I tried disabling it on the server. Upon disabling this on the client, however, it doesn't seem to work anyway. The level in the player list does disappear, but unfortunately, the velocity server gets the same packet error.

io.netty.handler.codec.CorruptedFrameException: Packet sent for class com.velocitypowered.proxy.protocol.packet.LegacyPlayerListItem was too
 big (expected 2158 bytes, got 2179 bytes)

sammyshear avatar Jun 23 '23 01:06 sammyshear

Is there any workaround for this? Like installing a compatible Tabs mod that would modify the packets correctly?

adaliszk avatar Sep 21 '23 20:09 adaliszk