AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CSS] Round End Most Kills (https://forums.alliedmods.net/showthread.php?t=148893)

Bacardi 01-30-2011 09:40

[CSS] Round End Most Kills
 
2 Attachment(s)
[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
https://forums.alliedmods.net/attach...1&d=1296638119
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

sinblaster 01-30-2011 17:04

Re: [CSS] Round End Most Kills
 
you have some great ideas bacardi ;) thanks Ill try this out

rtk 01-30-2011 17:07

Re: [CSS] Round End Most Kills
 
Requested by me.
Thank you very much Bacardi ;)

sinblaster 01-30-2011 17:41

Re: [CSS] Round End Most Kills
 
Works really well bacardi, guys will love it as they love pissing contests.

Bacardi 01-31-2011 00:18

Re: [CSS] Round End Most Kills
 
Thanks, unfortunally I had made this in hurry and tired... :stupid:
- 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

sinblaster 01-31-2011 00:55

Re: [CSS] Round End Most Kills
 
thanks for the update !!!

Bacardi 01-31-2011 11:41

Re: [CSS] Round End Most Kills
 
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) :P
Silly me

Updated Version 0.5
-
Reset stats from disconnected player

Coding is pure mind fuck

sinblaster 01-31-2011 15:40

Re: [CSS] Round End Most Kills
 
hahaha it made me look leet but I'll take the update thanks :P

Sandfly 01-31-2011 19:55

Re: [CSS] Round End Most Kills
 
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 :D

blue zebra 02-04-2011 03:58

Re: [CSS] Round End Most Kills
 
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) ?


All times are GMT -4. The time now is 09:10.

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