| View previous topic :: View next topic |
| Author |
Message |
|
|
Post subject: Quacked rcon commands
|
|
|
|
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: | | 0xFF 0xFF 0xFF 0xFF 0x02 rcon password command |
is that true? |
|
Fri May 15, 2009 6:22 pm |
|
|

|
|
|
|
|
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. _________________ Admin
Honour guide me.
here's my stuff - inequation.org | here's where I work - thefarm51.com |
|
Fri May 15, 2009 8:12 pm |
|
|
|
|
|
|
|
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.. |
|
Fri May 15, 2009 10:14 pm |
|
|

|
|
|
|
|
I did a fair bit in my time. John Carmack has some great ideas, I'm modeling my own game engine after Quake. _________________ Admin
Honour guide me.
here's my stuff - inequation.org | here's where I work - thefarm51.com |
|
Fri May 15, 2009 11:00 pm |
|
|
|
|
|
|
|
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  |
|
Sat Aug 21, 2010 4:03 am |
|
|

|
|
|
|
|
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. _________________ Admin
Honour guide me.
here's my stuff - inequation.org | here's where I work - thefarm51.com |
|
Wed Aug 25, 2010 11:02 pm |
|
|
|