Map download rate


(USMarshall) #1

I have a Linux Enemy Territory server that I can download maps straight from the computer at about 700 Kb per second, but the max download rate I get in the game is only about 12 Kb per second. What do I need to do to turn up the max download rate in the game?

sv_dl_maxRate is set to: 150000. Does that mean the max download rate should be about 150 Kb per second? Any ideas?

Thanks
JM


(Kendle) #2

I’d guess the max download rate from the server is capped at 25000. What you need to do is set up http re-direction, so that the maps are downloaded off a web/ftp server. This may well be the same machine as the game server but different settings are required, and, of course, you need a web/ftp server running to accept the requests.

Assuming you have a web/ftp server, the settings you’d need to adjust are:-

set sv_wwwDownload “1” // set to 1 to allow downloads via web server.
set sv_wwwDlDisconnected “0” // Disconnects players from game server whilst downloading if set to 1.
set sv_wwwBaseURL “http://www.yoursite.com // e.g. “http://www.yoursite.com” if .pk3 files at yoursite.com/etmain/
set sv_wwwFallbackURL “http://www.yoursite.com // Make same as BaseURL setting if no alt web location for files??

Obviously replacing www.yoursite.com with whatever URL your web server uses.

Note:

  1. The maps need to go into a folder called etmain, which must NOT be included in the URL (ET appends it).

  2. The .pk3 files on the web server must be identical to the .pk3 files on the game server, or else weird shit happens.


(USMarshall) #3

Awesome. I’ll give that a try. Thanks for you help.


(USMarshall) #4

T!|Kendle, you’re that man. I setup an FTP redirect on the server and now I can get up too 900 Kb/s downloads while in the ET client. That sure beats 12 Kb/s… Thanks again.


(Dark JedIT Knight) #5

Ok, I admin this server as well. When people connect to the client, it will download the map from the FTP site, and then it will proceed to download the exact file through the client again (not using FTP). Is there a way around this? The FTP server is on the same system as the ET Server. I even tried making a link from the FTP folder directly to the game’s actual etmain folder to ensure that the file sizes were identical. Thanks.


(Kendle) #6

The problem may be caused by using FTP re-directs instead of HTTP? Also, are the clients that are getting the maps twice Linux or Windows? This thread on Bani’s forum may shed some light.


(=DaRk=CrAzY-NuTTeR) #7

wow, yoursite.com actually works, LOL :smiley: