Raised This Month: $51 Target: $400
 12% 

[TF2] Clear Quick-Fix MegaHeal on Spawn


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Plugin ID:
3741
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This is a quick fix for the Quick-Fix uber not being cleared when players respawn.
    Unapprover:
    Reason for Unapproving:
    Author requested
    Old 07-11-2013 , 09:31   [TF2] Clear Quick-Fix MegaHeal on Spawn
    Reply With Quote #1

    Use this plugin instead
    because apparently this plugin doesn't work

    I haven't tested this because I'm at work, but in theory this should clear the quick fix's MegaHeal effect when a player respawns.

    This is to fix an exploit added to the game in yesterday's update.
    Attached Files
    File Type: sp Get Plugin or Get Source (quickfix_clear_uber_on_spawn.sp - 430 views - 699 Bytes)
    __________________
    Not currently working on SourceMod plugin development.

    Last edited by Powerlord; 07-11-2013 at 11:03.
    Powerlord is offline
    lyric
    Veteran Member
    Join Date: Sep 2012
    Old 07-11-2013 , 09:36   Re: [TF2] Clear Quick-Fix MegaHeal on Spawn
    Reply With Quote #2

    fore everyone 1 bug 'fixed' a new bug is introduced it seems. good work
    __________________
    lyric is offline
    Powerlord
    AlliedModders Donor
    Join Date: Jun 2008
    Location: Seduce Me!
    Old 07-11-2013 , 09:41   Re: [TF2] Clear Quick-Fix MegaHeal on Spawn
    Reply With Quote #3

    It just occurred to me that it might be a good idea if I check if a player is in the MegaHeal condition before I clear it, so I updated it to do that.

    I don't think TF2_RemoveCondition errors if they're not in the condition, but just in case...
    __________________
    Not currently working on SourceMod plugin development.
    Powerlord is offline
    friagram
    Veteran Member
    Join Date: Sep 2012
    Location: Silicon Valley
    Old 07-11-2013 , 09:49   Re: [TF2] Clear Quick-Fix MegaHeal on Spawn
    Reply With Quote #4

    It doesn't care...
    __________________
    Profile - Plugins
    Add me on steam if you are seeking sp/map/model commissions.
    friagram is offline
    MrBen
    SourceMod Donor
    Join Date: Sep 2011
    Old 07-11-2013 , 10:14   Re: [TF2] Clear Quick-Fix MegaHeal on Spawn
    Reply With Quote #5

    Quote:
    Originally Posted by friagram View Post
    It doesn't care...
    It might not, but I do - thank you very much Powerlord.

    I'm at work as well so I can't test in game (shows I trust you from your other great works :-) but I've put it on all our servers and have everything crossed.

    Thanks again!
    MrBen is offline
    Powerlord
    AlliedModders Donor
    Join Date: Jun 2008
    Location: Seduce Me!
    Old 07-11-2013 , 10:18   Re: [TF2] Clear Quick-Fix MegaHeal on Spawn
    Reply With Quote #6

    I will note that I don't know if Valve changed the MegaHeal condition number now that supports overhealing players to 125% of their health. I doubt it, but with Valve you never know.

    If Valve did change the condition number, this plugin will have no effect.
    __________________
    Not currently working on SourceMod plugin development.
    Powerlord is offline
    Geit
    Senior Member
    Join Date: Oct 2009
    Location: Home
    Old 07-11-2013 , 10:44   Re: [TF2] Clear Quick-Fix MegaHeal on Spawn
    Reply With Quote #7

    This plugin has no effect as the player does *not* have TFCond_MegaHeal when respawning, they do however have TFCond_Healing.

    Removing TFCond_Healing at spawn fixes the issue, however the player can then use a resupply cabinet to regain the flag or get healed by another medic and so on.

    I've posted a different plugin over at: https://forums.alliedmods.net/showthread.php?t=220506 which simply sets a Quickfix Medic's uber to 0% in the bonus round, preventing them from causing the glitch in the first place.
    Geit is offline
    Powerlord
    AlliedModders Donor
    Join Date: Jun 2008
    Location: Seduce Me!
    Old 07-11-2013 , 10:59   Re: [TF2] Clear Quick-Fix MegaHeal on Spawn
    Reply With Quote #8

    Quote:
    Originally Posted by Geit View Post
    This plugin has no effect as the player does *not* have TFCond_MegaHeal when respawning, they do however have TFCond_Healing.

    Removing TFCond_Healing at spawn fixes the issue, however the player can then use a resupply cabinet to regain the flag or get healed by another medic and so on.

    I've posted a different plugin over at: https://forums.alliedmods.net/showthread.php?t=220506 which simply sets a Quickfix Medic's uber to 0% in the bonus round, preventing them from causing the glitch in the first place.
    That's one of the downsides of doing this at work... I had no way of testing or even experimenting to see what's going on with conditions.

    Although it does seem odd that they have TFCond_Healing and that it comes back if they touch a cabinet.
    __________________
    Not currently working on SourceMod plugin development.
    Powerlord is offline
    Mr. Man
    Veteran Member
    Join Date: Mar 2011
    Location: Huh?
    Old 07-11-2013 , 11:32   Re: [TF2] Clear Quick-Fix MegaHeal on Spawn
    Reply With Quote #9

    Valve? Fixing bugs in TF2? Must be a dream!
    Mr. Man 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 14:26.


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