Tremulous Forum

Community => Servers => Topic started by: twilight on April 15, 2007, 08:30:51 pm

Title: Auto Downloads
Post by: twilight on April 15, 2007, 08:30:51 pm
I've turned on auto downloads from my server by adding these lines to my server.cfg:

set sv_allowDownload 1
set sv_wwwDownload 1
sets sv_wwwBaseURL "http://www.mercenariesguild.net"
sets sv_dlURL "http://www.mercenariesguild.net"

yet everyone seems to download at like 3kb/s. Is this normal?
Title: Re: Auto Downloads
Post by: kevlarman on April 16, 2007, 03:52:42 am
Quote from: "twilight"
I've turned on auto downloads from my server by adding these lines to my server.cfg:

set sv_allowDownload 1
set sv_wwwDownload 1
sets sv_wwwBaseURL "http://www.mercenariesguild.net"
sets sv_dlURL "http://www.mercenariesguild.net"

yet everyone seems to download at like 3kb/s. Is this normal?
you need tjw's backport client for http downloads.
Title: Auto Downloads
Post by: twilight on April 16, 2007, 03:54:49 am
I have the backport client
Title: Auto Downloads
Post by: twilight on April 22, 2007, 11:57:52 pm
am I supposed to set "set sv_allowDownload" to 0? 'Cause I've tried that and it just turns off downloading altogether...I wanna be able to have people download online instead of from my server
Title: Auto Downloads
Post by: tuple on April 23, 2007, 12:49:16 am
There will always be some people who download from your server, at least until 1.2 comes out :)

If the client doesn't have tjw's build, they will download from the server.  Also, some linux client installs (like Ubuntu) with trem require additional steps for it to work.

If you can, open the console when it tries to connect and fails (the client that is).  If you scroll up, way way way up in the console, you will find where the server is telling the client to get it from online and after that you will see the error that causes your client to download it from the server. Or, you could try it, cancel out of the map download with esc, open the console and run:
condump http.error
which will dump the console to a logfile that you can open with notepad.  Not sure where it puts it though, search for it though and you'll find it. :)
Title: Auto Downloads
Post by: Lakitu7 on April 23, 2007, 01:38:42 am
Um, you are actually using a tremded and qvm that supports wwwdownloads in the first place, right? This doesn't work at all with stock 1.1 servers.
Title: Auto Downloads
Post by: kevlarman on April 23, 2007, 04:47:47 am
Quote from: "Lakitu7"
Um, you are actually using a tremded and qvm that supports wwwdownloads in the first place, right? This doesn't work at all with stock 1.1 servers.
actually, the only server change that came with that patch was creating a cvar sv_wwwbaseurl, and marking it CVAR_SERVERINFO, you can accomplish the same thing with an ancient binary and
Code: [Select]
sets sv_wwwbaseurl "url.to.maps.com" in your server.cfg
Title: Auto Downloads
Post by: Undeference on April 23, 2007, 07:11:02 am
Quote from: "kevlarman"
actually, the only server change that came with that patch was creating a cvar sv_wwwbaseurl, and marking it CVAR_SERVERINFO, you can accomplish the same thing with an ancient binary and
Code: [Select]
sets sv_wwwbaseurl "url.to.maps.com" in your server.cfg
Actually, sv_wwwBaseURL is CVAR_SYSTEMINFO, so that won't do any good. That will, however, work with sv_dlURL instead (for the people with svn clients).
Title: Auto Downloads
Post by: twilight on April 25, 2007, 04:22:43 am
wait do ppl connecting to the server have to have the lines:

set sv_allowDownload 1
set sv_wwwDownload 1
sets sv_wwwBaseURL "http://www.mercenariesguild.net"
sets sv_dlURL "http://www.mercenariesguild.net"

in their autogen.cfg?
Title: Auto Downloads
Post by: next_ghost on April 25, 2007, 09:02:45 am
Quote from: "twilight"
wait do ppl connecting to the server have to have the lines:

set sv_allowDownload 1
set sv_wwwDownload 1
sets sv_wwwBaseURL "http://www.mercenariesguild.net"
sets sv_dlURL "http://www.mercenariesguild.net"

in their autogen.cfg?


Simple question: Can you at least guess what the sv_ prefix means?
Title: Re: Auto Downloads
Post by: Surge on April 25, 2007, 09:09:24 am
Quote from: "twilight"
I've turned on auto downloads from my server by adding these lines to my server.cfg:

set sv_allowDownload 1
set sv_wwwDownload 1
sets sv_wwwBaseURL "http://www.mercenariesguild.net"
sets sv_dlURL "http://www.mercenariesguild.net"

yet everyone seems to download at like 3kb/s. Is this normal?


YES IT IS normal... running the game will take up a lot of ur pc's ram

thus u download slower due to ur pc not ur internet
Title: Re: Auto Downloads
Post by: Somethief on April 25, 2007, 12:16:13 pm
Quote from: "Surge"
Quote from: "twilight"
(..)
yet everyone seems to download at like 3kb/s. Is this normal?


YES IT IS normal... running the game will take up a lot of ur pc's ram

thus u download slower due to ur pc not ur internet


Yea it prolly will if you got 128mb ram.
With proper machine HTTP downloads will work as fast as your line downloads or as fast as server can upload data, depends witch one is faster/busier.
Normal Q3 downloads (those ones that don't use cURL) are downloaded on a speed controlled by sv_maxrate instead
Title: Auto Downloads
Post by: tuple on April 25, 2007, 12:29:58 pm
Quote from: "twilight"
wait do ppl connecting to the server have to have the lines:

set sv_allowDownload 1
set sv_wwwDownload 1
sets sv_wwwBaseURL "http://www.mercenariesguild.net"
sets sv_dlURL "http://www.mercenariesguild.net"

in their autogen.cfg?


No, this needs to go in server.cfg
Is the server you are trying this out on running?  Maybe some of us more helpful people ;) can connect and troubleshoot from there.