Raised This Month: $ Target: $400
 0% 

Mackerel+Bonk Exploit Fix


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
FoxMulder
Senior Member
Join Date: Jan 2009
Location: Orlando, FL
Plugin ID:
2003
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Unapprover:
    Reason for Unapproving:
    No longer needed
    Old 10-12-2010 , 02:02   Mackerel+Bonk Exploit Fix
    Reply With Quote #1

    No longer required. Vulnerability has been fixed:
    http://store.steampowered.com/news/4483/
    Quote:
    Updates to Team Fortress 2 have been released. The updates will be applied automatically when your Steam client is restarted. The major changes include:

    Team Fortress 2
    • Fixed server crash caused by a Scout using the Sandman on an enemy Scout who has used Bonk!
    • Made Ellis' Cap and the Frying Pan tradable
    • Added "Automatically respawn after loadout changes in respawn zones" option to the Options->Multiplayer->Advanced dialog
    • Fixed a problem with the Lugermorph model

    Requires:
    SDKHooks (https://forums.alliedmods.net/showthread.php?t=106748)

    What does this prevent?
    This prevents players from equipping both the Holy Mackerel and the Atomic Bonk. If this player were to get hit by a Sandman ball with both of the weapons equipped and while in the Bonk effect the server will instantly crash! (What are the chances of this happening? ehh crashes are never nice)

    How does the plugin handle this?

    The plugin just removes the weapon (Bonk or Mackerel) from the player which results in only 2 available slots. If they want to play with all 3 slots then they should switch their loadout.

    Video on how to replicate bug
    http://www.youtube.com/watch?v=_gvWeqbcVKo


    Credits:
    I used a good chunk of code from Wazz's Unlock Replacer (http://forums.alliedmods.net/showthread.php?t=93537)

    Screenshot

    Attached Files
    File Type: smx mackerel_fix.smx (3.2 KB, 321 views)
    File Type: sp Get Plugin or Get Source (mackerel_fix.sp - 459 views - 2.3 KB)
    __________________

    Last edited by FoxMulder; 10-13-2010 at 00:08.
    FoxMulder is offline
     



    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 21:56.


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