You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[x] The FAQ doesn't contain a resolution to my issue
Versions
minecraft-protocol: 1.47.0
server: Paper 1.8.9
node: 20.15.0
Detailed description of a problem
I'm trying to read the raw packets sent by the connection socket using the Deserializer provided by the lib following the example but it's not going according to plan, I'm not sure if my application is correct or if it's a problem with the Deserializer itself
Current code
const{ createDeserializer, states }=require('minecraft-protocol')constdeserializer=createDeserializer({state: states.STATUS,version: '1.8.9',isServer: false})functionconvertBufferToObject(buffer){returndeserializer.parsePacketBuffer(buffer)}// ...clientSocket.on('data',(data)=>{console.log(convertBufferToObject(data))serverSocket.write(data)});
Expected behavior
I expected to receive the packet decoded and already partitioned, as is expected when we pull the event packet when creating a Client using the Minecraft Protocol
Additional context
In this specific context, I'm redirecting traffic to a proxy inside a client that's running externally, I tried using createClient to make the connection but it makes a connection to the server itself, I need only the packets to be decoded and partitioned
The text was updated successfully, but these errors were encountered:
[x] The FAQ doesn't contain a resolution to my issue
Versions
Detailed description of a problem
I'm trying to read the raw packets sent by the connection socket using the Deserializer provided by the lib following the example but it's not going according to plan, I'm not sure if my application is correct or if it's a problem with the Deserializer itself
Current code
Expected behavior
I expected to receive the packet decoded and already partitioned, as is expected when we pull the event packet when creating a Client using the Minecraft Protocol
Additional context
In this specific context, I'm redirecting traffic to a proxy inside a client that's running externally, I tried using createClient to make the connection but it makes a connection to the server itself, I need only the packets to be decoded and partitioned
The text was updated successfully, but these errors were encountered: