News:

Come Chat with us live! Learn how HERE!

Main Menu

HTTP Downloads for Servers

Started by tuple, March 08, 2007, 12:34:37 AM

tuple

Server Operators have two options of map download servers.
The }MG{MercenariesGuild and
the Tremcentral.com Map Repository

------------------------------------------------------------------------------------------------------

}MG{MercenariesGuild Map Repo Directions
Khalsa, the Operator of MercenariesGuild.net has said a number of times that server operators are welcome to point their tremulous server http downloads at http://downloads.mercenariesguild.net (Which TJW's client would automatically point to http://downloads.mercenariesguild.net/base)
If you run a mod server that doesn't run out of "base", then chances are it will still work as the web server accepts requests for most mod directories.  If for some reason yours does not, let us know and we'll add that directory name.

If you want to view the maps in the repository, go to http://downloads.mercenariesguild.net/maps/

If any server operators or mappers have maps they'd like to have in the repository please let me know.  If you notice any actual tremulous maps that are missing, let me know.  Please restrict your requests to maps that have nodes/eggs in them and can actually be played in tremulous.

I can often be found on IRC, you can contact me through the mercenariesguild.net site or you can PM me through tremulous.net, or you can post in this thread :)

I'd also like to add that David of }MG{ has a script that downloads all of the maps for you linux users which I've included at the end of this post.

To take advantage of the }MG{MercenariesGuild map repository on your server, add the following code to your server.cfg:

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

and make sure to remove any other references to sv_wwwDownload, sv_wwwBaseURL, and sv_dlURL.
*Thanks Kevlarman for the clarification :)

And here we have Davids script:


#!/bin/bash
cd ~/.tremulous/base
wget http://mercenariesguild.net/base/ -c -nv -np -r -l1 -nd -nH -A*.pk3
wget http://mercenariesguild.net/base/md5.list &>/dev/null
md5sum -c ./md5.list



------------------------------------------------------------------------------------------------------

Tremcentral.com Map Repository Instructions

Just adding this (yes, I am a victim of interminable laziness! :P ) and I don't yet have explicit instructions in the format that the tremcentral folks want (haven't asked yet :) ) but for today, here is a link to the thread that announced the creation of the repo.

To take advantage of the Tremcentral.com map repo on your server, add the following code to your server.cfg:

set cl_allowDownload 1
set cl_wwwDownload 1
set sv_wwwBaseURL "http://tremcentral.com"
set fs_game "base"
set sv_dlURL "http://tremcentral.com"

and make sure to remove any other references to sv_wwwDownload, sv_wwwBaseURL, and sv_dlURL.

DoorKnob

roud Ex-Leader of the Mighty UVache!

tuple

balance-879-16.pk3  added
We've also linked /balance to /base so it should still be http downloadable from balance servers.  Let me know it anyone tries it :)

Odin

Please remove data-1.1.0.pk3, as it is an unneeded download with the script, or someone tell me how to exclude it with the script.

Oh, that and all the default maps. They just don't need to be up there. We already have them.

tuple

Data file gone.

Default maps can be useful for testing http download configs for servers :) though you are right, I should probably remove them.

Xabiar

Which of these files would some1 recommend?

Undeference

My list is much sexier. The bandwidth is not :-/
Need help? Ask intelligently. Please share solutions you find.

Quote from: tuple on February 15, 2008, 11:54:10 PMThats what we need, helpful players, not more powerful admins.

tuple

Hard to say actually, depends on what you want with them.  Start your own server, play on servers or just explore.

I'll base my recommendations on someone who wants to play on servers that play some of these maps and would like to have them downloaded ahead of time.  This is really based solely on maps I've seen played in public servers, YRMV.

hamunaptra
UTCSb2
ancient_remains
atcszalpha
procyon
pulse-beta3
sokolov
thermal
outpost_p4
Gloom2Beta2

This map is brand spankin new, and I've seen lots of compliments about it, so I thought I'd mention it :D
Metro-b1-1

