Wednesday, 02 June 2021
  9 Replies
  1.9K Visits
  Subscribe
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
3 years ago
·
#764
Accepted Answer
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
·
#745
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
Attachments (1)
3 years ago
·
#746
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
·
#747
Hello,

Yes, It's already in my todo list.

Kind Regards,
Sergio
3 years ago
·
#748
Thank you.
3 years ago
·
#764
Accepted Answer
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
·
#765
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
·
#768
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
·
#769
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
·
#770
Hi,

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

Kind Regards,
Sergio
  • Page :
  • 1
There are no replies made for this post yet.
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below.
Supported: gif,jpg,png,jpeg,zip,rar,pdf
· Insert · Remove
  Upload Files (Maximum 10MB)