AlliedModders
XFactor Servers

Anticamp CS:S - 2.2


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

    Anticamp CS:S

    Description:
    It is an improved Version of Anticamp Source with some functions I miss. I added 2 new CVARs and and now you camp only if both teams have alive players (prevent wrong notifications). And now you can track campers to HLstats or on other log parser. The CT's now have a blue beacon and you wil really slaped till the dead 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_slap 1
      "Set to 0 to disable slap"
    • sm_anticamp_slap_dmg 5
      "Amount of health decrease during camping every 2 sec"
    • sm_anticamp_minhealth 15
      "Set to the minimum health a camper keep. Set to 0 to slap till dead"
    • sm_anticamp_minhealth_camp 1
      "Set to 0 to allow camping below minhealth. Set to 1 to slap without damge"
    • 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_weapons.cfg goes into /cstrike/addons/sourcemod/configs.
    The anticamp.phrases.txt goes into /cstrike/addons/sourcemod/translations.
    The anticamp.sp goes into /cstrike/addons/sourcemod/plugins.

    Credits:

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

    Changelog:

    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 (246 Bytes, 1595 views)
    File Type: cfg anticamp_weapons.cfg (449 Bytes, 1583 views)
    File Type: sp Get Plugin or Get Source (anticamp.sp - 2102 views - 18.3 KB)
    __________________
    Sorry for my bad English, I'am German.

    Last edited by stachi; 07-26-2010 at 13:32. Reason: Add Installation instructions
    stachi is offline
    Doc-Holiday
    Veteran Member
    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?
    __________________
    Current Projects
    • Battlefield Mod - 100% Open Source
      • Progress - [||||||||||]

    Last edited by Doc-Holiday; 08-11-2009 at 02:12.
    Doc-Holiday is offline
    stachi
    Junior 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.
    __________________
    Sorry for my bad English, I'am German.
    stachi is offline
    Doc-Holiday
    Veteran Member
    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.
    __________________
    Current Projects
    • Battlefield Mod - 100% Open Source
      • Progress - [||||||||||]
    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
    Junior 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.
    __________________
    Sorry for my bad English, I'am German.
    stachi is offline
    FunKillerClan
    New 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
    Junior 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.
    __________________
    Sorry for my bad English, I'am German.
    stachi is offline
    Reply


    Thread Tools
    Display Modes

    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 03:41.


    Powered by vBulletin® Version 3.8.1
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
    Theme made by Freecode Sponsored by Layered Technologies