Jump to content

[BF3] ProconRulz - SERVER STATS


ImportBot

Recommended Posts

Originally Posted by tarreltje*:

 

After my end of round stats and best 3 player of the round, i have made the rulz for server stats. Since ProconRulz now can store variables, we are able to store kills, deaths ect ect!!

 

Example how it will look like:

 

DUTCH COWBOYS SERVER STATS

1st RINUSS 1000 kills

2nd BAMBAM 500 kills

3th GAGA 200 kills

Most Knives: RINUSS 3000 knives

In my rules, the server stats are triggered at the first kill of a round.

 

##### SERVER STATS by Tarreltje #####

On Kill;Incr %ini_kills_kills[%p%]%

On Kill;Weapon Weapons/Knife/Knife,Melee;Incr %ini_knives_knives[%p%]%

 

On Kill;

If %ini_kills_kills[%p%]% > %ini_server_killsfirst%;Set %ini_server_killsfirst% %ini_kills_kills[%p%]%;Set %ini_server_playerfirst% %p%

If %ini_kills_kills[%p%]% %ini_server_killssecond%;Set %ini_server_killssecond% %ini_kills_kills[%p%]%;Set %ini_server_playersecond% %p%

If %ini_kills_kills[%p%]% %ini_server_killsthird%;Set %ini_server_killsthird% %ini_kills_kills[%p%]%;Set %ini_server_playerthird% %p%

If %ini_kills_kills[%p%]% %ini_server_killsfourth%;Set %ini_server_killsfourth% %ini_kills_kills[%p%]%;Set %ini_server_playerfourth% %p%

If %ini_knives_knives[%p%]% > %ini_server_mostknives%;Set %ini_server_mostknives% %ini_knives_knives[%p%]%;Set %ini_server_mostknivesplayer% %p%

 

if %ini_server_playersecond% == %ini_server_playerfirst%;Set %ini_server_playersecond% %ini_server_playerthird%;Set %ini_server_killssecond% %ini_server_killsthird%

if %ini_server_playerthird% == %ini_server_playersecond%;Set %ini_server_playerthird% %ini_server_playerfourth%;Set %ini_server_killsthird% %ini_server_killsfourth%

 

# TRIGGER FOR SHOWING SERVERS BEST 3 PLAYERS

On Kill;ServerFirst;

Say - DUTCH COWBOYS SERVER STATS:

Say - 1st %ini_server_playerfirst% %ini_server_killsfirst% kills

Say - 2nd %ini_server_playersecond% %ini_server_killssecond% kills

Say - 3th %ini_server_playerthird% %ini_server_killsthird% kills

Say - Most Knives: %ini_server_mostknivesplayer% %ini_server_mostknives% knives

FOR THIS RULZ YOU NEED VERSION 43b.8 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!

 

22-8-2012 fixed problem that a player is shown 2 or 3 times in the list!

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

Originally Posted by cjffly*:

 

Thank you tarreltje

 

but I got problem with this plugin, can you tell me at what condition, it will reset the *.ini? It seems sometimes I lost the data in the *.ini

 

Best

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

Originally Posted by KenKeyboard*:

 

Hi,

 

Just came across these rules and they were just what I was looking for to add a bit of a competition between our members on our server with out going for the full blow SQL Database option.

 

I've added a knife score board as well which you can request with the command !k here are the rules for that to save any one else writing it:

 

##### SERVER STATS #####

On Kill;Incr %ini_kills_kills[%p%]%

On Kill;Weapon Weapons/Knife/Knife,Melee;Incr %ini_knives_knives[%p%]%

 

On Kill;

If %ini_kills_kills[%p%]% > %ini_server_killsfirst%;Set %ini_server_killsfirst% %ini_kills_kills[%p%]%;Set %ini_server_playerfirst% %p%

If %ini_kills_kills[%p%]% %ini_server_killssecond%;Set %ini_server_killssecond% %ini_kills_kills[%p%]%;Set %ini_server_playersecond% %p%

If %ini_kills_kills[%p%]% %ini_server_killsthird%;Set %ini_server_killsthird% %ini_kills_kills[%p%]%;Set %ini_server_playerthird% %p%

If %ini_kills_kills[%p%]% %ini_server_killsfourth%;Set %ini_server_killsfourth% %ini_kills_kills[%p%]%;Set %ini_server_playerfourth% %p%

If %ini_knives_knives[%p%]% > %ini_server_mostknives%;Set %ini_server_mostknives% %ini_knives_knives[%p%]%;Set %ini_server_mostknivesplayer% %p%

 

if %ini_server_playersecond% == %ini_server_playerfirst%;Set %ini_server_playersecond% %ini_server_playerthird%;Set %ini_server_killssecond% %ini_server_killsthird%

if %ini_server_playerthird% == %ini_server_playersecond%;Set %ini_server_playerthird% %ini_server_playerfourth%;Set %ini_server_killsthird% %ini_server_killsfourth%

 

On Kill;

If %ini_knives_knives[%p%]% > %ini_server_knivesfirst%;Set %ini_server_knivesfirst% %ini_knives_knives[%p%]%;Set %ini_server_knivesplayerfirst% %p%

If %ini_knives_knives[%p%]% %ini_server_knivessecond%;Set %ini_server_knivessecond% %ini_knives_knives[%p%]%;Set %ini_server_knivesplayersecond% %p%

If %ini_knives_knives[%p%]% %ini_server_knivessthird%;Set %ini_server_knivesthird% %ini_knives_knives[%p%]%;Set %ini_server_knivesplayerthird% %p%

If %ini_knives_knives[%p%]% %ini_server_knivesfourth%;Set %ini_server_knivesfourth% %ini_knives_knives[%p%]%;Set %ini_server_knivesplayerfourth% %p%

 

if %ini_server_knivesplayersecond% == %ini_server_knivesplayerfirst%;Set %ini_server_knivesplayersecond% %ini_server_knivesplayerthird%;Set %ini_server_knivessecond% %ini_server_knivesthird%

if %ini_server_knivesplayerthird% == %ini_server_knivesplayersecond%;Set %ini_server_knivesplayerthird% %ini_server_knivesplayerfourth%;Set %ini_server_knivesthird% %ini_server_knivesfourth%

 

 

# TRIGGER FOR SHOWING SERVERS BEST 3 PLAYERS

On Kill;ServerFirst;

Say - LSF Server Stats:

Say - 1st %ini_server_playerfirst% %ini_server_killsfirst% kills

Say - 2nd %ini_server_playersecond% %ini_server_killssecond% kills

Say - 3th %ini_server_playerthird% %ini_server_killsthird% kills

Say - 4th %ini_server_playerfourth% %ini_server_killsfourth% kills

 

 

On say;Text !l;

Say - LSF Server Stats:

Say - 1st %ini_server_playerfirst% %ini_server_killsfirst% kills

Say - 2nd %ini_server_playersecond% %ini_server_killssecond% kills

Say - 3th %ini_server_playerthird% %ini_server_killsthird% kills

Say - 4th %ini_server_playerfourth% %ini_server_killsfourth% kills

 

On say;Text !k;

Say - LSF Server Stats:

Say - 1st %ini_server_knivesplayerfirst% %ini_server_knivesfirst% kills

Say - 2nd %ini_server_knivesplayersecond% %ini_server_knivessecond% kills

Say - 3th %ini_server_knivesplayerthird% %ini_server_knivesthird% kills

Say - 4th %ini_server_knivesplayerfourth% %ini_server_knivesfourth% kills

It seems to be working ok but feel free to correct anything if its wrong.

 

I was also hoping you might be able to let me know if you had any ideas if there was a way to get your own stats displayed using this setup. Some thing like On say; Text !myknives; Say %p% has %ini_kills_kills% knife kills I tried some thing along those lines but it didn't seem to be working. The idea of this is so that if you aren't in the top 4 kills or top 4 knife kills leader boards you can find out how many kills you have by typing !myknvies or !mykills .

 

Anyway thanks for your help if you can think of anything!

 

Cheers

 

Ken

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

Originally Posted by KenKeyboard*:

 

Actually this works:

 

On say;Text !myknives;Say %p% has %ini_knives_knives[%p%]% Knife Kills

On say;Text !mykills;Say %p% has %ini_kills_kills[%p%]% Kills

 

Cheers all.

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

Originally Posted by ty_ger07*:

 

There is a problem with this. You never move down a player when a player moves up in the list. But dont worry. I working on a fix :smile:

This is in his code. If this part of the code isn't for moving people down the list, then what is it for?

 

Code:

...

if %ini_server_playersecond% == %ini_server_playerfirst%;Set %ini_server_playersecond% %ini_server_playerthird%;Set %ini_server_killssecond% %ini_server_killsthird%
if %ini_server_playerthird% == %ini_server_playersecond%;Set %ini_server_playerthird% %ini_server_playerfourth%;Set %ini_server_killsthird% %ini_server_killsfourth%

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

Originally Posted by Zcalman*:

 

:ohmy: I know.

That piece of rulz only moves players up in the list...

 

Let say player 1, 2 and 3 got the same score and then there will be some problem.

And even when two players got the same score sometimes one of them got removed from the list when an other got the same score or higher.

We had this on our server and when players got same score it basically got fucked up.

 

I rewrote the rulz and this is what we running now. Use it if you want.

I made it for knives and teamkills as well.

It uses the same killcounting-vars as before but the list is different and only save playernames.

 

Code:

##### SERVER STATS #####
On Kill;Incr %ini_kills_kills[%p%]%
On TeamKill;Incr %ini_kills_tks[%p%]%
On Kill;Weapon Weapons/Knife/Knife,Melee,knife_razorblade;Incr %ini_knives_knives[%p%]%

### KILLS ###
On kill;
If %ini_kills_kills[%p%]% > %ini_kills_kills[%ini_rank_kills[1]%]%;If %p% != %ini_rank_kills[1]%;Set %temp1% %ini_rank_kills[2]%;Set %ini_rank_kills[2]% %ini_rank_kills[1]%;Set %ini_rank_kills[1]% %p%;If %temp1% != %p%;Set %temp2% %ini_rank_kills[3]%;Set %ini_rank_kills[3]% %temp1%;If %temp2% != %p%;Set %ini_rank_kills[4]% %temp2%;
If %ini_kills_kills[%p%]% <= %ini_kills_kills[%ini_rank_kills[1]%]%;If %p% != %ini_rank_kills[1]%;If %ini_kills_kills[%p%]% > %ini_kills_kills[%ini_rank_kills[2]%]%;If %p% != %ini_rank_kills[2]%;Set %temp1% %ini_rank_kills[3]%;Set %ini_rank_kills[3]% %ini_rank_kills[2]%;Set %ini_rank_kills[2]% %p%;If %temp1% != %p%;Set %ini_rank_kills[4]% %temp1%;
If %ini_kills_kills[%p%]% <= %ini_kills_kills[%ini_rank_kills[2]%]%;If %p% != %ini_rank_kills[1]%;If %p% != %ini_rank_kills[2]%;If %ini_kills_kills[%p%]% > %ini_kills_kills[%ini_rank_kills[3]%]%;If %p% != %ini_rank_kills[3]%;Set %ini_rank_kills[4]% %ini_rank_kills[3]%;Set %ini_rank_kills[3]% %p%
If %ini_kills_kills[%p%]% <= %ini_kills_kills[%ini_rank_kills[3]%]%;If %p% != %ini_rank_kills[1]%;If %p% != %ini_rank_kills[2]%;If %p% != %ini_rank_kills[3]%;If %ini_kills_kills[%p%]% > %ini_kills_kills[%ini_rank_kills[4]%]%;If %p% != %ini_rank_kills[4]%;Set %ini_rank_kills[4]% %p%

### KNIVES ###
On kill;
If %ini_knives_knives[%p%]% > %ini_knives_knives[%ini_rank_knives[1]%]%;If %p% != %ini_rank_knives[1]%;Set %temp1% %ini_rank_knives[2]%;Set %ini_rank_knives[2]% %ini_rank_knives[1]%;Set %ini_rank_knives[1]% %p%;If %temp1% != %p%;Set %temp2% %ini_rank_knives[3]%;Set %ini_rank_knives[3]% %temp1%;If %temp2% != %p%;Set %ini_rank_knives[4]% %temp2%;
If %ini_knives_knives[%p%]% <= %ini_knives_knives[%ini_rank_knives[1]%]%;If %p% != %ini_rank_knives[1]%;If %ini_knives_knives[%p%]% > %ini_knives_knives[%ini_rank_knives[2]%]%;If %p% != %ini_rank_knives[2]%;Set %temp1% %ini_rank_knives[3]%;Set %ini_rank_knives[3]% %ini_rank_knives[2]%;Set %ini_rank_knives[2]% %p%;If %temp1% != %p%;Set %ini_rank_knives[4]% %temp1%;
If %ini_knives_knives[%p%]% <= %ini_knives_knives[%ini_rank_knives[2]%]%;If %p% != %ini_rank_knives[1]%;If %p% != %ini_rank_knives[2]%;If %ini_knives_knives[%p%]% > %ini_knives_knives[%ini_rank_knives[3]%]%;If %p% != %ini_rank_knives[3]%;Set %ini_rank_knives[4]% %ini_rank_knives[3]%;Set %ini_rank_knives[3]% %p%
If %ini_knives_knives[%p%]% <= %ini_knives_knives[%ini_rank_knives[3]%]%;If %p% != %ini_rank_knives[1]%;If %p% != %ini_rank_knives[2]%;If %p% != %ini_rank_knives[3]%;If %ini_knives_knives[%p%]% > %ini_knives_knives[%ini_rank_knives[4]%]%;If %p% != %ini_rank_knives[4]%;Set %ini_rank_knives[4]% %p%

### TEAMKILLS ###
On TeamKill;
If %ini_kills_tks[%p%]% > %ini_kills_tks[%ini_rank_tks[1]%]%;If %p% != %ini_rank_tks[1]%;Set %temp1% %ini_rank_tks[2]%;Set %ini_rank_tks[2]% %ini_rank_tks[1]%;Set %ini_rank_tks[1]% %p%;If %temp1% != %p%;Set %temp2% %ini_rank_tks[3]%;Set %ini_rank_tks[3]% %temp1%;If %temp2% != %p%;Set %ini_rank_tks[4]% %temp2%;
If %ini_kills_tks[%p%]% <= %ini_kills_tks[%ini_rank_tks[1]%]%;If %p% != %ini_rank_tks[1]%;If %ini_kills_tks[%p%]% > %ini_kills_tks[%ini_rank_tks[2]%]%;If %p% != %ini_rank_tks[2]%;Set %temp1% %ini_rank_tks[3]%;Set %ini_rank_tks[3]% %ini_rank_tks[2]%;Set %ini_rank_tks[2]% %p%;If %temp1% != %p%;Set %ini_rank_tks[4]% %temp1%;
If %ini_kills_tks[%p%]% <= %ini_kills_tks[%ini_rank_tks[2]%]%;If %p% != %ini_rank_tks[1]%;If %p% != %ini_rank_tks[2]%;If %ini_kills_tks[%p%]% > %ini_kills_tks[%ini_rank_tks[3]%]%;If %p% != %ini_rank_tks[3]%;Set %ini_rank_tks[4]% %ini_rank_tks[3]%;Set %ini_rank_tks[3]% %p%
If %ini_kills_tks[%p%]% <= %ini_kills_tks[%ini_rank_tks[3]%]%;If %p% != %ini_rank_tks[1]%;If %p% != %ini_rank_tks[2]%;If %p% != %ini_rank_tks[3]%;If %ini_kills_tks[%p%]% > %ini_kills_tks[%ini_rank_tks[4]%]%;If %p% != %ini_rank_tks[4]%;Set %ini_rank_tks[4]% %p%

### TRIGGER FOR SHOWING SERVERS BEST 4 PLAYERS ###
On Kill;ServerFirst;
Say - Server Stats:
Say - 1st %ini_rank_kills[1]% %ini_kills_kills[%ini_rank_kills[1]%]% kills
Say - 2nd %ini_rank_kills[2]% %ini_kills_kills[%ini_rank_kills[2]%]% kills
Say - 3th %ini_rank_kills[3]% %ini_kills_kills[%ini_rank_kills[3]%]% kills
Say - 4th %ini_rank_kills[4]% %ini_kills_kills[%ini_rank_kills[4]%]% kills

