Raised This Month: $18 Target: $400
 4% 

[TF2] Anti-Invis Wrench Exploit


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Batfoxkid
Senior Member
Join Date: Nov 2018
Location: ''Somewhere on the map''
Plugin ID:
6893
Plugin Version:
1.0
Plugin Category:
Technical/Development
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Anti-exploit plugin for Engineer and Heavy swapping
    Old 01-11-2020 , 22:56   [TF2] Anti-Invis Wrench Exploit
    Reply With Quote #1

    A plugin that prevented invisible Heavy exploit, no longer needed today!



    This simply denies respawning when changing classes from a Engineer to a Heavy.

    Alternative Versions:
    EF_NODRAW method
    FL_TRANSRAGDOLL method
    Attached Files
    File Type: sp Get Plugin or Get Source (anti-inviswrench.sp - 174 views - 841 Bytes)
    __________________

    Last edited by Batfoxkid; 01-18-2020 at 14:12. Reason: Officially Fixed!
    Batfoxkid is offline
    404UNF
    ( ͡ ͜ʖ ͡)
    Join Date: Dec 2011
    Location: 🍁
    Old 01-12-2020 , 03:47   Re: [TF2] Anti-Invis Wrench Exploit
    Reply With Quote #2

    Try setting the player's RenderColor alpha field back to 255 if they switch from Engineer to Heavy. Far as I can tell, there should be a non-restrictive way of solving this.
    __________________
    Plugin Developer for Creators.TF


    Last edited by 404UNF; 01-12-2020 at 03:48.
    404UNF is offline
    bakugo
    Junior Member
    Join Date: Nov 2012
    Old 01-12-2020 , 12:30   Re: [TF2] Anti-Invis Wrench Exploit
    Reply With Quote #3

    There's a much better way to fix this, you can actually detect when the exploit is active by periodically checking a netprop (m_fEffects & EF_NODRAW). I do not believe this netprop value is used on players for any other purpose, but I may be wrong, I haven't tested it much.

    I've attached an example plugin that simply slays the player if they try to do it.
    Attached Files
    File Type: sp Get Plugin or Get Source (invis_heavy_fix.sp - 138 views - 1.1 KB)

    Last edited by bakugo; 01-13-2020 at 16:33.
    bakugo is offline
    nosoop
    Veteran Member
    Join Date: Aug 2014
    Old 01-12-2020 , 19:30   Re: [TF2] Anti-Invis Wrench Exploit
    Reply With Quote #4

    Another method that was reported is to check for the FL_TRANSRAGDOLL flag via GetEntityFlags().

    ----

    I've written my own version (not implementing the above) that completely blocks the bug from occurring, instead of dealing with players that exploit it after the fact. Source and releases are available here; also attached a copy below.

    Requires detour-supported DHooks.
    Attached Files
    File Type: smx tf_heavy_invis_fix.smx (5.2 KB, 51 views)
    File Type: txt tf2.exploit_heavy_fix.txt (552 Bytes, 73 views)
    __________________
    I do TF2, TF2 servers, and TF2 plugins.
    I don't do DMs over Discord -- PM me on the forums regarding inquiries.
    AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)

    Last edited by nosoop; 01-13-2020 at 06:17.
    nosoop is offline
    Hoto Cocoa
    Member
    Join Date: Jun 2018
    Location: Somewhere
    Old 01-13-2020 , 09:15   Re: [TF2] Anti-Invis Wrench Exploit
    Reply With Quote #5

    Let's see how long will valve take to fix this
    Hoto Cocoa is offline
    404UNF
    ( ͡ ͜ʖ ͡)
    Join Date: Dec 2011
    Location: 🍁
    Old 01-13-2020 , 12:27   Re: [TF2] Anti-Invis Wrench Exploit
    Reply With Quote #6

    Quote:
    Originally Posted by Hoto Cocoa View Post
    Let's see how long will valve take to fix this
    Looking at the two fix plugins I made, specifically when I released them vs when Valve finally fixed the issue:

    Shortstop Shove Animation Enabler
    Plugin Released: January 20th, 2017
    Actually Patched: February 6th, 2017
    Time between plugin release and official fix: 18 days

    TF2 func_rotating fix
    Plugin Released: November 28th, 2018
    Actually Patched: December 20th, 2018
    Time between plugin release and official fix: 23 days (not counting the initial 11 years the entity was broken for)

    We'll count these various Invisible Heavy fix plugins as all being released on January 11th, 2020 (thread creation date). Once Valve finally fixes the issue, we can get an idea of how long it took for them to fix it compared to the other situations.
    __________________
    Plugin Developer for Creators.TF


    Last edited by 404UNF; 01-18-2020 at 15:46.
    404UNF is offline
    Batfoxkid
    Senior Member
    Join Date: Nov 2018
    Location: ''Somewhere on the map''
    Old 01-18-2020 , 14:11   Re: [TF2] Anti-Invis Wrench Exploit
    Reply With Quote #7

    Looks like as of today, these plugins are no longer needed!

    And only 7 days.
    __________________
    Batfoxkid is offline
    asherkin
    SourceMod Developer
    Join Date: Aug 2009
    Location: OnGameFrame()
    Old 01-18-2020 , 14:20   Re: [TF2] Anti-Invis Wrench Exploit
    Reply With Quote #8

    Quote:
    Originally Posted by Batfoxkid View Post
    And only 7 days.
    __________________
    asherkin is offline
    404UNF
    ( ͡ ͜ʖ ͡)
    Join Date: Dec 2011
    Location: 🍁
    Old 01-18-2020 , 15:45   Re: [TF2] Anti-Invis Wrench Exploit
    Reply With Quote #9

    Quote:
    Originally Posted by Batfoxkid View Post
    Looks like as of today, these plugins are no longer needed!

    And only 7 days.
    __________________
    Plugin Developer for Creators.TF

    404UNF 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 18:14.


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