COD4 Console commands w/ LAN game


Recommended Posts

I host cod4 games on our lan. I know how to change gametypes and maps, and kick players, but I want to see the connection info of the players connected to my server. The console commands /status or /serverinfo, among others do nothing. I cannot view any information about the players. If I could see their IPs, I could look up their names with domain name service lookup. Althernatively, is their a windows program so I could just see who is connected to my computer over the LAN? I try netstat.exe, but that is only for remote connections, as far as I know.

Link to comment
https://www.neowin.net/forum/topic/614827-cod4-console-commands-w-lan-game/
Share on other sites

  Powerchordpunk said:
I host cod4 games on our lan. I know how to change gametypes and maps, and kick players, but I want to see the connection info of the players connected to my server. The console commands /status or /serverinfo, among others do nothing. I cannot view any information about the players. If I could see their IPs, I could look up their names with domain name service lookup. Althernatively, is their a windows program so I could just see who is connected to my computer over the LAN? I try netstat.exe, but that is only for remote connections, as far as I know.

Have you thought about assigning IP addresses for your LANs? That's what we do, however our max players is usually 20 or less.

Also, would you mind posting a copy of your config for COD4? I'll like to create a COD4 server for our LAN.

Thanks!

  • 1 year later...

heyy if you have punkbuster enabled all you have to type is

PB_SV_PList

Displays a list of connected players and their current status

and this is nice i use this a lot it send a msg through the console automatically its very cool

PB_SV_Task [X] [Y] [command]

Adds a task to PB's Task List; The Task will be executed X seconds after entry and every Y seconds thereafter; use -1 for Y if a one-time task is desired; this can be used to execute game server commands as well as PB commands

for ex. type this in the server console not in game......

pb_sv_task 1 60 say ^1 Welcome to my server

pb_sv_task 1 60 say ^1 Respect all Players

pb_sv_task 1 60 devmap mp_crossfire

^^^^^^^^^^^^^^^^^^^^^^^^^

##########################

<<<<<THIS ENABLES THE CHEATS>>>>>

pb_sv_task 1 60 devmap mp_crossfire

pb_sv_task 1 60 devmap mp_bloc

pb_sv_task 1 60 devmap mp_strike

pb_sv_task 1 60 devmap mp_wet work

pb_sv_task 1 60 devmap mp_ambush

pb_sv_task 1 60 devmap mp_shipment

pb_sv_task 1 60 devmap mp_crash

##########################

