Altitude Game: Forums  

Go Back   Altitude Game: Forums > Altitude Support > Suggestions
FAQ Community Calendar

Suggestions Post ideas and suggestions here.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-14-2009, 08:39 AM
Rick Rick is offline
Junior Member
 
Join Date: Mar 2009
Location: California
Posts: 15
Default Server: allow download of maps via http

Would allow for mirrored contents of the map files so the game server doesn't have to waste bandwidth serving content.
Reply With Quote
  #2  
Old 03-14-2009, 04:34 PM
lamster lamster is offline
Administrator
 
Join Date: May 2008
Posts: 1,655
Default

Not sure what you have in mind: you can already set the total bandwidth allowed for map uploads in the server configurator (that bandwidth will be shared among all simultaneous downloaders so you can cap it to something that won't kill your server) and there's nothing to prevent the map files (*.altx) from being downloaded via HTTP outside the game. Are you wanting to disable downloads from your game server and redirect users to a web page to download map packs or what?
Reply With Quote
  #3  
Old 03-14-2009, 05:20 PM
Rick Rick is offline
Junior Member
 
Join Date: Mar 2009
Location: California
Posts: 15
Default

Quote:
Originally Posted by lamster View Post
Are you wanting to disable downloads from your game server and redirect users to a web page to download map packs or what?
Not direct them -- just have the game directly download them from a webpage directly rather than the server itself.

If you've ever set up a dedicated Source server, sv_downloadurl is the kind of thing I'm talking about. You give it a base URL (like http://example.com/maps/) and it will attempt to download maps from that URL (http://example.com/maps/neededmap.altx).
Reply With Quote
  #4  
Old 03-14-2009, 11:59 PM
m!nus m!nus is offline
Junior Member
 
Join Date: May 2008
Posts: 18
Default

something like that should be available by default for all games.
Reply With Quote
  #5  
Old 03-15-2009, 12:02 AM
lamster lamster is offline
Administrator
 
Join Date: May 2008
Posts: 1,655
Default

Ah yeah that'd be neat -- I put it on the TODO list.

Last edited by lamster; 03-15-2009 at 12:07 AM.
Reply With Quote
  #6  
Old 03-16-2009, 07:14 AM
argonide argonide is offline
Senior Member
 
Join Date: Jul 2008
Posts: 178
Default

LOL, a vote just passed to a new map (peggle) on the 30 person goon server and it FUBARed the server. It would make a lot more sense with queue(1 or 2 people downloading at a time) so it doesn't take an hour to download a map.
Reply With Quote
  #7  
Old 03-16-2009, 03:58 PM
nesnl nesnl is offline
Super Moderator
 
Join Date: Jan 2009
Posts: 1,503
Default

Quote:
Originally Posted by argonide View Post
LOL, a vote just passed to a new map (peggle) on the 30 person goon server and it FUBARed the server. It would make a lot more sense with queue(1 or 2 people downloading at a time) so it doesn't take an hour to download a map.
Probably for the best since peggle is a horrible map.
Reply With Quote
  #8  
Old 03-16-2009, 08:49 PM
Spirtz Spirtz is offline
Senior Member
 
Join Date: Feb 2009
Location: iowa... doesn't matter no ones heard of any iowa towns anyway
Posts: 145
Default

Quote:
Originally Posted by nesnl View Post
Probably for the best since peggle is a horrible map.
its to small for 14 let alone 35
Reply With Quote
  #9  
Old 05-25-2010, 08:45 PM
Jest Jest is offline
Junior Member
 
Join Date: May 2010
Posts: 13
Default

I have a fast map download redirect server, but it seems to still download at the 40kbps.
Is there a link to any documentation on how to setup the variable downloadHttpSource="" ?
I've put a public ftp address inside the httpsource, then had a folder on there named maps where I store the maps to be downloaded.
Reply With Quote
  #10  
Old 05-25-2010, 11:15 PM
lamster lamster is offline
Administrator
 
Join Date: May 2008
Posts: 1,655
Default

HTTP Map Download Source: provides the base URL for map file downloads. If a player needs to download a map, he will first try to grab the map via http from <BASE_URL>/<MAP_NAME>.altx. If the URL specified does not exist, doesn't match the size/checksum of the server's map, or the HTTP download fails, the client will then download the map from the server via UDP.

Here's an example configuration:

HTTP Map Download Source:
http://jestgameservers.com/krawz/

If the server admin changes the map to ball_risk_015, e.g. "changeMap ball_risk_015" (which causes the server to load the map at <ALT_INSTALL_DIR>/maps/ball_risk_015.altx) then all players who don't have the map will first try to grab the map from here:
http://jestgameservers.com/krawz/ball_risk_015.altx

As you can check with your browser, that file does not exist on the specified HTTP server at that location (returns a 404 page not found -- not the valid map file) -- hence the client will fall back to UDP download.

You can change the UDP upload rate in the configurator using
UDP Map Upload Rate (KB/sec):
Note: the default (40 KB/sec) limit is fairly low; this is the max upstream bandwidth reserved for map uploads among all clients combined, meaning if 7 people are simultaneously downloading the map (as is commonly the case when creating new maps that nobody has played before) each will do so at 40 / 7 = 5.7 KB/sec.
Reply With Quote
  #11  
Old 05-26-2010, 03:28 AM
Jest Jest is offline
Junior Member
 
Join Date: May 2010
Posts: 13
Default

Thanks, so http://jestgameservers.com/krawz/maps would be the correct value?
When using the HTTP method, does the upload rate apply?
I've seen you on like 4 forums Lamster, you're a very helpful person
Reply With Quote
  #12  
Old 05-26-2010, 07:53 PM
lamster lamster is offline
Administrator
 
Join Date: May 2008
Posts: 1,655
Default

Quote:
Originally Posted by Jest View Post
Thanks, so http://jestgameservers.com/krawz/maps would be the correct value?
Yes, looks right to me.
Quote:
When using the HTTP method, does the upload rate apply?
No, the limit only applies to direct server UDP based transfers (to prevent the server from maxing out its bandwidth on map transfers and causing lag for current players). The HTTP transfer is limited only by what the designated HTTP server is willing/able to provide.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:02 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
2008 Nimbly Games LLC