By Adriaan on Wednesday, 02 June 2021
Posted in General
Replies 9
Likes 0
Views 2.2K
Votes 0
Hi, can you please add support for the Source Rcon Protocol? https://developer.valvesoftware.com/wiki/Source_RCON_Protocol

I was able to semi successfully do this on my own but it would be a lot easier and faster to do with a component. I was able to get it to auth and then send commands but it seems payload responses is always empty.

This example project contains a minecraft server to test the rcon. The RCON password is "test".

Example Project: https://drive.google.com/file/d/1hD-lhyG1DL4DBCVJpGtZkhKn6dkjVNqz/view?usp=sharing
Hello,

A new beta has been released with support for RCON protocol, you can find a demo in the folder "50.Other\02.RCON".

Kind Regards,
Sergio
·
3 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

I think the problem is sending the command "say test", that returns an empty payload yes.
But if you send the command "help", it returns a payload.

rcon.png


I didn't read the available commands, but maybe some commands don't return a payload response.

KInd Regards,
Sergio
·
3 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Ahh I see. Would you still be able to add Rcon protocol support to sgcwebsockets? I'm unsure how it works but both seems to be just a constant tcp connection.
·
3 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Yes, It's already in my todo list.

Kind Regards,
Sergio
·
3 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you.
·
3 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

A new beta has been released with support for RCON protocol, you can find a demo in the folder "50.Other\02.RCON".

Kind Regards,
Sergio


Hi, There's a missing parameter when sending commands. When sending commands we should be allowed to choose the ID it sends with it. We send a command with our chosen ID and we expect the response with the same ID.

It should be rcon.ExecCommand('help', 2); so that we know what ID to expect as the help response. In this case it will be 2
·
3 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

I've updated the ExecCommand method to allow to set the ID. You can download the latest beta from your account with this fix included. Thanks for the feedback.

Kind Regards,
Sergio
·
3 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

I've updated the ExecCommand method to allow to set the ID. You can download the latest beta from your account with this fix included. Thanks for the feedback.

Kind Regards,
Sergio


Hi, How can I download the latest version with the fix? My license expired and I can't seem to find any download link to it any more or do I just lose all access to the downloads?
·
3 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

I've sent a link to download the latest sgcWebSockets 4.5.0 version

Kind Regards,
Sergio
·
3 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post