Adventure Game Studio

Community => Adventure Related Talk & Chat => Topic started by: simulacra on Mon 10/01/2005 22:44:54

Title: Download script
Post by: simulacra on Mon 10/01/2005 22:44:54
I'd like to put my game on the web for downloading, but I'd like to have a script (PHP, preferably) that keeps track of how many times the game has been downloaded and display it. How do you do that?
Title: Re: Download script
Post by: strazer on Mon 10/01/2005 23:10:44
The AGS homepage does that, doesn't it?
Just upload the game somewhere, enter it in the AGS games database and every download via the database link gets counted.
Title: Re: Download script
Post by: simulacra on Mon 10/01/2005 23:25:36
Quote from: strazer on Mon 10/01/2005 23:10:44
The AGS homepage does that, doesn't it?
Just upload the game somewhere, enter it in the AGS games database and every download via the database link gets counted.

Nice. But I'd like to have it on my own web page as well.
Title: Re: Download script
Post by: Anym on Tue 11/01/2005 00:45:37
You can use the database link on your homepage as well, so instead of http://www.davelgil.com/ags/toak.zip just use http://www.adventuregamestudio.co.uk/games.php?action=download&game=462 for the same effect (using this month's Pick of the Month as an example).
Title: Re: Download script
Post by: simulacra on Tue 11/01/2005 12:59:33
Quote from: Anym on Tue 11/01/2005 00:45:37
You can use the database link on your homepage as well, so instead of http://www.davelgil.com/ags/toak.zip just use http://www.adventuregamestudio.co.uk/games.php?action=download&game=462 for the same effect (using this month's Pick of the Month as an example).

That is also nice, but I need this script for other downloads as well, such as music tracks.
Title: Re: Download script
Post by: Ashen on Tue 11/01/2005 13:36:50
Just Google for 'Download Counter' (http://www.google.com/search?sourceid=navclient&ie=UTF-8&rls=DVXA,DVXA:2004-36,DVXA:en&q=Download+Counter).

Some of them you have to pay for, some are only for one file, but there should be one that'll work for you. Don't know ifany are PHP, though, didn't look that hard.
Title: Re: Download script
Post by: simulacra on Tue 11/01/2005 13:53:59
Found a neat thing called "Download Center Lite".
Title: Re: Download script
Post by: Miez on Tue 11/01/2005 14:17:20
You will find great download scripts (and many, many other nice ones) for free at www.hotscripts.com. Their PHP section is filled to the brim with scripty goodness. ;D
Title: Re: Download script
Post by: Pumaman on Tue 11/01/2005 22:49:19
Even easier, just look at your website stats and see how many times the file has been downloaded.