SRCDS Steam group


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SV_DOWNLOADURL HOW TO!
#1
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/viewtopic.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
#2
is there any free Hosts?
#3
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...
#4
I'll try it, DAMB I NEVER THOUGHT OFF IT!!!
oops, Lol
#5
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.
#6
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: 578)
#7
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??
#8
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.
#9
bzip for webserver
regular files for server

do not need both bzip and bsp on the webserver, one or the other
#10
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??
#11
Never mind I answerd my own question Smile
#12
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
#13
Stealth I wish the link would work

Sad
#14
DarkZealot89 Wrote:Stealth I wish the link would work

Sad

you mean http://www.svdownloadurl.com.. works for me =\
#15
Hmm I will try a different comp...


Forum Jump:


Users browsing this thread: 7 Guest(s)