Querying the HL1 engine

Paste Your code(s) here, and state your problem.

Querying the HL1 engine

Postby nosxifaf » Mon Jan 12, 2009 8:29 pm

Hello guys! It seems like you've alot of knowledge of MSL, so I'll try to get some help here..

I'm currently working on a script to parse info from a HL1 (counter-strike 1.6) server. I'm able to get a reply from any source (engine) server out there, but 1.6 seems to be a bit tricky. I've googled around to try to find answers to my problem, and it seems like when valve updated the protocol to the HL1 engine, they changed the requested query to get a reasonable reply from the server. If it's a source server, ÿÿÿÿTSource Engine Query have to be added to the socket query, in order to get the server to respond. However, as far as I can understand, they've changed the previous ÿÿÿÿA2S_INFO string, and now requires ÿÿÿÿTSource Engine Query for querying HL1 engines, like HL2. But none of them seems to work.. :(

/sockudp -k csquery 27015 ÿÿÿÿTSource Engine Query works, but
/sockudp -k csquery 27015 ÿÿÿÿTSource Engine Query doesn't.. (Or any other 1.6 server, for that matter. And yes, I've opened the required ports osv. Nothing is being blocked)

Hope you understand my problem, and are able to give me some help here! If I can manage to get the damn query string to work, my script is complete. =]

Re: Querying the HL1 engine

Postby PuNkTuReD » Tue Jan 13, 2009 1:23 am

do you know what protocol version the server uses?

Re: Querying the HL1 engine

Postby nosxifaf » Tue Jan 13, 2009 2:08 am

Yes, it was recently (oct '08) upgraded to version 48

Btw, http://developer.valvesoftware.com/wiki/Server_Queries might be useful!

Return to Mirc Scripting Help

Who is online

Users browsing this forum: No registered users and 2 guests