Marc
Can Someone Post How To Punkbuster Your Server
--------------------------------------------------------------------------------
If you have a linux server upload the pb folder that came with the linux patch wich includes some .so files to your .callofduty2 folder and to the cod installation folder.
If you have a windows server then the pb folder has auto installed when u installed the patch.
Open your config_mp.cfg (located in the main/players/yourprofile folder) (linux servers dont have/need this)
add/change these:
seta cl_punkbuster "1"
seta sv_punkbuster "1"
Then add this line to your server.cfg (before you exec any cfg file):
pb_sv_enable
wait
Then add to your server startupcommandline +set sv_punkbuster 1
(If you have a linux server then also open up .callofduty2/yourmodfolder config_mp_server.cfg and change seta sv_punkbuster "0" to seta sv_punkbuster "1" if its there...just to be sure)
Then in your pb folder (in linux its the one located in .callofduty2) add the following cfg files:
pbsv.cfg:
Code:
pb_sv_Enable // Enables PunkBuster
wait // Required for proper PB Init prior to settings being enforced
set sv_punkbuster 1 // Required server cvar bit setting to enable PunkBuster
pb_sv_restrictions 1 // Kicking for PB Restrictions. 0 = disabled, 1 = enabled
//***************************************************************************************
//pb_sv_taskempty
// Task setup for PunkBuster
//pb_sv_task 20 300 ""
//pb_sv_task 30 330 ""
//pb_sv_task 40 360 "say ^3PUNK BUSTER ^4ENABLED ^3AND ^4RUNNING"
//pb_sv_task 50 390 "say ^5Cheating of any kind is not tolerated here"
//pb_sv_task 60 420 "say ^3We Actively Scan For Hacks and Cheaters Using ^4PUNK BUSTER ^3ENABLED MD5 Tools Support"
// Bad name slots
pb_sv_badnameempty
//Bad Names
//pb_sv_badname 60 .com
//pb_sv_badname 60 .de
pb_sv_badname 60 .net
pb_sv_badname 60 .org
pb_sv_badname 60 .co.uk
pb_sv_MsgPrefix "^3PunkBuster Server" //[PB Message Prefix (default=^3PunkBuster Client)]
pb_sv_MaxDlRate 4 //[KB/sec requested per file (default=4)]
pb_sv_MaxConDls 1 //[concurrent downloads (default=1)]
pb_sv_KickLen 2 //[minutes (default=2)]
pb_sv_CvarFreq 6 //[# of range checks per minute]
pb_sv_CvarLogging 0 //[1=Reg. Log, 2=Var Log, 3=Both, 0=Neither]
pb_sv_CvarWalk 4 //[0=disabled, 1-4=Walk through obtained Cvar lists]
pb_sv_CvarUserPulse 15 //[How often (in min.) to auto-send CvarUser command]
pb_sv_CvarChangedPulse 15 //[How often (in min.) to auto-send CvarChanged command]
pb_sv_CQC 1 //[0=No, 1=Yes (default=1)]
pb_sv_LogSync 0 //[0=No, 1=Yes (default=0)]
pb_sv_LogCeiling 1000 //[High log filename serial #]
pb_sv_AutoSs 0
pb_sv_SsFloor 1 //[Low screenshot filename serial #]
pb_sv_SsCeiling 1000 //[High screenshot filename serial #]
pb_sv_SsCmd "" //[Filename of system command to run after screenshots]
pb_sv_SsWidth 320 //[Requested pixel width of remote screenshots]
pb_sv_SsHeight 240 //[Requested pixel height of remote screenshots]
pb_sv_SsXpct 50 //[Percentage across screen for remote screenshots]
pb_sv_SsYpct 50 //[Percentage down screen for remote screenshots]
pb_sv_SsSrate 1 //[Sample Rate for remote screenshots]
pb_sv_SsDelay 0 //[Maximum delay client waits before capturing screenshot]
pb_sv_SsPath "" //[Path where remote screenshots are saved]
pb_sv_AutoSsFrom 120 //[Minimum # of seconds to wait before requesting next ss]
pb_sv_AutoSsTo 900 //[Maximum # of seconds to wait before requesting next ss]
pb_sv_AutoSs 0 //[0=No, 1=Yes (default=0)]
pb_sv_Sleep 100 //[# of Milliseconds (default=60)]
pb_sv_PowerMin 10 //[power points]
pb_sv_PowerDef 1 //[power points]
pb_sv_PowerKickLen 5 //[minutes (default=5)]
pb_sv_scoreKick 0 //[minimum score (negative)]
pb_sv_changePeriod 999 //[seconds]
pb_sv_changeMax 50 //[max name changes allowed]
pb_sv_dupNameGrace 90 //[seconds]
pb_sv_autoUpdBan 1 //[0=No, 1=Yes (default=0)]
pb_sv_extChar 1 //[0=No, 1=Yes (default=0)]
pb_sv_guidRelax 7 //[1=UNKN, 2=WRONGIP, 4=DUP (add desired values)]
//pb_sv_load pbsvlog.cfg //[load remote logging settings (if pbsvlog.cfg exists)]
//pb_sv_load protected.cfg //[load the protected Tags (if protected.cfg exists)]
pb_sv_cvarempty //[empty cvar checks before being loaded below]
pb_sv_load pbsvcvar.cfg
pb_sv_load pbsvmd5.cfg
// For more information please see the WEBTOOL section at:
//
http://www.evenbalance.com/publications/cod-ad/index.htm#remotepb_sv_httpAddr "your ip here" // external IP Address
pb_sv_httpPort "a port here" // port #, (0 to 65535)
pb_sv_httpRefresh 30 // seconds, (10 to 999)
pb_sv_httpKey "a pass here" // key ( rcon password )
// map list (separate by spaces)
pb_sv_httpMaps "mp_breakout mp_brecourt mp_burgundy mp_carentan mp_dawnville mp_decoy mp_downtown mp_farmhouse mp_harbor mp_leningrad mp_matmata mp_railyard mp_rhine mp_toujane mp_trainstation"
//***************************************************************************************
pbsvcvar.cfg:
Code:
pb_sv_cvar cg_errordecay in 100
pb_sv_cvar cg_fov IN 80
pb_sv_cvar cg_hudDamageIconHeight IN 64
pb_sv_cvar cg_hudDamageIconInScope IN 0
pb_sv_cvar cg_hudDamageIconOffset IN 128
pb_sv_cvar cg_hudDamageIconTime IN 2000
pb_sv_cvar cg_hudDamageIconWidth IN 128
pb_sv_cvar cg_hudObjectiveMaxRange IN 2048
pb_sv_cvar cg_hudObjectiveMinAlpha IN 1
pb_sv_cvar cg_hudObjectiveMinHeight IN -70
pb_sv_cvar cg_thirdPerson IN 0
pb_sv_cvar cg_viewsize IN 100
pb_sv_cvar cl_avidemo IN 0
pb_sv_cvar cl_forceavidemo IN 0
pb_sv_cvar cl_freelook IN 1
pb_sv_cvar cl_maxpackets IN 30 100
pb_sv_cvar cl_pitchspeed IN 140
pb_sv_cvar cl_punkbuster IN 1
pb_sv_cvar cl_yawspeed IN 140
pb_sv_cvar com_maxfps OUT 0.000001 59
pb_sv_cvar m_pitch OUT -0.015 0.015
pb_sv_cvar m_yaw IN 0.022
pb_sv_cvar mss_q3fs IN 1
pb_sv_cvar pb_Sleep IN 0 500
pb_sv_cvar r_drawentities IN 1
pb_sv_cvar r_drawSModels IN 1
pb_sv_cvar r_fog IN 1
pb_sv_cvar r_highloddist IN -1
pv_sv_cvar r_lightTweakSunLight IN 0.47 1.6
pv_sv_cvar r_lightTweakDiffuseFraction IN 0.25 0.65
pb_sv_cvar r_fullbright IN 0
pb_sv_cvar r_lodbias IN -200 0
pb_sv_cvar r_lodscale IN 1
pb_sv_cvar r_overBrightBits IN 0 2
pb_sv_cvar r_picmip IN 0 3
pb_sv_cvar r_drawworld IN 1
pb_sv_cvar r_polygonOffsetBias IN -1
pb_sv_cvar r_polygonOffsetScale IN -1
pb_sv_cvar r_showtris IN 0
pb_sv_cvar rate IN 5000 25000
pb_sv_cvar sensitivity IN 0 30.000001
pb_sv_cvar snaps IN 20 40
pb_sv_cvar r_lightTweakAmbient IN 0 0.1
pb_sv_cvar fx_sort IN 0 1
pb_sv_cvar fx_draw IN 1
pb_sv_cvar fx_enable IN 1
pbsvmd5.cfg:
Code:
// Empty md5tool listing so you can start fresh
pb_sv_md5toolempty // empties list so md5tool checks dont pile up, resets list.
// Tool check frequency
pb_sv_md5toolfreq 300 // Time in seconds between md5tool checks - default=60, (30 to 300)
pb_sv_md5tool a "" v CoD2MP_s.exe SZ1974272 AT0 LEN2048 D06BED67BE8233BCC68204E9770411A0
pb_sv_md5tool a "" v gfx_d3d_mp_x86_s.dll SZ1855488 AT0 LEN2048 968E008134F8B455CEFC43A0B99FEA1D
pb_sv_md5tool a "" v mss32.dll SZ370688 AT0 LEN2048 68F466C4CA7B5341E051DC815295269B
pb_sv_md5tool a "" v main/iw_00.iwd SZ162248089 AT0 LEN2048 A83621F19AEDDA2D184D61F77985ECD8
pb_sv_md5tool a "" v main/iw_01.iwd SZ145087064 AT0 LEN2048 8DA95F62964B880D8DC471FD6EB628EE
pb_sv_md5tool a "" v main/iw_02.iwd SZ164849656 AT0 LEN2048 5CB521F38E15DD1F54F7954F72B15A9E
pb_sv_md5tool a "" v main/iw_03.iwd SZ166691505 AT0 LEN2048 037BF771D38BFE13D7FBBE17C9AFB663
pb_sv_md5tool a "" v main/iw_04.iwd SZ167614395 AT0 LEN2048 9D9E8E32D36128A8B074AB117E2F107C
pb_sv_md5tool a "" v main/iw_05.iwd SZ167121878 AT0 LEN2048 B71B185B69DC8521F323B830C64BE490
pb_sv_md5tool a "" v main/iw_06.iwd SZ49366825 AT0 LEN2048 7F68318DB3B3BE3E1312CC48FA63F579
pb_sv_md5tool a "" v main/iw_07.iwd SZ2438462 AT0 LEN2048 19DF90837A13089C280655B07595A816
pb_sv_md5tool a "" v main/iw_08.iwd SZ167893004 AT0 LEN2048 21DB624C1F151467921884523B34CBB4
pb_sv_md5tool a "" v main/iw_09.iwd SZ168002498 AT0 LEN2048 75D4D4043B9211F5F748D02497D63BFC
pb_sv_md5tool a "" v main/iw_10.iwd SZ167770114 AT0 LEN2048 AAC87EBF99D6C4D9E4AA0B92DF50EB9D
pb_sv_md5tool a "" v main/iw_11.iwd SZ167727066 AT0 LEN2048 077717B1782997EE39D108DCBBD20243
pb_sv_md5tool a "" v main/iw_12.iwd SZ167659421 AT0 LEN2048 8EA51722A673802CC771D94F9815A8CC
pb_sv_md5tool a "" v main/iw_13.iwd SZ170373438 AT0 LEN2048 7491FFF5972CDAB7D3C60E09434BE2DD
pb_sv_md5tool a "" v main/iw_14.iwd SZ95725502 AT0 LEN2048 47433B8984846531396FBDD2C11BAC7B
pb_sv_md5tool a "" v main/iw_15.iwd SZ26259403 AT0 LEN2048 BD2A42AF3033371D7888F48709F432F4
pb_sv_md5tool a "" v miles/mssmp3.asi SZ137216 AT0 LEN2048 04A5544BEC1C556B1989834135566F43
Strt up your server