PB_SV_TaskDel [task slot #]

Removes the task from PB's Task List that corresponds to the specified task slot #

PB_SV_TaskEmpty

Empties the list of Tasks in memory

PB_SV_TList

Displays a list of PB Tasks along with a task slot # for each task

this is a HARDCORE config file i use this and if i want to change something i just enable cheats and or type stuff into the server console this is a like to commands that i use YOU HAVE TO HAVE PUNKBUSTER ENABLED if you dont in your server console type "killserver" then type "pb_sv_enable" then "devmap mp_crossfire" make sure you dont put a / infront of the commands or put the "" in DO NOT DO THAT!!! good luck

http://www.evenbalance.com/publications/cod4-ad/index.htm <---- CoD4 server console commands

http://dead-x-clan.com/cod4-private-server...our-own-server/ <------- link to make a server if you have a dynamic ip

make a shortcut to iw3mp.exe on your desktop then right click properties then add this after it WITH A SPACE +set dedicated 2 +set sv_punkbuster 1 +exec dedicated.cfg +map_rotate

so it should look like this......

?C:Program FilesActivisionCall of Duty 4 - Modern Warfareiw3mp.exe? +set dedicated 2 +set sv_punkbuster 1 +exec dedicated.cfg +map_rotate

//******************************************************************************

// Call of Duty 4

//******************************************************************************

//******************************************************************************

// Public Information - taken from http://forums.gameservers.com/viewtopic.ph...&highlight=

//******************************************************************************

sets sv_hostname "Your server name"

sets _Admin ""

sets _Email ""

sets _Website ""

sets _Location ""

sets _Irc ""

sets _Mod ""

sets _ModVer ""

sets _ModUpdate ""

sets _Maps "COD2 Stock"

set scr_motd ""

//******************************************************************************

// Common Server Settings

//******************************************************************************

// Log Settings

set g_logsync "2"

set logfile "1"

set g_log "games_mp.log"

set sv_log_damage "1"

// Network options

set net_ip "1.2.3.4" // Set your servers IP address

set net_port "28960" // Set your port number

set com_hunkMegs "512"

set net_noipx "1" // Allow ONLY tcp/ip protocol, player/server communications

// Server Network Mode

set dedicated "2" // 0 = Listen, 1 = LAN, 2 = Internet

// Password Settings

set rcon_password "change_this!"

set sv_privatePassword ""

// The following can be used to lock out the server so that only those

// players that have been provide the password can connect. Good for

// matches, practices, etc.

set g_password "dxmatch"

// Player slots setup

set sv_maxclients "16" // MAX server player slots, this is TOTAL player slots

set sv_privateclients ""

// Ping

set sv_minPing "0"

set sv_maxping "350"

// 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 "0"

seta sv_wwwBaseURL ""

seta sv_wwwDlDisconnected "1"

// Rate

set sv_maxRate "25000"

// Drop inactive players

set sv_timeout "300"

set sv_zombietime "1"

set g_inactivity "0"

set g_inactivityspectator "0"

// AntiFlooding Settings

set sv_floodProtect "1"

set sv_reconnectlimit "3"

// 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"

// Temporary Ban duration, in seconds

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"

//******************************************************************************

// Misc

//******************************************************************************

set sv_allowAnonymous "0"

set g_antilag "0"

set g_compassShowEnemies "0"

//ui_maxclients 32

//******************************************************************************

// 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

//******************************************************************************

// 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 1

//******************************************************************************

// 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

//******************************************************************************

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

//******************************************************************************

// SMG

//******************************************************************************

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

//******************************************************************************

// LMG

//******************************************************************************

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

//******************************************************************************

// First gametype to load

// "dm" - free for all deathmatch

// "dom" - domination

// "koth" - headquarters

// "sab" - sabotage

// "sd" - search & destroy

// "war" - team deathmatch

//******************************************************************************

set g_gametype "sd"

set sv_mapRotation "gametype sd map mp_citystreets"

//Taken, with small edits, from Joker's eXtreme+ server config files, posted above.

  • 10 years later...

That config seems to cover just about everything lol. I was wondering about the default loadout section. I assume this is only necessary if you wish to change the default loadout from the normal settings? I ask because in a tournament we're organising we'd like to limit all entrants to default loadouts only so everyone is on an even playing field. 

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Free Download Manager 6.28.1.6321 by Razvan Serea Free Download Manager is a powerful, easy-to-use and absolutely free download accelerator and manager. FDM accelerates downloads by splitting files into sections and then downloading them simultaneously. As a result download speed increases up to 600%, or even more! FDM can also resume broken downloads so you needn`t start downloading from the beginning after casual interruption. FDM lets you download files and whole web sites from any remote server via HTTP, HTTPS and FTP. You can also download files using BitTorrent protocol. In addition, Free Download Manager allows you to: adjust traffic usage; to organize and schedule downloads; download video from video sites; download whole web sites with HTML Spider; operate the program remotely, via the internet, and more! Free Download Manager is compatible with the most popular browsers Google Chrome, Firefox, Microsoft Edge, Internet Explorer and Safari. Free Download Manager 6.28.1.6321 changelog: Improved add-ons support. Improved M3U support. Fixed: crash bug in BitTorrent module. Fixed: minor bugs. Windows: a bit improved installer. Windows: Firefox bug workaround. Android: Qt updated to 6.9.1. Download: Free Download Manager (64-bit) | 45.8 MB (Freeware) Links: Home Page | Linux, Mac, Android | MS Store | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Tariffs have nothing to do with this pricing. It was always intended to be slightly more expensive then the S25+
    • Hello, The static link still downloads 10.3.2040.0 from May 22, 2025. The 10.3.2412.0 version can be downloaded directly from emclient.com/dist/v10.3.2412/setup.msi. Regards, Aryeh Goretsky
    • Hello, Yes, and yes. More specifically, there are lots of features in Windows that I do not use--I cannot recall the last time I needed to run EUDCEDIT.EXE or ODBCAD32.EXE on a computer I own, but I'm sure that for some people they are useful, and for a smaller set of people they might even be indispensable. I don't begrudge Microsoft for including them as part of the standard Windows installation nor the people who need such tools; sometimes it is convenient to have some little utility or feature readily available. One thing I do begrudge is Microsoft's over-reliance on its own telemetry, and perhaps surpisingly on the flip side, customers who disable it. Collecting telemetry is generally a good thing, if it is done for good reasons and does not include any customer PII. However, how you interpret that telemetry is even more important, as that can lead to all sorts of disastrous decisions. On the customer side of things, telemetry is your "vote:" it's how you tell companies what features you use in the program, and lets them prioritize things appropriately. One glaring example is Windows 8, which shipped with the full-screen Start Screen because Microsoft's telemetry told them the average Windows user pressed the Windows key to bring up the Start Menu less than once a day. I have often wondered how many "power users" of previous versions of Windows (XP, Vista, and 7) that relied on the Start Menu disabled the telemetry that would have told Microsoft a difference story about its usage. More recently, I came across a young lady who had a problem with a third-party sync program on her computer running Windows 7. An update for the utility removed Windows 7 compatibility, and broke her backup process. Now, support for Windows 7 ended over 5 years ago in 2020, but there are ISVs who still support their software on it, but decisions about stuff like that are made, in part, by knowing what percentage of your customer base is on what operating system version. When I asked about that, she mentioned she had specifically disabled the telemetry from the sync program to its developers, which was optional to begin with. What made things even worse was that this was an open source utility, and its authors had a very clear, well-designed and scoped policy on the telemetry they collected, the pains they went through to avoid collecting any PII, and even other ancillary risks involving information disclosure (like just using of the software) because of the network connection made for the checks. Yet, she took herself out of telling the project maintainers "Hey, I use your software and I'm running Windows 7" by disabling the telemetry checks, which could have let them know they needed to continue supporting it. In a sense, sending telemetry is just like voting: Individually, you may not think it matters much, but it is often the basis for very important decisions. Regards, Aryeh Goretsky
    • Hello, My thoughts on this are mixed. Microsoft has hosted malicious code in the Microsoft Update Catalog where third party device drivers are stored; I wrote about one such incident about fifteen years ago, so if there are any other old malicious drivers floating around in the catalog, this will be a good step towards preventing any infestations from reoccurring. Another thing, which surprisingly is not mentioned in Microsoft's announcement, is that this helps protect against BYOVD (Bring Your Own Vulnerable Driver) attacks, where malware either comes with or downloads an older device drivers with vulnerabilities in it that can be exploited to gain access to kernel memory. Removing all those old device drivers from the Windows Update Catalog, potentially with all sorts of undisclosed vulnerabilities in them, means an attacker can no longer leisurely count on being able to download them from Microsoft's servers--something that may go unnoticed or ignored by security analysts. This makes the adversary attack a little more noisy, since they have to either include the device driver with the rest of their initial payload or download it from a third-party site at some point prior to beginning their BYOVD attack. On the other hand, it means that people who are looking for a specific version of an older device driver for whatever legitimate reasons, like compatibility, performance or stability, may end up going to dodgy third-party sites in search of older drivers, which increases the risk of exposure to everything from nuisance advertisements and unwanted software to actual malicious code. As for me, I have keeping copies of all the device drivers, firmware updates, etc. I have downloaded over the years, some dating back to DOS and Windows 3.x era, not just for hardware I won, but popular things like unified chipset and video card drivers, just in case I ever needed it. It might seem silly to collect such a thing, but the hardware drivers, firmware updates, and documentation are just about 2 TB in size. From my perspective, it is an inexpensive form of insurance, especially given that disk space is always getting cheaper over time. Regards, Aryeh Goretsky
  • Recent Achievements

    • Contributor
      GravityDead went up a rank
      Contributor
    • Week One Done
      BlakeBringer earned a badge
      Week One Done
    • Week One Done
      Helen Shafer earned a badge
      Week One Done
    • First Post
      emptyother earned a badge
      First Post
    • Week One Done
      Crunchy6 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      660
    2. 2
      ATLien_0
      266
    3. 3
      Michael Scrip
      235
    4. 4
      Steven P.
      164
    5. 5
      +FloatingFatMan
      149
  • Tell a friend

    Love Neowin? Tell a friend!