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
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