Raised This Month: $32 Target: $400
 8% 

Anticamp CS:S - 2.5.2 with CS:GO support


Post New Thread Reply   
 
Thread Tools Display Modes
Author
stachi
Member
Join Date: Sep 2008
Plugin ID:
1082
Plugin Version:
2.5.2
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
    75 
    Plugin Description:
    Detects camping players. Based on Anticamp Source by blade81
    Old 08-10-2009 , 23:41   Anticamp CS:S - 2.5.2 with CS:GO support
    Reply With Quote #1

    Anticamp CS:S with CS:GO support

    Description:
    It is an improved Version of Anticamp Source with some functions I've missed. I've added some CVARs and now it only fires if both teams have alive players (prevent wrong notifications). Also you can track campers in HLstats or on an other log parser. The CT's now have a blue beacon and you will really be slaped till death if you wish and not only freez with 0HP.

    Logging event is "camper".

    Cvars
    • sm_anticamp_enable 1
      "Set to 0 to disable anticamp"
    • sm_anticamp_beacon 1
      "Set to 0 to disable beacons"
    • sm_anticamp_take_cash 0
      "Amount of money decrease while camping every 2 sec. Set 0 to disable"
    • sm_anticamp_mincash 0
      "Minimum money a camper reserves"
    • sm_anticamp_blind 0
      "Blind player while camping"
    • sm_anticamp_slap_mode 1
      "Set 1 to slap or 2 to slay (kills instantly). Set 0 to disable both"
    • sm_anticamp_slap_dmg 5
      "Amount of health decrease while camping every 2 sec. Ignored for slay"
    • sm_anticamp_minhealth 15
      "Minimum health a camper reserves. Set 0 to slap till dead. If slay set the health from which player will not be killed"
    • sm_anticamp_punish_delay 2
      Delay between camper notification and first punishment in secounds
    • sm_anticamp_punish_freq 2
      Time between punishments while camping in secounds
    • sm_anticamp_minhealth_camp 1
      "Set 0 to allow camping below minhealth. Set 1 to punish without damage"
    • sm_anticamp_radius 120
      "The radius to check for camping"
    • sm_anticamp_camptime 30
      "The amount of times a suspected camper is checked for"
    • sm_anticamp_t_camp 1
      "Set to 1 to allow camping for t on cs maps. 0 = Disable"
    • sm_anticamp_t_camp_planted 1
      "Set to 1 to allow camping for Ts if bomb planted. Set to 0 to disable"
    • sm_anticamp_ct_camp 1
      "Set to 1 to allow camping for ct on de maps. 0 = Disable"
    • sm_anticamp_ct_camp_dropped 1
      "Set to 1 to allow camping for ct if bomb dropped. Is only needed if sm_anticamp_ct_camp is 0"
    Installation instructions:
    The anticamp_css_weapons.cfg and anticamp_csgo_weapons.cfg goes into /cstrike/addons/sourcemod/configs.
    The anticamp.phrases.txt goes into /cstrike/addons/sourcemod/translations.
    The anticamp.smx goes into /cstrike/addons/sourcemod/plugins.

    Credits:

    This plugin is originally by blade81 (can be found here).

    Changelog:

    2.5.2
    -another timer fix, that should be all

    2.5.1
    -fixed this
    -and fixed this

    2.5.0
    -full support for CS:GO (and CS:S)
    -replaced anticamp_weapons.cfg with seperate css and csgo version
    -2 new cvars sm_anticamp_punish_delay and sm_anticamp_punish_freq (default they are both 2, which is the old behavior)
    -some code and performance improvements
    -new versions require latest Sourcemod 1.5.0 on CS:S ans CS:GO
    -please backup your settings and delete old plugin.anticamp.cfg, the plugin will generate a new one


    2.4.1
    -fixed teamcolor in chat (thx Bacardi)
    -add FCVAR_DONTRECORD for CVAR anticamp_css_version

    2.4
    -some code improvements
    -add CVARs
    -changed CVARs
    -add slay mode
    -add blind and money reduction punishment
    -new translation (thx kajla)

    2.3
    -some code improvements

    2.2
    -some code improvements
    -don't detect campers after round end

    2.1
    -improved logging
    -add CVARs
    -changed CVARs
    -fix bug with sm_anticamp_ct_camp and sm_anticamp_ct_camp_dropped
    -fixed not compiling on SourceMod 1.0

    2.0
    -logging camper
    -blue baecon for CT's
    -only detect camper if both teams have alive player
    -added new CVARs
    -fixed compiler warnings
    -now you will be really slaped (till the dead if sm_anticamp_health 0)
    Attached Files
    File Type: txt anticamp.phrases.txt (331 Bytes, 10373 views)
    File Type: cfg anticamp_css_weapons.cfg (449 Bytes, 5488 views)
    File Type: cfg anticamp_csgo_weapons.cfg (574 Bytes, 6578 views)
    File Type: smx anticamp.smx (16.4 KB, 7500 views)
    File Type: sp Get Plugin or Get Source (anticamp.sp - 5615 views - 24.3 KB)
    __________________
    My Plugins ~ Donate via PayPal

    Sorry for my bad English, I'am German.

    Last edited by stachi; 01-27-2013 at 11:08. Reason: Update
    stachi is offline
    Doc-Holiday
    AlliedModders Donor
    Join Date: Jul 2007
    Old 08-11-2009 , 02:08   Re: Anticamp CS:S - 2.0
    Reply With Quote #2

    LMFAO i should learn to read...

    What about if bomb is planted T's camp?

    Last edited by Doc-Holiday; 08-11-2009 at 02:12.
    Doc-Holiday is offline
    stachi
    Member
    Join Date: Sep 2008
    Old 08-11-2009 , 11:14   Re: Anticamp CS:S - 2.0
    Reply With Quote #3

    Ts can camp if bomb is planted. Maybe I add a CVAR to disable it.
    __________________
    My Plugins ~ Donate via PayPal

    Sorry for my bad English, I'am German.
    stachi is offline
    Doc-Holiday
    AlliedModders Donor
    Join Date: Jul 2007
    Old 08-12-2009 , 01:37   Re: Anticamp CS:S - 2.0
    Reply With Quote #4

    Quote:
    Originally Posted by stachi View Post
    Ts can camp if bomb is planted. Maybe I add a CVAR to disable it.

    ok.
    Doc-Holiday is offline
    Timiditas
    Senior Member
    Join Date: Apr 2009
    Old 08-20-2009 , 01:08   Re: Anticamp CS:S - 2.1
    Reply With Quote #5

    Can you make it support Gungame:SM, so the camping check is disabled after someone wins Gungame? We have a slight delay in the mapchange, for players to be able to check their ranks, chat etc. Any everytime they get a camping message with a similar Anticamp plugin.
    If GG is over, there still might be alive players on both teams, but they are frozen. I think there is a forward or a public event that you can hook into.
    __________________

    Timiditas is offline
    erazor
    Member
    Join Date: Mar 2009
    Old 09-14-2009 , 19:08   Re: Anticamp CS:S - 2.1
    Reply With Quote #6

    Great plugin, can you add a CVAR to allow CT's to camp longer then t's on de maps and vice versa on cs maps?

    Thanks

    Last edited by erazor; 09-14-2009 at 23:18.
    erazor is offline
    ulx
    SourceMod Donor
    Join Date: Sep 2006
    Old 09-15-2009 , 02:11   Re: Anticamp CS:S - 2.1
    Reply With Quote #7

    Especially the log function sounds very interesting for me - which event exactly does it fire that can be tracked?
    __________________
    ulx is offline
    stachi
    Member
    Join Date: Sep 2008
    Old 09-15-2009 , 07:34   Re: Anticamp CS:S - 2.1
    Reply With Quote #8

    Logging event is "camper" as Player Action.

    Quote:
    Great plugin, can you add a CVAR to allow CT's to camp longer then t's on de maps and vice versa on cs maps?
    Thats possible but I don't have much time in the moment.
    __________________
    My Plugins ~ Donate via PayPal

    Sorry for my bad English, I'am German.
    stachi is offline
    FunKillerClan
    Junior Member
    Join Date: Nov 2009
    Location: Germany
    Old 11-15-2009 , 12:11   Re: Anticamp CS:S - 2.1
    Reply With Quote #9

    Könntest Du es auch einstellen das es nach 7sec anschlägt für beide Seiten. Sprich für T wie auch CT es soll für unseren DeathMatch Server sein. Auch mit der Bombe alles ausstellen.

    PS: Vielleicht könntest Du mir per PM Deine ICQ Nr zukommen lassen, wäre vielleicht einfach es Dir zu erklären ;)

    MFG
    FunKillerClan is offline
    stachi
    Member
    Join Date: Sep 2008
    Old 11-15-2009 , 13:09   Re: Anticamp CS:S - 2.1
    Reply With Quote #10

    Quote:
    Originally Posted by FunKillerClan View Post
    Könntest Du es auch einstellen das es nach 7sec anschlägt für beide Seiten. Sprich für T wie auch CT es soll für unseren DeathMatch Server sein. Auch mit der Bombe alles ausstellen.

    PS: Vielleicht könntest Du mir per PM Deine ICQ Nr zukommen lassen, wäre vielleicht einfach es Dir zu erklären ;)

    MFG
    sm_anticamp_camptime "7"

    sm_anticamp_ct_camp "0"

    sm_anticamp_ct_camp_dropped "0"

    sm_anticamp_t_camp "0"

    sm_anticamp_t_camp_planted "0"

    Mit diesen Einstellungen sollte es klappen. Den Rest nach belieben einstellen. Läuft auf meinen DeathMatch Server Problemlos.
    __________________
    My Plugins ~ Donate via PayPal

    Sorry for my bad English, I'am German.
    stachi is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 13:37.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode