Jump to content

[BF4] ProconRulz - End of Round stats v1.0


ImportBot

Recommended Posts

Originally Posted by C-4-N*:

 

Hey,

 

thanks for the rules! Unfortunately they don't work for me.

 

[16:06:48] === Best Round Stats ===

[16:06:48] Vehicle = 0 ::: 0 kills !

[16:06:48] Knife = 0 ::: 0 kills !

[16:06:48] HeadsShots (sniper) = 0 ::: 0 Headshots !

[16:06:48] HeadShots (others) = 0 ::: 0 Headshots !

 

 

The only thing i am getting, seems the stats aren't counted properly, but i have a knife count rule, which does function.

Any idea what i might be missing?

if you copy entire code , there is no reason , if .ini is created, may be procon reboot at end or you have other code reset stats or init ,

 

Do you have this issue once or more ?

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

Originally Posted by MarcoV1980*:

 

if you copy entire code , there is no reason , if .ini is created, may be procon reboot at end or you have other code reset stats or init ,

 

Do you have this issue once or more ?

Both ways ain't working for my server, anyone else have this problem? Using latest proconrulz.
* Restored post. It could be that the author is no longer active.
Link to comment
  • 1 month later...

Originally Posted by Sevendot*:

 

I didn't even know On RoundOver was a Trigger until I bumped into this thread! :smile:

 

This is what I'm using. This also functions as a workaround for the variables not populating correctly.

Using INI storage this works really well.

 

Code:

## End of Round stats - Inspired by End of Round stats v1.0 from tarreltje
# SET THE VARS
# 1. First Blood
On Kill;ServerFirst;Set %ini_roundover_firstblood% %p%;Set %ini_roundover_firstbloodvictim% %v%
# 2. Last Blood
On Kill;Set %ini_roundover_lastblood% %p%;Set %ini_roundover_lastbloodvictim% %v%
# 3. Most Kills
On Kill;Incr %roundover_[%p%]kills%
On Kill;If %roundover_[%p%]kills% > %ini_roundover_mostkills%;Set %ini_roundover_mostkills% %roundover_[%p%]kills%;Set %ini_roundover_mostkillsplayer% %p%
# 4. Most Deaths
On Spawn;Not PlayerFirst;Incr %roundover_[%p%]dead%
On Spawn;If %roundover_[%p%]dead% > %ini_roundover_deaths%;Set %ini_roundover_deaths% %roundover_[%p%]dead%;Set %ini_roundover_deadplayer% %p%
# Do the Shout
On RoundOver;
Say ::: END OF ROUND STATS :::;
Say ::: First Blood: %ini_roundover_firstblood% by killing %ini_roundover_firstbloodvictim%;
Say ::: Last Blood: %ini_roundover_lastblood% by killing %ini_roundover_lastbloodvictim%;
Say ::: Most Kills: %ini_roundover_mostkillsplayer% with %ini_roundover_mostkills% kills;Set %ini_roundover_mostkills% 0;
Say ::: Most Deaths: %ini_roundover_deadplayer% with %ini_roundover_deaths% deaths;Set %ini_roundover_deaths% 0;
Log ^2STATS: ^1END OF ROUND STATS SENT
* Restored post. It could be that the author is no longer active.
Link to comment
  • 1 month later...
  • 4 months later...
  • 1 month later...

Originally Posted by HitchItch*:

 

Trying to get this to work, Im new to the rulz plugin.

I have the Rulz plugin uploaded and turnen on in procon, i have rebooted our procon.

In the Rules- Sting Array section i just copy the op's text and past in that section? nothing else needs to be done to see end of round stats for BF4?

 

copy/past from OP

###### End of round stats v1.0 by tarreltje #####

 

## Below different stats to count

 

# Most Deaths

On Spawn;Not Playerfirst;Incr %playerdead%

On Spawn;If %playerdead% > %server_dead%;Set %server_dead% %playerdead%;Set %server_deadplayer% %p%

 

# Most kills

On Kill;Incr %playerkills%

On Kill;If %playerkills% > %server_mostkills%;Set %server_mostkills% %playerkills%;Set %server_mostkillsplayer% %p%

 

# Firstblood

On kill;ServerFirst;Set %server_firstblood% %p%;Set %server_firstbloodtarget% %v%

 

# Lastblood

On Kill;Set %server_lastbloodplayer% %p%;Set %server_lastbloodtarget% %v%;

 

# Most knives

On kill;Damage Melee;Incr %playerknives%

On Kill;Damage Melee;If %playerknives% > %server_knives%;Set %server_knives% %playerknives%;Set %server_knivesplayer% %p%

 

# END ROUND MESSAGE

On RoundOver;

Say -

Say -

Say - First Blood: %server_firstblood%, Most Knives: %server_knivesplayer% %server_knives%

Say - Last Blood: %server_lastbloodplayer%, Most Kills: %server_mostkillsplayer% %server_mostkills%

