@Harry: Thanks. I've already tried tools created by other people (not that one though, the one I tried was just called "Source Query Tool"). It worked, but I really want my application to stand on its own legs. :>
@Harry: Looks right to me (?). The first packet would be the A2S_SERVERQUERY_GETCHALLENGE. The second is the reply, where I've taken the four last bytes and stuck them in the A2S_RULES request. Then the resulting reply is all weird. I'm assuming it's because something's wrong with the entire challenge bit. :d I'll go ahead and try getting it from the rules request instead. 2010/6/14 Dexter <dex...@linux.com>: > On a note, doesn't it look like you're sending "FF FF FF FF 57" when you're > expected to send "FF FF FF FF 56" in that first packet? > > On Mon, Jun 14, 2010 at 6:06 AM, Harry Jeffery < > harry101jeff...@googlemail.com> wrote: > >> I am not sure what you are doing wrong but this library may be of >> interest to you: >> http://developer.valvesoftware.com/wiki/Steam_Condenser >> >> On 14 June 2010 12:37, C-F Strid <wor...@gmail.com> wrote: >> > Heyo. >> > >> > This is perhaps not entirely related to the subjects of this list, but >> > I'll give it a go. >> > >> > I'm trying to query a server for ConVars using a C# application (code >> > snippet here: http://csharp.pastebin.com/PW8Hfajm). >> > >> > I've followed the instructions on this page >> > http://developer.valvesoftware.com/wiki/Server_queries#A2S_RULES >> > >> > ... but instead of returning rules, I get another challenge number. >> > The packets seem to be in perfect order: >> > http://data.fuskbugg.se/skalman01/packets.jpg >> > >> > The server is fully functional and is listed on Game-Monitor and the >> > like, so I'm obviously doing something wrong here. Any input would be >> > appreciated. >> > >> > Cheers, >> > >> > _______________________________________________ >> > To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> > http://list.valvesoftware.com/mailman/listinfo/hlcoders >> > >> > >> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlcoders >> >> > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders