Paul Wiegmans wrote:
Maybe its possible to redirect the MOTD file tot the map-server, then log the users IP , then check mapdownload against the IP of the people how viewed the MOTD. As the MOTD gets downloaded before the map. this would be an good check of when the user are referred from your gameserver.
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
This clearly won't work (how will the user view the motd if he has to download the map first...). The best implementation is a metamod plugin which sends a request to a http server requesting that the IP address of the client will be added to the db on first time connect. Then sv_downloadurl can be pointed to a php file which will evaluate the ip against the DB and either send the file or return a 403 if download is forbidden. The httpd shouldn't listen on port 80 as many isps automatically reroute http requests through their own proxy server and therefore changing the IP.
Philip
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