On kill;Weapon Melee;ServerFirst;
Say - Server Knife Stats:
Say - 1st %ini_rank_knives[1]% %ini_knives_knives[%ini_rank_knives[1]%]% Knife kills
Say - 2nd %ini_rank_knives[2]% %ini_knives_knives[%ini_rank_knives[2]%]% Knife kills
Say - 3th %ini_rank_knives[3]% %ini_knives_knives[%ini_rank_knives[3]%]% Knife kills
Say - 4th %ini_rank_knives[4]% %ini_knives_knives[%ini_rank_knives[4]%]% Knife kills

On TeamKill;ServerFirst;
Say - Server TeamKill Stats:
Say - 1st %ini_rank_tks[1]% %ini_kills_tks[%ini_rank_tks[1]%]% teamkills
Say - 2nd %ini_rank_tks[2]% %ini_kills_tks[%ini_rank_tks[2]%]% teamkills
Say - 3th %ini_rank_tks[3]% %ini_kills_tks[%ini_rank_tks[3]%]% teamkills
Say - 4th %ini_rank_tks[4]% %ini_kills_tks[%ini_rank_tks[4]%]% teamkills

On say;If %text% == !k;
Say - Server Stats:
Say - 1st %ini_rank_kills[1]% %ini_kills_kills[%ini_rank_kills[1]%]% kills
Say - 2nd %ini_rank_kills[2]% %ini_kills_kills[%ini_rank_kills[2]%]% kills
Say - 3th %ini_rank_kills[3]% %ini_kills_kills[%ini_rank_kills[3]%]% kills
Say - 4th %ini_rank_kills[4]% %ini_kills_kills[%ini_rank_kills[4]%]% kills

On say;If %text% == !kn;
Say - Server Knife Stats:
Say - 1st %ini_rank_knives[1]% %ini_knives_knives[%ini_rank_knives[1]%]% Knife kills
Say - 2nd %ini_rank_knives[2]% %ini_knives_knives[%ini_rank_knives[2]%]% Knife kills
Say - 3th %ini_rank_knives[3]% %ini_knives_knives[%ini_rank_knives[3]%]% Knife kills
Say - 4th %ini_rank_knives[4]% %ini_knives_knives[%ini_rank_knives[4]%]% Knife kills

On say;If %text% == !tk;
Say - Server TeamKill Stats:
Say - 1st %ini_rank_tks[1]% %ini_kills_tks[%ini_rank_tks[1]%]% teamkills
Say - 2nd %ini_rank_tks[2]% %ini_kills_tks[%ini_rank_tks[2]%]% teamkills
Say - 3th %ini_rank_tks[3]% %ini_kills_tks[%ini_rank_tks[3]%]% teamkills
Say - 4th %ini_rank_tks[4]% %ini_kills_tks[%ini_rank_tks[4]%]% teamkills
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by DHGreenday*:

 

Awesome I like this and am running it on our servers at the moment. I enjoy yelling the humiliation and gratification of players getting killed and killing using Melee. So looking at this I just wondered if anyone knows how to get a leaderboard for how many times a player has been knifed up to 4th place like the others are. It looks a bit too complicated for me to work that out unfortunately. Any help would be appreciated :smile: also how can I take out of the equation knife kills without taking dogtags? I would just like the knife count to be on knife animation and dogtag taking kills only.

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

Originally Posted by DHGreenday*:

 

I think I done it, I figured it out, Ok don't copy and paste the whole lot as I have taken out the tk part of it if you want teamkilling in your rules, Ok I need to work out the triggers better so that they come up separately. In fact is there any way to get them come up on timed intervals? Anyhow heres the config..

 

##### SERVER STATS #####

On Kill;Weapon Weapons/Knife/Knife,Melee,knife_razorblade;Incr %ini_knives_death[%v%]%

On Kill;Incr %ini_kills_kills[%p%]%

On TeamKill;Incr %ini_kills_tks[%p%]%

On Kill;Weapon Weapons/Knife/Knife,Melee,knife_razorblade;Incr %ini_knives_knives[%p%]%

 

### KILLS ###

On kill;

If %ini_kills_kills[%p%]% > %ini_kills_kills[%ini_rank_kills[1]%]%;If %p% != %ini_rank_kills[1]%;Set %temp1% %ini_rank_kills[2]%;Set %ini_rank_kills[2]% %ini_rank_kills[1]%;Set %ini_rank_kills[1]% %p%;If %temp1% != %p%;Set %temp2% %ini_rank_kills[3]%;Set %ini_rank_kills[3]% %temp1%;If %temp2% != %p%;Set %ini_rank_kills[4]% %temp2%;

If %ini_kills_kills[%p%]% %ini_kills_kills[%ini_rank_kills[2]%]%;If %p% != %ini_rank_kills[2]%;Set %temp1% %ini_rank_kills[3]%;Set %ini_rank_kills[3]% %ini_rank_kills[2]%;Set %ini_rank_kills[2]% %p%;If %temp1% != %p%;Set %ini_rank_kills[4]% %temp1%;

If %ini_kills_kills[%p%]% %ini_kills_kills[%ini_rank_kills[3]%]%;If %p% != %ini_rank_kills[3]%;Set %ini_rank_kills[4]% %ini_rank_kills[3]%;Set %ini_rank_kills[3]% %p%

