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

[TF2]Anti-HealingArrow Exploit


Post New Thread Reply   
 
Thread Tools Display Modes
Author
lugui
Senior Member
Join Date: Feb 2016
Location: GetClientAbsOrigin();
Plugin ID:
5723
Plugin Version:
1.0.1
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Ban or kick players who use this cheat based healing arrow exploit
    Old 07-20-2017 , 15:59   [TF2]Anti-HealingArrow Exploit
    Reply With Quote #1

    There is a exploit where cheaters can heal enemies. This plugin ban or kicks them.

    Cvar:
    sm_aha_bantime "0" //Amount of time to ban. Default: 0. -1: kick.

    https://www.youtube.com/watch?v=F43V6y0n5xE

    This was meant to be for TF2 but should work in any mode

    Changelog:
    Spoiler
    Attached Files
    File Type: sp Get Plugin or Get Source (AntiArrowHeal.sp - 522 views - 1.3 KB)
    File Type: smx AntiArrowHeal.smx (4.8 KB, 196 views)
    File Type: sp Get Plugin or Get Source (SB_AntiArrowHeal.sp - 228 views - 1.6 KB)
    File Type: smx SB_AntiArrowHeal.smx (5.0 KB, 215 views)

    Last edited by lugui; 08-06-2017 at 20:06.
    lugui is offline
    cigzag
    AlliedModders Donor
    Join Date: Nov 2014
    Location: NZ
    Old 07-20-2017 , 18:42   Re: [TF2]Anti-HealingArrow Exploit
    Reply With Quote #2

    What does the sourcebans version do?
    cigzag is offline
    lugui
    Senior Member
    Join Date: Feb 2016
    Location: GetClientAbsOrigin();
    Old 07-20-2017 , 19:39   Re: [TF2]Anti-HealingArrow Exploit
    Reply With Quote #3

    Quote:
    Originally Posted by SnowTigerVidz View Post
    What does the sourcebans version do?
    The default version uses the default ban function from sourcemod and do not add the ban to your sourcebans database.
    lugui is offline
    cigzag
    AlliedModders Donor
    Join Date: Nov 2014
    Location: NZ
    Old 07-20-2017 , 19:46   Re: [TF2]Anti-HealingArrow Exploit
    Reply With Quote #4

    Why not create a convar to switch between sourcebans version of banning and normal?
    cigzag is offline
    lugui
    Senior Member
    Join Date: Feb 2016
    Location: GetClientAbsOrigin();
    Old 07-20-2017 , 20:09   Re: [TF2]Anti-HealingArrow Exploit
    Reply With Quote #5

    Quote:
    Originally Posted by SnowTigerVidz View Post
    Why not create a convar to switch between sourcebans version of banning and normal?
    I will do that in future, in fact, I plan to make it detect if there is or not a sourcebans instalation
    lugui is offline
    cigzag
    AlliedModders Donor
    Join Date: Nov 2014
    Location: NZ
    Old 07-20-2017 , 20:28   Re: [TF2]Anti-HealingArrow Exploit
    Reply With Quote #6

    Quote:
    Originally Posted by lugui View Post
    I will do that in future, in fact, I plan to make it detect if there is or not a sourcebans instalation
    PHP Code:
    bool SourceBansExist false;

    public 
    void OnAllPluginsLoaded()
    {
        
    SourceBansExist LibraryExists("sourcebans");
    }

    public 
    void OnLibraryAdded(const char[] name)
    {
        if (
    StrEqual(name"sourcebans"))
        {
            
    SourceBansExist true;
        }
    }

    public 
    void OnLibraryRemoved(const char[] name)
    {
        if (
    StrEqual(name"sourcebans"))
        {
            
    SourceBansExist false;
        }
    }

    public 
    Action BlahBlah(blahblaH)
    if(
    SourceBansExist)
    {
         
    blahblahblah
    }
    else
    {
         
    blahblahblah

    Something like this should work?

    Last edited by cigzag; 07-20-2017 at 20:29.
    cigzag is offline
    lugui
    Senior Member
    Join Date: Feb 2016
    Location: GetClientAbsOrigin();
    Old 07-20-2017 , 22:03   Re: [TF2]Anti-HealingArrow Exploit
    Reply With Quote #7

    To make it work for sourcebans I need to include sourcebans.inc. If I do that, the plugin wont load unless sourcebans is installed.
    lugui is offline
    cigzag
    AlliedModders Donor
    Join Date: Nov 2014
    Location: NZ
    Old 07-21-2017 , 01:39   Re: [TF2]Anti-HealingArrow Exploit
    Reply With Quote #8

    Quote:
    Originally Posted by lugui View Post
    To make it work for sourcebans I need to include sourcebans.inc. If I do that, the plugin wont load unless sourcebans is installed.
    Yeah ofcourse just an example
    cigzag is offline
    headline
    SourceMod Moderator
    Join Date: Mar 2015
    Old 07-21-2017 , 06:27   Re: [TF2]Anti-HealingArrow Exploit
    Reply With Quote #9

    Quote:
    Originally Posted by lugui View Post
    To make it work for sourcebans I need to include sourcebans.inc. If I do that, the plugin wont load unless sourcebans is installed.
    That's untrue.

    MarkNativeAsOptional

    https://wiki.alliedmods.net/Optional...Mod_Scripting)

    Last edited by headline; 07-21-2017 at 06:31.
    headline is offline
    cigzag
    AlliedModders Donor
    Join Date: Nov 2014
    Location: NZ
    Old 07-21-2017 , 06:40   Re: [TF2]Anti-HealingArrow Exploit
    Reply With Quote #10

    Quote:
    Originally Posted by Headline View Post
    odamn
    cigzag 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 20:21.


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