COD4
Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: how to set up a lan server

  1. #1

    Unhappy how to set up a lan server

    hey iv been reading around the net and ehre for a long time now and the more i read the more i get confused at how to make a server purely for lan games.

    me and some friends wanna play some custom maps over lan since we gotten sick of the standart maps, only prob is just making a server ingame non dedicated dont show the other maps we got so i thought i would make a dedicated server for us but figuring out how to do that has been a pain. read abit here about it but just get more confused at it since all guides and stuff seems to be internet oriented so if anyone would help me out i would really appreciat it

    we were thinking to just play with cod4's own modwarfare mod with the maps we got but if its better to change to a other mod plz let us know

  2. #2
    Join Date
    Jun 2009
    Posts
    7

    Default

    could you make it with enabling harcore? without the respawn time?

  3. #3
    Join Date
    Jun 2009
    Location
    Sweden
    Posts
    43

    Default

    Hey there dude I did this just days ago so il'l help ya out. First of you need the game installed, but I guess that's pretty obvious but anyways, then you need to do like this.

    1. Create an extra shortcut for iw3mp.exe on your desktop, open it's properties. There you will se a target path that might look like this:

    "C:\MPSpel\Call of Duty 4 - Modern Warfare\iw3mp.exe"

    then you shall add this:

    +set dedicated 1 +set fs_game mods/modwarfare +exec mpserverMod.cfg +map_rotate

    after the ("). Make sure there is a space between the stuff you just copy/pasted and the quotes (").

    If you have the same hierarchy on your harddrive as i, which you probably don't, it should look like this:

    "C:\MPSpel\Call of Duty 4 - Modern Warfare\iw3mp.exe" +set dedicated 1 +set fs_game mods/modwarfare +exec mpserverMod.cfg +map_rotate




    2. You also need a .CFG file so go to this dir...

    Call of Duty 4 - Modern Warfare\Mods\ModWarfare

    Copy the file default_server.cfg to this dir...

    Call of Duty 4 - Modern Warfare\main

    Rename it to mpserverMod, delete everything in it and copy/paste everything below the smiley into it.




    3. Click the shortcut on your desktop and the server will run.


    BTW you will have to change the IPv4 adress under network settings and of course the maprotation, otherwise everything should work... It's a Hardcore server without Heli, airstrike and uav.



    //************************************************** ****************************
    // Public Information
    //************************************************** ****************************

    sets sv_hostname "MOD Server"



    //************************************************** ****************************
    // Gameplay Options
    //************************************************** ****************************

    // gameplay
    set scr_game_allowkillcam 0
    set scr_game_onlyheadshots 0
    set scr_game_deathpointloss 0
    set scr_game_suicidepointloss 0
    set scr_team_teamkillpointloss 1
    set scr_game_spectatetype 1
    set scr_game_forceuav 0
    set scr_game_hardpoints 0




    // hardpoints
    set scr_hardpoint_allowartillery 0
    set scr_hardpoint_allowuav 0
    set scr_hardpoint_allowhelicopter 0




    // teams
    set scr_team_fftype 1
    set scr_team_teamkillspawndelay 20
    set scr_team_kickteamkillers 0




    // player
    set scr_player_maxhealth 100
    set scr_player_suicidespawndelay 0
    set scr_player_healthregentime 5
    set scr_player_forcerespawn 1
    set scr_player_sprinttime 4




    // UI
    set scr_hardcore 1
    set scr_oldschool_mw 0
    set ui_hud_obituaries 0
    set ui_hud_showobjicons 0




    // Team Deathmatch Options
    set scr_war_scorelimit 1000
    set scr_war_timelimit 0
    set scr_war_playerrespawndelay -9



    //************************************************** ****************************
    // Gametypes And Maps...
    //************************************************** ****************************

    // Gametypes
    // "dm" - free for all deathmatch
    // "dom" - domination
    // "koth" - headquarters
    // "sab" - sabotage
    // "sd" - search & destroy
    // "war" - team deathmatch




    // First gametype
    set g_gametype "war"




    // Maps
    //map mp_backlot
    //map mp_bloc
    //map mp_bog
    //map mp_cargoship
    //map mp_citystreets
    //map mp_convoy
    //map mp_countdown
    //map mp_crash
    //map mp_crossfire
    //map mp_farm
    //map mp_overgrown
    //map mp_pipeline
    //map mp_shipment
    //map mp_showdown
    //map mp_strike
    //map mp_vacant




    // Map Rotation
    set sv_mapRotation "gametype war map mp_strike gametype war map mp_crossfire gametype war map mp_crash gametype war map mp_citystreets gametype war map mp_backlot gametype war map mp_showdown gametype war map mp_vacant"




    //************************************************** ****************************
    // Passwords And Players
    //************************************************** ****************************

    // Passwords
    set rcon_password "ADMINPW"

    set sv_privatePassword "PRIVATEPW"

    set g_password ""

    set sv_maxclients "16"
    set sv_privateclients "4"




    // Inactivity Settings
    set sv_timeout "300"
    set sv_zombietime "3"
    set g_inactivity "0"
    set g_inactivityspectator "0"




    //************************************************** ****************************
    // Network Options
    //************************************************** ****************************

    set net_ip "x.x.x.x"
    set net_port "28960"

    set dedicated "1"

    set com_hunkMegs "512"
    set net_noipx "1"

    set sv_minPing "0"
    set sv_maxping "350"
    set sv_minRate "0"
    set sv_maxRate "5000"

    set sv_fps "30"

    set sv_floodProtect "1"
    set sv_reconnectlimit "3"




    //************************************************** ****************************
    // Other Server Stuff
    //************************************************** ****************************

    // Log Settings
    set logfile "1"
    set g_logsync "2"
    set g_log "games_mp.log"
    set sv_log_damage "1"




    // Master servers
    //set sv_master1 "cod2master.activision.com"
    //set sv_master2 "cod2authorize.activision.com"
    //set sv_master3 "cod2master.infinityward.com"
    //set sv_master3 "cod2update.activision.com"
    //set sv_master4 "master.gamespy.com:28960"
    //set sv_master5 "master0.gamespy.com"
    //set sv_master6 "master1.gamespy.com"
    //set sv_master7 "clanservers.net"
    //set sv_gamespy "1"




    //************************************************** ****************************
    // Anti Cheat, VoIP and DL Settings
    //************************************************** ****************************

    // Anti Cheat Settings
    set sv_disableClientConsole "0"
    set cl_autocmd "0"
    set sv_cheats "0"
    set sv_pure "1"
    set g_banIPs ""
    set g_no_script_spam "1"
    set sv_punkbuster "0"
    set sv_kickBanTime "3600"




    // In-game voice communication system
    set sv_voice "0"
    set sv_voiceQuality "1"
    set voice_deadChat "0"
    set voice_global "0"
    set voice_localEcho "0"
    set winvoice_mic_mute "1"




    // Client Download Settings. (0=off/1=on) Used for MODs and custom maps
    set sv_allowdownload "0"
    //seta sv_wwwDownload "1"
    //seta sv_wwwBaseURL "http://www.xxx.xxx.xx"
    //seta sv_wwwDlDisconnected "1"




    //************************************************** ****************************
    // Misc
    //************************************************** ****************************

    set sv_allowAnonymous "0"
    set g_antilag "0"
    set g_compassShowEnemies "0"
    ui_maxclients 32




    //************************************************** ****************************
    // Class Limits
    //************************************************** ****************************

    // limits the number of players that can choose each class type
    set class_assault_limit 99
    set class_specops_limit 99
    set class_heavygunner_limit 99
    set class_demolitions_limit 99
    set class_sniper_limit 99




    // enables dropping of specified weapon class
    set class_assault_allowdrop 1
    set class_specops_allowdrop 1
    set class_heavygunner_allowdrop 1
    set class_demolitions_allowdrop 1
    set class_sniper_allowdrop 1




    // assault rifles
    set weap_allow_m16 1
    set weap_allow_ak47 1
    set weap_allow_m4 1
    set weap_allow_g3 1
    set weap_allow_g36c 1
    set weap_allow_m14 1
    set weap_allow_mp44 1
    // assault attachments 1
    set attach_allow_assault_none 1
    set attach_allow_assault_gl 1
    set attach_allow_assault_reflex 1
    set attach_allow_assault_silencer 1
    set attach_allow_assault_acog 1




    // smgs
    set weap_allow_mp5 1
    set weap_allow_skorpion 1
    set weap_allow_uzi 1
    set weap_allow_ak74u 1
    set weap_allow_p90 1
    // smg attachments
    set attach_allow_smg_none 1
    set attach_allow_smg_reflex 1
    set attach_allow_smg_silencer 1
    set attach_allow_smg_acog 1




    // shotguns
    set weap_allow_m1014 1
    set weap_allow_winchester1200 1
    // shotgun attachments
    set attach_allow_shotgun_none 1
    set attach_allow_shotgun_reflex 1
    set attach_allow_shotgun_grip 1




    // light machine guns
    set weap_allow_saw 1
    set weap_allow_rpd 1
    set weap_allow_m60e4 1
    // lmg attachments
    set attach_allow_lmg_none 1
    set attach_allow_lmg_reflex 1
    set attach_allow_lmg_grip 1
    set attach_allow_lmg_acog 1




    // sniper rifles
    set weap_allow_dragunov 1
    set weap_allow_m40a3 1
    set weap_allow_barrett 1
    set weap_allow_remington700 1
    set weap_allow_m21 1
    // sniper attachments
    set attach_allow_sniper_none 1
    set attach_allow_sniper_acog 1




    // pistols
    set weap_allow_beretta 1
    set weap_allow_colt45 1
    set weap_allow_usp 1
    set weap_allow_deserteagle 1
    set weap_allow_deserteaglegold 1
    // pistol attachments
    set attach_allow_pistol_none 1
    set attach_allow_pistol_silencer 1




    // grenades
    set weap_allow_frag_grenade 1
    set weap_allow_concussion_grenade 1
    set weap_allow_flash_grenade 1
    set weap_allow_smoke_grenade 1




    // perks
    set perk_allow_specialty_parabolic 1
    set perk_allow_specialty_gpsjammer 1
    set perk_allow_specialty_holdbreath 1
    set perk_allow_specialty_quieter 1
    set perk_allow_specialty_longersprint 1
    set perk_allow_specialty_detectexplosive 1
    set perk_allow_specialty_explosivedamage 1
    set perk_allow_specialty_pistoldeath 1
    set perk_allow_specialty_grenadepulldeath 1
    set perk_allow_specialty_bulletdamage 1
    set perk_allow_specialty_bulletpenetration 1
    set perk_allow_specialty_bulletaccuracy 1
    set perk_allow_specialty_rof 1
    set perk_allow_specialty_fastreload 1
    set perk_allow_specialty_extraammo 1
    set perk_allow_specialty_armorvest 1
    set perk_allow_specialty_fraggrenade 1
    set perk_allow_specialty_specialgrenade 1
    set perk_allow_c4_mp 1
    set perk_allow_claymore_mp 1
    set perk_allow_rpg_mp 1




    // assault class default loadout
    set class_assault_primary m16
    set class_assault_primary_attachment gl
    set class_assault_secondary beretta
    set class_assault_secondary_attachment none
    set class_assault_perk1 specialty_null
    set class_assault_perk2 specialty_bulletdamage
    set class_assault_perk3 specialty_longersprint
    set class_assault_grenade concussion_grenade
    set class_assault_camo camo_none
    set class_assault_frags 1
    set class_assault_special 1




    // specops class default loadout
    set class_specops_primary mp5
    set class_specops_primary_attachment none
    set class_specops_secondary usp
    set class_specops_secondary_attachment silencer
    set class_specops_perk1 c4_mp
    set class_specops_perk2 specialty_explosivedamage
    set class_specops_perk3 specialty_bulletaccuracy
    set class_specops_grenade flash_grenade
    set class_specops_camo camo_none
    set class_specops_frags 1
    set class_specops_special 1




    // heavygunner class default loadout
    set class_heavygunner_primary saw
    set class_heavygunner_primary_attachment none
    set class_heavygunner_secondary usp
    set class_heavygunner_secondary_attachment none
    set class_heavygunner_perk1 specialty_specialgrenade
    set class_heavygunner_perk2 specialty_armorvest
    set class_heavygunner_perk3 specialty_bulletpenetration
    set class_heavygunner_grenade concussion_grenade
    set class_heavygunner_camo camo_none
    set class_heavygunner_frags 1
    set class_heavygunner_special 1




    // demolitions class default loadout
    set class_demolitions_primary winchester1200
    set class_demolitions_primary_attachment none
    set class_demolitions_secondary beretta
    set class_demolitions_secondary_attachment none
    set class_demolitions_perk1 rpg_mp
    set class_demolitions_perk2 specialty_explosivedamage
    set class_demolitions_perk3 specialty_longersprint
    set class_demolitions_grenade smoke_grenade
    set class_demolitions_camo camo_none
    set class_demolitions_frags 1
    set class_demolitions_special 1




    // sniper class default loadout
    set class_sniper_primary m40a3
    set class_sniper_primary_attachment none
    set class_sniper_secondary beretta
    set class_sniper_secondary_attachment silencer
    set class_sniper_perk1 specialty_specialgrenade
    set class_sniper_perk2 specialty_bulletdamage
    set class_sniper_perk3 specialty_bulletpenetration
    set class_sniper_grenade flash_grenade
    set class_sniper_camo camo_none
    set class_sniper_frags 1
    set class_sniper_special 1




    set class_assault_movespeed 0.95
    set class_specops_movespeed 1.00
    set class_heavygunner_movespeed 0.875
    set class_demolitions_movespeed 1.00
    set class_sniper_movespeed 1.00

    set scr_enable_nightvision 1
    set scr_enable_music 1
    set scr_enable_hiticon 0
    Last edited by Aratoul; 06-21-2009 at 01:52 PM.
    { Garena | CoD4 | EU Room 3 | [SWE] Tactical Server }

    I sit, I Stare, I really don't do much...

    Favorite song: http://www.dailymotion.com/video/x23...-and-powerless

  4. #4
    Join Date
    Jun 2009
    Posts
    12

    Default

    I too wanted to do this. I did everything that you said but the network settings. Guess this is right?


    set net_ip "192.168.1.101"
    set net_port "28960"

    set dedicated "1"

    set com_hunkMegs "512"
    set net_noipx "1"

    set sv_minPing "0"
    set sv_maxping "350"
    set sv_minRate "0"
    set sv_maxRate "5000"

    set sv_fps "30"

    set sv_floodProtect "1"
    set sv_reconnectlimit "3"

  5. #5
    Join Date
    Jun 2009
    Location
    Sweden
    Posts
    43

    Default

    Yep... if thats you your ip it should work. I'm not even completely sure if it's nessecary for a LAN game but it should work.
    { Garena | CoD4 | EU Room 3 | [SWE] Tactical Server }

    I sit, I Stare, I really don't do much...

    Favorite song: http://www.dailymotion.com/video/x23...-and-powerless

  6. #6
    Join Date
    Jun 2009
    Posts
    12

    Default

    I don't get it....


    The regular call of duty modern 4 warfare lets everybody connect but Modwarfare and AWE4 cant connect.

  7. #7
    Join Date
    Jun 2009
    Location
    Sweden
    Posts
    43

    Default

    What do you mean?
    First of they need the mod, but ModWarfare comes with the main installation...
    Perhaps their serverfilters are wrong?
    { Garena | CoD4 | EU Room 3 | [SWE] Tactical Server }

    I sit, I Stare, I really don't do much...

    Favorite song: http://www.dailymotion.com/video/x23...-and-powerless

  8. #8
    Join Date
    Jun 2009
    Posts
    12

    Default

    Nope.


    I also copy the mod that I custom/use to everybodys computers.

    Filters set to LAN and not getting a thing but I in the game...I disable firewalls and everything.

    Normal COD4 still runs...normal

  9. #9
    Join Date
    Jun 2009
    Location
    Sweden
    Posts
    43

    Default

    Are they getting kicked, because of punkbuster?
    Have you tried connecting to IP?

    Btw when I mean server filters I mean the button "Filter Servers" in the "Join Game" menu where you usually se other games...
    Last edited by Aratoul; 06-23-2009 at 12:07 PM.
    { Garena | CoD4 | EU Room 3 | [SWE] Tactical Server }

    I sit, I Stare, I really don't do much...

    Favorite song: http://www.dailymotion.com/video/x23...-and-powerless

  10. #10
    Join Date
    Jun 2009
    Posts
    12

    Default

    yes the filter servers are set to LAN which is post to be the same server config like the one from here.


    and No they not getting kicked. They just don't see it listed on the Join Game LAN list.


    I also try AWE4

Page 1 of 3 123 LastLast

Similar Threads

  1. Trying to run LAN dedicated server
    By lordmonkey in forum COD4 Server Support
    Replies: 6
    Last Post: 02-21-2012, 11:36 AM
  2. Hosting a LAN server
    By guycable in forum COD4 Server Support
    Replies: 5
    Last Post: 01-26-2012, 11:06 AM
  3. LAN server
    By razzlor in forum Servers
    Replies: 6
    Last Post: 06-09-2010, 10:41 PM
  4. Need some help running a dedicated lan linux server
    By pyrre in forum COD4 Server Support
    Replies: 2
    Last Post: 03-01-2009, 01:17 PM
  5. Replies: 3
    Last Post: 11-28-2008, 07:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •