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

[TF2] Flag Exploit Fix


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Kevin_b_er
SourceMod Donor
Join Date: Feb 2009
Plugin ID:
998
Plugin Version:
0.9
Plugin Category:
Server Management
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Fixes exploits involving the intel
    Old 07-11-2009 , 19:53   [TF2] Flag Exploit Fix
    Reply With Quote #1

    Purpose
    Fix a few various exploits and bugs involving Team Fortress 2's intel.

    These include:
    1. Joining unassigned with intel (lets them keep carrying the intel)
      Patched July 14, 2009.
    2. Getting switched to spectator team by a plugin. (Same as #1, but induced by the admin)
    3. Disconnecting while holding intel. (Flag doesn't drop where they stood, instead goes to near center of map.)
    If the user commits #1, they will be kicked from the server and a message will be generated in the log:
    User Name<STEAMID> attempted flag exploit and was kicked.

    If #2 or #3 occurs, the flag will be fixed. In this case the intended action is that the flag will drop where the user last stood, as if they had manually dropped the intel or had been killed.

    This plugin set is set to only operate on maps beginning with CTF_. If there is such demand to make this more flexible, I can considering improving that aspect.


    Some of these may be fixed by blocking the unassigned team through other plugins, but doesn't stop #2 or #3 from being a problem. Additionally other plugins may cause #3 if they fail to correctly remove the player.

    Cvars
    • flagfix_ver - Current version
    • flagfix_enabled - Master enable/disable (1/0) for the plugin.
    Notes
    Made for Sourcemod 1.2, may function on older versions as well, but is not guarenteed or tested.
    Made for Team Fortress 2, but may function for other mods which use an carryable/capturable flag system.

    Version History
    • 0.9
      Initial published beta
    Attached Files
    File Type: sp Get Plugin or Get Source (flagfix.sp - 1743 views - 4.3 KB)

    Last edited by Kevin_b_er; 07-17-2009 at 01:06.
    Kevin_b_er is offline
     


    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 20:46.


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