:: .Map :: Index :: FAQ :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::
Quacked rcon commands

 
Post new topic   Reply to topic    .Map :: MoHAA Mapping Forum Index -> Intelligence Room
View previous topic :: View next topic  
Author Message
SilentAngel

 

Rank: First Lieutenant

Joined: 12 Mar 2008

Posts: 199

Post subject: Quacked rcon commands
Reply with quote
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?
PostFri May 15, 2009 6:22 pm
View user's profile Send private message
Rookie One.pl

 

Rank: Site Admin

Joined: 31 Jan 2003

Posts: 2742

Post subject:
Reply with quote
Almost true. Wink

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
PostFri May 15, 2009 8:12 pm
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
SilentAngel

 

Rank: First Lieutenant

Joined: 12 Mar 2008

Posts: 199

Post subject:
Reply with quote
lol you really knows too many things man..be careful..if you learn something more your head is gonna make BOOM! Very Happy
Ty man for the good explanation, I never programmed for quake engine..
PostFri May 15, 2009 10:14 pm
View user's profile Send private message
Rookie One.pl

 

Rank: Site Admin

Joined: 31 Jan 2003

Posts: 2742

Post subject:
Reply with quote
I did a fair bit in my time. Smile 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
PostFri May 15, 2009 11:00 pm
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
SilentAngel

 

Rank: First Lieutenant

Joined: 12 Mar 2008

Posts: 199

Post subject:
Reply with quote
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 Very Happy
PostSat Aug 21, 2010 4:03 am
View user's profile Send private message
Rookie One.pl

 

Rank: Site Admin

Joined: 31 Jan 2003

Posts: 2742

Post subject:
Reply with quote
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
PostWed Aug 25, 2010 11:02 pm
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    .Map :: MoHAA Mapping Forum Index -> Intelligence Room All times are GMT + 3 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group