r1ch.net forums
* Home Help Search Login Register
r1ch.net  |  r1ch.net stuff  |  R1Q2  |  Topic: HTTP Downloading Setup Guide (Simple)
Pages: [1] 2  All
Print
Author Topic: HTTP Downloading Setup Guide (Simple)  (Read 86820 times)
R1CH
Administrator
Member

Posts: 2625



« on: October 14, 2005, 12:47:27 pm »

Super-simple HTTP downloading guide! To set up HTTP downloads from your R1Q2 server, you will need some webspace - doesn't matter where as long as it isn't on a free host that will start serving up "Bandwidth exceeded" pages instead of content...

Simply upload all files you want to offer via HTTP downloading to your webspace. Then set sv_downloadserver to the URL of the root directory of your webspace. Example:

You want to allow HTTP downloads of all your custom lmctf maps. You run a Q2 server where the gamedir is 'lmctf'. Your website is q2downloads.com. You woud login to your webspace, make a directory lmctf, make another directory inside that called maps, upload all the .bsp files to the maps directory, then set sv_downloadserver to http://q2downloads.com/

Easy enough, wasn't it? Smiley. Remember, the trailing slash at the end of sv_downloadserver is very important!
« Last Edit: May 04, 2007, 01:59:28 pm by R1CH » Logged
QwazyWabbit
Member

Posts: 402


« Reply #1 on: October 15, 2005, 12:11:53 am »

Yup. Nice. Don't know if/when I will use it yet, but nice to have when the time comes.
Logged
slacker
Member

Posts: 39


« Reply #2 on: October 16, 2005, 04:08:18 am »

so the gunzip compression is optional?
Logged
R1CH
Administrator
Member

Posts: 2625



« Reply #3 on: October 16, 2005, 04:10:10 pm »

Yes, use the advanced guide if you want to also compress your hosted content. If you just want faster downloads, no need to use gzip if you don't want to.
Logged
QwazyWabbit
Member

Posts: 402


« Reply #4 on: March 12, 2006, 03:44:00 pm »

From where are you getting the libcurl library?

I think I found it. http://curl.haxx.se/download/
« Last Edit: March 12, 2006, 09:42:35 pm by QwazyWabbit » Logged
GiJO
Member

Posts: 11


« Reply #5 on: January 03, 2007, 09:02:03 am »

Great idea!!! but if you just want standard quake2 maps and not a mod do you create a baseq2 folder and put a maps folder in that? or do you just put a maps folder straight into the root of the server?

What about if you have webspace with your ISP? is http://users.myisp.com/mysite can this be used?

Thanks
Andrew
Logged
R1CH
Administrator
Member

Posts: 2625



« Reply #6 on: January 03, 2007, 03:51:43 pm »

Yes, you use baseq2 for that. Webspace with your ISP should work fine so long as the folders are in the right place.
Logged
The_Gun_Man
Member

Posts: 32


« Reply #7 on: January 24, 2007, 10:42:23 pm »

What would the console command be then for downloading?
Logged
R1CH
Administrator
Member

Posts: 2625



« Reply #8 on: January 24, 2007, 11:28:41 pm »

allow_download 1
allow_download_players 1
allow_download_models 1
allow_download_sounds 1
Logged
Ratti
Guest
« Reply #9 on: July 15, 2007, 08:53:22 pm »

allow_download_others 1 is another one that's available
Logged
R1CH
Administrator
Member

Posts: 2625



« Reply #10 on: July 16, 2007, 02:14:11 pm »

That's for servers only though.
Logged
Jas
Guest
« Reply #11 on: December 29, 2008, 08:59:58 am »

What's about *.pak files ?
Logged
DarkShade9
Guest
« Reply #12 on: May 05, 2010, 10:23:38 pm »

Do you need the R1Q2 Client for this to work, or just the R1Q2 Server set to the URL?
Logged
TgT
Member

Posts: 103


« Reply #13 on: May 06, 2010, 06:00:10 pm »

Clients R1Q2 and AprQ2 support this HTTP downloading which is available at R1Q2&Q2Pro server binaries
Logged
Ala
Guest
« Reply #14 on: February 16, 2011, 10:07:46 am »

Can you make http downloading for server from repository ?
Logged
Pages: [1] 2  All
Print
r1ch.net  |  r1ch.net stuff  |  R1Q2  |  Topic: HTTP Downloading Setup Guide (Simple)
Jump to:  

Powered by SMF 1.1.19 | SMF © 2013, Simple Machines