07-06-2005, 02:10 AM
Heres an indepth explination I have made:
To use sv_downloadurl you have to do a couple of things.
Ok lets say you have 3 sounds and 1 map for players to use well first we need to find webspace...
Once you have that you MIRROR what you have on your server to what you have on the web server.
Like this
Ok your 3 sounds are 1.mp3 2.mp3 and 3.mp3 and your map is aim_map2
(I am assuming you are using Mani with auto download and you know how to make a .res file)
On your server they would be in these folders...
cstrike/sounds/admin_plugins/1.mp3
cstrike/sounds/admin_plugins/2.mp3
cstrike/sounds/admin_plugins/3.mp3
cstrike/maps/aim_map2.bsp
Ok so lets say your webspace is at
http://www.svdownloadurl.com/username/
We would make a folder via ftp and name it 'cstrike'
So now your url is....
http://www.svdownloadurl.com/username/cstrike/
So now you mirrow your files on to the webserver...
.../username/cstrike/sounds/admin_plugins/1.mp3
.../username/cstrike/sounds/admin_plugins/2.mp3
.../username/cstrike/sounds/admin_plugins/3.mp3
.../username/cstrike/maps/aim_map2.bsp
These files need the permissions to allow public users to read them and download them
And in your server.cfg you will now place this CVAR
//Downloadurl CVARS
sv_downloadurl "http://www.svdownloadurl.com/username/cstrike/"
sv_allowupload 1
sv_allowdownload 1
You MUST have the quotes
To use sv_downloadurl you have to do a couple of things.
Ok lets say you have 3 sounds and 1 map for players to use well first we need to find webspace...
Once you have that you MIRROR what you have on your server to what you have on the web server.
Like this
Ok your 3 sounds are 1.mp3 2.mp3 and 3.mp3 and your map is aim_map2
(I am assuming you are using Mani with auto download and you know how to make a .res file)
On your server they would be in these folders...
cstrike/sounds/admin_plugins/1.mp3
cstrike/sounds/admin_plugins/2.mp3
cstrike/sounds/admin_plugins/3.mp3
cstrike/maps/aim_map2.bsp
Ok so lets say your webspace is at
http://www.svdownloadurl.com/username/
We would make a folder via ftp and name it 'cstrike'
So now your url is....
http://www.svdownloadurl.com/username/cstrike/
So now you mirrow your files on to the webserver...
.../username/cstrike/sounds/admin_plugins/1.mp3
.../username/cstrike/sounds/admin_plugins/2.mp3
.../username/cstrike/sounds/admin_plugins/3.mp3
.../username/cstrike/maps/aim_map2.bsp
These files need the permissions to allow public users to read them and download them
And in your server.cfg you will now place this CVAR
//Downloadurl CVARS
sv_downloadurl "http://www.svdownloadurl.com/username/cstrike/"
sv_allowupload 1
sv_allowdownload 1
You MUST have the quotes