cod4 redirects on home pc

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
dr_evil
New to forums
New to forums
Posts: 3
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Nov 04, 2010 7:59 pm

cod4 redirects on home pc

Post by dr_evil »

I'm currently running the extreme mod used as a sniper only server from my home pc. Does anyone know if its possible to get a redirect working from a website that could host the mod's ff, iwd file and also mod maps. As at the moment people whom try and join my server have to download the mod and maps at 12kb/sec i have a redirect cfg in the extreme mod, but i guess the question is can it redirect from a home pc setup. im running through a router and have a static ip.

specs im running are

3.4ghz quadcore
8gb ram
720 watt power supply
gtx285 video card

any help or assistance would be great cheers
dr_evil
User avatar
Edge100x
Founder
Founder
Posts: 13126
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: cod4 redirects on home pc

Post by Edge100x »

Most ISPs have terms of service that prohibit running servers at home, and home upload speeds tend to be fairly poor, so I would recommend either getting our 2.99 "lite" website hosting here, or running it directly off of your VDS/dedicated machine. We provide so much bandwidth with our offerings that you shouldn't have a problem with running out, even with a redirect on the same box.

If you do want to run it at home, you'd need to forward port 80 to your machine and run a webserver (such as Apache) on it.
dr_evil
New to forums
New to forums
Posts: 3
Joined: Thu Nov 04, 2010 7:59 pm

Re: cod4 redirects on home pc

Post by dr_evil »

ok i got a email from siren they seemed not to know whether it can be done from my home pc and have a working redirect for the mod and mod maps, sounds like the lite plan is what i am after, just want someone to host the mod and maps for others connecting to me to get a fast download. you you run a trial for me to see how it gos, im very happy to continue if i can get it all working. otherwise i have to run standard maps and dont want to.

cheers dr_evil
User avatar
Edge100x
Founder
Founder
Posts: 13126
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: cod4 redirects on home pc

Post by Edge100x »

You could certainly try out the 2.99 for an option and see how it works for you. It should work very well, since we have hundreds of other renters that use the webhosting for exactly this :).

For our managed VDSes/machines, you can use the "Websync" page in the control panel to perform the redirect setup for you. If you don't have a managed configuration, we have a guide on how to do it manually here: http://www.nfoservers.com/forums/viewto ... =20&t=3839
dr_evil
New to forums
New to forums
Posts: 3
Joined: Thu Nov 04, 2010 7:59 pm

Re: cod4 redirects on home pc

Post by dr_evil »

the server.cfg looks like this

// Client Download Settings. (0=off/1=on) Used for MODs and custom maps
// See included Quick Setup Guide for instructions.
set sv_allowdownload "1"
seta sv_wwwDownload "1"
seta sv_wwwBaseURL ""
seta sv_wwwDlDisconnected "0"

//****************************************************************************
// X4 Enhanced Redirect
// This feature will allow your server to send maps/mods from different locations.
//****************************************************************************
// Enable download manager?
// 0 = No, 1 = Yes, Default = 0
//set ex_url_redirect "0"

// Enter your default settings here. This is required if enhanced redirect is enabled!
set ex_allowDownload "1" // 0 = No, 1 = Yes, Default = 1
set ex_wwwDownload "0" // 0 = No, 1 = Yes, Default = 0
//set ex_wwwDlDisconnected "0" // 0 = No, 1 = Yes, Default = 0
//set ex_wwwBaseURL ""

// Your "map-specific" settings go here. The examples shown are disabled with: //
// NOTE: If you have other client downloads (such as weapons/sound/graphics) you
// will need the mod.ff and .iwd files on EVERY redirection site that you setup.
//set ex_allowDownload_mp_canada "0" // do not allow downloads on this map
//set ex_wwwDownload_mp_subway "0" // download this from server, not HTTP
//set ex_wwwDlDisconnected_mp_ghosttown "1" // disconnect player while downloading
//set ex_wwwBaseURL_mp_lrt "http://www.your_website.com/cod4"
//set ex_wwwBaseURL_mp_stonetown "http://www.your_website.com/~dvd/redirect"
//set ex_wwwBaseURL_mp_offensive "http://www.your_website.com/redirect"


and redirect.cfg looks like this


// Call of Duty 4 - eXtreme+ modification
//******************************************************************************
// author : eXtreme+ Support Crew
// email : admin@mycallofduty.com
// website : http://www.mycallofduty.com
//
// mod : X4 : eXtreme+ Warfare
// version : 2.0
// update : June 2008
//******************************************************************************


//******************************************************************************
// Server Redirection
//******************************************************************************

// Global switch
// 0 = disable (default)
// 1 = enable
//set ex_redirect "0"

// The IP:port of the new target server
// default = (empty)
//set ex_redirect_ip "1.2.3.4:28960"

// How long to display the redirection notice in seconds
// min = 5, max = 60 (default = 10)
//set ex_redirect_pause "20"

// Set reason for redirection.
// When set to 1, players still need to pass the full server test
// 0 = full server: redirecting to other server (default)
// 1 = private server (only known clans): redirecting to public server
// 2 = old server: redirecting to new server
// 3 = being serviced: redirecting to other server
//set ex_redirect_reason "3"

// Set logic for full server redirection
// 0 = redirect if number of players = max clients - 1 (default)
// 1 = redirect if number of players = max clients - private slots
// 2 = redirect if number of players = max clients - private slots - 1
//set ex_redirect_logic "1"

// Clan priority mode
// Redirect existing players to make room for clan player.
// It will always try to redirect non-clan players first, if available.
// Before enabling this feature you should order the clan tags (see clancontrol.cfg)
// clan1 (ex_clantag1) has the highest priority. clan4 (ex_clantag4) the lowest.
// 0 = disable (default) - Redirect order: any connecting player
// 1 = prioritize clan 1 - Redirect order: non-clan » clan4 » clan3 » clan2
// 2 = prioritize clan 1+2 - Redirect order: non-clan » clan4 » clan3
// 3 = prioritize clan 1+2+3 - Redirect order: non-clan » clan4
// 4 = prioritize all clans - Redirect order: non-clan
//set ex_redirect_priority "1"

// Show a hint
// 0 = disable
// 1 = enable (default)
//set ex_redirect_hint "1"

im not sure how to go about changing things to make this work
User avatar
Edge100x
Founder
Founder
Posts: 13126
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: cod4 redirects on home pc

Post by Edge100x »

dr_evil wrote:im not sure how to go about changing [the server.cfg] to make this work
The guide at http://www.nfoservers.com/forums/viewto ... =20&t=3839 tells you what to change in the server.cfg :)
Post Reply