LightbulbHow to get your own MW2 Dedicated Server

Posts 1–8 of 8 · Page 1 of 1
How to get your own MW2 Dedicated Server
Hello,this tutorial will explain how to make your own Dedicated Server of Modern Warfare 2 hosted in your computer.
As you all know,IW did not included Dedicated Servers in Modern Warfare 2,meaning you'll need alterIWnet Version on your computer.

You can see how to get it,following this tutorial here: How to get MW2 alterIWnet Version

Ok,so you have your alterIWnet Client already,the first step in creating your own dedicated server,is to make a copy of the game folder.Just copy/paste it to a different location.Now rename one of the folders to "MyServer" or any other name you like.

Now,follow this steps:

-Download the attachment(It contains the server files)

-Unzip,copy/paste to the folder choosen to the server.If asked to replace anything,accept.

-Now,at the server folder,go to MAIN,and inside create a .txt file and name it server.cfg.in that file paste the following:
// --- QUERY INFORMATION --------------------------------
set sv_hostname "Server Name"

// optional settings returned by query, server listings may use this
sets _Admin "ingameNick"
sets _Email "adminemail"
sets _Website "http:/rsite.com/"
sets _Location "Europe"

// --- NON-GAMEPLAY CONFIGURATION -----------------------
set rcon_password "changeme" // password for rcon, empty = disabled
set privateMatch_serverPassword "" // game password, leave empty for a public game

set sv_maxPing "300" // maximum ping, any higher and players will get kicked

set g_inactivity "0" // time in seconds before a player gets kicked if not moving
set g_inactivitySpectator "0" // time in seconds before a spectator gets kicked

set g_logSync "1" // 1 = always flush games_mp.log, 0 = only flush on game end
set g_log "games_mp.log" // game log file

set aiw_sayName "^7Console" // name server-side 'say' commands show up as

// --- BASE GAME CONFIGURATION --------------------------
set g_gametype "war" // game type
// war - Team Deathmatch
// dm - Free-for-all
// dom - Domination
// koth - Headquarters
// sab - Sabotage
// sd - Search and Destroy
// arena - Arena
// dd - Demolition
// ctf - Capture the Flag
// oneflag - One-Flag CTF
// gtnw - Global Thermo-Nuclear War

// uncomment below commands for some hardcore shit
//set g_hardcore "1"
//set ui_hud_hardcore "1"
//set scr_hardcore "1"
//set scr_player_maxhealth "30"
//set scr_team_fftype "1" // 1 = on, 2 = reflect, 3 = shared
//set scr_player_healthregentime "0"

set scr_thirdperson "0" // third-person mode
set scr_game_hardpoints "1" // killstreaks, 1 = on
set scr_game_perks "1" // perks, obviously

set scr_game_allowkillcam "1" // 1 = allow, 0 = disallow

set scr_diehard "0" // die-hard mode

set scr_teambalance "1" // player difference for game to consider 'unbalanced'
set scr_game_spectatetype "2" // by request?

// --- GAMETYPE CONFIGURATION ---------------------------

// - Team Deathmatch
set scr_war_scorelimit "10000"
set scr_war_timelimit "15" // timelimit, in minutes

set scr_war_playerrespawndelay "-1" // -1 is no respawn delay, 0 is automatic, > 0 is X seconds
set scr_war_waverespawndelay "0" // wave spawning, might be more 'tactical'

set scr_war_numlives "0" // number of lives
set scr_war_promode "0" // unknown

set scr_war_roundlimit "1" // maximum amount of rounds
set scr_war_winlimit "1" // amount of wins needed to win a round-based game

// - Domination
set scr_dom_scorelimit "200"
set scr_dom_timelimit "15" // timelimit, in minutes

set scr_dom_playerrespawndelay "-1" // -1 is no respawn delay, 0 is automatic, > 0 is X seconds
set scr_dom_waverespawndelay "0" // wave spawning, might be more 'tactical'

set scr_dom_numlives "0" // number of lives
set scr_dom_promode "0" // unknown

set scr_dom_roundlimit "1" // maximum amount of rounds
set scr_dom_winlimit "1" // amount of wins needed to win a round-based game

// - FFA
set scr_dm_scorelimit "10000"
set scr_dm_timelimit "15" // timelimit, in minutes

set scr_dm_playerrespawndelay "-1" // -1 is no respawn delay, 0 is automatic, > 0 is X seconds

set scr_dm_numlives "0" // number of lives
set scr_dm_promode "0" // unknown

// - Search and Destroy
set scr_sd_scorelimit "1"
set scr_sd_timelimit "2.5" // timelimit, in minutes

set scr_sd_playerrespawndelay "-1" // -1 is no respawn delay, 0 is automatic, > 0 is X seconds
set scr_sd_waverespawndelay "0" // wave spawning, might be more 'tactical'

set scr_sd_numlives "1" // number of lives
set scr_sd_promode "0" // unknown

set scr_sd_roundlimit "0" // maximum amount of rounds, 0 is 'until someone wins'
set scr_sd_winlimit "6" // amount of wins needed to win a round-based game
set scr_sd_roundswitch "4" // after X rounds, switch sides?

set scr_sd_bombtimer "45"
set scr_sd_defusetime "5"
set scr_sd_multibomb "0" // allow multiple people to 'have the bomb'?
set scr_sd_planttime "5"

// ... other gametypes might be easy to figure out, or come in a future update of the template ...

// --- AUTOMATED ROTATION -------------------------------
set sv_mapRotation "gametype war map mp_afghan gametype war map mp_boneyard gametype war map mp_brecourt gametype war map mp_checkpoint gametype war map mp_derail gametype war map mp_estate gametype war map mp_favela gametype war map mp_invasion gametype war map mp_nightshift gametype war map mp_quarry gametype war map mp_rundown gametype war map mp_subbase gametype war map mp_terminal gametype war map mp_underpass gametype dom map mp_afghan"
and save the file.dont forget to put the file extension as .cfg,else wont work.

-Forward ports 28961 or any other,just dont use the 28960.

-Now create a Shortcut of the iw4mp.exe at your desktop,right click it,go to properties and add this to target:
+set party_maxplayers 18 +set net_port 2861 +exec server.cfg +map mp_rust +map_rotate
-Done!

You can now launch your server.A console will open.Notice that you CANNOT use the server console to go ingame.

Although,using the Client Console,you can enter your server directly by typing on it "connect IP:PORT.


Hope this helped.

VirusScans
aiw-dedicated-0.3b-RCONFIX.zip - Jotti's malware scan

^*to the mods:Ill be putting a second virus scan asap,atm virustotal is giving me error when uploading the file.
aiw-dedicated-0.3b-RCONFIX.zip2.4 MB · 2,802 downloads 1/57 malicious
Attachment approved.
thank you.
is it like a normal private match? but of course with xp

Oh and can you also use mods with mod loader or do u have to use fs_game....?
Quote Originally Posted by xMaJiiKs View Post
is it like a normal private match? but of course with xp

Oh and can you also use mods with mod loader or do u have to use fs_game....?
with the alterIWnet version of MW2 you have Dedicated servers and a server list.

There are mods that can be used yes,some only in private games though.
Haven't this been posted already o.O
I might have to get back into MW2.. Good tutorial
You do still miss the sec virus scan....
And its's 2 days old...
@master131
Posts 1–8 of 8 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us