RakNet
RakNet copied to clipboard
RakNet implementation in Rust
In an async server software you often have a loop which recv packets and some sort of client struct that contains a way to send packets. This would mean we...
The currently supported motd is the motd used by mojang, but other games might use another motd structure. This could easily be added with a simple enum like: ```rust enum...
It looks like wee can't change the 2nd line of the MOTD and it will always be Netrex. Is there a way to fix this/a add this? It would be...
The Motd struct represents the protocol version as an `u16`, but the protocol version (for mcbe at least) is always represented as an `i32`. (I don't know why it is...
Why is it counted as 20 when the correct size is 23? https://github.com/NetrexMC/RakNet/blob/2af4c5a6973d5b5953d7361d978b40ecc53d05a2/src/protocol/mod.rs#L60 1 byte (flags) + 2 bytes (payload length) + 3 bytes (reliable index) + 3 bytes (sequence...
This functionality could be adequate for people implementing RakNet for various other games. For instance, someone may want to send the client chunks on channel 2, but receive regular game...
While this feature is not useful for Netrex, it's a feature that should be added to support other games that use raknet, like roblox. This could possibly also open the...
I can't send a packet that weighs about more than 1600 bytes. C→S: [Resource Pack Client Response] (I receive confirmation that it is possible to send a "Start Game" packet)...
Code => https://github.com/NetrexMC/RakNet/blob/master/examples/tokio/client/src/main.rs Bug => ``` [ERRO]: handle packet: read OPEN_CONNECTION_REQUEST_2: unexpected EOF {net origin=gophertunnel, src=listener, net origin=raknet, src=listener, raddr=127.0.0.1:57597, block-duration=10s} ```
**Issue / Question:** I want to create network for non mc game and use bincode for serialize/deserialize messages. Client receiving messages, that I don't send, like: ``` - received [16,...