This is our territory! Before treading unto our blog, hold on to your weapon!
 
HomePortalCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share
 

 Making a server

Go down 
AuthorMessage
Kawaii panda
Members
Kawaii panda

Posts : 191
Join date : 2009-06-26
Age : 23

Making a server Empty
PostSubject: Making a server   Making a server Icon_minitimeSat Jul 11, 2009 10:12 pm

Hey guys, I don't know if this works, I found it on a site and it had good replies.

CoD4 and Windows Dedicated Server Setup

--------------------------------------------------------------------------------

This guide is intended for server admins wanting to set up a dedicated server at a remote datacenter. It is based on a Windows 2003 server setup, which is the only type of server I have. Hopefully someone knowledgeable about the Linux server setup (when it comes out) can add that information when it comes available.

CoD4 Windows Remote Dedicated Server Setup:



Part 1: Getting the files to the server
1. Buy and install the game on your home computer.

2. FTP the ENTIRE installed game to your remote dedicated server. Be certain to maintain the directory structure from the game's ROOT directory on. The game's root directory contains the iw3mp.exe file.

Note: Eventually we may find some files are unnecessary, but for now uploading them all is your safest bet.



Part 2: Creating a shortcut to run your server
1. On your dedicated server, RIGHT click on the iw3mp.exe file found in the CoD4 server's ROOT directory and DRAG it to the desktop. Have the server create a SHORTCUT. Be sure you only created a shortcut and did not actually MOVE the file.

2. Right click on the new shortcut you just created and go to its properties.

3. Find the TARGET field and add the following to the END of the existing target, do not DELETE any of the existing tartget!


Quote:
+set dedicated 2 +set sv_punkbuster 1 +exec mp-server.cfg +map_rotate

Note: Make sure there is a SPACE between "iw3mp.exe" and "+set dedicated 2".

Note 2: I am not sure if the CoD4 server will run on Windows 2000, but if you are trying you will very likely need to enclose the part of your target line that existed BEFORE you changed it in quotation marks. I noticed my Windows 2003 server did not need this, but I always had to have it before when I ran a Windows 2000 server.

The above command line assumes you intend to use Punkbuster of course. If not, remove that part of the command line. Also, you can obviously change the name of your config file to what ever YOU want to call it.

Other optional commandline items:

+set net_ip xxx.xxx.xxx.xxx
+set net_port xxxxx
+set fs_game mods/modwarfare



Part 3: Creating your config file
1. On your remote server, browse to CoD4's main/ directory. You should see many .IWD files in this directory. Create a new text file and rename it to mp-server.cfg. (The name of this config file MUST match what you put in the server's command line)

2. Open your newly created config file with a text editor (such as notepad).

3. Copy and paste this basic config into your new config:


Quote:
seta sv_punkbuster 1
wait
pb_sv_enable

// Server name
set sv_hostname "My CoD4 Server" //Change this to whatever you want your server to be named in the server browser

// Server password
set g_password "" // blank means NO password

// Rconpassword
set rcon_password "change_me" // Change this to your rcon password!

// Maximum Clients
set sv_maxclients "32"
set sv_privateclients "6"

// Max Ping
set sv_maxping "225"

// Rate
set sv_maxRate "25000"

// Map_rotation
set sv_mapRotation "gametype war map mp_backlot gametype war map mp_bloc gametype war map mp_bog gametype war map mp_cargoship gametype war map mp_citystreets gametype war map mp_convoy gametype war map mp_countdown gametype war map mp_crash gametype war map mp_crossfire gametype war map mp_farm gametype war map mp_overgrown gametype war map mp_pipeline gametype war map mp_showdown gametype war map mp_strike gametype war map mp_vacant"

set sv_maprotationcurrent ""

Note: The above is a VERY basic config, just to get the server up and running. A more complete config file will be coming.



Part 4: DirectX file
1. Download the attached directX file in this post:
http://www.fpsadmin.com/forum/showthread.php?t=13492

2. Upload the d3dx10_34.dll file to your Window's Servers system32 directory (Mine was in C:\WINDOWS\system32).



Part 5: PunkBuster files
1. Download pbsetup.exe from evenbalance.com here:
http://www.evenbalance.com/index.php?page=pbsetup.php

2. Upload pbsetup.exe to your server. It does NOT need to be in the CoD4 directories, in fact it is probably best if you treat this as a stand-alone application (it can update ALL PB servers from one application).

