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

[L4D][L4D2] Kills Manager (26 FEB 2020)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
axelnieves2012
Senior Member
Join Date: Oct 2014
Location: Argentina
Plugin ID:
6410
Plugin Version:
1.2.0
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This plugin sets the survivor killer to who caused most damage to dead infected. It also shows statistics after killing. BONUS: Appends infected class to nickname, on versus mode. Now you can know what class of infected was using the infected player who d
    Old 01-24-2019 , 08:28   [L4D][L4D2] Kills Manager (26 FEB 2020)
    Reply With Quote #1

    WELCOME

    INTRODUCTION:
    Tired of bots/teammates stealing your kills?
    Tired of other people gets your kills only by shooting the last hit?
    Reading this with tv-vendor voice?
    So, this plugin is for you.

    DESCRIPTION:
    This plugin sets the survivor killer to who caused most damage to dead infected.
    It also shows statistics after killing.

    See video here: https://www.youtube.com/watch?v=_XomDgddATM


    REQUERIMENTS:
    - Sourcemod >= 1.9
    - SDKTools.

    Change log:
    Version 1.2 [26 FEB 2020]
    - Added: Ignore flame damage to tank and witch.
    - Fixed: Tank health bug, counting z_tank_incapacitated_health value.
    - Fixed: memory leaks.
    - Updated to new syntax.
    - Removed: survivor and infected class append to name (this will be released as a different plugin).

    Previous versions:
    Spoiler


    Convars:
    PHP Code:
    // Kills count mode. 0:last-shoot based(game default), 1:damage based.
    // Default: "1"
    l4d_killsmgr_count_mode "1"

    // Enable/Disable this plugin.
    // Default: "1"
    l4d_killsmgr_enable "1"

    // Which L4D1's bosses will be affected by this plugin? (independent from this plugin) 2=SMOKER, 4=BOOMER, 8=HUNTER, 16=WITCH, 32=TANK, 62=ALL
    // Default: "62"
    l4d_killsmgr_include_bosses_l4d1 "62"

    // Prevents last shooter stealing your kill if last shoot caused most damage than infected's remaining health. Recomended to enable this..
    // Default: "1"
    l4d_killsmgr_prevent_overdamage "1"

    // Which L4D1's bosses will show statistics. 2=SMOKER, 4=BOOMER, 8=HUNTER, 16=WITCH, 32=TANK, 62=ALL
    // Default: "62"
    l4d_killsmgr_stats_bosses_l4d1 "62"

    // Shows damage statistics.
    // Default: "1"
    l4d_killsmgr_stats_enable "1"

    // Exclude damage done by bots? (bosses can still receive damage amd die) 0=Disabled(dont ignore), 1:Ignore on statistics, 2=Ignore on scoreboard, 3=ignored on both statistics and scoreboard
    // Default: "0"
    l4d_killsmgr_stats_ignore_bots_damage "0"

    // Maximum amount of attackers shown in each statistic message. 0=All players
    // Default: "0"
    l4d_killsmgr_stats_max "0"

    // Type of statistics notification, 1=CenterText, 2=HintBox, 3=Chat
    // Default: "3"
    // Minimum: "1.000000"
    // Maximum: "3.000000"
    l4d_killsmgr_stats_type "3" 
    Console commands:
    No commands implemented.

    Known bugs:
    - Rarely statistics are wrong about boomers, I will fix it on next version.

    To do list:
    - Show witch's statistics when she runaways confused.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_kills_manager.sp - 1769 views - 24.7 KB)

    Last edited by axelnieves2012; 02-27-2020 at 09:34.
    axelnieves2012 is offline
    Marttt
    Veteran Member
    Join Date: Jan 2019
    Location: Brazil
    Old 01-24-2019 , 09:51   Re: [L4D][L4D2] Kills Manager (01 2019)
    Reply With Quote #2

    Nice plugin, I'm just testing and getting some log erros, can you check?

    PHP Code:
    L 01/24/2019 12:46:35: [SMException reportedClient index 214 is invalid
    L 01
    /24/2019 12:46:44: [SMException reportedClient index 1057 is invalid
    L 01
    /24/2019 12:46:47: [SMException reportedClient index 879 is invalid
    L 01
    /24/2019 12:46:35: [SMBlamingcustom\l4d_kills_manager.smx
    L 01
    /24/2019 12:46:35: [SMCall stack trace:
    L 01/24/2019 12:46:35: [SM]   [0IsFakeClient
    L 01
    /24/2019 12:46:35: [SM]   [1Line 71, /home/forums/content/files/2/5/4/6/8/0/173480.attach::OnTakeDamage 

    Last edited by Marttt; 01-24-2019 at 17:35. Reason: Added all client index errors on same line
    Marttt is offline
    axelnieves2012
    Senior Member
    Join Date: Oct 2014
    Location: Argentina
    Old 01-24-2019 , 10:27   Re: [L4D][L4D2] Kills Manager (01 2019)
    Reply With Quote #3

    Quote:
    Originally Posted by Marttt View Post
    nice, I'm just testing and getting some log erros, can you look?

    PHP Code:
    L 01/24/2019 12:46:35: [SMException reportedClient index 214 is invalid
    L 01
    /24/2019 12:46:35: [SMBlamingcustom\l4d_kills_manager.smx
    L 01
    /24/2019 12:46:35: [SMCall stack trace:
    L 01/24/2019 12:46:35: [SM]   [0IsFakeClient
    L 01
    /24/2019 12:46:35: [SM]   [1Line 71, /home/forums/content/files/2/5/4/6/8/0/173480.attach::OnTakeDamage
    L 01
    /24/2019 12:46:44: [SMException reportedClient index 1057 is invalid
    L 01
    /24/2019 12:46:44: [SMBlamingcustom\l4d_kills_manager.smx
    L 01
    /24/2019 12:46:44: [SMCall stack trace:
    L 01/24/2019 12:46:44: [SM]   [0IsFakeClient
    L 01
    /24/2019 12:46:44: [SM]   [1Line 71, /home/forums/content/files/2/5/4/6/8/0/173480.attach::OnTakeDamage
    L 01
    /24/2019 12:46:47: [SMException reportedClient index 879 is invalid
    L 01
    /24/2019 12:46:47: [SMBlamingcustom\l4d_kills_manager.smx
    L 01
    /24/2019 12:46:47: [SMCall stack trace:
    L 01/24/2019 12:46:47: [SM]   [0IsFakeClient
    L 01
    /24/2019 12:46:47: [SM]   [1Line 71, /home/forums/content/files/2/5/4/6/8/0/173480.attach::OnTakeDamage 
    Hello, Thanks for reporting. I'm working on it. I couldn't detect it before because I have a plugin that floods my console of messages and it's hard to read.
    axelnieves2012 is offline
    axelnieves2012
    Senior Member
    Join Date: Oct 2014
    Location: Argentina
    Old 01-24-2019 , 11:06   Re: [L4D][L4D2] Kills Manager (01 2019)
    Reply With Quote #4

    Quote:
    Originally Posted by Marttt View Post
    nice, I'm just testing and getting some log erros, can you look?

    PHP Code:
    L 01/24/2019 12:46:35: [SMException reportedClient index 214 is invalid
    L 01
    /24/2019 12:46:35: [SMBlamingcustom\l4d_kills_manager.smx
    L 01
    /24/2019 12:46:35: [SMCall stack trace:
    L 01/24/2019 12:46:35: [SM]   [0IsFakeClient
    L 01
    /24/2019 12:46:35: [SM]   [1Line 71, /home/forums/content/files/2/5/4/6/8/0/173480.attach::OnTakeDamage
    L 01
    /24/2019 12:46:44: [SMException reportedClient index 1057 is invalid
    L 01
    /24/2019 12:46:44: [SMBlamingcustom\l4d_kills_manager.smx
    L 01
    /24/2019 12:46:44: [SMCall stack trace:
    L 01/24/2019 12:46:44: [SM]   [0IsFakeClient
    L 01
    /24/2019 12:46:44: [SM]   [1Line 71, /home/forums/content/files/2/5/4/6/8/0/173480.attach::OnTakeDamage
    L 01
    /24/2019 12:46:47: [SMException reportedClient index 879 is invalid
    L 01
    /24/2019 12:46:47: [SMBlamingcustom\l4d_kills_manager.smx
    L 01
    /24/2019 12:46:47: [SMCall stack trace:
    L 01/24/2019 12:46:47: [SM]   [0IsFakeClient
    L 01
    /24/2019 12:46:47: [SM]   [1Line 71, /home/forums/content/files/2/5/4/6/8/0/173480.attach::OnTakeDamage 
    Should be fixed now. Check new version with new cvar added.
    axelnieves2012 is offline
    Marttt
    Veteran Member
    Join Date: Jan 2019
    Location: Brazil
    Old 01-24-2019 , 16:30   Re: [L4D][L4D2] Kills Manager (01 2019)
    Reply With Quote #5

    Still getting some errors:

    Quote:
    L 01/24/2019 - 200:48: [SM] Exception reported: Client index -1 is invalid
    L 01/24/2019 - 200:48: [SM] Blaming: custom\l4d_kills_manager.smx
    L 01/24/2019 - 200:48: [SM] Call stack trace:
    L 01/24/2019 - 200:48: [SM] [0] GetClientUserId
    L 01/24/2019 - 200:48: [SM] [1] Line 175, /home/forums/content/files/2/5/4/6/8/0/173485.attach::OnTakeDamage

    Last edited by Marttt; 01-24-2019 at 17:34. Reason: Found error
    Marttt is offline
    axelnieves2012
    Senior Member
    Join Date: Oct 2014
    Location: Argentina
    Old 01-27-2019 , 01:56   Re: [L4D][L4D2] Kills Manager (01 2019)
    Reply With Quote #6

    code has been improved and many bugs fixed. An stable version will be released soon. I need to continue testing.
    axelnieves2012 is offline
    RyanAnderson
    New Member
    Join Date: Jun 2016
    Location: Russia
    Old 01-27-2019 , 06:43   Re: [L4D][L4D2] Kills Manager (01 2019)
    Reply With Quote #7

    Установив версию 0.2.0 мои особо зараженные, у которых присутствует vip статус на сервере, становятся бессмертными. У них остается 1 hp и их никто не может убить.
    RyanAnderson is offline
    Send a message via ICQ to RyanAnderson Send a message via Skype™ to RyanAnderson
    Marttt
    Veteran Member
    Join Date: Jan 2019
    Location: Brazil
    Old 01-27-2019 , 07:59   Re: [L4D][L4D2] Kills Manager (01 2019)
    Reply With Quote #8

    Can you re-upload the attachment? Looks like it's missing.
    Marttt is offline
    axelnieves2012
    Senior Member
    Join Date: Oct 2014
    Location: Argentina
    Old 01-27-2019 , 08:00   Re: [L4D][L4D2] Kills Manager (01 2019)
    Reply With Quote #9

    Quote:
    Originally Posted by RyanAnderson View Post
    Установив версию 0.2.0 мои особо зараженные, у которых присутствует vip статус на сервере, становятся бессмертными. У них остается 1 hp и их никто не может убить.
    Privet brat.
    Thanks for reporting. I could experience that sometimes. I think that was due to a runtime error and bad hooking method.
    I think it should be solved now on this update.
    axelnieves2012 is offline
    axelnieves2012
    Senior Member
    Join Date: Oct 2014
    Location: Argentina
    Old 01-27-2019 , 08:02   Re: [L4D][L4D2] Kills Manager (01 2019)
    Reply With Quote #10

    NEW UPDATE RELEASED.
    VERSION 0.3.0 BETA.

    Get Plugin or Get Source (l4d_kills_manager.sp - Version 0.3.0 - 18.1 KB)

    Last edited by axelnieves2012; 01-27-2019 at 08:04.
    axelnieves2012 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 17:56.


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