Raised This Month: $7 Target: $400
 1% 

Damage report/stats (1.1.13)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Gemeni
Senior Member
Join Date: Sep 2007
Location: Sweden
Plugin ID:
233
Plugin Version:
1.1.13
Plugin Category:
Statistical
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    75 
    Plugin Description:
    Shows a left side menu when you die or at the end of the round, saying who you did and took damage from and how much, including hitbox/hitgroup information
    Old 12-20-2007 , 16:03   Damage report/stats (1.1.13)
    Reply With Quote #1

    Description:
    Shows a left side menu when you die or at the end of the round, saying who you did and took damage from and how much, including how many hits and who killed you. You will also see where you hit a person and where they hit you

    Background:
    Well, we had this before we went to SourceMod and I thought it would be nice to have again.

    Planned changes:
    Maybe translations ...

    Change log:
    1.0.0 - First Version
    1.0.1 - Added number of hits done/taken
    1.0.2 - Added hitbox info
    1.0.3 - Added coloring, Info about who you killed
    1.1.0 - Added option so you can turn damage report on and off, and also decide if it should be printed in menu or chat.
    Use /damage_report help to get info
    Big thanks to death_beam team since I used their code to learn about KeyValues!
    1.1.1 - Stripped chat output. Resetting damage data on round start
    1.1.2 - Added total dmg taken/given and X indicator for kill/killed
    1.1.3 - Removed errors in log from translation stuff that was not completed
    1.1.5 - Added support to show again the last report that was shown to a player (/last_damage_report or /ldr)
    1.1.6 - Fixed saving of settings on map end
    1.1.7 - Fixed problem with corrupted settingsfile.
    1.1.8 - Added most kills info
    1.1.9 - Fixed memory leak
    1.1.10 - Checking if player still ingame before trying to display.
    1.1.11 - Sometimes it seems that the settings for the users isnt written to file. Forcing this more often now.
    1.1.12 - Making sure damage data is not shown to surviving players if they have switched it off.
    1.1.13 - Added extra option, /damage_report long|short - If hitboxdata should be shown or not


    Screenshots:





    Please Rate this plugin ... And if you dont like it, post a note what could be changed/added
    Attached Files
    File Type: sp Get Plugin or Get Source (gem_damage_report.sp - 20070 views - 24.0 KB)
    __________________
    --- Growing older is mandatory --
    ----- Growing up is optional -----

    Last edited by Gemeni; 09-23-2010 at 09:00. Reason: New Version
    Gemeni is offline
    ferret
    SourceMod Developer
    Join Date: Dec 2004
    Location: Atlanta, GA
    Old 12-20-2007 , 17:11   Re: Damage report
    Reply With Quote #2

    Nice work, especially the effort to take into consideration other panels and menus.
    __________________
    I'm a blast from the past!
    ferret is offline
    Gemeni
    Senior Member
    Join Date: Sep 2007
    Location: Sweden
    Old 12-20-2007 , 17:31   Re: Damage report
    Reply With Quote #3

    Amazingly quick approval ...
    And me who was hoping for some extra exposure all alone in the New Plugin thread ;)

    Oh well :p
    __________________
    --- Growing older is mandatory --
    ----- Growing up is optional -----
    Gemeni is offline
    Gemeni
    Senior Member
    Join Date: Sep 2007
    Location: Sweden
    Old 12-20-2007 , 18:02   Re: Damage report
    Reply With Quote #4

    I was so happy with the approval so I added number of hits as well ...
    Would do the hitboxes as well... but I need to get some sleep ;)
    __________________
    --- Growing older is mandatory --
    ----- Growing up is optional -----
    Gemeni is offline
    Noobtastic
    Member
    Join Date: Nov 2007
    Old 12-20-2007 , 18:15   Re: Damage report
    Reply With Quote #5

    Sounds good, maybe post a screenshot of the menu in action. I used KillStats so far, but I'm going to try this one on the server that I still need to do. I'll give some feedback.

    Edit:

    I like it so far. It's simple and effective. Although KillStats has more options, this plugin is way less complicated to setup to your likings (at least, it is right now). I don't know what your plans for more features are, but here's a 'wishlist' from me:

    Screenshot of your plugin right now:


    Screenshot of how I'd like your plugin to end up :


    Or in text;

    - Damage Done = Victims (preferably in a different color like the yellow/orange of the second screenshot)
    - Damage Taken = Attackers(preferably in a different color like the yellow/orange of the second screenshot)
    - Showing which one(s) you killed and which one(s) you just wounded (With the X's for instance).
    - Switching the positions of the name and the [damage - hits]
    - Hitboxes optional ^^

    And some small features;

    - Switching the autopopup on death on or off (dr_popup_on_death 1/0? )
    - Triggering it by saying 'stats' and/or 'damage' in the chat.

    Yeah I know, quite a wishlist, and I hope you don't mind me commenting on it like this. And of course, you don't have to pay any attention to it. But I just feel that his has alot of potential because it's simple but effective. And should the things I mentioned be added (while remaining easier to setup than KillStats), I'll use it for sure . Until that time, I think I'll stick with KillStats since I already have it configured and ready for use with most of the things I need.

    Last edited by Noobtastic; 12-20-2007 at 22:21.
    Noobtastic is offline
    Gemeni
    Senior Member
    Join Date: Sep 2007
    Location: Sweden
    Old 12-21-2007 , 01:43   Re: Damage report
    Reply With Quote #6

    Thanks for the comments ... as long as you are constructive you can say what you want and I will listen ;)

    The only thing I disagree with you on is the positions of the name and damage ... But maybe I'll add on option for that as well ;)

    Regarding the stats/damage to trigger the popup ... I guess you mean to show data for the last run ... If you can display what happens in the current run while alive it would be a little like cheating ... right?
    __________________
    --- Growing older is mandatory --
    ----- Growing up is optional -----
    Gemeni is offline
    Noobtastic
    Member
    Join Date: Nov 2007
    Old 12-21-2007 , 07:12   Re: Damage report
    Reply With Quote #7

    Quote:
    Originally Posted by Gemeni View Post
    If you can display what happens in the current run while alive it would be a little like cheating ... right?
    Never really thought about it like that . But yeah, maybe it is a little. Maybe it should be made optional through a cvar as well. I think most damage report plugins do have it (at least the ones I used), so people might want to stick with it. I know <-> that much about scripting, so if I'm saying stupid things, tell me .
    Noobtastic is offline
    Gemeni
    Senior Member
    Join Date: Sep 2007
    Location: Sweden
    Old 12-21-2007 , 07:38   Re: Damage report
    Reply With Quote #8

    Well ... just sounds very strange to me that you are allowed to check how much hp the person you are shooting at has left ... while reloading or taking cover ...

    If you can see he only has 2 hp left u will probably go after him ... If you dont know and have to guess u might back away ...

    I categorize that as cheating ;) I probably wont allow it at all. Call me hard headed if you want to :p
    __________________
    --- Growing older is mandatory --
    ----- Growing up is optional -----
    Gemeni is offline
    Noobtastic
    Member
    Join Date: Nov 2007
    Old 12-21-2007 , 08:22   Re: Damage report
    Reply With Quote #9

    Quote:
    Originally Posted by Gemeni View Post
    I probably wont allow it at all. Call me hard headed if you want to :p
    It's your plugin .
    Noobtastic is offline
    Gemeni
    Senior Member
    Join Date: Sep 2007
    Location: Sweden
    Old 12-21-2007 , 19:07   Re: Damage report
    Reply With Quote #10

    Updated again ...
    __________________
    --- Growing older is mandatory --
    ----- Growing up is optional -----
    Gemeni 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 06:44.


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