PrismarineJS / PrismarineJS/node-minecraft-protocol
Parsing packets without active connection
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 290
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 7
Description
Hi everyone,
Can I use NMP to parse already saved packets using a tool like:
https://github.com/barneygale/rex
In fact I'm looking to save some packets from a game session using a sniffer.
Rex is a good example, but maybe NMP itself. I like the idea of rex because I can clear it to the maximum, then just doing raw dumps, very lightweight, without a bunch of classes I will never use.
Or maybe just a scapy one-liner to dump needed packets traffic.
I want to be able to create a software that may use NMP to decode/parse those saved packets, with no connection to the server.
For ex, to get x y z infos from a "player position & look" packet dump, without needing to instanciate a connection object and proxying again the game to listen to fresh packets as I already have it and just want to get packet fields fast and simple.
Can I currently achieve that ?
Thanks !
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named in the issue. Start by locating the packet-parsing entry point and checking whether it accepts saved raw packet data without a connection; compare that path with the stated rex or scapy capture formats. Done means documenting a supported offline parsing path or identifying the API gap and its expected input.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100