Jump to content
ImportBot

Kill Streak Plugin v1.3.1 - 8 May 2010

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.

Share this post


Link to post

Originally Posted by divvichild*:

 

I think I'm in love.

 

Join Lucky at Bingo HC FF for an example of a server running this plugin.


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

Share this post


Link to post

Originally Posted by Thrawn*:

 

This sounds amazing, I look forward to testing it out. :biggrin:


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

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

Originally Posted by XSGamers*:

 

Nice work again fellas


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

Share this post


Link to post

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.

Share this post


Link to post

Originally Posted by Phogue*:

 

Cool =)

 

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


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

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

Originally Posted by LAB-HeliMagnet*:

 

New version updated, please read the README!


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

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

Originally Posted by danstis*:

 

No worries, glad to be of service! :biggrin:

 

Looking forward to release 1.2...

 

Thanks!!


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

Share this post


Link to post

Originally Posted by LAB-HeliMagnet*:

 

Bump for new version update.


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

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

Originally Posted by LAB-HeliMagnet*:

 

I'm testing the reserved slot plugin and I'll get on that tonight.


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

Share this post


Link to post

Originally Posted by LAB-HeliMagnet*:

 

Bump for version 1.2.1 (custom end kill streak message)


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

Share this post


Link to post

Originally Posted by Athanasios2104*:

 

awesome Posted Image

& thanks! Posted Image


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

Share this post


Link to post

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.

Share this post


Link to post

Originally Posted by LAB-HeliMagnet*:

 

It will display 9.


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

Share this post


Link to post

Originally Posted by danstis*:

 

Hey mate,

Just noticed while testing another plugin, that teamkills are counted in kill streaks.

 

Dan


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

Share this post


Link to post

Originally Posted by LAB-HeliMagnet*:

 

Hey mate,

Just noticed while testing another plugin, that teamkills are counted in kill streaks.

 

Dan

Thanks.

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

Share this post


Link to post

Originally Posted by LAB-HeliMagnet*:

 

*Crosses fingers* I hope this fixes the bug mentioned above; I haven't tested this out, but I think it should be good to go.


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

Share this post


Link to post

Originally Posted by danstis*:

 

Excellent, I wont be home to test this out till Friday. But will download and take a look at the code.

 

Thanks for the prompt update!


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

Share this post


Link to post

Originally Posted by LAB-HeliMagnet*:

 

Actually ...

Don't download this, it will have errors. I forgot this doesn't have the team id code in it. :mad:ops:


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

Share this post


Link to post

Originally Posted by danstis*:

 

No worries, hate it when that happens!

Will keep an eye out for the next version soon.

 

Dan


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

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • I wanted I let you know that I am starting to build out the foundation for the hosting services that I talked about here. The pricing model I was originally going for wasn't going to be suitable for how I want to build it. So instead I decided to offer each service as it's own product instead of a package deal. In the future, hopefully, I will be able to do this and offer discounts to those that choose it.

      Here is how the pricing is laid out for each service as well as information about each. This is as of 7/12/2020.

      Single MySQL database (up to 30 GB) is $10 USD per month.



      If you go over the 30 GB usage for the database then each additional gigabyte is charged at $0.10 USD each billing cycle. If you're under 30GB you don't need to worry about this.


      Databases are replicated across 3 zones (regions) for redundancy. One (1) on the east coast of the USA, One (1) in Frankfurt, and One (1) in Singapore. Depending on the demand, this would grow to more regions.


      Databases will also be backed up daily and retained for 7 days.




      Procon Layer will be $2 USD per month.


      Each layer will only allow one (1) game server connection. The reason behind this is for performance.


      Each layer will also come with all available plugins installed by default. This is to help facilitate faster deployments and get you up and running quickly.


      Each layer will automatically restart if Procon crashes. 


      Each layer will also automatically restart daily at midnight to make sure it stays in tip-top shape.


      Custom plugins can be installed by submitting a support ticket.




      Battlefield Admin Control Panel (BFACP) will be $5 USD per month


      As I am still working on building version 3 of the software, I will be installing the last version I did. Once I complete version 3 it will automatically be upgraded for you.





      All these services will be managed by me so you don't have to worry about the technical side of things to get up and going.

      If you would like to see how much it would cost for the services, I made a calculator that you can use. It can be found here https://ezrcon.com/calculator.html

       
      • 10 replies
    • I have pushed out a new minor release which updates the geodata pull (flags in the playerlisting). This should be way more accurate now. As always, please let me know if any problems show up.

       
      • 6 replies
×
×
  • 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.