Closed ExusAltimus closed 7 months ago
Just tested on a MC server just and it works.
Also forgive me but I dont contribute often, what do you mean by "Can merge if your rebase in master"
To make the branch mergeable you need to merge or rebase it with master you can run this command:
git pull git@github.com:Challengermode/CoreRcon.git
And then solve all conflicts with a merge editor like vscode.
Thank you, I applied the changes you requested, I also merged changes from main
I've been successfully using the RCON for palworld for about a week now, palworld auto disconnects the RCON every 20 seconds but autoconnect lets me reuse the same instance without issues
Can we get this merged? Thanks for everyone's work!
Hey sorry for the delay the new version should be up shortly. Thanks for your contribution :) https://www.nuget.org/packages/CoreRCON/5.4.0
Fixes https://github.com/Challengermode/CoreRcon/issues/56
Updated the RCONPacket to use gorcon's implementation (https://github.com/gorcon/rcon/blob/master/packet.go). This fixed the issues I was having with authentication, I suppose it should work with other servers since gorcon claims support with several.
Also added a parameter to RCON called strictCommandPacketIdMatching (default: true) which when enabled matches the command to the response packet (This was the existing behavior).
When set to false the command instead behaves as a queue and any response will complete the command taskSource. This is because PalWorld always returns 0 for the response packet id (bad).