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

[CSS] Round End Most Kills


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Plugin ID:
2199
Plugin Version:
0.7
Plugin Category:
Statistical
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    25 
    Plugin Description:
    Show end of each round player by most kills, headshots and knife kills
    Old 01-30-2011 , 09:40   [CSS] Round End Most Kills
    Reply With Quote #1

    [CSS] Round End Most Kills
    - Show end of each round player by most kills, headshots and knife kills

    [REQ]Round end stats


    How this work ?
    Algorithm
    - Player who made most kills, headshot kills, knife kills than anybody else, reach top.
    - When there is more than 1 player who made as much kills, headshot kills, knife kills.
    • Then him selected by higher damage made whole round (most kills)
    • Then him selected by higher headshot damage made whole round (most headshot kills)
    • Then him selected by higher knife damage made whole round (most knife kills)
    - When there is more than 1 player who made as much knife kills and knife damage
    • Then him selected by last knife kill between top players (knife kills)

    CVAR
    Quote:
    remk_version
    - Plugin current version

    remk_outputmode 0
    0 = Print to chat all
    1 = Print to chat all with damage
    2 = Print to 'KeyHintText' all
    3 = Print to 'KeyHintText' all with damage
    4 = Print to chat all with dmg and hits
    5 = Print to 'KeyHintText' all with dmg and hits
    Chat output:
    Mode = 0
    - When there was all top killer, hs killer and knife killer
    Most kills: Name (x)
    Most headshot kills: Name (x)
    Most knife kills: Name (x)

    - And when there wasn't head shot kills and knife kills
    Most kills: Name (x)

    - Kills and headshot kills
    Most kills: Name (x)
    Most headshot kills: Name (x)

    - Kill and knife kills
    Most kills: Name (x)
    Most knife kills: Name (x)


    Mode = 1
    - This include damages in chat
    Most kills: Dave (2) 186dmg
    Most headshot kills: Brandon (1) 60dmg
    Most knife kills: Connor (1) 157dmg


    Mode = 4

    - This include damages and hits in chat
    Most kills: Dave (2) 186dmg 12hits
    Most headshot kills: Brandon (1) 60dmg 1hits
    Most knife kills: Connor (1) 165dmg 1hits


    KeyHintText output

    KeyHintText output - mode 5 = Show kills with damage and hits
    Code:
    Version 0.3 30.1.2011
    - Released
    Version 0.4 31.1.2011
    - Fix, not show most head shot kills or knife kills without kill
    - Change algorithm better, I forget add that knife last kill to previous version
    - Correct comments in source code
    Version 0.5 31.1.2011
    - Added, reset stats when player disconnect to avoid misunderstandings top killers
    Version 0.6 2.2.2011
    - Added more outputs, with damage results
    Version 0.7 8.2.2011
    - Little fix, wrong knife damage output when there where only knife kills
    - Added more outputs, kills include damages and hits info
    - Sorry for bad english
    Credits to AlliedModders developers, request/idea rtk and Xaider plugin Most destructive
    Attached Thumbnails
    Click image for larger version

Name:	sample.jpg
Views:	11162
Size:	26.9 KB
ID:	81595  
    Attached Files
    File Type: sp Get Plugin or Get Source (roundendmostkills.sp - 5698 views - 13.9 KB)

    Last edited by Antithasys; 09-22-2011 at 18:44. Reason: added public cvar
    Bacardi is offline
    sinblaster
    Grim Reaper
    Join Date: Feb 2010
    Location: Australia
    Old 01-30-2011 , 17:04   Re: [CSS] Round End Most Kills
    Reply With Quote #2

    you have some great ideas bacardi ;) thanks Ill try this out
    __________________
    Happy Happy Joy Joy

    sinblaster is offline
    rtk
    Senior Member
    Join Date: Dec 2009
    Old 01-30-2011 , 17:07   Re: [CSS] Round End Most Kills
    Reply With Quote #3

    Requested by me.
    Thank you very much Bacardi ;)
    rtk is offline
    sinblaster
    Grim Reaper
    Join Date: Feb 2010
    Location: Australia
    Old 01-30-2011 , 17:41   Re: [CSS] Round End Most Kills
    Reply With Quote #4

    Works really well bacardi, guys will love it as they love pissing contests.
    __________________
    Happy Happy Joy Joy

    sinblaster is offline
    Bacardi
    Veteran Member
    Join Date: Jan 2010
    Location: mom's basement
    Old 01-31-2011 , 00:18   Re: [CSS] Round End Most Kills
    Reply With Quote #5

    Thanks, unfortunally I had made this in hurry and tired...
    - Found little bug: Select player most headshots even there was not kill, only head shot damage
    - I forget add that "last knife kill" part in algorithm
    - False comments in source code

    Now fixed, Version 0.4
    Bacardi is offline
    sinblaster
    Grim Reaper
    Join Date: Feb 2010
    Location: Australia
    Old 01-31-2011 , 00:55   Re: [CSS] Round End Most Kills
    Reply With Quote #6

    thanks for the update !!!
    __________________
    Happy Happy Joy Joy

    sinblaster is offline
    Bacardi
    Veteran Member
    Join Date: Jan 2010
    Location: mom's basement
    Old 01-31-2011 , 11:41   Re: [CSS] Round End Most Kills
    Reply With Quote #7

    G** Da*!
    Sorry for multiple updates in short time...
    Found that if player decide disconnect from server and new guy arrive after him in same round, that new guy take previous player place and also his stats.

    More specifically, player with 0 kills can be Most Kills (9)
    Silly me

    Updated Version 0.5
    -
    Reset stats from disconnected player

    Coding is pure mind fuck

    Last edited by Bacardi; 01-31-2011 at 11:44.
    Bacardi is offline
    sinblaster
    Grim Reaper
    Join Date: Feb 2010
    Location: Australia
    Old 01-31-2011 , 15:40   Re: [CSS] Round End Most Kills
    Reply With Quote #8

    hahaha it made me look leet but I'll take the update thanks
    __________________
    Happy Happy Joy Joy

    sinblaster is offline
    Sandfly
    Member
    Join Date: Dec 2009
    Location: Qld, Australia
    Old 01-31-2011 , 19:55   Re: [CSS] Round End Most Kills
    Reply With Quote #9

    I concur with what has already been said - great plugin Bacardi.

    It certainly will generate more competition in server to see who can get their name as Top Killer etc at rounds end.

    Well done
    __________________
    |IC| UltimateZombie: Reloaded - IP: 117.20.5.153:27015

    |IC| Ultra GunGame SM - IP: 117.20.5.153:27018
    Sandfly is offline
    blue zebra
    BANNED
    Join Date: Jun 2010
    Old 02-04-2011 , 03:58   Re: [CSS] Round End Most Kills
    Reply With Quote #10

    I was tested. Good idea. Good work. Thanks.
    But now this plugin interfere with the game win panel on the mid down of the screen.
    How can i disable the round end panel (CS:S) ?

    Last edited by blue zebra; 02-04-2011 at 04:02.
    blue zebra 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 03:56.


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