in my server.cfg i have this
et sv_punkbuster "1" but in my startup lin which is called from a batch file i have this
as my command line @echo off
echo **************************************
echo * DCS_Snipers CoD 4 Modern warfare startup script *
echo **************************************
::
:: the drive your program is installed
set MYDRIVE=C:
::
:: the directory you installed Cod 4 modern warefare. Use " " to enclose the path!
set PROGDIR="C:\Program Files\Activision\Call of Duty 4 - Modern Warfare"
:: set the name of your mod here. The name of the mod MUST be one word.
set MYMODNAME=Extreme_v3
::
:: set the maximum number of players you allow on your server
set MAXCLIENTS=32
::
:: set the port here. Standard is 28960
set MYPORT=28960
::
:: depending on the language version you bought you must set the appropriate number
:: English = 0, French = 1, German = 2, Italian = 3, Spanish = 4
set LANGUAGE=0
::
:: Punkbuster Settings: on = 1, off = 0
set PUNKB=0
::
:: set the IP. If your PC is running behind a router use "localhost" otherwise your IP address
set MYIP=localhost
%MYDRIVE%
cd %PROGDIR%
%PROGDIR%\iw3mp.exe +set fs_game mods/%MYMODNAME% +set dedicated 1 +set net_ip %MYIP% +set net_port %MYPORT% +set sv_punkbuster %PUNKB% +set sv_maxclients %MAXCLIENTS% +set ui_maxclients %MAXCLIENTS% +exec server.cfg +map_rotate
then a little lower in my server.cfg i have this
// test bots (can crash the server on next map!)
set scr_testclients "10" make sure the // are removed on this and the next line.
// freeze the bots to the ground?, easier when testing!
set scr_botfreeze "1" 0 will alow them to move 1 freezes them on the spot