Can't get enough SRCDS.com? Follow us on: Twitter | IRC | Steam


 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

SV_DOWNLOADURL HOW TO!

Author Message
DarkZealot89 Offline
Senior Member

Posts: 463
Joined: Jul 2005
Reputation: 0
Post: #1
SV_DOWNLOADURL HOW TO!
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 and you have a .res file to distribute.

(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
cstrike/maps/aim_map2.res (Helps people share .ain and .nav files)

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
.../username/cstrike/maps/aim_map2.res

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 for the sv_downloadurl address!


***UPDATE WITH INFO ON BZIP2!***

If you want to bzip2 your files, refer here:

http://www.mani-admin-plugin.com/forums/...php?t=8549

I may one day convert a version to here on srcds.com, but for now you need to go to M-A-P for help on that.

If you have any questions/comments please post here!

Edited by cryotek: If you need a free host check this forum post out
http://forums.srcds.com/showthread.php?tid=3197

[Image: userbars.gif]
[Image: darkzealot89.png]
(This post was last modified: 10-01-2007 11:48 PM by Drocona.)
07-10-2005 12:26 AM
Visit this user's website Find all posts by this user
Cambiker Offline
Newbie

Posts: 3
Joined: Dec 2005
Reputation: 0
Post: #2
RE: SV_DOWNLOADURL HOW TO!
is there any free Hosts?
12-18-2005 02:19 AM
Find all posts by this user
skeletor Offline
freakaziod

Posts: 1,587
Joined: Jun 2005
Reputation: 0
Post: #3
RE: RE: SV_DOWNLOADURL HOW TO!
Cambiker Wrote:is there any free Hosts?

lol ever try google?? im sure you will be able to find something.. but it won't be very dependable, and won't have very much space, or traffic...

http://darkstarllc.com
12-18-2005 02:13 PM
Visit this user's website Find all posts by this user
Cambiker Offline
Newbie

Posts: 3
Joined: Dec 2005
Reputation: 0
Post: #4
RE: SV_DOWNLOADURL HOW TO!
I'll try it, DAMB I NEVER THOUGHT OFF IT!!!
oops, Lol
12-18-2005 08:42 PM
Find all posts by this user
DarkZealot89 Offline
Senior Member

Posts: 463
Joined: Jul 2005
Reputation: 0
Post: #5
RE: SV_DOWNLOADURL HOW TO!
ALSO

Check with your ISP


My isp http://www.insightbb.com provides 10 megs of space which is good for 2 admins models, 10 sounds, quake sounds, and mani action sounds (motd sound, vote start, vote end, etc)

**CAREFUL**

Some free hosts that allow upload and you can get files just fine throught IE or firefox, they may not download to your game correctly. Meaning, that it shows the download in the loading screen, but nothing actually downloads.


IN OTHER NEWS!



I update the main post with info regarding bzip2, which some time soon I will transfer over here for eaiser reference.

[Image: userbars.gif]
[Image: darkzealot89.png]
(This post was last modified: 12-19-2005 02:12 AM by DarkZealot89.)
12-19-2005 02:00 AM
Visit this user's website Find all posts by this user
skeletor Offline
freakaziod

Posts: 1,587
Joined: Jun 2005
Reputation: 0
Post: #6
RE: SV_DOWNLOADURL HOW TO!
bziping made easy =) i did this awhile ago when i bzipd all of my maps.. all you have to do is download the attached zip file calld bzip.zip and extract it anywhere on your hard drive. then copy the files you want to compress into the folder called compress. just make sure you don't copy any folders into there, just the files themselves. and then double click on bzip.bat and it will bzip all the files in the compress folder. after that just upload them to your webserver.

*note* ignore the blank file in there, i had to add that or it wouldn't add the compressed folder to the zip archive. it should work though, it workd for me back when i used it.


.zip  bzip.zip (Size: 30.5 KB / Downloads: 510)

http://darkstarllc.com
01-31-2006 07:24 AM
Visit this user's website Find all posts by this user
moFBush Offline
Newbie

Posts: 3
Joined: Feb 2006
Reputation: 0
Post: #7
RE: SV_DOWNLOADURL HOW TO!
I have everything set to go.. after I bzip my bsp files I just upload them? Do I remove the uncompressed .bsp files that are there currently?

Do I need to include de_map.bzip into the .res file on the game server??
02-06-2006 04:44 AM
Find all posts by this user
skeletor Offline
freakaziod

Posts: 1,587
Joined: Jun 2005
Reputation: 0
Post: #8
RE: SV_DOWNLOADURL HOW TO!
i don't think you have to include it on the res file (but it wouldn't hurt), and when you upload the bzip file to the webserver you do not need the bsp files there, but you do have to have the bsp files on the game server still.

http://darkstarllc.com
(This post was last modified: 02-06-2006 04:53 AM by skeletor.)
02-06-2006 04:53 AM
Visit this user's website Find all posts by this user
DarkZealot89 Offline
Senior Member

Posts: 463
Joined: Jul 2005
Reputation: 0
Post: #9
RE: SV_DOWNLOADURL HOW TO!
bzip for webserver
regular files for server

do not need both bzip and bsp on the webserver, one or the other

[Image: userbars.gif]
[Image: darkzealot89.png]
02-06-2006 05:53 AM
Visit this user's website Find all posts by this user
moFBush Offline
Newbie

Posts: 3
Joined: Feb 2006
Reputation: 0
Post: #10
RE: SV_DOWNLOADURL HOW TO!
does anything need to be added into the .res file on the game server that calls for the maps in the compressed form or will it grab them by matching up their names??
02-07-2006 04:13 AM
Find all posts by this user
moFBush Offline
Newbie

Posts: 3
Joined: Feb 2006
Reputation: 0
Post: #11
RE: SV_DOWNLOADURL HOW TO!
Never mind I answerd my own question Smile
02-07-2006 04:37 AM
Find all posts by this user
Stealth Offline
Ex- Mod

Posts: 367
Joined: Dec 2004
Reputation: 0
Post: #12
RE: SV_DOWNLOADURL HOW TO!
You could all try http://www.svdownloadurl.com for sv_downloadurl hosting

-Paul, Shameless plug.

Clanplanet.co.uk Gaming Servers
Licensed Ventrilo Host - AA Honor Provider - Great Service & Prices
02-10-2006 07:59 PM
Find all posts by this user
DarkZealot89 Offline
Senior Member

Posts: 463
Joined: Jul 2005
Reputation: 0
Post: #13
RE: SV_DOWNLOADURL HOW TO!
Stealth I wish the link would work

Sad

[Image: userbars.gif]
[Image: darkzealot89.png]
(This post was last modified: 02-19-2006 02:49 AM by DarkZealot89.)
02-19-2006 02:48 AM
Visit this user's website Find all posts by this user
skeletor Offline
freakaziod

Posts: 1,587
Joined: Jun 2005
Reputation: 0
Post: #14
RE: RE: SV_DOWNLOADURL HOW TO!
DarkZealot89 Wrote:Stealth I wish the link would work

Sad

you mean http://www.svdownloadurl.com.. works for me =\

http://darkstarllc.com
02-19-2006 04:53 AM
Visit this user's website Find all posts by this user
DarkZealot89 Offline
Senior Member

Posts: 463
Joined: Jul 2005
Reputation: 0
Post: #15
RE: SV_DOWNLOADURL HOW TO!
Hmm I will try a different comp...

[Image: userbars.gif]
[Image: darkzealot89.png]
02-19-2006 12:00 PM
Visit this user's website Find all posts by this user


Forum Jump: