Raised This Month: $51 Target: $400
 12% 

sv_downloadURL


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kq6zz
Member
Join Date: Apr 2010
Old 06-09-2010 , 21:23   sv_downloadURL
Reply With Quote #1

Here's a question for you guys. I have tried using the sv_downloadURL with the company that host's my web site which is Go Daddy. I have it loaded with all the materials, sounds, maps and motd that I think that it should have to make it work. Well ... it wont, No matter if I load maps in the .bsp or .bz2 format, nothing will work. Don't know why. I was just wondering. Is there something that I am missing? I have been to alot of forums, and read alot of articals about the sv_downloadURL to make it work, but still it wont. The sound files will download to a player, but no maps. If I have another computer networked and store all of the same things there, that I have on the URL download with Go Daddy.com, will it, or can that work?? Instead of going to a web site for the download, can a player be redirected to another computer to get all the server info and then join the game?? If so, what would the address for this be?
kq6zz is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 06-09-2010 , 23:39   Re: sv_downloadURL
Reply With Quote #2

http://developer.valvesoftware.com/wiki/Sv_downloadurl


Source Dedicated Server = srcds.exe :
- On server you add normally maps, sounds etc. etc. what are NOT zipped and packet any other format.
- If (sv_downloadurl "") is empty, players download now all missing files from here, server.
That could cause lag on server because overloading the network and server.
- Here add commands
sv_downloadurl "http://DOMAIN/cstrike/"
sv_allowdownload 1
sv_allowupload 1
net_maxfilesize 64
<< This will help players download huge maps MAX 64Mb, default is 16Mb


http://DOMAIN/cstrike/

- Players download from here missing files when use sv_downloadurl "http:// "
- Here you add zipped *.bz2 (or not zipped) maps and other files
- Make sure it have same path like on server
example:
...cstrike/maps/map_name.bsp.bz2
...cstrike/sound/quake/headshot.mp3.bz2

Last edited by Bacardi; 06-09-2010 at 23:42.
Bacardi is offline
Encryption
Member
Join Date: Aug 2009
Location: Florida
Old 06-10-2010 , 08:20   Re: sv_downloadURL
Reply With Quote #3

If you FTP to your domain, go to the public_html folder, then once inside there, make a new folder named cstrike, in the cstrike folder all of your files go inside there in there correct maps. Maps go into cstrike/maps etc.

Then for your server cfg, add these.

Code:
sv_downloadurl "http://yourdomain.com/cstrike/
sv_allowdownload 1
sv_allowupload 1
You don't have to put the net max file size command like bacardi stated above because when redirecting downloads it doesn't do anything.
__________________
Encryption is offline
Send a message via MSN to Encryption
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 06-10-2010 , 11:36   Re: sv_downloadURL
Reply With Quote #4

Quote:
Originally Posted by Encryption View Post
...
You don't have to put the net max file size command like bacardi stated above because when redirecting downloads it doesn't do anything.
Indeed... it only limit file size from server side uploading.

This could set to 0 to make sure players not download anything from server, only from sv_downloadurl "http://destination"
All needed files have to be then on that domain.
It is your own decision.
Bacardi is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 06-10-2010 , 12:36   Re: sv_downloadURL
Reply With Quote #5

Actually, you should still set net_maxfilesize because what happens if you fast download host goes down temporarily? Or you forget to upload the file? Even if the download will take forever, it lets you know what the problem is rather than users only complaining "I can't download the map."
__________________
thetwistedpanda is offline
kq6zz
Member
Join Date: Apr 2010
Old 06-12-2010 , 12:32   Re: sv_downloadURL
Reply With Quote #6

O.K. I have done all of these that you guys have mentioned here, but I don't think that my web host allows the transfer of .bsp or .bz2 files for whatever reason. What about the second part of my question. Say I have another computer here at my home that is also connected to the same router that my server is connected to. Is there any way to put all of the files, maps etc. on the other computer and have the sv_downloadURL be directed to THAT computer to allow players to download the files that they need?? If so, what would the command line be to enable it? I know that it wouldn't be sv_downloadURL "http://blahblahblah.com" seeing how it would be here on the same network. Any ideas??
kq6zz is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 06-12-2010 , 15:48   Re: sv_downloadURL
Reply With Quote #7

http://filezilla-project.org/
??

*edit
But maybe it's better you don't use sv_downloadurl "http://" at all..
Try first upload from server and look how terrible it goes or can you see different.

Last edited by Bacardi; 06-12-2010 at 15:59.
Bacardi is offline
kq6zz
Member
Join Date: Apr 2010
Old 06-13-2010 , 01:35   Re: sv_downloadURL
Reply With Quote #8

Straight from the server is very slow. The .bsp files take forever to be loaded to a new player that doesn't have the current map we are playing. By the way, I am using a SRCDS with Half-Life2 Deathmatch on it. I'll look into the Filezilla server, and see if it will work on the other computer that is on the network. Hopefully it will, and there wont be too much lag on the server. I just wish that my web site host would work. I loaded everything to it using filezilla two weeks ago. Players can download jpegs, mp3's, wav's but when it starts to download the map, it shows them a disconnected error box. Tried .bsp and .bz2 files, but they both do the same thing.
kq6zz is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 06-13-2010 , 06:57   Re: sv_downloadURL
Reply With Quote #9

About that your web site host, look those files using web browser (explorer, firefox)
Can you see those same "http://domain" path.

Maybe host have limited file type/format allow show those files on net.
You could check folders and files properties what permission those have.
CHMOD xxx
Bacardi is offline
kq6zz
Member
Join Date: Apr 2010
Old 06-13-2010 , 21:43   Re: sv_downloadURL
Reply With Quote #10

Something that I have noticed here in this forum, and on another. You show more than one command line for the sv_downloadURL.

Example from above:
...cstrike/maps/map_name.bsp.bz2
...cstrike/sound/quake/headshot.mp3.bz2

Do I need to use the sv_downloadURL for each folder like:
sv_downloadURL "http://domain/hl2mp/maps/" (this folder has over 800 maps)
sv_downloadURL "http://domain/hl2mp/sound/"
sv_downloadURL "http://domain/hl2mp/materials/"

Would this be right??

Last edited by kq6zz; 06-13-2010 at 21:47.
kq6zz is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode