Showing posts with label Net_GameServerQuery. Show all posts
Showing posts with label Net_GameServerQuery. Show all posts

Friday, March 20, 2009

Search Your Network Game Using PHP

Search games on your network, simply using PHP. This script uses a cool module of PEAR, Net_GameServerQuery- a common API to query Half Life server. PEAR () is a framework and distribution system for reusable PHP components. You need to install PEAR module Net_GameServerQuery on your PHP installation.
First change configuration to match your game server. Set IP address ( $ip ) and game type ( $protocol ) variables.



Note: Click on image for clear view.