3. Run pbsetup.exe and click "Add a Game". Choose a CoD4 server. You will likely need to browse to the iw3mp.exe file so that pbsetup knows where your CoD4 server is located.

4. Once you have added your CoD4 server, select/highlight the CoD4 server in the list and click "Check For Updates". This should download a number of files to your CoD4 server directories. You should not have to do anything else.

Finally you are there! Simply use the shortcut you made on the server's desktop to start your server.
Back to top Go down
Damnation
Admin
Damnation

Posts : 73
Join date : 2009-06-26
Age : 28
Location : France, Paris.

Making a server Empty
PostSubject: Re: Making a server   Making a server Icon_minitimeSun Jul 12, 2009 2:46 am

Well now that you've become a member....you know what to do =)

Let's exploit the cheap Chinese labor
Back to top Go down
http://dm-clan.forumotion.com
dM!|klnG_kOnG
Admin
dM!|klnG_kOnG

Posts : 685
Join date : 2009-06-26
Age : 39
Location : Singen am Hohentwiel/south germany!

Making a server Empty
PostSubject: Re: Making a server   Making a server Icon_minitimeSun Jul 12, 2009 8:25 am

I noticed panda is gonna help us, and he is funny and he is helpful! Smile
But still he is immature, okay and that is not depending to his age.... cause our leader downie is 15 too and he behaves mature like a grown-up!
I didnt give him my voice...
So i still have to appeal at you, please watch your behaviour! Suspect
Back to top Go down
dM!|Matsu
Admin
dM!|Matsu

Posts : 314
Join date : 2009-06-26
Age : 25
Location : France

Making a server Empty
PostSubject: Re: Making a server   Making a server Icon_minitimeSun Jul 12, 2009 12:14 pm

i'm 15 to, i am immature?lol
Back to top Go down
dM!|klnG_kOnG
Admin
dM!|klnG_kOnG

Posts : 685
Join date : 2009-06-26
Age : 39
Location : Singen am Hohentwiel/south germany!

Making a server Empty
PostSubject: Re: Making a server   Making a server Icon_minitimeSun Jul 12, 2009 12:54 pm

scratch yeeesss... but however you are 15 years going up to 16 ... you ll mature next years...
tongue

but we are becoming a bit toooo young.... and we already have enough kids .... we said! we are only recruiting real good players
Back to top Go down
dM!|Matsu
Admin
dM!|Matsu

Posts : 314
Join date : 2009-06-26
Age : 25
Location : France

Making a server Empty
PostSubject: Re: Making a server   Making a server Icon_minitimeSun Jul 12, 2009 1:15 pm

oh...Smile, maybe you think i'm immature cause my english is not so good Smile Omg!!it's not a problem^^yes you are right we becomming to young and we said we only recrut good players...so i change my vote for Panda sory Sad
Back to top Go down
Damnation
Admin
Damnation

Posts : 73
Join date : 2009-06-26
Age : 28
Location : France, Paris.

Making a server Empty
PostSubject: Re: Making a server   Making a server Icon_minitimeSun Jul 12, 2009 3:33 pm

Damn Panda, there are several things I don't get in your tutorial, my question is will the server run 24/24? Or as soon as you shut your PC down the server is removed? If that's the case there is a much easier way to create a server...
Back to top Go down
http://dm-clan.forumotion.com
Kawaii panda
Members
Kawaii panda

Posts : 191
Join date : 2009-06-26
Age : 23

Making a server Empty
PostSubject: ...   Making a server Icon_minitimeSun Jul 12, 2009 4:01 pm

i THINK hence the word THINK, its a temporary one, which u could use for scrims, u create the shortcut on ur desktop so its easier than having to set it all up again, u could use it for scrims, or a dm vs dm game
Back to top Go down
Sponsored content




Making a server Empty
PostSubject: Re: Making a server   Making a server Icon_minitime

Back to top Go down
 
Making a server
Back to top 
Page 1 of 1
 Similar topics
-
» Hot Toys making Indiana Jones figures, hints at Star Wars as well...
» No server response
» New online chess server, www.easychess.com
» Chess-Tournament-Results-Server
» FICS - Free Internet Chess Server

Permissions in this forum:You cannot reply to topics in this forum
Real Challengers Team CoD4 Clan :: Cod4-
Jump to: