View Single Post
Author Message
FoxMulder
Senior Member
Join Date: Jan 2009
Location: Orlando, FL
Old 01-01-2011 , 08:13   [TF2] Medic Amputator Glitch Fix
Reply With Quote #1

About:
Prevents Medic Amputator glitch that allows others to have permanent regenerating health.

CVar:
sm_medic_glitchfix_enable [0/1]

How:
*Checks to see if client was taunting with the Amputator when disconnecting.
*If they were then a FakeClientCommand of Explode is sent to that client so that the game itself can cleanup the effects.

Alerts:
When a possible exploit is attempted the following message is logged and printed to chat
Quote:
Possible exploit attempt by: UserName [SteamID]
Updates in 1.0.1:
  • Fixed description for plugin
  • Added check for active weapon being Amputator
  • Actions are now saved to the SourceMod logs
  • Cleaned up code a bit
Attached Files
File Type: sp Get Plugin or Get Source (medic_glitchfix.sp - 1426 views - 2.3 KB)
File Type: smx medic_glitchfix.smx (3.6 KB, 561 views)
__________________

Last edited by FoxMulder; 01-01-2011 at 19:44.
FoxMulder is offline