Every map, it starts tracking what percentage a player is camping. An option to slap a player when spawned by their CampPCT.
Say commands to show top10 campers and current CampPCT.
AFK Detection and bombing events detection.
In simple terms it is the percentage you are standing in one spot.
Installation
Install into the cstrike folder on your server.
In your autoexec.cfg file in your cfg directory add the line (w/o quotes):
"es_load camppct"
To edit the variables open addons/eventscripts/camppct/camppct.py
# Amount of time in seconds before CampPCT starts tracking
pre_camp = 30
# The radius to consider as camping
camp_radius = 100
# How often to check the location of player in seconds
# The bigger the number the less accurate (decimal OK)
camp_delay = 1
# Turn off tracking when performing bombing events
# 1 = on
# 0 = off
camp_bomb = 1
# When to display CampPCT to user
# 0 = never
# 1 = spawn
# 2 = death
camp_tell = 1
# Say command to display their percentage
camp_say = 'camppct'
# Say command to display top campers
camp_saytop = 'campers'
# Timout of top10 view
# 0 = Have to push a number to exit
camp_toptimeout = 5
# Slap on spawn
# 1 = on
# 0 = off
camp_slap = 0
# Following options camp_slap = 1
# Percentage allowed to camp on the server
camp_pct = 60
# Amount of time in seconds before you start slapping
camp_count = 30
# Default: slap 5 heath every 5 percent over
# Example: 12% over would be 10 health
slap_pct = 5
slap_health = 5
Version Notes For 0.3
Updated on: 2009-05-27 17:40:14 EST by scottix (View Zip Contents)
Added AFK Detection
Added Bombing Events to not be tracked
Added Turn Slapping On or Off
Added when to tell the user their CampPCT
Added say command to tell their current CampPCT
Modified Top10 Campers for greater customization
Moved tracking start to round_start