There are probably others that I'm forgetting.  There are definitely maps that are worth checking out and can make for some really fun matches, but there is a really huge list up top so I tried to keep this one a little short and restrict it just to what I've seen played to help our new players get up and running.

If you want to get LOTS of maps (most of them listed above) you should get the MG-MapPack.    It's pretty well updated and doesn't include all versions of all maps, just the most recent version.  I'm a map or two behind at times (Darn those prolific mappers! :P ) but I'm usually only missing by a day or two.

edit:Updated Metro map link to reflect new version

DoorKnob

so should my HTTP thing look like this?
set sv_wwwDownload "1"
set sv_dlURL "1"
set sv_wwwBaseURL "http://www.mercenariesguild.net/"
set sv_dlURL "http://www.mercenariesguild.net/"
set sv_wwwCheckPath ""
set sv_wwwDLDisconnected "1"
set sv_wwwFallbackURL " "
roud Ex-Leader of the Mighty UVache!

tuple

I just have
set sv_wwwDownload 1
set sv_wwwBaseURL "http://www.mercenariesguild.net"
set sv_dlURL "www.mercenariesguild.net"

and it works for me personally.  Or I should say noone has complained that it doesn't work :P
I don't think you should have the trailing "/" on the url's.
A good way to test is to move whatever map file is playing on your server out of your tremulous clients base directory.  Not the servers base directory (just so there's no confusion :) )  This is why I have default maps in the repository, for testing.
Then connect to your server and see how it downloads.  You can start tremulous from the command line and that will let you look at it's output.  Although, even if you get an error window in tremulous, you can still open up the console and scroll up to see the error that http download gave you.

Not sure what these are:

set sv_dlURL "1"
set sv_wwwCheckPath ""
set sv_wwwDLDisconnected "1"
set sv_wwwFallbackURL " "

But then server variables have popped up like mushrooms so I'm not surprised I haven't heard and/or seen em before.  I'd love to know though.

kevlarman

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

technically it should just be sv_wwwBaseURL, but a certain balance mod writer who shall remain nameless decided to compile a client that uses sv_dlURL instead of sv_wwwBaseURL to look for downloads, so now you have to set both of them and make sure both are in the serverinfo (so use sets instead of set)
Quote from: Asvarox link=topic=8622.msg169333#msg169333Ok 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| #
|.@.-##
-----

DoorKnob

Works perfect now Thanks a lot. :D
roud Ex-Leader of the Mighty UVache!

khalsa

I just increased the throughput cap on /base, everyone's downloads should be faster now. :-)


Khalsa
}MG{ Mercenariesguild
ਮਨੁ ਜੀਤੇ ਜਗੁ ਜੀਤਿਆ

DoorKnob

Please add the Domination version 5 ;)
Also when you run Domination, do players have to download TJWs updates on Dom, or are they all in 1 download?
roud Ex-Leader of the Mighty UVache!

DoorKnob

Please add Domination Version 6 ;)
roud Ex-Leader of the Mighty UVache!

DoorKnob

roud Ex-Leader of the Mighty UVache!

Killjoy#1

If you want a different website for the download to you just put that site wher mg.net is?

Neo(F)

Is there a way to upload your own map? :)

David

email tuple and say where it is.
that or go the mg irc chan and find someone who can upload it there.

Should probably make a nice little upload form and all, but I cant be bothered...   SOON(TM)
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

tuple

Attention Server Operators

The location of the map repository has changed!  The new location that your servers should point to is:
http://downloads.mercenariesguild.net

If you want to view what is in the Repo, go to
http://downloads.mercenariesguild.net/maps/

The previous http://mercenariesguild.net/ repository URL will continue to work for the time being, but MAY at any time stop working.

I've updated the code that should be added to your server.cfg (in the initial post) to reflect this change.  I have successfully tested this change on the }MG{MercenariesGuild server.  This does not have to require a server restart.  You can try this at the console:

rcon <Password> sv_wwwBaseURL "http://downloads.mercenariesguild.net"
rcon <Password> sv_dlURL "http://downloads.mercenariesguild.net"

This will change the URL's your server passes to your clients for maps without the need of restarting the server.

