Monthly Target: $400 Donations: $126
 31% 

Evil Admin: Mirror Damage v1.0.102


Post New Thread Reply   
 
Thread Tools Display Modes
Author
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Plugin ID:
606
Plugin Version:
1.0.102
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    123 
    Plugin Description:
    Bringing back some of the old AMX Evil Admin commands
    Old 10-21-2008 , 01:49   Evil Admin: Mirror Damage v1.0.102
    Reply With Quote #1

    Evil Admin
    A series of related plugins that admins can add or remove depending on what they need on their server. These commands are based on the old AMX commands. Most work on most mods, others are tailored for certain mods such as TF2.

    Evil Admin Collection:
    Evil Admin: Rocket
    Evil Admin: Low Health
    Evil Admin: Pimp Slap
    Evil Admin: Vision
    Evil Admin: Trails (TF2 only)
    Evil Admin: Mirror Damage
    Evil Admin: Fart



    Evil Admin: Mirror Damage
    Players are unable to do damage to others (unless backstab or headshot) but take the amount of damage given.
    Does NOT require L.Dukes extension.

    Installation
    • Copy sm_evilmirror.smx file to addons/sourcemod/plugins folder
    Commands
    sm_evilmirrordmg <name|#userid>
    Toggles mirror damage on a player.

    Configuration
    sm_evilmirrordmg_amount 0.8
    default 1.0
    The percentage of amount of health to remove from the attacker.

    Changelog
    v1.0.101
    Fixed menu issue where it didn't go back to a previous menu

    v1.0.102
    Fixed bug with client disconnects meaning new clients would have mirror damaged enabled on them


    Added Bacardi's version below
    Attached Files
    File Type: sp Get Plugin or Get Source (sm_evilmirror.sp - 672 views - 7.7 KB)
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - Left4DoD

    Last edited by strontiumdog; 02-03-2013 at 14:40.
    strontiumdog is offline
    strontiumdog
    Veteran Member
    Join Date: Jan 2007
    Location: BC, Canada
    Old 10-26-2008 , 14:46   Re: Evil Admin: Mirror Damage v1.0.101
    Reply With Quote #2

    Updated.
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - Left4DoD
    strontiumdog is offline
    Antithasys
    Moderator
    Join Date: Apr 2008
    Old 10-27-2008 , 16:45   Re: Evil Admin: Mirror Damage v1.0.101
    Reply With Quote #3

    It was my understanding that the "player_hurt" event never fired in TF2, at least I could never get it to respond.

    This is one of the main reasons for dukehacks on orangebox servers. I can see that there are a few people running this on thier servers. Can someone who is using this confirm that it works as intended on a TF2 box?

    I can check myself, but figured I would ask first.
    Antithasys is offline
    strontiumdog
    Veteran Member
    Join Date: Jan 2007
    Location: BC, Canada
    Old 10-27-2008 , 16:58   Re: Evil Admin: Mirror Damage v1.0.101
    Reply With Quote #4

    It does fire.
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - Left4DoD
    strontiumdog is offline
    strontiumdog
    Veteran Member
    Join Date: Jan 2007
    Location: BC, Canada
    Old 10-27-2008 , 17:01   Re: Evil Admin: Mirror Damage v1.0.101
    Reply With Quote #5

    On the night I was testing it, I turned it on one of our regs without him knowing (on TF2). He went as Sniper, and I was a Scout. He kept dying every time he shot me (unless it was a headshot, in which case both of us died). Of course, it refunded me the health, so he kept saying things like "WTF? I didn't even hit you?"
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - Left4DoD
    strontiumdog is offline
    Antithasys
    Moderator
    Join Date: Apr 2008
    Old 10-27-2008 , 17:17   Re: Evil Admin: Mirror Damage v1.0.101
    Reply With Quote #6

    Ok. So this is ment more for fun then griefing cheaters. Most cheaters I have caught use a aimbot and go for the head... making this mostly ineffective against them. Good job thou. It's nice clean code
    Antithasys is offline
    strontiumdog
    Veteran Member
    Join Date: Jan 2007
    Location: BC, Canada
    Old 10-27-2008 , 17:58   Re: Evil Admin: Mirror Damage v1.0.101
    Reply With Quote #7

    Well, unless you use an extension, you can't block headshots or backstabs. So you will get killed anyway. But if a sniper shoots you anywhere else, you get the health refunded.....


    ....and mirror damage gives him all your damage back...hehe!
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - Left4DoD
    strontiumdog is offline
    noodleboy347
    SourceMod Donor
    Join Date: Mar 2009
    Old 07-18-2009 , 03:35   Re: Evil Admin: Mirror Damage v1.0.101
    Reply With Quote #8

    This might be a bit old, but can you fix how if you enable it on like one person it enables it on random people when they join the server?
    noodleboy347 is offline
    strontiumdog
    Veteran Member
    Join Date: Jan 2007
    Location: BC, Canada
    Old 10-11-2009 , 23:43   Re: Evil Admin: Mirror Damage v1.0.102
    Reply With Quote #9

    Done.
    Sorry took so long.
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - Left4DoD
    strontiumdog is offline
    LordMarqus
    Senior Member
    Join Date: Sep 2009
    Location: Poland
    Old 02-24-2010 , 07:10   Re: Evil Admin: Mirror Damage v1.0.102
    Reply With Quote #10

    Some bugs:
    Code:
    L 02/24/2010 - 11:38:00: Info (map "gg_churches_x_final_fixed") (file "errors_20100224.log")
    L 02/24/2010 - 11:38:00: [SM] Native "GetClientHealth" reported: Client 3 is not in game
    L 02/24/2010 - 11:38:00: [SM] Displaying call stack trace for plugin "admin/sm_evilmirror.smx":
    L 02/24/2010 - 11:38:00: [SM]   [0]  Line 68, /home/groups/alliedmodders/forums/files/2/4/5/7/3/51496.attach::GetPlayerHealth()
    L 02/24/2010 - 11:54:48: Error log file session closed.
    I enclose fixed version if somebody is interested.
    Attached Files
    File Type: sp Get Plugin or Get Source (sm_evilmirror.sp - 864 views - 6.3 KB)
    __________________
    My public plugins: [CS:S/CS:GO] Last Man Standing

    Last edited by LordMarqus; 02-24-2010 at 07:17.
    LordMarqus 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 12:42.


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