Hi,
I'm experimenting with the quake3 protocol a bit, and I have a couple of questions about it.
First, I am trying to connect a 'player' to the server. Eventually I'd like to have a client that can interact in some simple way with the server, like collecting kill statistics, for example.
So, my code currently retrieves the challenge, and sends a connect packet like this:
Code:
\xff\xff\xff\xffconnect "\challenge\[Challenge]\protocol\[Protocol]\qport\20001\name\blankname\model\none"\n
Then, the infostring is compressed using the huffman compression algorithm and sent to the server. The server will allow the player to connect, but the player will have the default name and model, not the one specified in the infostring. This is very strange, and I don't understand why it would be happening.
So, at this point, I have a default-userinfo player in CNCT state. I would think that at this stage, the server would start sending information (about the map, the MOTD, etc.) to the client on the port specified by qport, but when I open that port to receive data, no information is received. So, does the server send it to some other port than the one specified in qport?
Thanks for any help.