You can also change your server.cfg as listed, and at the console, run

rcon <Password> exec server.cfg

This may reset your map rotation back to the start though.  Not sure, I haven't tested it.  However, you would not need to restart the server with this method either.

Paradox

Wont this mess up the old way of it looking in the /base directory?

∧OMG ENTROPY∧

tuple

Maybe :P

If you are used to looking into http://mercenariesguild.net/base for maps you may want to put into rotation, then yes.  Checking in http://downloads.mercenariesguild.net/base doesn't show a file list at the present time.  You can still look in the MG/base directory, you can also look into http://downloads.mercenariesguild.net/maps/  Sadly, the maps page does not sort them so it's ugly to search through (manually anyways ;) ) but that should be fixed before too long.  Both sites show the same physical OS level directory so looking at one is the same as looking at the other.

David

For servers looking in base, .htaccess magic makes all request to base go to maps.
More info here: http://mercenariesguild.net/index.php?option=com_myblog&Itemid=64
Its ugly as sin, but sort of explains it.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Paradox

So i should set the download url to downloads.mercenariesguild.net/maps/?

Wouldn't this just look in /maps/base?

∧OMG ENTROPY∧

David

Just set it to downloads.mercenariesguild.net
It will then look in downloads.mercenariesguild.net/base which is rewritten to downloads.mercenariesguild.net/maps

downloads.mercenariesguild.net/anyrandommod goes to /maps
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Paradox

ERROR: 403 forbidden, and 403 forbidden when attempting to use an error doc.

∧OMG ENTROPY∧

David

when and where?

and it now sorts by name...
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

tuple

/maps shows the map list, trying to go to /base will give a 403 error.  If you go to http://downloads.mercenariesguild.net/base/map-atcs-1.1.0.pk3 the map download will work.  Directory indexes are forbidden at this time.  I have no idea if that will change.  Whether or not it down, looking at /maps to check what maps are in base is the same thing.

When downloading from the tremulous client (as directed by the server, it works without a hitch (or a 403 error :-P )

darklurker

Wow, I wish the Lair had an OC-192 Internet connection like MG... ;)

Thank you Khalsa and tuple.

DL

tuple

I wish!  It's a measly OC-96 :(

Just kidding.  Don't know what the connection is personally :)

Paradox

What did you use to render the pages?
An apache hack?
Or a directory php script?

∧OMG ENTROPY∧

David

Its a simple php script I made.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

KingHanco

Is this right?

//Example Tremulous 1.1 decicated server config

set sv_pure 1

//passwords
set g_needpass 0
//set g_password password   //server password
//set rconPassword password //rcon password

//loading screen
set sv_hostname "Tremulous 1.1.0 Server"
set g_motd "http://tremulous.net/"

//disallow downloads from the server
set sv_allowdownload 0

//maximum number of clients
//greater than 24 is not recommended from a gameplay point of view
set sv_maxclients 24

//after 55 minutes, all build points are removed
set g_suddenDeathTime 55
//after 60 minutes, the game will end as a draw
set timelimit 60

//forces each team to have a similar number of players
set g_teamForceBalance 1

//following the first map, start this rotation
set g_initialMapRotation rotation1

//misc settings
set pmove_fixed     0
set sv_minRate      5000
set sv_maxRate      15000
set sv_minSnaps     10

//start this map first
map niveus

//added
set sv_wwwDownload 1
sets sv_wwwBaseURL "http://downloads.mercenariesguild.net"
sets sv_dlURL "http://downloads.mercenariesguild.net"


I'm new to ubuntu Linux. I don't know how this works. Server having a problem checking,

Paradox

Should we add information for TremCentral?

∧OMG ENTROPY∧

khalsa

Quote from: Paradox on December 25, 2007, 07:11:47 PM
Should we add information for TremCentral?

Well -

1. As is with most of your and confess' ventures I'd probably wait a few months to see if it survives, you guys seem to start/stop projects randomly   and/or with little reliability

2. For me at least (from 4 different locations) your downloads are slow as hell compared to MG's.

3. I dont think there are any files in your repo not in the MG one, probably should add Bricosoft to the post though.

