PDA

View Full Version : Fast Download on CoD2 Server!



jepson
3rd November 2012, 18:09
How can i do fast download on cod2 server?

kung foo man
3rd November 2012, 18:16
this is all you need:



set sv_allowDownload "0"
set sv_wwwDownload "1"
set sv_wwwBaseURL "http://killtube.org/deathrun"
set sv_wwwDlDisconnected "1"


check the url, so you the the folder-structure.

EvoloZz
3rd November 2012, 18:37
dr_bananaphone? dr_terminator? xD

kung foo man
3rd November 2012, 18:43
yeah dr_terminator is a map made by Killer.Pro and later it got extended by STAUFFii and Dark.Angel i think. But havent yet implemented the map :D

bananaphone is some older map, still nice, but i dont remember anymore what the reason was of not-implementing-it.

jepson
4th November 2012, 07:24
How to make the set sv_wwwBaseURL "" on my root? :D

kung foo man
4th November 2012, 07:57
In WinSCP goto /var/www, thats your web-data.

jepson
4th November 2012, 08:37
Ye, but how will i make the mods downloading from the site if i dont have a site? :D
And i dont know how to make... Does it exist some default site for web data?

kung foo man
4th November 2012, 08:44
Your "site" is your vserver. You can reach it by ip: http://188.165.248.215/

Yep, there is the default site of apache2.

jepson
4th November 2012, 09:10
Ye, how to setup a default site for file download?

kung foo man
4th November 2012, 09:21
you dont need a default site.

just create those folders:
- /var/www/cod2
- /var/www/cod2/main
- /var/www/cod2/your_fsgame_name


and:
set sv_wwwBaseURL "http://1.2.3.4/cod2"

WoOtLax
31st October 2017, 09:47
you dont need a default site.

just create those folders:
- /var/www/cod2
- /var/www/cod2/main
- /var/www/cod2/your_fsgame_name


and:
set sv_wwwBaseURL "http://1.2.3.4/cod2"

I did the action you said. But when I enter the server "download failure while getting" getting the error

kung foo man
31st October 2017, 12:36
Can you download the .iwd files with a normal browser? Whats your sv_wwwBaseURL?

WoOtLax
31st October 2017, 12:42
not downloaded.

wwwBaseURL= http://185.82.218.196/cod2

kung foo man
31st October 2017, 12:46
lol yea, so what might be wrong here? did you forgot to upload the mod in the first place?

https://winscp.net/eng/download.php

WoOtLax
31st October 2017, 12:53
1376


I installed mode but it does not work

kung foo man
31st October 2017, 13:17
If it would be a rights issue apache normally has a "forbidden" error message, so its probably a config issue... different web path

https://askubuntu.com/questions/684699/changing-the-default-directory-of-website

Do you have a /var/www/html folder? Then thats probably the root path for your website, just drag /var/www/cod2 into /var/www/html then

WoOtLax
31st October 2017, 13:49
If it would be a rights issue apache normally has a "forbidden" error message, so its probably a config issue... different web path

https://askubuntu.com/questions/684699/changing-the-default-directory-of-website

Do you have a /var/www/html folder? Then thats probably the root path for your website, just drag /var/www/cod2 into /var/www/html then


Problem is solved.

@kung foo man thank you so much :)

IzNoGoD
31st October 2017, 21:32
He probably created the cod2 folder with no execute bit set on it, so "everyone" couldnt cd into it, and given that his files are now root-owned, it was probably as root.