Tremulous Forum

Mods => Modding Center => Topic started by: seeeker on March 18, 2008, 05:23:00 am

Title: sv_wwwFallbackURL
Post by: seeeker on March 18, 2008, 05:23:00 am
Ive seen sv_wwwFallbackURL (without any values) in some server.cfg files. Does it exist?, is there a way to make it work? i would like to use multiple map reps, for when one map does not exist in certain site, it will redirect clients to an secondary place.
Thanks in advance
Title: Re: sv_wwwFallbackURL
Post by: kevlarman on March 18, 2008, 05:47:18 am
nope, this would require cooperation from clients. some clients do support http redirects, but that doesn't really help you
Title: Re: sv_wwwFallbackURL
Post by: seeeker on March 18, 2008, 06:33:36 am
hmmm :-\
thanks tho.
Now, i thought of a possible solution =D
Make the server check if a certain file is on a certain www base, if not use a different wwwbaseurl =)
is that possible by customizing the game.qvm? (if so ill have to learn to code it =P)
Title: Re: sv_wwwFallbackURL
Post by: kevlarman on March 18, 2008, 06:49:08 am
game.qvm can't check if a file exists on a webserver, the server binary can but that's a pain. i would do it with shell scripts.
Title: Re: sv_wwwFallbackURL
Post by: Amanieu on March 18, 2008, 03:32:57 pm
http://www.mercenariesguild.net/patches/?do=details&task_id=98&histring=dlurl
This could be what you are looking for.
Title: Re: sv_wwwFallbackURL
Post by: David on March 18, 2008, 10:42:43 pm
Easiest way is to just use downloads.mercenariesguild.net
If there are any maps that aren't there, say and we'll add them.
Title: Re: sv_wwwFallbackURL
Post by: n.o.s.brain on March 19, 2008, 03:59:16 am
i guess if you want instant upload, and don't have webspace of your own, you could try tremcentral (http://www.tremcentral.com/files.php)
Title: Re: sv_wwwFallbackURL
Post by: David on March 19, 2008, 10:35:21 pm
They have instant upload now?  What happened to them screening all the files?
Title: Re: sv_wwwFallbackURL
Post by: n.o.s.brain on March 19, 2008, 11:31:36 pm
oh, well, i guess they screen the files still... i didnt know about it, wat is the timeframe of uploading?
Title: Re: sv_wwwFallbackURL
Post by: David on March 20, 2008, 10:52:34 am
No idea.  Doubt anyone has ever submitted it, what with how no servers use it.