SRCDS Steam group


rcon protocol specification?
#1
Hello,

i m a software developer and i have written a free chat system called "SyChat" and for this a Module called "SyMod". the SyMod can route the ingame-chat of a HL1 (hlds) GameServer to a SyChat Channel and backwards. that works fine since many time..

The new rcon protocol of a srcds is difficulty for me, in my tests and re-engeniered protocol checking i have now that method to login with SyMod per rcon to a DoD:S GameServer:

connect (TCP) to GamePort e.g. 27015)

for login:

long <len of command>
long 0
long 3 (mode)(??)
string "password"
byte 0
byte 0

"OK" is the value 10 (long) with follows zero-bytes i think

for commands

long <len of command>
long 0
long 2 (mode)(??)
string "command" (e.g. "log")
byte 0
byte 0

this method runs fine, i can login and take commands, the srcds answer correctly

BUT

if i use "logaddress_add .."
the rcon log (UDP) does nothing!
i m not receive the log over the specified UDP port
(the gameserver and SyChat/SyMod runs on the same machine)

anyone have a overview of the EXACT srcds rcon protocol specification?

many thanks,
rgf

--
RGF Software
http://www.rgfsoft.com

Reply
#2
I played with Source RCON coding a while back, and I remember finding this page of use:

http://www.kquery.com/forums/index.php?showtopic=1466
Reply
#3
lOZ Wrote:I played with Source RCON coding a while back, and I remember finding this page of use:

http://www.kquery.com/forums/index.php?showtopic=1466

many thanx, but this is the old hlds rcon protocol, that i have complete re-engeniered. i want the protocol of the new SOURCE HL-Server (srcds).

greetings from Berlin,
rgf
Reply
#4
rgf Wrote:
lOZ Wrote:I played with Source RCON coding a while back, and I remember finding this page of use:

http://www.kquery.com/forums/index.php?showtopic=1466

many thanx, but this is the old hlds rcon protocol, that i have complete re-engeniered. i want the protocol of the new SOURCE HL-Server (srcds).

greetings from Berlin,
rgf

Ok, thx Ethereal.. it works now fine! :-)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)