If %ini_kills_kills[%p%]% %ini_kills_kills[%ini_rank_kills[4]%]%;If %p% != %ini_rank_kills[4]%;Set %ini_rank_kills[4]% %p%

 

### KNIVES ###

On kill;

If %ini_knives_knives[%p%]% > %ini_knives_knives[%ini_rank_knives[1]%]%;If %p% != %ini_rank_knives[1]%;Set %temp1% %ini_rank_knives[2]%;Set %ini_rank_knives[2]% %ini_rank_knives[1]%;Set %ini_rank_knives[1]% %p%;If %temp1% != %p%;Set %temp2% %ini_rank_knives[3]%;Set %ini_rank_knives[3]% %temp1%;If %temp2% != %p%;Set %ini_rank_knives[4]% %temp2%;

If %ini_knives_knives[%p%]% %ini_knives_knives[%ini_rank_knives[2]%]%;If %p% != %ini_rank_knives[2]%;Set %temp1% %ini_rank_knives[3]%;Set %ini_rank_knives[3]% %ini_rank_knives[2]%;Set %ini_rank_knives[2]% %p%;If %temp1% != %p%;Set %ini_rank_knives[4]% %temp1%;

If %ini_knives_knives[%p%]% %ini_knives_knives[%ini_rank_knives[3]%]%;If %p% != %ini_rank_knives[3]%;Set %ini_rank_knives[4]% %ini_rank_knives[3]%;Set %ini_rank_knives[3]% %p%

If %ini_knives_knives[%p%]% %ini_knives_knives[%ini_rank_knives[4]%]%;If %p% != %ini_rank_knives[4]%;Set %ini_rank_knives[4]% %p%

 

### KNIFE DEATHS ###

On kill;

If %ini_knives_death[%v%]% > %ini_knives_death[%ini_rank_death[1]%]%;If %v% != %ini_rank_death[1]%;Set %temp1% %ini_rank_death[2]%;Set %ini_rank_death[2]% %ini_rank_death[1]%;Set %ini_rank_death[1]% %v%;If %temp1% != %v%;Set %temp2% %ini_rank_death[3]%;Set %ini_rank_death[3]% %temp1%;If %temp2% != %v%;Set %ini_rank_death[4]% %temp2%;

If %ini_knives_death[%v%]% %ini_knives_death[%ini_rank_death[2]%]%;If %v% != %ini_rank_death[2]%;Set %temp1% %ini_rank_death[3]%;Set %ini_rank_death[3]% %ini_rank_death[2]%;Set %ini_rank_death[2]% %v%;If %temp1% != %v%;Set %ini_rank_death[4]% %temp1%;

If %ini_knives_death[%v%]% %ini_knives_death[%ini_rank_death[3]%]%;If %v% != %ini_rank_death[3]%;Set %ini_rank_death[4]% %ini_rank_death[3]%;Set %ini_rank_death[3]% %v%

If %ini_knives_death[%v%]% %ini_knives_death[%ini_rank_death[4]%]%;If %v% != %ini_rank_death[4]%;Set %ini_rank_death[4]% %v%

 

### TRIGGER FOR SHOWING SERVERS BEST 4 PLAYERS ###

On Spawn;ServerFirst;

Say - Server Stats:

Say - 1st %ini_rank_kills[1]% %ini_kills_kills[%ini_rank_kills[1]%]% kills

Say - 2nd %ini_rank_kills[2]% %ini_kills_kills[%ini_rank_kills[2]%]% kills

Say - 3th %ini_rank_kills[3]% %ini_kills_kills[%ini_rank_kills[3]%]% kills

Say - 4th %ini_rank_kills[4]% %ini_kills_kills[%ini_rank_kills[4]%]% kills

 

On Kill;ServerFirst;

Say - Server Knife Stats:

Say - 1st %ini_rank_knives[1]% %ini_knives_knives[%ini_rank_knives[1]%]% Knife kills

Say - 2nd %ini_rank_knives[2]% %ini_knives_knives[%ini_rank_knives[2]%]% Knife kills

Say - 3th %ini_rank_knives[3]% %ini_knives_knives[%ini_rank_knives[3]%]% Knife kills

Say - 4th %ini_rank_knives[4]% %ini_knives_knives[%ini_rank_knives[4]%]% Knife kills

 

On kill;Weapon Melee;ServerFirst;

Say - Players that have had their dogtags taken most:

Say - 1st %ini_rank_death[1]% %ini_knives_death[%ini_rank_death[1]%]% Knife Humiliations

Say - 2nd %ini_rank_death[2]% %ini_knives_death[%ini_rank_death[2]%]% Knife Humiliations

Say - 3th %ini_rank_death[3]% %ini_knives_death[%ini_rank_death[3]%]% Knife Humiliations

Say - 4th %ini_rank_death[4]% %ini_knives_death[%ini_rank_death[4]%]% Knife Humiliations

 

On say;If %text% == !k;

Say - Server Stats:

Say - 1st %ini_rank_kills[1]% %ini_kills_kills[%ini_rank_kills[1]%]% kills

Say - 2nd %ini_rank_kills[2]% %ini_kills_kills[%ini_rank_kills[2]%]% kills

Say - 3th %ini_rank_kills[3]% %ini_kills_kills[%ini_rank_kills[3]%]% kills

Say - 4th %ini_rank_kills[4]% %ini_kills_kills[%ini_rank_kills[4]%]% kills

 

On say;If %text% == !kn;

Say - Server Knife Stats:

