quake3 server and http downloads?

Locked
stock
Posts: 2
Joined: Thu Mar 31, 2005 4:02 am

quake3 server and http downloads?

Post by stock »

while playing enemy territory recently, i noticed that, upon connecting to a server, my client was instructed to download some files via http, rather than from the server directly. would anyone happen to know if there is a way to do this with a quake3 dedicated server, or am i out of luck? (i'm hoping for faster downloads for people who are lacking files needed to play on my server) thanks.
-stock
signa
Posts: 162
Joined: Thu Sep 16, 2004 7:00 am

Post by signa »

if your running punkbuster you can use the pb_sv_task command to output a message every so often telling ppl where to download files. I think some server side mods can do that to. you can find them in the T&T forum sticky thread.
axbaby
Posts: 3424
Joined: Wed Dec 22, 1999 8:00 am

Post by axbaby »

quake3 and enenmy territory server can be setup to allow the client to download files
automatically or to save bandwidth for the server make you download files via http.

the server's config command is
sv_allowdownloads 1
[color=#FF0000][WYD][/color]
stock
Posts: 2
Joined: Thu Mar 31, 2005 4:02 am

Post by stock »

i was looking into this some more, and noticed that enemy territory has stuff like sv_wwwDownload and sv_wwwBaseURL. these appear to be lacking in quake3, so i think i may be out of luck with respect to http downloading. even if there were a mod that would do it, since the server is already running osp, it wouldn't be possible to have both work at the same time, right?
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Post by ^misantropia^ »

Right. ET runs on a modified engine and one of the added features is HTTP redirecting.
User avatar
Eraser
Posts: 19174
Joined: Fri Dec 01, 2000 8:00 am

Post by Eraser »

Yep, no HTTP downloads in Quake3. Only directly from the gameserver which is really slow.
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Post by ^misantropia^ »

Yes, but...
DRC|Wartex wrote:yay for me! I set up a test LAN, and guess what, download speed and sv_maxrate depends on sv_fps. Best results I got if empty server is running at 200 fps, and client rate is 90000 (thats max AFAIK) and sv_maxrate 0 (no limit). Download speeds reach sustained 75-80 KB/sec.

If sv_maxrate is 25000 and sv_fps is 40, download speed will be around 40 KB/s. Basically maxrate is what it is at 20 fps. With higher FPS you need to apply the multiplier. It's not exact because of overhead. I.e. sv_fps = 40, sv_maxrate = 25000, download speed will be 40-45 KB/s and not 50.

I also did test on an Internet server.
If there is anyone in the server, download speed will be jumping up and down but in general, doubling sv_fps will give you 1.8x boost in download speed. Also, internet is not a LAN, so there is no perfect conditions. My game server is in NY datacenter (Voxel). Best results I have gained with sv_fps 80 (25 KB/sec), anything higher or lower only hurts the speed.
Props to DRC|Wartex from the IU forums.
§ìgñå
Posts: 210
Joined: Sat Jan 01, 2000 8:00 am

Post by §ìgñå »

DRC|Wartex wrote:yay for me! I set up a test LAN, and guess what, download speed and sv_maxrate depends on sv_fps. Best results I got if empty server is running at 200 fps, and client rate is 90000 (thats max AFAIK) and sv_maxrate 0 (no limit). Download speeds reach sustained 75-80 KB/sec.

If sv_maxrate is 25000 and sv_fps is 40, download speed will be around 40 KB/s. Basically maxrate is what it is at 20 fps. With higher FPS you need to apply the multiplier. It's not exact because of overhead. I.e. sv_fps = 40, sv_maxrate = 25000, download speed will be 40-45 KB/s and not 50.

I also did test on an Internet server.
If there is anyone in the server, download speed will be jumping up and down but in general, doubling sv_fps will give you 1.8x boost in download speed. Also, internet is not a LAN, so there is no perfect conditions. My game server is in NY datacenter (Voxel). Best results I have gained with sv_fps 80 (25 KB/sec), anything higher or lower only hurts the speed.
man i forgot all about sv_fps controling dl rate. thats actually something they fixed in the 1.32 PR. Unfortunately its not very practical for internet servers. raising the sv_fps really increases bandwidth demand on the server for each player connected. most net servers wont use a number higher than 35 for that reason. It works great for lan though.
Locked