mojira.dev
MC-266644

Packet id order change

Terminology:
Packet - some bytes in specific order those are transferred through TCP connection between client and server. Read more about it here https://wiki.vg/Protocol .

Packet id - an integer that prepend of packet content. 

Issue:
it changes from version to version and somethimes even in minor versions it changes. It put a lot of problems to support some packet stuff on different versions.

 

Edit: 
This issues can not be reproduced, because it is an internal problem and affects only java plugin/mod development. It doesn't mean that it is not necessary, though. Only way to fix it, it is keeping id equality in compare with future versions. I provided an information from https://wiki.vg/ which demonstrate that a developer insert packet right into start of packet list and it is shift following id of packets.

Attachments

Comments 3

⚠️ Please do not mark Unreleased Versions as affected. You don't have access to them yet.

-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

Your report does not contain enough information to understand or reproduce the problem.
Please list Steps to ReproduceObserved Results, and Expected Behavior in the Description, as shown here:

Steps to Reproduce:
1. (list every step carefully, so someone else can reproduce the issue, and try following your list to make sure you can still reproduce the issue yourself)
2.
3.
Observed Results:
(briefly describe what you see happen, including any message(s) shown)
Expected Results:
(briefly describe what should happen)

Use screenshots or video to help explain (but not replace) the above information.

This report has been temporarily resolved as Awaiting Response. It will automatically reopen when you add information. Please follow the format shown and include all sections (steps, observed, expected). Reports that do not contain all of the requested information and complete steps to reproduce the issue may be closed as Incomplete. For more information please read the Bug Tracker Guidelines.

This is a change request or feedback.

Code-only issues are not accepted for the bug tracker, we need steps to reproduce the problem and gameplay impact. Networking updates, package format changes, etc. are expected with new releases. You can't expect everything to stay the same for the sake of compatibility with outdated versions.

If you can pinpoint where the "bug" here is, please create a new issue.

valerii_dev_ua

(Unassigned)

Unconfirmed

Networking

1.20.2, 23w45a

Retrieved