Tremulous Forum
General => General Discussion => Topic started by: Odin on November 28, 2006, 01:44:17 am
-
Hi! Some of you may know that tjw's server build now includes a "WWW Download Mode" which allows clients to download at a much faster rate without impacting server performance. This works by redirecting the connecting user to a web server which contains the file you need to download. Of course, it's not in the official Tremulous build. You'll need to get the tjw client here:
http://trem.tjw.org/backport/linux/tremulous.x86
Download that(to "~/downloads" in this example), and issue the following command:
sudo cp ~/downloads/tremulous.x86 /usr/local/games/tremulous/ && sudo chmod +x /usr/local/games/tremulous.x86
That should overwrite the official build with the tjw one, and make it executable. If you installed Tremulous in any other directory, change the commands to suit your setup.
Now, it should enable WWW download, but on my Linux box, it did not work right out of the box. Apparently, Tremulous looks for "libcurl.so" for use in WWW downloading. However, on mine, I had libcurl.so.3 instead. If you don't know which one you have, try this:
slocate libcurl.so
It should give you a list of available files and where they are located. If it returns nothing, try issuing "sudo updatedb" and try again. If you still get nothing, you'll need to install libcurl on your machine. Here's the Debian(Ubuntu/etc) way:
sudo apt-get update && sudo apt-get install libcurl3
Your package name may differ. Try looking in Synaptic for libcurl to find the right one.
Now that you have libcurl, make a symbolic link for it into the tremulous directory.
Here's what I did on my system:
sudo ln -s /usr/lib/libcurl.so.3 /usr/local/games/tremulous/libcurl.so
OR, you can edit your autogen.cfg to look for libcurl.so.3 instead of libcurl.so. However, I like to allow it to work for all users on my computer, so I used the symlink way.
Tremulous should now auto-download from a WWW download URL if the server is set up that way!
-
I was expecting a tutorial for admins :) there are NO SERVERS with WWW Download set up :/
I simply go elsewhere when I see 5-10KB speed.
-
Much appreciated Odin! :)
Rasz_pl, if you play on servers with beta maps without the www download set up, get the MG map pack (http://www.techmight.com/base/), it's the zip file up top :)
178MB, but at this point it is at version .6 and contains 34 maps, all but a couple I have found. I am working to keep it updated, and at this point it has all the most recent updates I've been able to locate.
Also, the MG Beta Server has www download set up, on a fast link too, so if you see a map you want or don't have, connect and get it :)
-
SST is currently using the WWW download, ras.
-
there are NO SERVERS with WWW Download set up :/
except two
:)
-
there are NO SERVERS with WWW Download set up :/
except two
:)
Three actually.
-
Don't forget }MG{ Central!
-
SST is currently using the WWW download, ras.
www downloads are useless without sv_pure = 1
edit: you can get client side www downloads without root (libcurl must be installed), just add set cl_libcurl libcurl.so.3
to your autogen.cfg (or autoexec.cfg).
-
I said that. But I also said that I like to have it so that it works on all users and all future users without extra tweaking involved.
-
I said that. But I also said that I like to have it so that it works on all users and all future users without extra tweaking involved.
future versions will default to libcurl.so.3, just like ioq3 does now.
-
There's no such problem on Gentoo Linux. net-misc/curl has a default libcurl.so symlink.
-
I finally set up www downloads on my server. It doesn't mean you'll get better than 5-10KB/s though :wink:
-
I finally set up www downloads on my server. It doesn't mean you'll get better than 5-10KB/s though :wink:
you cant use rapidshare?
-
That would be a mess. I was thinking of using mod_rewrite and having everyone leech from http://tremmap.omgwtf.nl/ but when that site's down, that kinda screws the people who don't have maps (until they figure out to turn off wwwDownloads and turn on allowDownloads).
-
I had to put the symlink in the /usr/lib folder with the libcurl.so.3 for it to work properly, thanks for the info :D
-Gate