Skip to content

Add a packet generator tool #57

@extremeheat

Description

@extremeheat

Like minecraft-protocol's packet cycle test,

https://github.com/PrismarineJS/node-minecraft-protocol/blob/master/test/cyclePacketTest.js and
https://github.com/PrismarineJS/node-minecraft-protocol/blob/master/test/packetTest.js

but more comprehensive. It should go through all the minecraft-protocol protocol.json files and generate packet structures for all possible permutations of a packet, and binary serialize them. Maybe it can go into a new repo at some point.

We can then test these against vanilla deserializer here to understand what packets have changed between versions. And agents can be guided to identify what changes to proto yaml are needed (can run the tool in loop until binary encoded data is valid for vanilla deserializer)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions