I'm confused: how does hooking up the udp sockets affect the authentication process? I thought that that was done completely on the tcp socket connection:
Open the tcp socket Send the auth command on the socket Read the socket and discard the first response Read the socket again to get the auth response The sample python code I am trying to follow seems to use udp sockets for non-rcon messages - like queries? What am I missing? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Fencik Sent: Saturday, February 26, 2005 6:48 PM To: [email protected] Subject: RE: [hlds] HL2MP - getting started with rcon Just examine the interaction between the hl2 client and the server. Make your code do an exact replica. You have to connect your UDP sockets. Dave -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Saturday, February 26, 2005 5:43 PM To: [email protected] Subject: RE: [hlds] HL2MP - getting started with rcon Still working on some code for rcon. I am having difficulty getting a response message from my source dedicated server. I open up a socket connection to my server's IP and configured port. Netsh -a on both machines shows that the connection is good. I send what I think is a well-formed auth request (packet sniff here:) 00 00 00 12 00 00 00 FF 00 00 00 03 72 63 6F 6E 74 65 73 74 00 00 I get an immediate tcp ack - but then I don't seem to get rcon response from the game server. Am I missing something that I need to set up on the server? Is rcon active by default - or do I have to start it? Also - I am doing big endian encoding on the integers - but just straight ascii encoding on the text (string1 and string2). Even if the encoding on the strings was wrong, I would expect at least a failed auth response. Any ideas of what I might look for here. Perplexing. _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds

