Page 1 of 1
Quacked rcon commands
Posted: Fri May 15, 2009 3:22 pm
by SilentAngel
I've found some informations about rcon commands, peopple says that, to make a remote command you cannot semply send packets to the server with the rconpassword and the command, I found that the way in which Quake based games send RCON commands to the server is this:
Code: Select all
0xFF 0xFF 0xFF 0xFF 0x02 rcon password command
is that true?
Posted: Fri May 15, 2009 5:12 pm
by Rookie One.pl
Almost true.
A packet that starts with 4 0xFF bytes is called
out-of-band in Quake terminology. The
band is comprised of the packets that carry player input (keystrokes, mouse movements) and world snapshots (descriptions of the state of the game world at a given time), while
out-of-band packets are text commands which are used for miscellanous communication (server queries, client commands such as weapon or team choices or chat messages, or server commands like stufftext).
So, yeah, you need to prefix your rcon command with the four 0xFF bytes. That 0x02 byte is unnecessary, in fact, it might make the command be unrecognized.
Posted: Fri May 15, 2009 7:14 pm
by SilentAngel
lol you really knows too many things man..be careful..if you learn something more your head is gonna make BOOM!
Ty man for the good explanation, I never programmed for quake engine..
Posted: Fri May 15, 2009 8:00 pm
by Rookie One.pl
I did a fair bit in my time.

John Carmack has some great ideas, I'm modeling my own game engine after Quake.
Posted: Sat Aug 21, 2010 1:03 am
by SilentAngel
Chat messages are contained in netchan UDP packets isn't it?? well..if so it's almost impossible to read them becouse they are encripted..that make me so so sad..is there a way to detect the encription key of these packets? maybe (if it's possible) with a sort of spy program(lol..spy program sounds funny) that run beside MOH server and recieve decripted messages directly from it..even if that sound me really really a fantasy mistic tool lol

Posted: Wed Aug 25, 2010 8:02 pm
by Rookie One.pl
If you need to intercept chat messages there are a ton of other non-netchan ways to do that - from parsing the logs to hooking the game logic library to intercept them.