/*
    hlproxy - A Half-Life Proxy Daemon to avoid WON ID authentication from
              clients connecting to it and the same time acting as a 
              legitimate Half-Life game server by authenticating and 
              registering to Half-Life Master Servers.

    Copyright (C) 2001-2002 fooler@skyinet.net

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/

USAGE:
	% ./hlproxy <ip address> <udp port> <gamedir> <map> <maxplayers>

INSTALLATION:
	% tar -zxvf hlproxy.tar.gz
	% cd hlproxy
	% make
	% cp hlproxy /path/where/ever/you/want

RUNNING:
	% /path/of/half-life/hlds_run -game <gamedir> +map <map> +maxplayers <maxplayers> +sv_lan 1 -nomaster +ip 127.0.0.1 +port <udp port>
	% /path/where/ever/you/want/hlproxy <your public ip address> <udp port> <gamedir> <map> <maxplayers>

EXAMPLES:
	For cstrike (counter-strike) at port 27020 running de_dust map with 20 maximum players to play
		% /path/of/half-life/hlds_run -game cstrike +map de_dust +maxplayers 20 +sv_lan 1 -nomaster +ip 127.0.0.1 +port 27020
		% /path/where/ever/you/want/hlproxy <your public ip address> 27020 cstrike de_dust 20

 
	For dod (day of defeat) at port 27030 running dod_dog1 map with 32 maximum players to play
		% /path/of/half-life/hlds_run -game dod +map dod_dog1 +maxplayers 32 +sv_lan 1 -nomaster +ip 127.0.0.1 +port 27030
		% /path/where/ever/you/want/hlproxy <your public ip address> 27030 dod dod_dog1 32

	And for other MODifications, just substitute the appropriate <gamedir> and <map> values.