Say - Most Deaths: %server_deadplayer% %server_dead%

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

Originally Posted by HitchItch*:

 

I realized after I posted in the main plug in forum topic, that this topic might be better since it only has to do with end of round stats

Not really sure how it can be confusing, redundant-yes, confusing-no

 

Just hoping someone can help me, This plug in is seems great but not as easy to setup as other plug ins, probably because you can do so much more with this plugin then most others.

 

Didnt mean to piss you off

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

Originally Posted by ty_ger07*:

 

It's confusing because two conversations are taking place at the same time and it is hard to remember what was discussed in each individual conversation. Then, when you need to point back at something previously said, you need to jump back and forth between the various conversations.

 

I will quit perpetuating this conversation now.

 

It's bad forum etiquette. Not following good forum etiquette will cause you to frequently receive mean-spirited replies. We will leave it at that.

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

Originally Posted by Hawk*:

 

Hello, awesome rule, does "RoundEnd" action works on bc2 aswell? If not, how do i write rules depending on end of round in bc2..

Thank you for your help!

 

edit: it works, only problem it says message 3 times instead of once

edit 2: changed setting to BF4 and works perfect

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

Originally Posted by Mamba334*:

 

Hi , since on roundover, you have to update that my dear !)

 

 

 

 

on init;set %ini_round% 0

on spawn;serverfirst;set %ini_round% 0

 

On Kill;

Weapon Death;incr %ini_round_vehicle_%p%%

Weapon melee;incr %ini_round_melee_%p%%

Damage SniperRifle,dmr;Headshot;incr %ini_round_sniperhs_%p%%

Not Damage SniperRifle,dmr;Not weapon Death;Headshot;incr %ini_round_killhs_%p%%

 

On Kill;

if %ini_round_vehicle_%p%% > %ini_round_bestvehicle%;set %ini_round_bestvehicle% %ini_round_vehicle_%p%%;set %ini_round_bestvehicleplayer% %p%

if %ini_round_melee_%p%% > %ini_round_bestmelee%;set %ini_round_bestmelee% %ini_round_melee_%p%%;set %ini_round_bestmeleeplayer% %p%

if %ini_round_sniperhs_%p%% > %ini_round_bestsniperhs%;set %ini_round_bestsniperhs% %ini_round_sniperhs_%p%%;set %ini_round_bestsniperhsplayer% %p%

if %ini_round_killhs_%p%% > %ini_round_bestkillhs%;set %ini_round_bestkillhs% %ini_round_killhs_%p%%;set %ini_round_bestkillhsplayer% %p%

 

On RoundOver

say === Best Round Stats ===

say Vehicle = %ini_round_bestvehicleplayer% ::: %ini_round_bestvehicle% kills !

say Knife = %ini_round_bestmeleeplayer% ::: %ini_round_bestmelee% kills !

say HeadsShots (sniper) = %ini_round_bestsniperhsplayer% ::: %ini_round_bestsniperhs% Headshots !

say HeadShots (others) = %ini_round_bestkillhsplayer% ::: %ini_round_bestkillhs% Headshots !

Shouldn't this be say HeadShots (sniper) = %ini_round_bestsniperhsplayer% ::: %ini_round_bestsniperhs% Headshots !

 

not

 

say HeadsShots (sniper) = %ini_round_bestsniperhsplayer% ::: %ini_round_bestsniperhs% Headshots !

 

:huh:

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

Originally Posted by Bergi*:

 

Hi all,

 

is it possible to count the highest killstreak from a player and say it in the End of Round Stats?

yes!

Code:

#Longest Kill-Streak
On Kill;If %server_streak[%p%]% > %server_streak%;Set %server_streak% %server_streak[%p%]%;Set %server_streakplayer% %p%
Code:
Say - Longest Kill-Streak: %server_streakplayer% [%server_streak%]
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Bergi*:

 

is it possible to track the best K/D at the end of the round?

i tried this:

Code:

# Most Deaths
On Spawn;Not Playerfirst;Incr %playerdead%
On Spawn;If %playerdead% > %server_dead%;Set %server_dead% %playerdead%;Set %server_deadplayer% %p%

# Most kills
On Kill;Incr %playerkills%
On Kill;If %playerkills% > %server_mostkills%;Set %server_mostkills% %playerkills%;Set %server_mostkillsplayer% %p%

# K/D Rate
On RoundOver; Set %playerkd% %playerkills% / %playerdead%
If %playerkd% > %server_kd.2%;Set %server_kd.2% %playerkd%;Set %server_kdplayer% %p%

# Output
Say - Most Kills: %server_mostkillsplayer% [%server_mostkills%] - Best K/D: %server_kdplayer% [%server_kd.2%]
but it says only "Best K/D: 0 [0]"
* Restored post. It could be that the author is no longer active.
Link to comment
  • 5 months later...

Archived

This topic is now archived and is closed to further 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.