Say - 1st %ini_rank_knives[1]% %ini_knives_knives[%ini_rank_knives[1]%]% Knife kills

Say - 2nd %ini_rank_knives[2]% %ini_knives_knives[%ini_rank_knives[2]%]% Knife kills

Say - 3th %ini_rank_knives[3]% %ini_knives_knives[%ini_rank_knives[3]%]% Knife kills

Say - 4th %ini_rank_knives[4]% %ini_knives_knives[%ini_rank_knives[4]%]% Knife kills

 

On say;If %text% == !kh;

Say - Server Humiliation Stats:

Say - 1st %ini_rank_death[1]% %ini_knives_death[%ini_rank_death[1]%]% Knife Humiliations

Say - 2nd %ini_rank_death[2]% %ini_knives_death[%ini_rank_death[2]%]% Knife Humiliations

Say - 3th %ini_rank_death[3]% %ini_knives_death[%ini_rank_death[3]%]% Knife Humiliations

Say - 4th %ini_rank_death[4]% %ini_knives_death[%ini_rank_death[4]%]% Knife Humiliations

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

Originally Posted by Zcalman*:

 

I think I done it, I figured it out, Ok don't copy and paste the whole lot as I have taken out the tk part of it if you want teamkilling in your rules, Ok I need to work out the triggers better so that they come up separately. In fact is there any way to get them come up on timed intervals? Anyhow heres the config..

 

##### SERVER STATS #####

On Kill;Weapon Weapons/Knife/Knife,Melee,knife_razorblade;Incr %ini_knives_death[%v%]%

On Kill;Incr %ini_kills_kills[%p%]%

On TeamKill;Incr %ini_kills_tks[%p%]%

On Kill;Weapon Weapons/Knife/Knife,Melee,knife_razorblade;Incr %ini_knives_knives[%p%]%

 

"Rulz#.....

Nice idea with the humilation leaderboard!

 

In your first post you say something about only count when there is a dogtag takedown.

To do that change your counting rulz to this:

 

Code:

On Kill;Weapon Melee;Incr %ini_knives_death[%v%]%;Incr %ini_knives_knives[%p%]%
On Kill;Incr %ini_kills_kills[%p%]%
On TeamKill;Incr %ini_kills_tks[%p%]%
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by DHGreenday*:

 

Nice idea with the humilation leaderboard!

 

In your first post you say something about only count when there is a dogtag takedown.

To do that change your counting rulz to this:

 

Code:

On Kill;Weapon Melee;Incr %ini_knives_death[%v%]%;Incr %ini_knives_knives[%p%]%
On Kill;Incr %ini_kills_kills[%p%]%
On TeamKill;Incr %ini_kills_tks[%p%]%
Yay! I came up with a good idea! :biggrin: Its funny that leaderboard as 1 of the servers someone has been knifed 7 times and the other servers top has been knifed 6 times lol. There to be publicly humiliated until they are overtaken by other players. However like they say all publicity is good publicity :biggrin:. Anyway thanks for helping me out and replying to my idea and question!
* Restored post. It could be that the author is no longer active.
Link to comment
  • 1 month later...

Originally Posted by ty_ger07*:

 

There is no way of knowing the player's clan unless searching for the player's clan tag. The player's clan tag isn't known unless the plugin searches Battlelog. Searching through Battlelog creates a lot of very negative results and this plugin does not attempt it. So no.

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

Originally Posted by AlexBsAs_80*:

 

Hola, quiero poner algo parecido pero no me sale, ¿quien me ayuda_.

 

Lo que quiero hacer es que el server guarde en un archivo INI la cantidad de muertes que tienen cada jugador y asi formar un rank de los primeros 3, también hacer aparte que muestre los primeros 3 que tienen hechos mas puntos en el server y que todo quede guardado en un archivo INI, y que para poder visualizar en que numero de rank esta cada uno, que el jugador deba tipear algo como (!RANK ), y le muestre en que numero de rank esta de muertes y que numero esta de puntos, y que todo se valla acumulando y guardando en todos los mapas.

 

Trate de modificar el código que veo arriba pero no me guarda los datos de los jugadores en el archivo INI y cuando consigo que me los guarde, me lo hace duplicado no me lo suma. Y como era muy extenso el código borre todo y quiero empezar de cero con la ayuda de ustedes.

 

Gracias y disculpe mi ingles, esta traducido con google.

 

##################TRADUCCIÓn######################

Hello, I want to put something similar but I do not go out, do my helper_.

 

What I do is keep the server in an INI file the number of deaths that have each player and so form a rank of the first 3, also do other than showing the first 3 points with more facts on the server and all be saved in an INI file, and display it to rank this number each, which the player must type something like (! RANK), and show that this rank number of deaths and that this number of points , and everything is building up and keeping fence on all maps.

 

Try to modify the code you see above but I save player data in the INI file and when I get to the store, I do not I sum doubled. And as was extensive code delete everything and want to start from scratch with your help.

 

Thanks and excuse my English, is translated with google.

* Restored post. It could be that the author is no longer active.
Link to comment
  • 7 months later...
  • 2 months later...

Originally Posted by Sevendot*:

 

I'm using this modified script for my Battlefield 4 server, included Defibrillator, Repair Tool and Flashbang kills.

If you use this, make sure to edit it for your own use.

 

Code:

