You are invited to Log in or Register a free Frihost Account!

Call of Duty 2 server question

I want run run cod2 server , game will be moded and with extra maps , i 'm wondering if there is posibility to automaticaly redirect clients who don't have neccesary files to forward to another server (where i'll place these files) instead of downloading from main server where game will be run. I have limited bandwidth that's why i'm asking. I saw on few servers that download of files was redirected to http://blabla , i need a mod or maybe i need to edit server config only?


your answer is:

Variables for server config that allow to http redirect (where maps, mods are placed)


This variable is the path to your website and the root folder/directory that contains a folder labeled “uo” for United Offensive, “main” for regular Call of Duty. While the uo/main folder contains the actual files to be downloaded, it does not need to be specified in the Base URL path. This means that while the full web path to your files might be or, all the game requires is to know the base path to the “uo” or “main” folder (i.e. Essentially, whereever you install the files on your server (in the UO folder or in the MAIN folder), you will need a matching folder name on your download site, with the files to be downloaded therein.

There have been some issues reported with this cvar regarding the use of “http://” or just “www.” in the cvar definition. As such, you may need to try both settings in order to find the correct one that works for your server. The below examples will show the usage of both options.

NOTE: Regardless of what file path settings you need to use, your web path for this cvar should always be the path to get to the “uo” or “main” folder, but never actually include those folders in the var. Meaning, whether your path is “” or it’s “”, the web path you input for this cvar would always be “”


This variable controls whether you have people connecting to your server disconnected before the Redirect occurs or to allow them to connect and download at the same time. Due to bandwith issues, for both the client and the server, it is recommended you disconnect the player for the download; let them reconnect; 1 enables, 0 disables.


This is actually the controlling cvar for HTTP Redirect. By setting this value to 1, you enable the feature, setting to 0 disables.

Example HTTP Redirect Settings

set sv_wwwDownload 1

set sv_wwwDlDisconnected 0

set sv_wwwBaseURL ""

//additonal options

set sv_reconnectlimit "3"
set sv_dl_maxRate "42000" // Max download speed 42000 = 12kb

thanks to

Solved , should be locked Cool
Related topics
Php script Cod server stats
Uploading site, public_html folder and server question
Last call for users still using the old server 2
SMTP server question
Communication Primitives?!?!?
The 5 Golden Rules of Professional Design
Splitting a partition
Connect to database that is a not localhost
Need help: Error in Wordpress file
Creating files not locally?
Proposal to posters on this forum
Faith forum?
Do you think it is necessary to go to school and work?
Reply to topic    Frihost Forum Index -> Sports and Entertainment -> Games

© 2005-2011 Frihost, forums powered by phpBB.