[hlcoders] A2S_RULES just getting another challenge
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
Re: [hlcoders] A2S_RULES just getting another challenge
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
Re: [hlcoders] A2S_RULES just getting another challenge
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
Re: [hlcoders] A2S_RULES just getting another challenge
@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
Re: [hlcoders] A2S_RULES just getting another challenge
HLDS is broken, send -1 as challenge ID in the first rules query and you will receive a valid challenge ID which you can use again for the real rules query. 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
Re: [hlcoders] A2S_RULES just getting another challenge
That worked. Thanks guys. Side note though: I'm not getting all the ConVars I'd like, and the last one is cut off. The dev wiki mentions this. Still no solution? 2010/6/14 Ronny Schedel i...@ronny-schedel.de: HLDS is broken, send -1 as challenge ID in the first rules query and you will receive a valid challenge ID which you can use again for the real rules query. 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
Re: [hlcoders] A2S_RULES just getting another challenge
On Mon, Jun 14, 2010 at 05:58:47PM +0200, C-F Strid wrote: Side note though: I'm not getting all the ConVars I'd like, and the last one is cut off. The dev wiki mentions this. Still no solution? Possible solutions (for Source): 1) use rcon 2) use the remote logging facility 3) bribe someone at Valve to fix their broken Source Query protocol 4) bribe someone at Valve to release proper documentation for it too Regards frostschutz ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] A2S_RULES just getting another challenge
Number 3 and 4 can be done by following valve employees into TF2 games and healing them. -Original Message- From: hlcoders-boun...@list.valvesoftware.com [mailto:hlcoders-boun...@list.valvesoftware.com] On Behalf Of frostschutz Sent: Monday, June 14, 2010 12:27 PM To: Discussion of Half-Life Programming Subject: Re: [hlcoders] A2S_RULES just getting another challenge On Mon, Jun 14, 2010 at 05:58:47PM +0200, C-F Strid wrote: Side note though: I'm not getting all the ConVars I'd like, and the last one is cut off. The dev wiki mentions this. Still no solution? Possible solutions (for Source): 1) use rcon 2) use the remote logging facility 3) bribe someone at Valve to fix their broken Source Query protocol 4) bribe someone at Valve to release proper documentation for it too Regards frostschutz ___ 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