adepierre / SniffCraft

C++ program to capture and display all traffic between a client and a server in minecraft
GNU General Public License v3.0
182 stars 11 forks source link

Support for bundle packets #114

Closed SkytAsul closed 1 day ago

SkytAsul commented 2 days ago

For now, the content pane for the bundle packet shows an empty JSON object ({}). Is it possible to show the content of those packets?

adepierre commented 2 days ago

Not sure what you'd like to see as this packet has no content so there is nothing to display. Also note that this packet is a purely protocol one made to ensure the client process a group of packets in the same tick and it's in no way related to the in-game bundles that can store items.

SkytAsul commented 2 days ago

That's precisely what I want to see: the packets inside the bundle packet. Or is it already the case?

adepierre commented 2 days ago

There is no other packet inside. It's just used as a delimiter so you need to look at the packets that came before/after.

SkytAsul commented 1 day ago

Oooh okay sorry about that! I based myself on the Java server implementation of it, which is a record class containing other packets. Thanks for the answers!