Author Topic: Auto Downloads  (Read 6836 times)

twilight

  • Posts: 107
  • Turrets: +0/-0
Auto Downloads
« 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?
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Auto Downloads
« Reply #1 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.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

twilight

  • Posts: 107
  • Turrets: +0/-0
Auto Downloads
« Reply #2 on: April 16, 2007, 03:54:49 am »
I have the backport client
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

twilight

  • Posts: 107
  • Turrets: +0/-0
Auto Downloads
« Reply #3 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
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

tuple

  • Posts: 833
  • Turrets: +97/-80
Auto Downloads
« Reply #4 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. :)

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Auto Downloads
« Reply #5 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.

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Auto Downloads
« Reply #6 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
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Auto Downloads
« Reply #7 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).
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

twilight

  • Posts: 107
  • Turrets: +0/-0
Auto Downloads
« Reply #8 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?
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

next_ghost

  • Posts: 892
  • Turrets: +3/-6
Auto Downloads
« Reply #9 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?
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.

Surge

  • Posts: 86
  • Turrets: +0/-0
Re: Auto Downloads
« Reply #10 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
nnamed Player was surged by Surge
Unnamed Player: hey you con't be surged....
Surge:lmfao

Somethief

  • Posts: 284
  • Turrets: +1/-1
    • http://www.somethief.net/
Re: Auto Downloads
« Reply #11 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
url=http://fi.tremulous.net/]Tremulous Suomi[/url]
My blog

tuple

  • Posts: 833
  • Turrets: +97/-80
Auto Downloads
« Reply #12 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.