4.
Quote from: tremcentral.comWe reserve the right to adjust this ToS without prior notice. You will comply with this ToS even after agreeing, or not agreeing, or simply just browsing or using this site.

No


Khalsa
}MG{ Mercenariesguild
ਮਨੁ ਜੀਤੇ ਜਗੁ ਜੀਤਿਆ

Eternity

Hello :)

Quote from: khalsa3. I dont think there are any files in your repo not in the MG one, probably should add Bricosoft to the post though.
+1, they have a lot of maps !


set sv_wwwDownload 1
sets sv_dlURL "http://tremulous.bricosoft.com"
set sv_wwwBaseURL "http://tremulous.bricosoft.com"

I think that's the good code.

Cheers

Paradox

Hey david. You know how you use a php script? You don't need to. Apache can make stylish listings just fine, check out mine.

I wrote a little how-to, its pretty basic, but it shows the essentials: how-to

∧OMG ENTROPY∧

khalsa

Last I checked his little php script did a lot more than made it pretty >.< We did do fancyindexing for a while before we did that though.


Khalsa
}MG{ Mercenariesguild
ਮਨੁ ਜੀਤੇ ਜਗੁ ਜੀਤਿਆ

ghostisback

hi all !!!
I'm trying to put autodownload on a TremX server ... which differences have from a standard server?? I write the standard lines in server.cfg but it doesnt works.. the download always points to my IP and not to "http://downloads.mercenariesguild.net" .. any suggestion ??

Thanks All !!!

Divmax

set cl_allowDownload 1
set cl_wwwDownload 1
set sv_wwwBaseURL "http://downloads.mercenariesguild.net/"
set sv_dlURL "http://downloads.mercenariesguild.net/"

That worked for me. But when you say TremX server, sorry, MG doesn't host TremX.
tremx 0 Files
I'm a developer for the following projects(now I'm inactive) :
TremWars's QVMNot updated anymore
TremWars's Client and Server Executable
TremWars's QVM 2

David

TremX should be fine for maps etc off MG.
We don't have the mod, but if someone gets me a link I'll upload it.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Divmax

I'm a developer for the following projects(now I'm inactive) :
TremWars's QVMNot updated anymore
TremWars's Client and Server Executable
TremWars's QVM 2


David

For tremx downloads point at mg the same as for normal servers.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

David

#44
NOTE:
Some time next week, the www.mercenariesguild.net/base symlink will be deleted.  You all have had well over 6 months, so have no excuse for not doing it right.
However, the following servers still fail:

216.224.117.114:30720       `'|c|BTSiPM'`
80.86.200.120:30720           | noobrain's TremX #2
80.86.200.120:30721           | noobrain's #2
205.234.142.225:30720         Z|R

If people know who runs them, point them here so they can read the first post and fix the URL to point to downloads.mercenariesguild.net.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Death On Ice


Shuriken

Quote from: tuple on March 08, 2007, 12:34:37 AM
... If any server operators or mappers have maps they'd like to have in the repository please let me know.  If you notice any actual tremulous maps that are missing, let me know...
Could you upload final release of my map on Mercenaries Guild repository? Link here: http://files.filefront.com/map+stamina+110pk3/;8493408;/fileinfo.html

Lakitu7

Quote from: Shuriken on May 29, 2008, 05:45:22 AM
Quote from: tuple on March 08, 2007, 12:34:37 AM
... If any server operators or mappers have maps they'd like to have in the repository please let me know.  If you notice any actual tremulous maps that are missing, let me know...
Could you upload final release of my map on Mercenaries Guild repository? Link here: http://files.filefront.com/map+stamina+110pk3/;8493408;/fileinfo.html

This is done, by the way.

Also I've gone ahead and wgetted quite a few more maps this evening. As always, if there is a map you would like to see on the repo, please contact any of us in any of the many ways we are available (though IRC is almost the fastest). Enjoy. :)

ixbidie

Heyho, i'm not the developer, but could u add tremx-kor?

can be found on: http://64.92.167.138/maps/tremx-kor/

thanks!