Skip to content

fix(velocity): restore packet length framing for 1.7 clients - #729

Open
dominicanish wants to merge 1 commit into
ViaVersion:masterfrom
dominicanish:fix/velocity-1.7-framing
Open

dominicanish wants to merge 1 commit into
ViaVersion:masterfrom
dominicanish:fix/velocity-1.7-framing

Conversation

@dominicanish

@dominicanish dominicanish commented Oct 3, 2026 •

Copy link
Copy Markdown

Restore the VarInt packet length prefix after ViaRewind replaces Velocity's compression encoder with ForwardMessageToByteEncoder.

Without the length prefix, 1.7.x clients receive unframed packets and fail during login with "Bad packet id" errors.

Verified by reproducing issue #616 and confirming that adding the packet length framing allows a 1.7.10 client to proceed.

Restore the VarInt packet length prefix after ViaRewind replaces
Velocity's compression encoder with ForwardMessageToByteEncoder.

Without the length prefix, 1.7.x clients receive unframed packets and
fail during login with "Bad packet id" errors.

Verified by reproducing issue ViaVersion#616 and confirming that adding the packet length framing allows a 1.7.10 client to proceed:
ViaVersion#616
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant