Raised This Month: $267 Target: $400
 66% 

[L4D & L4D2] ReverseBurn and ThrowableAnnouncer [v1.2.1 (08-Jun-2021)]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Plugin ID:
7549
Plugin Version:
1.2.1
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    10 
    Plugin Description:
    Smart reverse of burn damage from molotovs.
    Old 03-08-2021 , 18:07   [L4D & L4D2] ReverseBurn and ThrowableAnnouncer [v1.2.1 (08-Jun-2021)]
    Reply With Quote #1

    .
    ReverseBurn and ThrowableAnnouncer (l4d_ReverseBurn_and_ThrowableAnnouncer) by Mystik Spiral

    Smart reverse of burn damage from throwables (molotovs) if the victim is burned instantly and continuously.
    It was created to help mitigate the damage by griefers attempting to kill/incap their teammates by burning them.

    Reverses the following throwable burn types: molotov
    Announces the following throwable types: molotov, pipe bomb, bile jar


    Features:
    • Burn damage is reversed only if victim(s) are burned instantly (within 0.75 second of ignition) and continuously (takes burn damage more than once per second).
    • If player runs into fire more than 0.75 seconds after ignition, burn damage is treated normally.
    • When burn damage is reversed, during each burn cycle (approximately 6x per second):
      • Attacker takes 70% damage for each instantly/continuously burned victim
      • Standing burn victims lose 1PermHP which is converted to 2TempHP as incentive to move out of the fire quickly.
      • Before ignition, any players already incapped or with only 1TotalHP do not take any burn damage.
    • Bots do not take burn damage but do move out of the fire as quickly as possible.
    • Griefers cannot kill or incap a victim by burning them (victims still take some damage as stated above).
    • In all other scenarios, burn damage behaves normally.
    • Option to reverse burn/blast damage if attacker is an admin. [RBaTA_admin, default: 0/false]
    • Option to reverse blast/explosion damage. [RBaTA_blast, default: 1/true]
      • If both RBaEA and RBaTA plugins are loaded, RBaEA takes precedence to avoid both plugins reversing blast/explosion damage.
    • Option to ban attacker (griefer) that disconnects during reverse burn. [RBaTA_banburndisconnect, default: 1/true]
    • Option to set ban duration in minutes. [RBaTA_banduration, default: 2880 (2 days)]


    Common Scenarios:
    • Griefer attempts to kill the whole team by burning them.
      Usual end result: Griefer takes 210% damage (70% per victim x 3 victims) plus possible additional self-damage and everyone else takes relatively minor damage.
    • Player starts fire (which does not burn anyone within 0.75 seconds) and griefer runs into it.
      Usual end result: Griefer takes normal damage and player that started the fire takes no damage.

    Suggestion:

    To minimize griefer impact, use the ReverseBurn and ThrowableAnnouncer plugin along with...

    ReverseBurn and ExplosionAnnouncer (l4d_ReverseBurn_and_ExplosionAnnouncer)
    • Smart reverse of burn damage from explodables, like gascans.
    • Option to reverse blast damage, like propane tanks.
    Reverse Friendly-Fire (l4d_reverse_ff)
    • Reverse friendly-fire weapon damage. Attacker takes damage, victim does not.
    When these three plugins are combined, griefers will usually get frustrated and leave since they cannot damage anyone other than themselves.
    Although griefers will take significant damage, other players may not notice any difference in game play (except laughing at stupid griefer fails).


    Credits:

    This plugin began life as Throwable Announcer by Marttt. The original plugin kept track of throwable entities, when they were thrown, and announced who did it. I hooked on to that announcement to track whether that throwable (molotov) instantly burned any other players, and if so, to ensure the attacker took the vast majority of the damage. If no other players are instantly burned, then burn damage is treated normally.

    Want to contribute code enhancements?
    Create a pull request using this GitHub repository:
    https://github.com/Mystik-Spiral/l4d...wableAnnouncer

    Plugin discussion: https://forums.alliedmods.net/showthread.php?t=331164


    Most recent update:
    Code:
    08-Jun-2021 v1.2.1
    - Reduce burn damage to victims by 75%.

    Update history for older versions:
    Spoiler


    The phrases file was updated in version 1.2, is REQUIRED and must be copied to the "addons\sourcemod\translations" directory.
    .
    Attached Files
    File Type: txt l4d_ReverseBurn_and_ThrowableAnnouncer.phrases.txt (3.2 KB, 54 views)
    File Type: sp Get Plugin or Get Source (l4d_ReverseBurn_and_ThrowableAnnouncer.sp - 61 views - 44.7 KB)
    __________________

    Last edited by Mystik Spiral; 06-10-2021 at 21:56.
    Mystik Spiral is offline
    Mystik Spiral
    Senior Member
    Join Date: Oct 2020
    Location: Orlando, FL
    Old 03-08-2021 , 19:04   Re: [L4D & L4D2] ReverseBurn and ThrowableAnnouncer [v1.0 (08-Mar-2021)]
    Reply With Quote #2

    If you want to see how this plugin works, connect to the server linked in my signature. Feel free to burn bots all you want (they will not take damage anyway), but please do not burn human players.
    __________________

    Last edited by Mystik Spiral; 03-08-2021 at 22:34.
    Mystik Spiral is offline
    Krufftys Killers
    Senior Member
    Join Date: Jan 2014
    Old 03-10-2021 , 08:36   Re: [L4D & L4D2] ReverseBurn and ThrowableAnnouncer [v1.0 (08-Mar-2021)]
    Reply With Quote #3

    Got this error
    L 03/09/2021 - 20:087: SourceMod error session started
    L 03/09/2021 - 20:087: Info (map "beldurra2_4") (file "C:\servers\kruffty\left4dead2\addons\sourcem od\logs\errors_20210309.log")
    L 03/09/2021 - 20:087: [SM] Exception reported: Translation string formatted incorrectly - missing at least 1 parameters (arg 5)
    L 03/09/2021 - 20:087: [SM] Blaming: l4d_ReverseBurn_and_ThrowableAnnouncer.smx
    L 03/09/2021 - 20:087: [SM] Call stack trace:
    L 03/09/2021 - 20:087: [SM] [0] VFormat
    L 03/09/2021 - 20:087: [SM] [1] Line 861, /home/forums/content/files/3/0/4/6/6/5/187938.attach::CPrintToChat
    L 03/09/2021 - 20:087: [SM] [2] Line 1043, /home/forums/content/files/3/0/4/6/6/5/187938.attach::FinishBurnTimer
    L 03/09/2021 - 20:10:22: Error log file session closed.
    Krufftys Killers is offline
    Mystik Spiral
    Senior Member
    Join Date: Oct 2020
    Location: Orlando, FL
    Old 03-10-2021 , 10:47   Re: [L4D & L4D2] ReverseBurn and ThrowableAnnouncer [v1.0 (08-Mar-2021)]
    Reply With Quote #4

    Quote:
    Originally Posted by Krufftys Killers View Post
    Got this error
    L 03/09/2021 - 20:087: SourceMod error session started
    L 03/09/2021 - 20:087: Info (map "beldurra2_4") (file "C:\servers\kruffty\left4dead2\addons\sourcem od\logs\errors_20210309.log")
    L 03/09/2021 - 20:087: [SM] Exception reported: Translation string formatted incorrectly - missing at least 1 parameters (arg 5)
    L 03/09/2021 - 20:087: [SM] Blaming: l4d_ReverseBurn_and_ThrowableAnnouncer.smx
    L 03/09/2021 - 20:087: [SM] Call stack trace:
    L 03/09/2021 - 20:087: [SM] [0] VFormat
    L 03/09/2021 - 20:087: [SM] [1] Line 861, /home/forums/content/files/3/0/4/6/6/5/187938.attach::CPrintToChat
    L 03/09/2021 - 20:087: [SM] [2] Line 1043, /home/forums/content/files/3/0/4/6/6/5/187938.attach::FinishBurnTimer
    L 03/09/2021 - 20:10:22: Error log file session closed.
    Found and fixed the problem. Requires new smx and phrases file.
    __________________
    Mystik Spiral is offline
    Mystik Spiral
    Senior Member
    Join Date: Oct 2020
    Location: Orlando, FL
    Old 03-10-2021 , 10:48   Re: [L4D & L4D2] ReverseBurn and ThrowableAnnouncer [v1.0 (08-Mar-2021)]
    Reply With Quote #5

    New version 1.0.1 released, see original post for download.

    10-Mar-2021 v1.0.1
    - Fixed bug with one of the translation messages, requires new smx and phrases download.

    Thank you to Krufftys Killers for reporting.
    __________________
    Mystik Spiral is offline
    Mystik Spiral
    Senior Member
    Join Date: Oct 2020
    Location: Orlando, FL
    Old 03-16-2021 , 23:47   Re: [L4D & L4D2] ReverseBurn and ThrowableAnnouncer [v1.1 (16-Mar-2021)]
    Reply With Quote #6

    New version 1.1 released, see original post for download.

    16-Mar-2021 v1.1
    - When burn damage is reversed, victims now take half the damage of previous version.
    __________________
    Mystik Spiral is offline
    Krufftys Killers
    Senior Member
    Join Date: Jan 2014
    Old 03-24-2021 , 21:28   Re: [L4D & L4D2] ReverseBurn and ThrowableAnnouncer [v1.1 (16-Mar-2021)]
    Reply With Quote #7

    Started getting this error
    L 03/24/2021 - 20:09:29: SourceMod error session started
    L 03/24/2021 - 20:09:29: Info (map "rmstitanic_m2") (file "C:\servers\madhouse\left4dead2\addons\source mod\logs\errors_20210324.log")
    L 03/24/2021 - 20:09:29: [SM] Exception reported: Translation string formatted incorrectly - missing at least 1 parameters (arg 5)
    L 03/24/2021 - 20:09:29: [SM] Blaming: l4d_ReverseBurn_and_ThrowableAnnouncer.smx
    L 03/24/2021 - 20:09:29: [SM] Call stack trace:
    L 03/24/2021 - 20:09:29: [SM] [0] VFormat
    L 03/24/2021 - 20:09:29: [SM] [1] Line 861, /home/forums/content/files/3/0/4/6/6/5/187938.attach::CPrintToChat
    L 03/24/2021 - 20:09:29: [SM] [2] Line 1043, /home/forums/content/files/3/0/4/6/6/5/187938.attach::FinishBurnTimer
    L 03/24/2021 - 20:14:15: Error log file session closed.
    Krufftys Killers is offline
    Mystik Spiral
    Senior Member
    Join Date: Oct 2020
    Location: Orlando, FL
    Old 03-25-2021 , 09:32   Re: [L4D & L4D2] ReverseBurn and ThrowableAnnouncer [v1.1 (16-Mar-2021)]
    Reply With Quote #8

    Quote:
    Originally Posted by Krufftys Killers View Post
    Started getting this error
    L 03/24/2021 - 20:09:29: SourceMod error session started
    L 03/24/2021 - 20:09:29: Info (map "rmstitanic_m2") (file "C:\servers\madhouse\left4dead2\addons\source mod\logs\errors_20210324.log")
    L 03/24/2021 - 20:09:29: [SM] Exception reported: Translation string formatted incorrectly - missing at least 1 parameters (arg 5)
    L 03/24/2021 - 20:09:29: [SM] Blaming: l4d_ReverseBurn_and_ThrowableAnnouncer.smx
    L 03/24/2021 - 20:09:29: [SM] Call stack trace:
    L 03/24/2021 - 20:09:29: [SM] [0] VFormat
    L 03/24/2021 - 20:09:29: [SM] [1] Line 861, /home/forums/content/files/3/0/4/6/6/5/187938.attach::CPrintToChat
    L 03/24/2021 - 20:09:29: [SM] [2] Line 1043, /home/forums/content/files/3/0/4/6/6/5/187938.attach::FinishBurnTimer
    L 03/24/2021 - 20:14:15: Error log file session closed.
    Please verify you are using version 1.1 of the plugin. From the server console, type in...

    sm plugins list

    ...and verify it returns...

    "[L4D & L4D2] ReverseBurn and ThrowableAnnouncer" (1.1)
    __________________
    Mystik Spiral is offline
    Krufftys Killers
    Senior Member
    Join Date: Jan 2014
    Old 03-25-2021 , 11:19   Re: [L4D & L4D2] ReverseBurn and ThrowableAnnouncer [v1.1 (16-Mar-2021)]
    Reply With Quote #9

    Mystik Spiral Sorry I forgot to replace it on both servers
    Krufftys Killers is offline
    Shao
    Senior Member
    Join Date: Jan 2015
    Old 04-06-2021 , 23:33   Re: [L4D & L4D2] ReverseBurn and ThrowableAnnouncer [v1.1 (16-Mar-2021)]
    Reply With Quote #10

    So people have been complaining about friendly fire with bots, I've tested it and have found that it does indeed happen. Any hints to what could be wrong? The cfg or other things don't lead to much.
    Shao 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 23:41.


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