Jump to content

Kill Streak Plugin v1.3.1 - 8 May 2010


ImportBot

Recommended Posts

Originally Posted by LAB-HeliMagnet*:

 

Latest version: 8 May 2010

 

As suggested by:

 

Automatic Kill Streak announcements - If a player goes on a kill streak there is some announcement or message about it.

 

Automatic End Kill Streak announcement - If a player ends someones kill streak it would announce/message that as well.

This is version 1.1 (updated).

Shows kill streaks defined by the admins running ProCon.

Define end kill streak kill count for display. Message will be displayed when player kills player with kill streak. (HeliMagnet ended Phogue's kill streak!)

Option to display messages in chat (admin.say) or spam (admin.yell).

 

Please read the README.txt for convention on how to enter the custom kill count and message associated with it. Stick to this convention, or bad things might happen.

 

Updated to 1.2

Thanks to danstis for identifying and helping with some bug fixes.

 

- Fixed the bug where kill streaks continued after round / map switches.

- Fixed the bug where players that were on the server before the plugin is enabled are not tracked for kill streaks.

 

Updated to 1.2.1

Added the ability to customize the end kill streak message (as suggested by Athanasios2104).

Use %pk% for the killer (who ended the kill streak), %pv% for the victim (the one who had a kill streak going), and %nk% if you want the kill streak value (number).

An example: %pk% has ended %pv%'s %nk% kill streak! Which could mean: HeliMagnet has ended Phogue's 8 kill streak!

 

Updated to 1.2.2 (FIXED - hopefully :roll: )

Thanks to danstis (again :ohmy: ) for identifying the bug.

- Fixed the bug where team kills and suicides count toward kill streaks. This will affect the kill streak counts and messages displayed.

 

Updated to 1.3

Thanks to danstis and Sage-BRIG- for bug reports and helping with the code.

- Added first blood kill message for the beginning of the round. Use %pk% and %pv% to displaying the killer and victim's name in message, respectively. Set the string to empty to disable feature.

- Added death streak message capability (just like the kill streaks).

Fixes from "beta" download

- Fixed bug where death streaks were rolling over in between maps/rounds.

- Fixed bug where kill streak end value was locked at 5.

- Fixed potential error of reseting death streaks of a player who had just join. If the player had not killed or died, it would throw an exception.

 

Updated to 1.3.1

- Made it so suicides or team kills are not eligible for first blood message (seemed silly for parachute in maps and griefers).

 

 

Download: Attachment 66

* Restored post. It could be that the author is no longer active.
Link to comment
  • Replies 165
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Originally Posted by GummyBears*:

 

I'm getting a mixed response on the server, 5 kill streaks come up pretty often and its with pins being displayed aswell it is a bit much, it would be good if in the plugin settings we could change the killstreak number, and also disable awards/pins..

 

Pretty awesome though

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by falltime*:

 

I'm getting a mixed response on the server, 5 kill streaks come up pretty often and its with pins being displayed aswell it is a bit much, it would be good if in the plugin settings we could change the killstreak number, and also disable awards/pins..

 

Pretty awesome though

Yeah I didn't like the awards, so i just tweaked it slightly. It's not hard to customize to your liking: the .cs file is plaintext C# and can be edited in notepad. It is compiled on the fly when you click "Reload plugins" - even if you're not a programmer, its not hard tweak.

 

Open the CKillStreaks.cs file in notepad or whatever text editor your prefer and look for this portion of the code:

Code:

if(kills == 6 || kills == 8 || (kills % 5) == 0) {
				string strMessage = "%pn% has ";
				string killStreak;
				switch (kills) {
					case 6:
						killStreak = "just earned a Combat Efficiency Pin!";
						break;
					case 8:
						killStreak = "just earned a Combat Excellence Pin!";
						break;
					default:
						killStreak = "a " + kills.ToString() + " kill streak going!";
						break;
				}
Delete Case 6 and Case 8, or replace them with a phrase of your choice. If you do decide to just completely remove case 6 and 8, "optimize" the code so it only checks mod 5 (5,10,15,20, etc)

Your code would then look like this:

Code:

if(kills % 5 == 0) {
				string strMessage = "%pn% has ";
				string killStreak;
										  killStreak = "a " + kills.ToString() + " kill streak going!";
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LAB-HeliMagnet*:

 

You must have a lot people who are snipers or sit on the UAVs :roll:

Tell them to play for the TEAM :ohmy:

 

What if I changed it up so the admin could choose which numbers he wanted to display?

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LAB-HeliMagnet*:

 

Cool =)

 

Please replace the top copyright notice with your own details. See quote in top post at viewtopic.php_f=13&t=212*

Sure thing, forgot about that. I'm testing the new kill streak plugin and will replace it for the download.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Enos-Pork*:

 

HeliMagnet]

What if I changed it up so the admin could choose which numbers he wanted to display?

That would be much appreciated :smile:

 

Thanks for yet another great plugin!

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by danstis*:

 

Hi,

Great plugin, much appreciated!

 

I have noticed that it often gives a kill streak ended or XXX has a kill streak on the first kill of the game.

Other times I have seen it message that player has hit kill streak when they are 1 kill below the streak count.

 

I have only tested in Squad DM.

 

Still a great plugin though, even with the occasional glitch.

 

Thanks!

 

Dan

 

[EDIT]

I used v1.1 by the way on a R9 server.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ency*:

 

This is one of the best plugins! Thanks.

 

I have been using v1.1 for a while now and only problem that I have seen is that when the round changes the killstreak doesnt reset and start over.

 

For example: I have killstreak of 5 and the map ends. When the next map starts I kill 5 more and get a killstreak of 10.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LAB-HeliMagnet*:

 

I have noticed that it often gives a kill streak ended or XXX has a kill streak on the first kill of the game.

Damnit, that is definitely a bug and I know why; I'm not zeroing out everyone's kills on round switch. Thanks for the feedback.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Athanasios2104*:

 

i just loaded the plugin in our server (latest version 1.2) and see how it goes, here's my list:

 

5

is feeling good! (5 killstreak)

10

is on fire! (10 killstreak)

15

has gone mad! (15 killstreak)

20

must have loaded the hacks O.o !! (20 killstreak)

I just wanted to ask about the end killstreak value; i set it to 10 now, that means that the end killstreak announcement will end only when a player stops someone who has already made 10 killstreaks? And if someone makes 20 killstreak and THEN he's stopped, there's no message for this?

 

 

 

Also, the "enable Console" option refers to the ProCon console or the in-game console (where the kills/deaths are shown in the upper left corner) :_:

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LAB-HeliMagnet*:

 

I just wanted to ask about the end killstreak value; i set it to 10 now, that means that the end killstreak announcement will end only when a player stops someone who has already made 10 killstreaks? And if someone makes 20 killstreak and THEN he's stopped, there's no message for this?

It will display for kill streaks 10 and higher. There is only one message for this situation.

 

Also, the "enable Console" option refers to the ProCon console or the in-game console (where the kills/deaths are shown in the upper left corner) :_:

ProCon console (I used it for debugging proposes, but I guess you could use it as a quick reference to investigate potential hackers_).
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Athanasios2104*:

 

thanks for the answer man, the few hours we installed it and the feedback is good (although we're still configuring the spam duration + number of msgs) :ohmy:

 

However, if it's possible to add a custom "end killstreak" msg, that would be nice. Instead of " has ended kill streak", i would like to put something more spicy, ie " just riped along with his fancy killstreak>" :mrgreen: (about the , obviously it would be more informative for everyone to know what killstreak had the player who was stopped.)

 

Or even if the format must be " bla bla killstreak >", you can still put something custom in the "bla bla".

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Athanasios2104*:

 

One quick question, the %nk% value will display victim's killstreak up to that time, the set "end killstreak value" or the previos killstreak step :_:

 

ie. i have set 7-15-20 killstreak steps and one player has passed the 7 killstreak and is on his 9th killstreak. If he dies, the msg will display 9 or 7 (previous step)?

* Restored post. It could be that the author is no longer active.
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.