##### SERVER STATS by Tarreltje #####
# .OcG modification v0.1 by ColonelSeven
On Kill;Incr %ini_kills_kills[%p%]%
On Kill;Weapon Melee;Incr %ini_knives_knives[%p%]%
On Kill;If %wk% contains Flashbang;Incr %ini_flash_flash[%p%]%
On Kill;If %wk% contains Defib;Incr %ini_defib_defib[%p%]%
On Kill;If %wk% contains Repair;Incr  %ini_repair_repair[%p%]%

On Kill;
If %ini_kills_kills[%p%]% > %ini_server_killsfirst%;Set %ini_server_killsfirst% %ini_kills_kills[%p%]%;Set %ini_server_playerfirst% %p%
If %ini_kills_kills[%p%]% < %ini_server_killsfirst%;if %ini_kills_kills[%p%]% > %ini_server_killssecond%;Set %ini_server_killssecond% %ini_kills_kills[%p%]%;Set %ini_server_playersecond% %p%
If %ini_kills_kills[%p%]% < %ini_server_killssecond%;if %ini_kills_kills[%p%]% > %ini_server_killsthird%;Set %ini_server_killsthird% %ini_kills_kills[%p%]%;Set %ini_server_playerthird% %p%
If %ini_kills_kills[%p%]% < %ini_server_killsthird%;If %ini_kills_kills[%p%]% > %ini_server_killsfourth%;Set %ini_server_killsfourth% %ini_kills_kills[%p%]%;Set %ini_server_playerfourth% %p%
If %ini_knives_knives[%p%]% > %ini_server_mostknives%;Set %ini_server_mostknives% %ini_knives_knives[%p%]%;Set %ini_server_mostknivesplayer% %p%
If %ini_flash_flash[%p%]% > %ini_server_mostflash%;Set %ini_server_mostflash% %ini_flash_flash[%p%]%;Set %ini_server_mostflashplayer% %p%
If %ini_defib_defib[%p%]% > %ini_server_mostdefib%;Set %ini_server_mostdefib% %ini_defib_defib[%p%]%;Set %ini_server_mostdefibplayer% %p%
If %ini_repair_repair[%p%]% > %ini_server_mostrepair%;Set %ini_server_mostrepair% %ini_repair_repair[%p%]%;Set %ini_server_mostrepairplayer% %p%

If %ini_server_playersecond% == %ini_server_playerfirst%;Set %ini_server_playersecond% %ini_server_playerthird%;Set %ini_server_killssecond% %ini_server_killsthird%
If %ini_server_playerthird% == %ini_server_playersecond%;Set %ini_server_playerthird% %ini_server_playerfourth%;Set %ini_server_killsthird% %ini_server_killsfourth%

# TRIGGER FOR SHOWING SERVERS BEST 3 PLAYERS
On Say;Text !killstats;
PlayerSay - ### .OcG TDM PISTOLS & MELEE KILL STATS:;
PlayerSay - 1st %ini_server_playerfirst% %ini_server_killsfirst% kills;
PlayerSay - 2nd %ini_server_playersecond% %ini_server_killssecond% kills;
PlayerSay - 3th %ini_server_playerthird% %ini_server_killsthird% kills;
Log ^2STATS: ^1%p% ^0requested !killstats
# MELEE TRIGGER
On Say;Text !meleestats;
PlayerSay - ### .OcG TDM MELEE KILL STATS:;
PlayerSay - Most Knife Kills: %ini_server_mostknivesplayer% with %ini_server_mostknives% kills;
PlayerSay - Most Flashbang Kills: %ini_server_mostflashplayer% with %ini_server_mostflash% kills;
PlayerSay - Most Defibrillator Kills: %ini_server_mostdefibplayer% with %ini_server_mostdefib% kills;
PlayerSay - Most Repair Tool Kills: %ini_server_mostrepairplayer% with %ini_server_mostrepair% kills;
Log ^2STATS: ^1%p% ^0requested !meleestats
# PLAYER STAT REQUEST
On Say;Text !stats;
PlayerSay - ### .OcG PISTOLS & MELEE KILL STATS:;
PlayerSay - %p%, these are your total kill stats:;
PlayerSay - %ini_kills_kills[%p%]% total kills, %ini_knives_knives[%p%]% knife kills;
PlayerSay - %ini_flash_flash[%p%]% flashbang kills, %ini_defib_defib[%p%]% defibrillator kills, %ini_repair_repair[%p%]% repair tool kills;
Log ^2STATS: ^1%p% ^0requested !stats
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by hauser1*:

 

Hi

 

I would like to have ppl. to type !rank and show them there rank on the servers and there top 4 weapon use i would also like to have a top 4 server rank showiing in the the text box. and to 4 knife rank : Can anyone help me with a code like that?

 

This is what i found out but im stuck

 

On Kill;Incr %ini_kills_kills[%p%]%

On Kill;Weapon Weapons/Knife/Knife,Melee;Incr %ini_knives_knives[%p%]%

 

On Kill;

If %ini_kills_kills[%p%]% > %ini_server_killsfirst%;Set %ini_server_killsfirst% %ini_kills_kills[%p%]%;Set %ini_server_playerfirst% %p%

If %ini_kills_kills[%p%]% %ini_server_killssecond%;Set %ini_server_killssecond% %ini_kills_kills[%p%]%;Set %ini_server_playersecond% %p%

If %ini_kills_kills[%p%]% %ini_server_killsthird%;Set %ini_server_killsthird% %ini_kills_kills[%p%]%;Set %ini_server_playerthird% %p%

If %ini_kills_kills[%p%]% %ini_server_killsfourth%;Set %ini_server_killsfourth% %ini_kills_kills[%p%]%;Set %ini_server_playerfourth% %p%

