Tremulous Forum
General => General Discussion => Topic started by: tjw on August 28, 2006, 01:18:37 am
-
I've added cURL http://curl.haxx.se/ support into my backport builds:
http://trem.tjw.org/backport/
If you're using Linux you will need to have libcurl installed (I think most distros install it by default though). The windows build is statically linked to libcurl, and Mac OS X comes with libcurl installed already.
In order for it to work, you need to enable downloads by setting the cl_allowDownload cvar to 1. cURL downloading is enabled by default, but you can disable it by setting cl_wwwDownload to 0.
Server setup instructions:
1) You need to use the latest tremded from http://tjw.org/tremulous/
2) Enable server downloads in your server config:
set sv_allowDownload 1
3) Enable download redirection:
set sv_wwwDownload 1
4) Set the base URL for your downloads:
set sv_wwwBaseURL "http://your.server.com"
Obviously, you'll want to change the value in step 4. Note that this URL is just the start of the url. If you have fs_game set to "base" (the default), then the clients will attempt to download:
http://your.server.com/base/themissing.pk3
My server (tremulous.tjw.org) has this enabled already, so you can test the client there when one of the custom maps is running.
-
Ill update sst next time we can.
-
I will urge maci to do the same to SATGNU, <3
-
You don't need to have the tjw client? Holy shit. I'd hug you, but I don't swing that way. You have just solved one of the biggest problems in Tremulous.
By the way, one thing: Make sure that in the next version, you add a mode that tells all clients to download while disconnected, so they don't take up a slot.
-
Ill update sst next time we can.
That reminds me. You might want to have a look at the updated server setup instructions for Windows:
http://www.tjw.org/tremulous/SETUP.txt
You can now put the game.qvm in your "Documents and Settings" so you don't have to use the "+set fs_game base2" thing anymore. This would be less annoying for players since they won't end up with the extra "base2" directory and the autogen confusion it creates.
-
You don't need to have the tjw client? Holy shit. I'd hug you, but I don't swing that way. You have just solved one of the biggest problems in Tremulous.
In order to use the HTTP/FTP downloads in your client you need to use the tremulous binary at http://trem.tjw.org/backport/ . There is no protocol change, so there is no incompatability issue using older clients if that's what you're asking.
By the way, one thing: Make sure that in the next version, you add a mode that tells all clients to download while disconnected, so they don't take up a slot.
The client already disconnects itself when it starts a redirected download. Unlike ET, there is no server-side option to toggle this behaviour.
-
You don't need to have the tjw client? Holy shit. I'd hug you, but I don't swing that way. You have just solved one of the biggest problems in Tremulous.
In order to use the HTTP/FTP downloads in your client you need to use the tremulous binary at http://trem.tjw.org/backport/ . There is no protocol change, so you can use this client to play on servers without the download support and likewise clients without the support can play on servers that do have the support.
By the way, one thing: Make sure that in the next version, you add a mode that tells all clients to download while disconnected, so they don't take up a slot.
The client already disconnects itself when it starts a redirected download. Unlike ET, there is no server-side option to toggle this behaviour.
Well I already have your client(I moderate my clan's server from time to time), I was just wondering if the http/ftp downloads required the use of your client.
-
Ok, one thing I've noticed is, I'd rather not allow people to download from my server itself, so I use the wwwdownload. However, people without your client download straight from my server, lagging it horribly(it's being hosted on my home connection, 1.7mbps down/160kbps up). Can you make a new variable that disallows people with guid's of "XXX" to join, effectively removing all people without your client?
-
Hey TJW, great changes :)
But, I am not with you on the nerfed Dragoon just yet. Could you please also update the tremulous-svnXXX.patch file?
Thanks a lot!
-
NICE ! TY TJW !!
It's up for Bricosoft server, 200kB/s vs 4kB/s previously. Wow.
-
The Linux binary would cause a crash when the download finished. I've uploaded a new version, sorry if it bit you.
-
Hey TJW, great changes :)
But, I am not with you on the nerfed Dragoon just yet. Could you please also update the tremulous-svnXXX.patch file?
Thanks a lot!
The server change is only in the engine, so you don't need to use an updated game.qvm, just the tremded binary.
This is all that's changed:
https://bugzilla.icculus.org/attachment.cgi?id=1038
-
Do we have to do the redirect to application data, because, while i do have RDC access, it would be easier to just keep the same old system we have.
Also, there is no way to see decon notices from spectator, even when the class has the view teamchat flag on. Is this a bug, or something you will fix.
-
Oh, the ALT TAB doesnt work anymore. I can minimize trem, but i cant switch to another application.
-
Now. I suppose my noob post may get deleted here, but anyhow...
I am trying to play on your server even now, TJW, but - alas! A new map. and its 10 MBs too. ouch. So slow to download!
So now I want to set up my side of this http/ftp system. that'd be good.
I wasn't sure if the instructions in your first post were for the gamer, or the server, but I did them anyhow.
And I pointed the download site at http://tremulous.tjw.org/
And it IS downloading, but hella slow (7-8 Kb/s)
I have no idea if I've done this right or what. feedback?
-Your friendly neighbourhood Noob, Rigel (Animal)
-
Oh, the ALT TAB doesnt work anymore. I can minimize trem, but i cant switch to another application.
It's disabled by default since it causes problems for some people:
You can turn it on with:
/win_allowAltTab 1
-
Now. I suppose my noob post may get deleted here, but anyhow...
I am trying to play on your server even now, TJW, but - alas! A new map. and its 10 MBs too. ouch. So slow to download!
So now I want to set up my side of this http/ftp system. that'd be good.
I wasn't sure if the instructions in your first post were for the gamer, or the server, but I did them anyhow.
And I pointed the download site at http://tremulous.tjw.org/
And it IS downloading, but hella slow (7-8 Kb/s)
I have no idea if I've done this right or what. feedback?
-Your friendly neighbourhood Noob, Rigel (Animal)
I think you were following the server setup instructions. For the client, you only need to get the latest .exe from http://trem.tjw.org/backport/.
-
TJW YOU ROCK
-
I just noticed that when i ran a cvarlist.
-
This is all that's changed:
https://bugzilla.icculus.org/attachment.cgi?id=1038
Thanks Tony :)
It might be interesting for Windows users, that pk3-downloads and autogen.cfg will be stored at %SYSTEMDRIVE%\Documents and Settings\%USERNAME%\Local Settings\Application Data\Tremulous.
-
This is all that's changed:
https://bugzilla.icculus.org/attachment.cgi?id=1038
Thanks Tony :)
It might be interesting for Windows users, that pk3-downloads and autogen.cfg will be stored at %SYSTEMDRIVE%\Documents and Settings\%USERNAME%\Local Settings\Application Data\Tremulous.
yes it was really interesting after trying to change a bind for 10mins
-
From README.txt:
* win32 builds add a "home path" in /Documents and Settings
* cURL support for HTTP/FTP downloads. cl_allowDownload and cl_wwwDownload
both need to be set to 1 (the server also needs to be patched and configured
for this to work).
Maybe rephrase to:
* cURL support for HTTP/FTP downloads. cl_allowDownload and cl_wwwDownload
both need to be set to 1 (the server also needs to be patched and configured
for this to work).
* Win32: Support for per-user-settings in \Documents and Settings\<USERNAME>
\Local Settings\Application Data\Tremulous (autogen.cfg will be automatically
copied; downloads will be placed there).
I'd also like suggest to remove this per-user-settings support in the client,
since it makes things a little complicated or at least confusing,
for as long as it's not integrated in the official client.
-
it is good actually. it allows different setups for different users.
-
Yes, so if Bobby is an admin on a server, his brother Tommy cant come in and admin.
This will prevent things like I didnt abuse admin power, that was my brother/roommate/spouse/friend
-
Well, that would actually be nice, but the qkey file containing your GUID is still (at least on my system) in the game folder of tremulous, not in Documents & Settings.
I don't disagree that it is a nice feature, but people switching to tjw's client currently might get confused because they change the wrong autogen.cfg.
-
FYI: the PPC portion of the Mac backport build doesn't appear to work...
-
*cough* all my sshots are saved in this screwed up location *cough* <3
-
My 2 cents, I'd prefer to point to the entire path of the maps instead of the root path. If I'd rather point to a public space containing the maps instead of my server, I could put the entire url - http://example.com/maps/
The way it is now, the maps would have to be in http://example.com/maps/base/ for some people and http://example.com/maps/base2/ for others.
Better yet, allow us to put the URL in the maprotation list so we can point to a location for the individual maps.
-
Oh and this addition would be a really good reason to release 1.1.1 to the public...
my 2 pennies!
-
use the edit button.
having to put the /base forces you to change the web server, and therefore proves its a server you have access to, and not omeone like tremulous.info who's bandwidth you are stealing.
-
My 2 cents, I'd prefer to point to the entire path of the maps instead of the root path. If I'd rather point to a public space containing the maps instead of my server, I could put the entire url - http://example.com/maps/
The way it is now, the maps would have to be in http://example.com/maps/base/ for some people and http://example.com/maps/base2/ for others.
Better yet, allow us to put the URL in the maprotation list so we can point to a location for the individual maps.
Bad, because the server needs every client to comply with it's settings in order to create a fair game.
-
use the edit button.
having to put the /base forces you to change the web server, and therefore proves its a server you have access to, and not omeone like tremulous.info who's bandwidth you are stealing.
Disagree. I could change my server to use base as the game dir, and use TJW's host as it is now. Making me set base as the game dir is not a method to ensure it's my ftp/http server.
I'm saying that I'd like the ability to set the URL to a public download URL (not steal someone's bandwidth, but a host that provides public download of the maps and doesn't mind the use). For instance, I could provide access to the maps on my web host for some folks, but my game server uses base2.
Why require the game dir in the URL is all I'm concerned about!?
-
Bad, because the server needs every client to comply with it's settings in order to create a fair game.
I'm not sure what your comment has to do with anything I said. But thanks anyway.
-
Bad, because the server needs every client to comply with it's settings in order to create a fair game.
I'm not sure what your comment has to do with anything I said. But thanks anyway.
Pointing it towards a maps folder instead of the "base" folder would be bad because what if the server is running a mod? Nobody would be able to download the mod.
-
Pointing it towards a maps folder instead of the "base" folder would be bad because what if the server is running a mod? Nobody would be able to download the mod.
Gotcha, but does this download redirection affect 'mod download' from the server? I was under the impression that it only deals with 'map download'?
-
In the case of mods being in .pk3 files in the "base" folder, then yes. Any resources in the base folder that the server is using and needs everyone else to use, is downloadable.