Monthly Target: $400 Donations: $140
 35% 

Evil Admin: Health v1.0.104


Post New Thread Reply   
 
Thread Tools Display Modes
Author
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Plugin ID:
615
Plugin Version:
v1.0.104
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    199 
    Plugin Description:
    Lowers a player's health to 1hp
    Old 10-25-2008 , 20:03   Evil Admin: Health v1.0.104
    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: Health
    Sets a player's health to 1hp.
    Works in all mods.

    Installation
    • Copy sm_evilhealth.smx file to addons/sourcemod/plugins folder
    Commands
    sm_evilhealth <name|#userid>
    Lowers a player's health to 1hp

    Configuration
    None

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

    v1.0.102
    I'm an idiot....

    v1.0.103
    + Added common phrases
    + Added a check to make sure only targeted players get hit.

    v1.0.104
    I'm an idiot....
    again
    Attached Files
    File Type: sp Get Plugin or Get Source (sm_evilhealth.sp - 3560 views - 6.0 KB)
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - Left4DoD

    Last edited by strontiumdog; 12-23-2008 at 15:26.
    strontiumdog is offline
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 10-26-2008 , 15:07   Re: Evil Admin: Health v1.0.101
    Reply With Quote #2

    Did you fix the null error with this one, the first version gave me a null error.
    __________________

    DontWannaName is offline
    strontiumdog
    Veteran Member
    Join Date: Jan 2007
    Location: BC, Canada
    Old 10-26-2008 , 19:24   Re: Evil Admin: Health v1.0.101
    Reply With Quote #3

    What null error?
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - Left4DoD
    strontiumdog is offline
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 10-26-2008 , 22:50   Re: Evil Admin: Health v1.0.101
    Reply With Quote #4

    L 10/26/2008 - 18:42:43: [SM] Plugin encountered error 15: Array index is out of bounds
    L 10/26/2008 - 18:42:43: [SM] Displaying call stack trace for plugin "sm_evilhealth.smx":
    L 10/26/2008 - 18:42:43: [SM] [0] Line 85, /home/groups/alliedmodders/forums/files/2/4/5/7/3/33025.attach:null)()
    L 10/26/2008 - 18:49:58: Error log file session closed.

    About a 100 of those spammed in my logs.
    __________________

    DontWannaName is offline
    strontiumdog
    Veteran Member
    Join Date: Jan 2007
    Location: BC, Canada
    Old 10-26-2008 , 23:21   Re: Evil Admin: Health v1.0.101
    Reply With Quote #5

    Dammit....
    Fixed...
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - Left4DoD
    strontiumdog is offline
    curlefry
    Senior Member
    Join Date: Jun 2008
    Location: Georgia, USA
    Old 12-22-2008 , 18:49   Re: Evil Admin: Health v1.0.102
    Reply With Quote #6

    Code:
    L 12/22/2008 - 07:02:54: [SM] Plugin encountered error 4: Invalid parameter or parameter type
    L 12/22/2008 - 07:02:54: [SM] Native "ReplyToCommand" reported: Language phrase "No matching client" not found
    L 12/22/2008 - 07:02:54: [SM] Debug mode is not enabled for "sm_evilhealth.smx"
    L 12/22/2008 - 07:02:54: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 15 on
    L 12/22/2008 - 07:03:34: [SM] Plugin encountered error 4: Invalid parameter or parameter type
    L 12/22/2008 - 07:03:34: [SM] Native "ReplyToCommand" reported: Language phrase "No matching client" not found
    L 12/22/2008 - 07:03:34: [SM] Debug mode is not enabled for "sm_evilhealth.smx"
    L 12/22/2008 - 07:03:34: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 15 on
    L 12/22/2008 - 07:04:17: [SM] Plugin encountered error 4: Invalid parameter or parameter type
    L 12/22/2008 - 07:04:17: [SM] Native "ReplyToCommand" reported: Language phrase "No matching clients" not found
    L 12/22/2008 - 07:04:17: [SM] Debug mode is not enabled for "sm_evilbeam.smx"
    L 12/22/2008 - 07:04:17: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 14 on
    L 12/22/2008 - 07:09:50: [SM] Plugin encountered error 4: Invalid parameter or parameter type
    L 12/22/2008 - 07:09:50: [SM] Native "ReplyToCommand" reported: Language phrase "No matching clients" not found
    L 12/22/2008 - 07:09:50: [SM] Debug mode is not enabled for "sm_evilvision.smx"
    L 12/22/2008 - 07:09:50: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 19 on
    Also, everyone was spawning with 1 health.

    I have these plugins installed: (sm_evilhealth was installed but I removed it)
    Code:
    17:48:34 [SM] Listing 23 plugins:
               01 "Admin File Reader" (1.0.4) by AlliedModders LLC
               02 "Admin Help" (1.0.4) by AlliedModders LLC
               03 "Admin Menu" (1.0.4) by AlliedModders LLC
               04 "Anti-Flood" (1.0.4) by AlliedModders LLC
               05 "Basic Ban Commands" (1.0.4) by AlliedModders LLC
               06 "Basic Chat" (1.0.4) by AlliedModders LLC
               07 "Basic Comm Control" (1.0.4) by AlliedModders LLC
               08 "Basic Commands" (1.0.4) by AlliedModders LLC
               09 "Basic Info Triggers" (1.0.4) by AlliedModders LLC
               10 "Basic Votes" (1.0.4) by AlliedModders LLC
               11 "Fun Commands" (1.0.4) by AlliedModders LLC
               12 "Fun Votes" (1.0.4) by AlliedModders LLC
               13 "Kigen's Anti-Cheat" (1.1.6) by Kigen
               14 "Nextmap" (1.0.4) by AlliedModders LLC
               15 "SlapSlay Commands" (1.0.4) by AlliedModders LLC
               16 "Reserved Slots" (1.0.4) by AlliedModders LLC
               17 "Simple Team Balancer" (1.4.5) by Antithasys
               18 "Evil Admin - Beam" (1.0.100) by <eVa>Dog
               19 "Evil Admin - Pimp Slap" (1.0.101) by <eVa>Dog
               20 "Evil Admin - Rocket" (1.0.106) by <eVa>Dog
               21 "Evil Admin - Trails" (1.0.104) by <eVa>Dog
               22 "Evil Admin - Vision" (1.0.104) by <eVa>Dog
               23 "SoDStats" (1.0.11) by ]SoD[ Frostbyte
    __________________
    curlefry is offline
    Send a message via MSN to curlefry
    strontiumdog
    Veteran Member
    Join Date: Jan 2007
    Location: BC, Canada
    Old 12-23-2008 , 02:58   Re: Evil Admin: Health v1.0.103
    Reply With Quote #7

    Try it again.
    The log spam will have stopped.

    As for everyone spawning with 1hp - I've added a check to make sure the variable gets set to zero each map.
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - Left4DoD
    strontiumdog is offline
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 12-23-2008 , 03:30   Re: Evil Admin: Health v1.0.103
    Reply With Quote #8

    Failed to compile
    __________________

    DontWannaName is offline
    strontiumdog
    Veteran Member
    Join Date: Jan 2007
    Location: BC, Canada
    Old 12-23-2008 , 15:24   Re: Evil Admin: Health v1.0.104
    Reply With Quote #9

    Durrrrr (epic facepalm)
    I really got to quit coding, uploading without checking and running....busy time of year


    Should work now!
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - Left4DoD
    strontiumdog 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:36.


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