SRCDS Steam group


[ SOLVED] TF2: sv_downloadurl not working, need fast help!
#1
On my server, sv_download url is set to "thefragchamber.com/tf"

Everything on my webserver should be set up perfectly, you can view the folder here:
http://thefragchamber.com/tf/
You can see I have all the files as .bz2's

But when I connect to my game server, it downloads the files straight from my game server (very slowly of course) and not the bz2's.

Yes, sv_allowdownloads and sv_allowupload is set to 1. I'm not stupid.

Anyone have the slightest clue what's going on, and how can I fix it?

I notice in some tutorials for sv_downloadurl, they have a http:// in front of the url on the sv_downloadurl cvar. But when I put a http:// in front of it, the // cuts the rest of the url off. Yes, I'm putting it in "quotes" too so I don't know why it's doing that.

Help!
[Image: tf2-05.png]
Reply
#2
these are my settings in server.cfg

sv_downloadurl "thefragchamber.com/tf"
sv_allowupload 1
sv_allowdownload 1


I have also tried
sv_downloadurl "thefragchamber.com/tf/"

and

sv_downloadurl "www.thefragchamber.com/tf/"

and


sv_downloadurl "www.thefragchamber.com/tf"

but nothing works.

When I set it to:
sv_downloadurl "http://thefragchamber.com/tf"

the // in the url deletes the rest of the url, as if it were a comment in the cfg, even though I have it wrapped in quotes.


I've ever tried saying to myself "screw server.cfg" and instead set the values in-game using rcon sv_downloadurl but still doesn't work that way.
[Image: tf2-05.png]
Reply
#3
You could try
sv_allowupload 1
sv_allowdownload 1
sv_downloadurl "http://thefragchamber.com/tf/"

Note the trailing backslash. That method works for me. Not sure whether the order of sv_allowupload 1 & sv_allowdownload 1 makes a difference but guess its worth a shot.

I also notice your folder doesn't have any maps. Someone may correct me here but I'm pretty sure that if you are going to use an sv_download, you have to have all the custom content (maps, sounds, materials etc.) on the webserver. I don't think it can handle downloading some from the webserver and some from the gameservr.
---
{DT-UK} Wozzer
http://www.deeptrimmer.co.uk
Server Details:
Deep Trimmer Premiere TDM -=No RPGs=-
62.231.156.78:27015
Reply
#4
Wozzer Wrote:You could try
sv_allowupload 1
sv_allowdownload 1
sv_downloadurl "http://thefragchamber.com/tf/"

Note the trailing backslash. That method works for me. Not sure whether the order of sv_allowupload 1 & sv_allowdownload 1 makes a difference but guess its worth a shot.

I also notice your folder doesn't have any maps. Someone may correct me here but I'm pretty sure that if you are going to use an sv_download, you have to have all the custom content (maps, sounds, materials etc.) on the webserver. I don't think it can handle downloading some from the webserver and some from the gameservr.

Those are the only downloadable files I have, I don't run any custom maps, only custom sounds and decals.

I can't do the http:// because of the // makes a comment in the cfg, even when I put the command in " quotes ".

I tried it with as slash at the end and it still doesn't work. Sad
[Image: tf2-05.png]
Reply
#5
Wozzer Wrote:Not sure whether the order of sv_allowupload 1 & sv_allowdownload 1 makes a difference but guess its worth a shot.



Wow wtf this actually worked but it makes no sense. I am now download from my http and it's SOOO much faster.

When I had it in this order in server.cfg it didn't work:

sv_downloadurl "blahblah.com/tf"
sv_allowupload 1
sv_allowdownload 1


but when I did it like this, it worked:


sv_allowupload 1
sv_allowdownload 1
sv_downloadurl "blahblah.com/tf"


thanks lol...
[Image: tf2-05.png]
Reply
#6
No problem. Glad it worked. Smile
Thanks for posting back as it may assist others.
---
{DT-UK} Wozzer
http://www.deeptrimmer.co.uk
Server Details:
Deep Trimmer Premiere TDM -=No RPGs=-
62.231.156.78:27015
Reply
#7
Wozzer Wrote:you have to have all the custom content (maps, sounds, materials etc.) on the webserver. I don't think it can handle downloading some from the webserver and some from the gameservr.
It can handle both. Since it first goes through the webserver searching for the files, downloading those that are there, and then searches the server itself for them, it's failsafe.
yoineedhelppleasekthxbye Wrote:When I had it in this order in server.cfg it didn't work:

sv_downloadurl "blahblah.com/tf"
sv_allowupload 1
sv_allowdownload 1


but when I did it like this, it worked:


sv_allowupload 1
sv_allowdownload 1
sv_downloadurl "blahblah.com/tf"


thanks lol...
Well logically since the server first processes allowdownload 1 the downloadurl should come afterwards.
Reply
#8
Why cant I make this work?

added this in my server.cfg
mirrored all the files at this url address
Code:
//Downloadurl CVARS
sv_allowupload 1
sv_allowdownload 1
sv_downloadurl "http://www.clannorthsquad.com/TEMPLATES/DoD_1.3/_Downloads"

still dling at 7k/s from the game server

Do I need to do something special to mirror the files (bzip? I've put a .res file in the map folder on the webspace)... or just putting those on the webspace?
Reply
#9
I can see the sv_downloadurl location fine and your structure looks ok to me.

Only things I can think of is to put a trailing slash at the end of your sv_downloadurl so it becomes:
http://www.clannorthsquad.com/TEMPLATES/DoD_1.3/_Downloads/

or take out the www
http://clannorthsquad.com/TEMPLATES/DoD_1.3/_Downloads

or both
http://clannorthsquad.com/TEMPLATES/DoD_1.3/_Downloads/
---
{DT-UK} Wozzer
http://www.deeptrimmer.co.uk
Server Details:
Deep Trimmer Premiere TDM -=No RPGs=-
62.231.156.78:27015
Reply
#10
why would I write it differently?
I would like to understand.. got any clue?

trying it anyway
Reply
#11
none of these solution are working.. Sad
seems to me like this sv_downloadurl thing in the server.cfg isn't working right for me...
Reply
#12
Someone may correct me here - but I think ALL of your files on your sv_download location need to be in bzip - not just the maps.
---
{DT-UK} Wozzer
http://www.deeptrimmer.co.uk
Server Details:
Deep Trimmer Premiere TDM -=No RPGs=-
62.231.156.78:27015
Reply
#13
As far as I know it checks for bzip first, if it isn't there it grabs the normal file if present on the server but I'm not 100% sure on this either....

Still it should initiate the download when you join, if it doesn't and just joins there's something wrong in the server.cfg or server I think.
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#14
Remove http://. Just have blahblah.com/blah

As someone previously said, the // creates a comment in the CFG so it gets confused.[/quote]
Reply
#15
IStrange - it should not see it as a comment because the command is written with speech marks wrapped around it.

sv_downloadurl "http://blah.blah.blah"
---
{DT-UK} Wozzer
http://www.deeptrimmer.co.uk
Server Details:
Deep Trimmer Premiere TDM -=No RPGs=-
62.231.156.78:27015
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)