It's possible that your problem would be a linux bug, since it doesn't seem to
happen for me on my win32 servers:

0x0030   0e79 cf3d 6500 0000 0000 0000 0000 0000        .y.=e...........
0x0040   226d 705f 7469 6d65 6c69 6d69 7422 203d        "mp_timelimit".=
0x0050   2022 3330 2220 2820 6465 662e 2022 3022        ."30".(.def.."0"
0x0060   2029 0a20 6761 6d65 206e 6f74 6966 7920        .)..game.notify.
0x0070   7265 706c 6963 6174 6564 0a20 2d20 6761        replicated..-.ga
0x0080   6d65 2074 696d 6520 7065 7220 6d61 7020        me.time.per.map.
0x0090   696e 206d 696e 7574 6573 0a00 00               in.minutes...

I haven't been having any issues with rcon other than what's covered on the
wiki.

-John

----- Original Message -----
From: "Richard Nelson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 12, 2004 8:29 PM
Subject: Re: [hlds_linux] kkrcon


[EMAIL PROTECTED] wrote:

I was just wondering if anybody knows of any plans to modify kkrcon for
source's rcon protocol.


Here's a perl module which does something similar;
http://www.whatsbeef.net/wabz/wabzcon/

This is fairly minimal, and I'm sure someone will come up with something
better before I have time to do so, but check it out and you might want
to use it.

Note that source rcon seems a bit odd at the moment. For example, doing
mp_timelimit returns (actual data starting at 0042):

0040  5c 4a 50 00 00 00 00 00  00 00 00 00 00 00 20 28   \JP..... ...... (
0050  20 64 65 66 2e 20 22 30  22 20 29 0a 20 67 61 6d    def. "0 " ). gam
0060  65 20 6e 6f 74 69 66 79  20 72 65 70 6c 69 63 61   e notify  replica
0070  74 65 64 0a 20 2d 20 67  61 6d 65 20 74 69 6d 65   ted. - g ame time
0080  20 70 65 72 20 6d 61 70  20 69 6e 20 6d 69 6e 75    per map  in minu
0090  74 65 73 0a 00 00                                  tes...

Which is correctly formatted, but string 1 does not contain what
mp_timelimit returns when you do it directly from console.
Also, there is a junk packet after authenticating (documented at
http://wikki.kquery.net/index.php/Other:SourceRcon).

If there's enough demand, I might even keep this module updated
and improve it; comments/criticism welcome!

HTH,
Richard


_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to