Jaskowicz1 / rconpp

A modern Source RCON library for C++
Apache License 2.0
10 stars 0 forks source link

Not handling multiple packets? #12

Open Kreiseljustus opened 3 months ago

Kreiseljustus commented 3 months ago

So im trying to use this to send RCON commands to a Minecraft Server. The connection is successful and the command is executed but the response seems... off. It should be something like "Made Player a server operator" but instead its just jibberish like ")/␦"

I thought maybe the server is sending back multiple packets containing the data but this library only handles one and then immediatly calls the callback.

Some more documentation on this would be nice!

Kreiseljustus commented 3 months ago

Just noticed that i get 24 as value for response.server_responded which is kinda weird no?

Jaskowicz1 commented 3 months ago

Hello! The library doesn't currently support multiple packets and i've been incredibly busy for a while with Uni work (hence why I still haven't addressed the other issue)!

I'll slowly be working on this again to add these features :)

Just noticed that i get 24 as value for response.server_responded which is kinda weird no?

Wouldn't surprise me if this is just a bi-product of the library not supporting multiple packets so it's reading garbage data 😓