Lol The communications between HLDS and yourself are done using UDP packets
It is the sort of thing you ought to know BEFORE you start fooling around with packet sniffers. Here are some useful resources for the newbie and not so newbie: This is where to start http://www.warriorsofthe.net/index.html This is the Microsoft TCP-IP Guide (read this first) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dniph/html/tcpipintro.asp This is the IBM TCP-IP Guide http://publib-b.boulder.ibm.com/abstracts/gg243376.html?Open This is a list of port numbers http://www.iana.org/assignments/port-numbers This is a packet sniffer http://www.ethereal.com/ This is where just about everybody ends up when they want to learn to subnet http://www.learntosubnet.com/ This is where you will end up once you have digested all of the above and want to be able to actually do something with networks http://www.cisco.com I'm sure there are more links, but this is an ok start if you serious about Networking On Sat, 26 Feb 2005 18:59:32 -0400, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > 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 > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds

