PDA

View Full Version : punkbuster kick for cvar violations


Cpt. Bill Taylor
02-08-2008, 07:12 AM
im just in the process of updating our server for euro dom settings and i have lost the part about kicking people for cvar violations like cl_maxpackets ( out of range ).

i know i may be a bit silly here but can anyone refresh my memmory on how to set pb to kick for the cvar violations i did have this information in a bookmark but the site i found is down and has been for a week now.

cvar check cl_maxpackets in 60 to 100

and im not getting kicked for cl_maxpackets 30

theMechanic
02-08-2008, 12:20 PM
don't understand, are you looking for cfg's with these settings in them or what?

Cpt. Bill Taylor
02-08-2008, 12:48 PM
im looking for the setting to kick people for cvar violations

theMechanic
02-08-2008, 01:22 PM
ah, i just use premade cfg's myself. sorry.

maimedwabbit
02-08-2008, 01:37 PM
Yea checkout www.punksbusted.com or www.pbbans.com for the best premade cvar check files

LPChip
02-18-2008, 07:37 AM
I couldn't find this information on the CoD4 list of PunkBuster, but its on the CoD2 list, and as far as I know it works for 4 too.

You'd want to do this:

\pb_sv_cvar cl_maxpackets IN 60 100
\pb_sv_writecfg

Do note, that if you already have set a cvar check on cl_maxpackets, you'll need to remove the first one first or it will overrule your second one.

Source: http://www.evenbalance.com/publications/cod2-ad/index.htm#advmonitoring

Cpt. Bill Taylor
02-28-2008, 08:07 AM
ok this is realy getting to me now i have gone through all the proper settings to kick people for cvar violations and still not getting kicked for any of them my pbsv.cfg is attached please help.

; ------------------------------
; Notes
; ------------------------------
; Revision 1.1
; PBBans.com Universal pbsv.cfg
; Can be used for all PB enabled servers

; ------------------------------
; General Settings
; ------------------------------
pb_sv_MsgPrefix "^5PunkBuster Server"
pb_sv_MaxDlRate 4 //[KB/sec requested per file (default=4)]
pb_sv_MaxConDls 6 //[Concurrent downloads (default=1)]
pb_sv_MaxSendRate 8 // [speed at which PB Server sends pbcl and pbag updates in KBps (default=8)]
pb_sv_CQC 1 //[0=No, 1=Yes (default=1)]
pb_sv_Sleep 60 //[# 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_DupNameGrace 0 //[Seconds]
pb_sv_ExtChar 0 //[0=No, 1=Yes (default=0)]
pb_sv_GuidRelax 0 //[1=UNKN, 2=WRONGIP, 4=DUP (add desired values)]
pb_sv_RconReload 0 //[0=No, 1=Yes (default=0)]
pb_sv_LogSync 1 //[0=No, 1=Yes (default=0)]
pb_sv_AutoUpdBan 1 //[0=No, 1=Yes (default=0)]


; ------------------------------
; Other Settings
; ------------------------------
pb_sv_Restrictions 1 //[Kick for Restrictions 0=No, 1=Yes (default=1)]
pb_sv_FileWhitelist "" //[Folder Filename Filename ... Filename]
pb_sv_EmptyName 0 //[0=No, 1=Yes (default=0)]
pb_sv_LogFloor 1 //[Low log filename serial #]
pb_sv_MinName 0 //[Min Characters in Player name (default=0)]
pb_sv_MaxName 0 //[Max Characters in Player name (default=0)]
pb_sv_LanMask "" //[IP Address Mask for LAN Players (default=)]
pb_sv_Lan 0 //[0=No, 1=Yes (default=0)]
pb_sv_ChangePeriod 300 // For pb_sv_ChangeMax
pb_sv_ChangeMax 5 // [Max name changes allowed in pb_sv_ChangePeriod] ex 5 changes in 300 seconds


; ------------------------------
; Kick Settings
; ------------------------------
pb_sv_KickLen 2 //[Minutes (default=2)]
pb_sv_ScoreKick 0 //[Min score (negative) ]
pb_sv_UpdateGrace 2400 //[Seconds to wait before Update Failure kick]
pb_sv_NoGuidGrace 10 //[Seconds to wait before No GUID kick]


; ------------------------------
; PBSS Settings
; ------------------------------
pb_sv_AutoSs 0 //[0=No, 1=Yes (default=0)]
pb_sv_SsFloor 1 //[Low screenshot filename serial #]
pb_sv_SsCeiling 2000 //[High screenshot filename serial #]
pb_sv_AutoSsFrom 300 //[Min # of seconds to wait before requesting next ss]
pb_sv_AutoSsTo 1200 //[Max # of seconds to wait before requesting next ss]
pb_sv_SsCmd "" //[Filename of system command to run after screenshots]
pb_sv_SsWidth 400 //[Requested pixel width of remote screenshots]
pb_sv_SsHeight 204 //[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_ssLogging 3 //[1=Reg. Log, 2=SS Log, 3=Both, 0=Neither]
pb_sv_ssTimeout 300 //[Seconds]


; ------------------------------
; Web Tool Settings
; ------------------------------
pb_sv_HttpPort 0 //[Port #]
pb_sv_HttpAddr "" //[External IP Address]
pb_sv_HttpKey "" //[Password]
pb_sv_HttpRefresh 30 //[Seconds]
pb_sv_HttpMaps "" //[Map list (separate by spaces)]
pb_sv_HttpMapsPath "" //[Path where maps are loaded from in WebTool]
pb_sv_HttpColText1 "FFFFFF" //[Text Color #1 in WebTool (default=FFFFFF)]
pb_sv_HttpColText2 "0000FF" //[Text Color #2 in WebTool (default=0000FF)]
pb_sv_HttpColBack1 "000000" //[Background Color #1 in WebTool (default=000000)]
pb_sv_HttpColBack2 "808080" //[Background Color #2 in WebTool (default=808080)]
pb_sv_HttpColLine1 "FF0000" //[Line Color #1 in WebTool (default=FF0000)]
pb_sv_HttpColLine2 "0000FF" //[Line Color #2 in WebTool (default=0000FF)]
pb_sv_HttpColMsg "FF0000" //[Message Color in WebTool (default=FF0000)]
pb_sv_HttpShowGuid 1 //[0=No, 1=Yes (default=0)]


// Stock CVar checks
pb_sv_cvar cg_drawShellShock IN 1
pb_sv_cvar cg_drawThroughWalls IN 0
pb_sv_cvar cg_errordecay in 100
pb_sv_cvar cg_fov IN 60 80
pb_sv_cvar cg_footsteps IN 1
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_laserForceOn IN 0
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 60 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 43
pb_sv_cvar m_pitch OUT -0.015 0.015
pb_sv_cvar m_yaw IN 0.022
pb_sv_cvar pb_Sleep IN 0 500
pb_sv_cvar rate IN 5000 25000
pb_sv_cvar r_fog IN 1
pb_sv_cvar r_fullbright IN 0
pb_sv_cvar r_lockPvs IN 0
pb_sv_cvar r_lodscalerigid IN 1 2
pb_sv_cvar r_picmip IN 0 3
pb_sv_cvar r_polygonOffsetBias IN -1
pb_sv_cvar r_polygonOffsetScale IN -1
pb_sv_cvar r_lightTweakAmbient IN 0 0.3
pb_sv_cvar r_drawdecals IN 1
pb_sv_cvar r_fullbright IN 0
pb_sv_cvar sensitivity IN 0 30.000001
pb_sv_cvar snaps IN 20 40
pb_sv_cvar fx_freeze IN 0
pb_sv_cvar fx_count IN 0
pb_sv_cvar fx_debugBolt IN 0
pb_sv_cvar fx_draw IN 1
pb_sv_cvar fx_enable IN 1
pb_sv_cvar fx_profile IN 0


; ------------------------------
; CVAR Settings (Only for supported games)
; ------------------------------
pb_sv_CvarFreq 12 //[# of range checks per minute]
pb_sv_CvarLogging 1 //[1=Reg. Log, 2=Var Log, 3=Both, 0=Neither]
pb_sv_CvarWalk 1 //[0=disabled, 1-4=Walk through obtained Cvar lists]
pb_sv_CvarUserPulse 1 //[Frequency to auto-send CvarUser (minutes)]
pb_sv_CvarChangedPulse 1 //[Frequency to auto-send CvarChanged (minutes)]


; ------------------------------
; Alias Settings (Only for supported games)
; ------------------------------
pb_sv_AliasFn "pbalias.dat" //[Filename (default="pbalias.dat")]
pb_sv_AliasAutoLoad 0 //[0=No, 1=Yes (default=0)]
pb_sv_AliasMax 10 //[Max # of Aliases to track for each PB GUID]
pb_sv_AliasMaxEnforce 0 //[0=No, 1=Yes (default=0)]


; ------------------------------
; PB Tasks (pb_sv_task [start delay (seconds)] [repeat (seconds)] [command])
; ------------------------------
pb_sv_task 0 7200 pb_sv_ver // Keep-Alive for PBBans Hub
pb_sv_task 0 86400 pb_sv_update // Check for PB updates daily


; ------------------------------
; Badname List (pb_sv_badname [grace_period_secs] [disallowed text])
; ------------------------------
pb_sv_badnameempty
;pb_sv_badname 10 server // Sample


; ------------------------------
; IP Guard
; ------------------------------
;pb_sv_ipguard 128.0.0.1 // Sample


; ------------------------------
; Cvar List
; ------------------------------
pb_sv_cvarempty


; ------------------------------
; Protected Tags
; ------------------------------
pb_sv_protecttag 1 PBSTAFF
pb_sv_protecttag 1 PBBans


; ------------------------------
; Load Ban List
; ------------------------------
pb_sv_banempty
pb_sv_banload


; ------------------------------
; Load IP Bans
; ------------------------------
;pb_sv_banmask "128.0.0.1" // Sample


; ------------------------------
; PB UCON Settings / Lists
; ------------------------------
pb_sv_usessionlimit 3
pb_sv_ucontimeout 90
pb_sv_uconempty
pb_sv_uconignoreempty
pb_sv_uconadd 1 64.27.21.46 "pbbanshub" "pbbanshub"


; ------------------------------
; Exec Configs
; ------------------------------
pb_sv_load pbsvuser.cfg
pb_sv_load pbsvlog.cfg


-------------------------------------------------------- end

as you can see maxpackets is set to "pb_sv_cvar cl_maxpackets IN 60 100" but no matter whatr i do ( have my maxpackets to 20, 35, 45, 10, any value out of range ) pb is not kicking anyone for any cvar violation at all.

theMechanic
02-28-2008, 08:30 AM
just an observation, but it looks like this pb_sv_cvarempty is emptying out your cvars.

Cpt. Bill Taylor
02-28-2008, 09:13 AM
OMG i knew it would be something simple just needid a fresh pair of eyes to look at it.
:o :salute:
any recomendations on any settings there ?

theMechanic
02-28-2008, 09:17 AM
try these cfg's, they work just dandy on my server.

http://www.cod4.clanmech.com/examples/pbstr.html