Raised This Month: $115 Target: $400
 28% 

SM CS:S KillStats - 1.1.1


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Deception5
Member
Join Date: Aug 2007
Location: Austin, TX
Plugin ID:
133
Plugin Version:
1.1.1
Plugin Category:
Statistical
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Shows players statistics after each round and on death
    Old 08-12-2007 , 14:18   SM CS:S KillStats - 1.1.1
    Reply With Quote #1

    SM CS:S KillStats Mod
    Current Version: 1.1.1
    Invalid memory issues should be fixed in the (recompiled) uploaded version now - thanks to bail for fixing!

    Description:
    Shows the player how they did during the round, including kills/deaths/damage dealt/damage received/hits/body parts hit/weapons/distance/health remaining of attacker. Can be shown in chat or menu format. Players can choose how they wish to see it and server admins have great control over how they wish to display menus/chat messages.

    * Screen is shown upon player death or round end, whichever comes first or by invoking !killstats or !damage (or /killstats and /damage).
    * Players can set preferences with !killstatsoptions or /killstatsoptions (which pops up automatically the first time)
    * Can be configured through translations / cvars to great extent
    * Can be shown in chat or menus
    * Stores player preferences
    * Distance shown in feet/meters

    Translations:
    English
    German - Thanks to -<[PAGC]>- Isias!
    Russian - Thanks to FroL!
    French - Thanks to HO!NO!

    Current Changes (see ChangeLog.txt for full revision history):
    1.1.1: Fixed a bug where health remaining would not be shown for disconnected players
    1.1: Major Update (around ~1000 lines of code added)
    Added weapons
    Added body parts
    Added support for multiple panels (512 byte max per page) - this was a huge change/bugfix and previously the information would be trimmed
    Split translations into multiple files
    Updated Translations
    Removed translation of version description - seems to be causing issues with plugin count
    Added sm_killstats_combine_damage
    Added sm_killstats_show_death_mark
    Added sm_killstats_show_body_hits
    Added sm_killstats_show_weapon_used
    Added sm_killstats_show_empty_menus
    Added sm_killstats_max_panel_width
    Added sm_killstats_restart_numbering

    Planned Features:
    * Showing previous round
    * Deathmatch
    * Update KillStats Config.txt to account for current changes
    * Rework !killstatsoptions panel (probably make a single screen menu)
    * Continuing to work towards making sure this does not interfere with other mods
    * Round end "most damage" type stats
    * Would like store kpd and dd/dr for the session in addition to just the round - depends upon interest and time
    * Collecting stats

    ~ New CVar's ~
    sm_killstats_show_body_hits - whether to show body hits. 0=None, 1=All (1 headshot, 1 chest, 2 left leg, etc), 2=Headshots only (2 headshots)
    sm_killstats_show_weapon_used - whether to show the weapon used in the kill
    sm_killstats_show_distance - whether to show the distance the kill was made from
    sm_killstats_combine_damage - whether to combine everything into 2 sections in the menus instead of 4. Rather than having Kills/Killed By/Damage Done/Damage Taken, enabling this will only show Damage Done/Damage Taken, show the kills above damage and denote the kills with *.
    sm_killstats_show_death_mark - whether you want to see * next to kills in the menus. Automatically enabled if combine_damage is enabled.
    sm_killstats_show_empty_menus - Whether to empty menu items. If disabled, it will hide items like "Killed By" with "None" if the player does not die.
    sm_killstats_max_panel_width - how wide the killstats panel will be when shown. Valid between 30 and 128. Defaults to 100.
    sm_killstats_restart_numbering - whether to restart the number on each page when there is more than 1 page. If enabled, every page will start with "1". If disabled, something like Damage Done would be "3" by default (assuming display order is not changed).

    CVar's:
    sm_killstats_version: The version number
    sm_killstats_enable: Enables the plugin
    sm_killstats_enabled_by_default: Whether users connecting will have killstats enabled (1) or disabled (0) by default
    sm_killstats_unit_of_measure: 1=feet, 2=meters
    sm_killstats_new_player_options: Any player who hasn't been saved to the database will get the killstatsoptions menu when they connect
    sm_killstats_show_startup_help: Whether to display the "Type !killstats" and "Type !killstatsoptions" messages

    sm_killstats_death_time: How long to display the stats by default after someone dies
    sm_killstats_round_end_time: How long to display the stats by default after the round ends (some player like this shorter)
    sm_killstats_view_time: How long to display the stats when someone uses !killstats or !killstatsoptions to view

    sm_killstats_show_on_teamkill: Whether killstats should be shown when you were killed by a teammate (disabling will hopefully help with ATAC).

    sm_killstats_default_show_in_chat: Whether killstats should be displayed in chat by default
    sm_killstats_default_show_in_menu: Whether killstats should be displayed in a menu by default

    sm_killstats_chat_display_order: Order in chat to display Kills/Deaths/Damage Done/Damage Received (1234 would be this order, 4321 would be reverse, etc). Be careful with this. Putting something like 2200 for example would show killed by twice and nothing else. Only 1-4 are currently valid values. 1=Kills, 2=Killed By, 3=Damage Done, 4=Damage Taken.
    sm_killstats_menu_display_order: Same as chat display order, but for menu.

    sm_killstats_menu_show_killed: Show/hide this field for all players using menus.
    sm_killstats_menu_show_killed_by: Show/hide this field for all players using menus.
    sm_killstats_menu_show_damage_done: Show/hide this field for all players using menus.
    sm_killstats_menu_show_damage_taken: Show/hide this field for all players using menus.

    sm_killstats_chat_show_killed: Show/hide this field for all players using chat.
    sm_killstats_chat_show_killed_by: Show/hide this field for all players using chat.
    sm_killstats_chat_show_damage_done: Show/hide this field for all players using chat.
    sm_killstats_chat_show_damage_taken: Show/hide this field for all players using chat.


    Commands:
    !killstats - Shows the current statistics for this round
    !damage - Same as !killstats
    !killstatsoptions - Enable/Disable/View

    Installation:
    1. You will need to install sourcemod if you have not already done so.
    2. Transfer the "addons" directory from the Killstats.zip file to your cstrike directory
    Screenshots (V1.1):
    Automatically paginates into multiple panels if the system can't display everything

    [IMG]http://img508.**************/img508/1792/multi3dr2.jpg[/IMG]

    Combined Menus (combines kills and damge into damage done and killed by and damage taken into damage taken - sm_killstats_combine_damage=1)

    [IMG]http://img508.**************/img508/8916/menucombinedp1dw0.jpg[/IMG][IMG]http://img508.**************/img508/4708/menucombinedp2jd8.jpg[/IMG]

    Simple Menus (sm_killstats_show_distance=0, sm_killstats_show_body_hits=0, sm_killstats_show_weapon_used=0)

    [IMG]http://img212.**************/img212/6573/menusimplewl9.jpg[/IMG]

    Adjustable width panels (this is sm_killstats_max_panel_width=128 )

    [IMG]http://img68.**************/img68/4202/superwideqr3.jpg[/IMG]

    Display in chat

    [IMG]http://img297.**************/img297/1614/chatcomplexqe0.jpg[/IMG]

    Simplified in chat (sm_killstats_show_distance=0, sm_killstats_show_body_hits=0, sm_killstats_show_weapon_used=0)

    [IMG]http://img166.**************/img166/853/chatsimplezp9.jpg[/IMG]
    Player preference - display always, on death, at round end, or never?

    [IMG]http://img442.**************/img442/6638/killstatsoptionsvf8.jpg[/IMG]
    Player preference - menu or chat?

    [IMG]http://img501.**************/img501/7209/killstatsmoreoptionswm9.jpg[/IMG]
    Attached Files
    File Type: txt KillStats Config.txt (7.3 KB, 6153 views)
    File Type: txt ChangeLog.txt (2.8 KB, 2465 views)
    File Type: zip KillStats1.1.1Translations.zip (7.6 KB, 4841 views)
    File Type: zip KillStats1.1.1.zip (78.2 KB, 10471 views)
    File Type: sp Get Plugin or Get Source (killstats.sp - 6670 views - 77.4 KB)

    Last edited by Deception5; 10-23-2007 at 23:19. Reason: Notes about 1.1.1
    Deception5 is offline
    dalto
    Veteran Member
    Join Date: Jul 2007
    Old 08-12-2007 , 14:29   Re: SM CS:S KillStats Mod - Shows players statistics after each round
    Reply With Quote #2

    We have been running this on our server for a while now. It is well liked by our small player community.
    dalto is offline
    Extreme_One
    Veteran Member
    Join Date: Nov 2006
    Old 08-12-2007 , 14:34   Re: SM CS:S KillStats Mod - Shows players statistics after each round
    Reply With Quote #3

    Nice.

    Installing now and removing the "victim stats" system from my Mani config.

    Thanks.
    __________________
    Extreme_One is offline
    Isias
    Senior Member
    Join Date: Apr 2006
    Old 08-12-2007 , 15:25   Re: SM CS:S KillStats Mod - Shows players statistics after each round
    Reply With Quote #4

    Could you add a possibility to translate the output?
    Isias is offline
    XG1|AleX
    Member
    Join Date: Jun 2007
    Old 08-12-2007 , 15:44   Re: SM CS:S KillStats Mod - Shows players statistics after each round
    Reply With Quote #5

    yeah, a translation part would be very nice
    __________________
    XG1|AleX is offline
    Deception5
    Member
    Join Date: Aug 2007
    Location: Austin, TX
    Old 08-12-2007 , 16:31   Re: SM CS:S KillStats Mod - Shows players statistics after each round
    Reply With Quote #6

    Quote:
    Originally Posted by -<[PAGC]>- Isias View Post
    Could you add a possibility to translate the output?
    Yeah I'll definitely work on this, although I'll need help with the actual translations :-)

    Thanks,
    Deception5
    Deception5 is offline
    Extreme_One
    Veteran Member
    Join Date: Nov 2006
    Old 08-12-2007 , 16:54   Re: SM CS:S KillStats Mod - Shows players statistics after each round
    Reply With Quote #7

    Looking forward to persistent settings.

    My clients (that don't want kill stats) are moaning they need to disable it on every map.
    __________________
    Extreme_One is offline
    Tekniqal
    Senior Member
    Join Date: Aug 2006
    Old 08-12-2007 , 18:01   Re: SM CS:S KillStats Mod - Shows players statistics after each round
    Reply With Quote #8

    This is great, look forward to more features.
    __________________
    Tekniqal is offline
    Deception5
    Member
    Join Date: Aug 2007
    Location: Austin, TX
    Old 08-12-2007 , 18:35   Re: SM CS:S KillStats Mod - Shows players statistics after each round
    Reply With Quote #9

    Quote:
    Originally Posted by Extreme_One View Post
    Looking forward to persistent settings.

    My clients (that don't want kill stats) are moaning they need to disable it on every map.

    That's definitely a feature I'll be working on soon, the admin of the server I frequent has asked for the same thing. I'll work on persistence after translations which I think I'm pretty close to finished on.
    Deception5 is offline
    Tekniqal
    Senior Member
    Join Date: Aug 2006
    Old 08-12-2007 , 21:33   Re: SM CS:S KillStats Mod - Shows players statistics after each round
    Reply With Quote #10

    I know your working but heres a couple suggestions.
    1. Make it play nice with MapChooser somehow? Or maybe MapChooser could delay its vote if its at the end or start of a round?
    2. Make a setting to choose what goes in the display. Of items 1-5 id liek to get rid of 1 and 2 (the killed and killer lists)

    EDIT: come to think about it another idea, I think what people dont like about these end round stats is that the menu selections screw with weapon selecting. Would make the the 1-5 shift to 5-9 fix this? So that when people press #1 their pistol comes out? even when the kill stats is up.
    __________________

    Last edited by Tekniqal; 08-12-2007 at 21:40.
    Tekniqal 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 17:44.


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