If %ini_knives_knives[%p%]% > %ini_server_mostknives%;Set %ini_server_mostknives% %ini_knives_knives[%p%]%;Set %ini_server_mostknivesplayer% %p%

 

if %ini_server_playersecond% == %ini_server_playerfirst%;Set %ini_server_playersecond% %ini_server_playerthird%;Set %ini_server_killssecond% %ini_server_killsthird%

if %ini_server_playerthird% == %ini_server_playersecond%;Set %ini_server_playerthird% %ini_server_playerfourth%;Set %ini_server_killsthird% %ini_server_killsfourth%

 

# TRIGGER FOR SHOWING SERVERS BEST 4 PLAYERS

On Kill;ServerFirst;

Say - xxx SERVER STATS:

Say - 1st %ini_server_playerfirst% %ini_server_killsfirst% kills

Say - 2nd %ini_server_playersecond% %ini_server_killssecond% kills

Say - 3th %ini_server_playerthird% %ini_server_killsthird% kills

Say - 4th %ini_server_playerfourth% %ini_server_killsfourth% kills

Say - Most Knives: %ini_server_mostknivesplayer% %ini_server_mostknives% knives

 

 

!rank

!knife

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

Originally Posted by HomieX*:

 

Hi !

 

I´d like to try this on my BF4 server.

But im totaly new to the procon and procon rules.

 

So if anyone would like to type down in a few lines how to make this run i´d be REALY happy :smile:

 

 

/Homie

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

Originally Posted by Sevendot*:

 

You can use the %score% var. See the manual for details.

 

Here an UNTESTED example:

 

Code:

# Load player score on var on event.

On Spawn,On Kill,On Suicide;Set %score_[%p%]_current% %score%

# Check players score against the highest stored, if higher it overwrites

On Spawn,On Kill,On Suicide;If %score_[%p%]_current% > %ini_score_highest%;Set %ini_score_highest% %score_[%p%]_current%;Set %ini_score_topplayer% %p%

# Display on event. Example: !topscore command and at the end of the round.

On Say;Text !topscore;Say :: TOP SCORER: %ini_score_topplayer% with %ini_score_highest% points!
On RoundOver;Say :: TOP SCORER: %ini_score_topplayer% with %ini_score_highest% points!
"

 

As you can see on events; Spawn, Kill, Suicide the value of %score% gets put in the custom variable %score?[%p%]_current%.

Say the player is me, ColonelSeven. It becomes %score?[ColonelSeven]_current%.

 

Then on events; Spawn, Kill, Suicide the personal value of (1) %score?[ColonelSeven]_current% is weighted against the value of (2) %ini_score_highest% (stored in the persistent INI).

 

If (1) is higher ( >) than (2), (2) will be overwritten by (1) and the player name (%p% = ColonelSeven) stored in %ini_score_topplayer% to display later.

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

Archived

This topic is now archived and is closed to further replies.



  • Our picks

    • Game Server Hosting:

      We're happy to announce that EZRCON will branch out into the game server provider scene. This is a big step for us so please having patience if something doesn't go right in this area. Now, what makes us different compared to other providers? Well, we're going with the idea of having a scaleable server hosting and providing more control in how you set up your server. For example, in Minecraft, you have the ability to control how many CPU cores you wish your server to have access to, how much RAM you want to use, how much disk space you want to use. This type of control can't be offered in a single service package so you're able to configure a custom package the way you want it.

      You can see all the available games here. Currently, we have the following games available.

      Valheim (From $1.50 USD)


      Rust (From $3.20 USD)


      Minecraft (Basic) (From $4.00 USD)


      Call of Duty 4X (From $7.00 USD)


      OpenTTD (From $4.00 USD)


      Squad (From $9.00 USD)


      Insurgency: Sandstorm (From $6.40 USD)


      Changes to US-East:

      Starting in January 2022, we will be moving to a different provider that has better support, better infrastructure, and better connectivity. We've noticed that the connection/routes to this location are not ideal and it's been hard getting support to correct this. Our contract for our two servers ends in March/April respectively. If you currently have servers in this location you will be migrated over to the new provider. We'll have more details when the time comes closer to January. The new location for this change will be based out of Atlanta, GA. If you have any questions/concerns please open a ticket and we'll do our best to answer them.
      • 5 replies
    • Hello All,

      I wanted to give an update to how EZRCON is doing. As of today we have 56 active customers using the services offered. I'm glad its doing so well and it hasn't been 1 year yet. To those that have services with EZRCON, I hope the service is doing well and if not please let us know so that we can improve it where possible. We've done quite a few changes behind the scenes to improve the performance hopefully. 

      We'll be launching a new location for hosting procon layers in either Los Angeles, USA or Chicago, IL. Still being decided on where the placement should be but these two locations are not set in stone yet. We would like to get feedback on where we should have a new location for hosting the Procon Layers, which you can do by replying to this topic. A poll will be created where people can vote on which location they would like to see.

      We're also looking for some suggestions on what else you would like to see for hosting provider options. So please let us know your thoughts on this matter.
      • 4 replies
    • Added ability to disable the new API check for player country info


      Updated GeoIP database file


      Removed usage sending stats


      Added EZRCON ad banner



      If you are upgrading then you may need to add these two lines to your existing installation in the file procon.cfg. To enable these options just change False to True.

      procon.private.options.UseGeoIpFileOnly False
      procon.private.options.BlockRssFeedNews False



       
      • 2 replies
    • 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

       
      • 11 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.

       
      • 9 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.