PDA

View Full Version : Server Download Rate - COD4


Pitchfork
01-19-2008, 09:37 PM
Hello all.

My current setting is seta sv_dl_maxRate "42000"

seta sv_dl_maxRate "42000" //max download speed 42000 = 12kb //

Can that be increased at all?
My host is pretty fast and I would like to be able to get he maps to my players faster.

Thanks in advance for your time!

:D

rudedog
01-20-2008, 10:50 AM
you want to use http redirect. Any overhead the server had to endure will eventually effect your game server as well as any other game servers on the same box.

If you get any type of web space from your GSP, you can host your custom maps there and it will not effect your or anyone else's server on the same box.

Pitchfork
01-20-2008, 01:32 PM
I am using www redirect for the files.
My boggle here is that the speed is capped at 13kbs, from the www.host.
Its not the host, I am sure as I DL the very same map files from the webhost at over 400kbs through IE...

HIS-MOTHER
01-20-2008, 01:36 PM
I am using www redirect for the files.
My boggle here is that the speed is capped at 13kbs, from the www.host (http://www.host).
Its not the host, I am sure as I DL the very same map files from the webhost at over 400kbs through IE...


If your getting it at 13k then my guess is the redirect is failing and it is falling back on local file DL. When you get the files via the game does it show the full URL path for the Download or does it change to just a folder path without the URL?

Pitchfork
01-21-2008, 09:57 AM
Good question. I will disable the redirect in the config and test it!
Thanks for the suggestion!

Pitchfork
01-26-2008, 01:44 PM
OK, yes I do see the www redirect path briefly, then it seems to be bouncing back to the gameserver for download at 13kbs.

I've enclosed my settings from my config.
Could anyone tell me of what corrections I need to make?

// Client Download Settings. (0=off/1=on) Used for MODs and custom maps
seta sv_allowAnonymous "1"
seta sv_allowdownload "1"
seta sv_wwwDownload "1"
seta sv_wwwBaseURL "http://tv.leetgameservers.com/cod4/usermaps/"
//seta sv_wwwBaseURL "http://www.goteamventure.us/cod4/usermaps/"
seta sv_wwwDlDisconnected "0"

Thanks in advance for any help you can provide! :D

maimedwabbit
01-26-2008, 01:59 PM
Your path needs to only point to the main cod4 folder. Like this

seta sv_wwwBaseURL "http://tv.leetgameservers.com/cod4"

With no trailing slash. It will automatically look for the usermaps/mapname folder that you should have created in the appropriate directory.

Pitchfork
01-26-2008, 07:29 PM
OK understood. And the web address should have the appropriate DL folders like:

www.webaddy.com/cod4/usermaps/mp_mapname

(mp_mapname for individual maps)

Same way the game server has:

Main/usemaps/mp_mapname

Correct?

Pitchfork
01-27-2008, 12:00 PM
ok got it working! Sweet!
Super fast DL's for the guys joining.

Thanks for the help, guys! :D

ODDBALL538
02-08-2008, 02:38 PM
I think I have offically filled all empty space in my head. I cannot make this work.

Now I pay for a redirect service. My space its: http://myredirect.com/myspace ////this is not a myspace account.. lol

should my redirect be:

set sv_allowdownload "1"
seta sv_wwwDownload "1"
seta sv_wwwBaseURL "http://myredirect.com/myspace/cod4"
seta sv_wwwDlDisconnected "0"


Thanks in advance for any help!

theMechanic
02-08-2008, 05:46 PM
This will help:
http://www.cod4.clanmech.com/examples/index.html

ODDBALL538
02-08-2008, 10:47 PM
Thanks for your response. After pulling out all my hair it turns out the redirect service i pay for was at fault. Thanks again...

Pitchfork
02-09-2008, 09:14 AM
This is the clip from my config where I finally got it working!

// Client Download Settings. (0=off/1=on) Used for MODs and custom maps
seta sv_allowAnonymous "1"
seta sv_allowdownload "1"
seta sv_wwwDownload "1"
seta sv_wwwBaseURL "http://www.mywebaddress.com/cod4"
seta sv_wwwDlDisconnected "0"

This is how the customs are setup on my gameserver

cod4/usermaps/ (then folders with the respective names of the mp_custom maps)
Same goes for the web redirect folder.

If you have your folder structure the same as on the game server you will see it grab!
Let me know if you need more detail?

Good luck!

ODDBALL538
02-09-2008, 09:57 AM
Thanks for your response. It turns out I was doing right the whole time. My redirect sevice made an error but has since corrected it. Works great now. Thanks for your time....

jroger21
02-11-2008, 09:22 AM
Hello all.

My current setting is seta sv_dl_maxRate "42000"

seta sv_dl_maxRate "42000" //max download speed 42000 = 12kb //

Can that be increased at all?
My host is pretty fast and I would like to be able to get he maps to my players faster.

Thanks in advance for your time!

:D



42000? In the standard config file I saw it says the values are between 5000 - 25000, I will be running a dedicated LAN server ( which I will be making a post to get some help write a config for ) and will 42000 work for me too?

theMechanic
02-11-2008, 09:57 AM
i think your confusing two different things. This seta sv_dl_maxRate "42000" //max download speed 42000 = 12kb //
is the rate files are downloaded to players FROM the server, not from a remote website.

5000 - 25000 is the data rate exchange for player/server during gameplay

jroger21
02-11-2008, 10:05 AM
i think your confusing two different things. This seta sv_dl_maxRate "42000" //max download speed 42000 = 12kb //
is the rate files are downloaded to players FROM the server, not from a remote website.

5000 - 25000 is the data rate exchange for player/server during gameplay

ok cool..so i guess ill set sv_dl_maxrate to 42000 for my lan server, but what should I set the player/server rate to for optimum performance since im on a LAN?

theMechanic
02-11-2008, 11:11 AM
you don't need sv_dl_maxrate unless your going to use a mod or custom maps, in which case you need to host them on a website or file server. too slow otherwise.

for the maxrate, start at 5000 and work your way up.

jroger21
02-13-2008, 12:09 AM
you don't need sv_dl_maxrate unless your going to use a mod or custom maps, in which case you need to host them on a website or file server. too slow otherwise.

for the maxrate, start at 5000 and work your way up.


yeah its a lan server with custom maps, i dont see that line in the server.cfg, where would I add it?

rudedog
02-13-2008, 06:24 AM
even though it's a lan. the max download rate will still be too slow as it's hard coded.

You have two choices.

setup a web server so you can http redirect from there or simply share a directory and have everyone download before playing.

You can use this guide (http://www.fpsadmin.com/forum/showthread.php?t=9016) to set max rate. Note that I would use 10Meg as your upload number when calculating.