Raised This Month: $ Target: $400
 0% 

A2S_RULES query php script?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 04-10-2007 , 13:25   A2S_RULES query php script?
Reply With Quote #1

Hey, does anyone know if there are any pre-made A2S_RULES query scripts for PHP? I can't figure out how to code these myself for the life of me

I also understand now the HL1 engine uses the challenge response too which makes it even more difficult for me.
hlstriker is offline
el hippo
Member
Join Date: Jan 2006
Location: Texas
Old 04-11-2007 , 00:25   Re: A2S_RULES query php script?
Reply With Quote #2

Try searching madquery on google. It is an often used php class to query hl1 servers. I don't know if there are any public fixes for it to be used with modern steam hl1 / hl2 servers yet or not. If not then I could post a patched version I made for my site.

Hippo
__________________
el hippo is offline
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 04-11-2007 , 10:27   Re: A2S_RULES query php script?
Reply With Quote #3

Hey hippo. I searched for quite awhile for a madquery steam script and can't find it. I also can't even find a working link for the won script!

If you don't mind could you please post the patched version you said you have. I would really appreciate that.
hlstriker is offline
el hippo
Member
Join Date: Jan 2006
Location: Texas
Old 04-11-2007 , 15:35   Re: A2S_RULES query php script?
Reply With Quote #4

I uploaded my patched version to http://harrisonpham.com/querytool/ . The .phps files are the source files (you'll need to copy and paste it into a text file).

madquery.php - The query class (note that it is copyrighted, and I probably broke the license by editing the file...but the author can't be contacted)
serverstatus.php - Example query script.

Note that the example script is a bit slow due to the latency from my webserver to the amxmodx official server. Also, I patched the script right after valve decided to switch to challenged queries for hl1 so the script is slightly hacked together...

Hippo
__________________

Last edited by el hippo; 04-11-2007 at 15:38.
el hippo is offline
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 04-11-2007 , 18:15   Re: A2S_RULES query php script?
Reply With Quote #5

Thanks a ton hippo
hlstriker is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode