Posts: 21
Threads: 6
Joined: Apr 2008
Reputation:
0
04-15-2008, 12:57 PM
(This post was last modified: 04-15-2008, 06:52 PM by yoineedhelppleasekthxbye.)
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:
*****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!
Posts: 21
Threads: 6
Joined: Apr 2008
Reputation:
0
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 "*****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.
Posts: 63
Threads: 2
Joined: Feb 2008
Reputation:
0
You could try
sv_allowupload 1
sv_allowdownload 1
sv_downloadurl "*****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
www.deeptrimmer.co.uk
Server Details:
Deep Trimmer Premiere TDM -=No RPGs=-
62.231.156.78:27015
Posts: 63
Threads: 2
Joined: Feb 2008
Reputation:
0
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:
*****www.clannorthsquad.com/TEMPLATES/DoD_1.3/_Downloads/
or take out the www
*****clannorthsquad.com/TEMPLATES/DoD_1.3/_Downloads
or both
*****clannorthsquad.com/TEMPLATES/DoD_1.3/_Downloads/
---
{DT-UK} Wozzer
www.deeptrimmer.co.uk
Server Details:
Deep Trimmer Premiere TDM -=No RPGs=-
62.231.156.78:27015
Posts: 4
Threads: 0
Joined: Apr 2008
Reputation:
0
why would I write it differently?
I would like to understand.. got any clue?
trying it anyway
Posts: 63
Threads: 2
Joined: Feb 2008
Reputation:
0
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
www.deeptrimmer.co.uk
Server Details:
Deep Trimmer Premiere TDM -=No RPGs=-
62.231.156.78:27015
Posts: 5,178
Threads: 65
Joined: Mar 2005
Reputation:
22
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.
Posts: 14
Threads: 1
Joined: Apr 2008
Reputation:
0
Remove http://. Just have blahblah.com/blah
As someone previously said, the // creates a comment in the CFG so it gets confused.[/quote]
Posts: 63
Threads: 2
Joined: Feb 2008
Reputation:
0
IStrange - it should not see it as a comment because the command is written with speech marks wrapped around it.
sv_downloadurl "*****blah.blah.blah"
---
{DT-UK} Wozzer
www.deeptrimmer.co.uk
Server Details:
Deep Trimmer Premiere TDM -=No RPGs=-
62.231.156.78:27015