Raised This Month: $ Target: $400
 0% 

Who is downloading/precaching


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
el hippo
Member
Join Date: Jan 2006
Location: Texas
Old 02-19-2007 , 19:23   Re: Who is downloading/precaching
Reply With Quote #8

You will probably have to resort to using sv_downloadurl and having some sort of script on your webserver to track who is downloading what files.

You could have the script (I use php for my tracker stuff) insert a row into a database containing the client ip address and timestamp. Then your amx script could query the database with the player ip and see if they downloaded a file (you could do this on player connect since they will reconnect after downloading content via sv_downloadurl). You may also want to validate stuff like referrer (it will look something like hl1://<your server ip>:<your server port>) to help make sure that the player actually downloaded the content in game and not with some other download tool.

Hippo
__________________
el hippo is offline
 



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 00:40.


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