gorcon / rcon-cli

RCON client for executing queries on game server.
MIT License
451 stars 44 forks source link

Add HLDS/goldsrc support #17

Open elitetheespeon opened 2 years ago

elitetheespeon commented 2 years ago

Is it possible to add support for HLDS/goldsrc?

outdead commented 2 years ago

Hi! Thank you for using gorcon!

Please tell more about you request. As far as I know HLDS/goldsrc uses the standard RCON protocol and this is already available in gorcon/rcon-cli.

elitetheespeon commented 2 years ago

I was unable to use this for connecting to RCON from goldsrc, but HLSW works. I'm currently using https://github.com/fant1kua/goldsrc-rcon-console and this is working. According to my packet captures, goldsrc RCON uses UDP while source RCON uses TCP

outdead commented 2 years ago

I will check and search for the specification of this protocol. I think it will be possible to implement it, but so far I don't have enough information.

outdead commented 2 years ago

@elitetheespeon Could you please suggest which game is using this and give examples of commands and their responses?

Is this a right specification of the protocol? https://developer.valvesoftware.com/wiki/Server_queries