Jump to content

ProconRulz V44j1 - weapon limits and other event-triggered admin actions


ColColonCleaner

Recommended Posts

Originally Posted by C-4-N*:

 

nice worked, i tried on myself, i did'nt see protection but i m admin ...

kick work with some weapons , or damage !! but not with count command

 

When i use count 1 as a warn and count 2 as a kick, kick never happen , just warn again the player !

 

what do you mean by "the alternative name PlayerCount"

can you give me an example of command who know 2nd kill to eject player

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

Originally Posted by godspeed3k*:

 

My goal was to forbid the usage of RPG/SMAW completely using the - On Spawn;Weapon []":-condition. Players should be killed upon even spawning with the RPG and SMAW or alternatively be killed as soon as they do damage with them, not upon killing with them because this doesn´t stop players from using the explosive projectile weapons.

It is everyone's hope that at some point in the future this will be possible. Unfortunately the RCON systems is only minimally done at this point, and causes the server not to be sending all the information that would make this plugin do what you want it to do. This is a DICE problem, and we presume they will eventually make it send all the information we could ever want. Becuase of these limitations, currently we are limited to triggers of when someone kills with a weapon or damage type (since that is the only time we know what weapon they are usung).
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by godspeed3k*:

 

nice worked, i tried on myself, i did'nt see protection but i m admin ...

kick work with some weapons , or damage !! but not with count command

 

When i use count 1 as a warn and count 2 as a kick, kick never happen , just warn again the player !

 

what do you mean by "the alternative name PlayerCount"

can you give me an example of command who know 2nd kill to eject player.

Change the order of the rules for the Count 2 is before the warn line (because if the warn line is first, it will meet the rule every time, and not proceed past that rule.

 

PlayerCount is just another way for saying Count

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

Originally Posted by bambam*:

 

PlayerCount is just another way for saying Count

Exactly. In the beginning there was "Count" (%c%). And then there was ServerCount (%sc%) and TeamCount (%tc%). So PlayerCount is now a preferred name for The Condition Previously Known as Count.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Layenne*:

 

hello,

1.can we use red color or other for rules warning message ?

 

2.I use this for restrict mortar in metro only

On Kill;Weapon Death;PlayerCount 2;Kick %p% Kicked for Mortar

On Kill;Weapon Death;say %p% NO MORTAR !!!;Kill 100

 

i think only drone kill can make kick player because there isnt vehicule in this map ? i will check this.

can we restrict drone ?

 

3.I use this rules :

On Kill;Weapon Melee;Say >>%p%

 

i tried to use same rules for claymore and c4, i didnt success. can i doing this or it is same problem than mortar ?

 

4. how put message when guy make 4 knife kill ?

On Kill;Weapon Melee 4;Say >>%p%

 

thats correct ?

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

Originally Posted by godspeed3k*:

 

hello,

1.can we use red color or other for rules warning message ?

 

2.I use this for restrict mortar in metro only

On Kill;Weapon Death;PlayerCount 2;Kick %p% Kicked for Mortar

On Kill;Weapon Death;say %p% NO MORTAR !!!;Kill 100

 

i think only drone kill can make kick player because there isnt vehicule in this map ? i will check this.

can we restrict drone ?

 

3.I use this rules :

On Kill;Weapon Melee;Say >>%p%

 

i tried to use same rules for claymore and c4, i didnt success. can i doing this or it is same problem than mortar ?

 

4. how put message rules when guy make 4 knife kill ?

Colors seem to be able to be used in log entries, but there currently seems to be no way to change ingame chat text color (other that the channel colors of global, team and squad).

 

As far as "Death" the game does not send a usable weapon key to the game (one death is the same as any other death). Until they fix it, you cannot turn any specific one off.

 

Here is what I use, using the weapon key listed in the PRoConRulz Information tab.

 

Code:

On Kill;Weapon weapons/knife/knife;Say %p% shanked %v% real good!
On Kill;Weapon Weapons/Gadgets/Claymore/Claymore;Say %v% tripped over %p%'s claymore!
On Kill;Weapon Repair&Tool;Say %v%'s marshmallows were toasted by %p%
On Kill;Damage Handgun;Say %p% pistolwhipped %v% with a %w%.
Melee is a Damage type,and a somewhat vague weapon type.

 

Good Luck.

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

Originally Posted by Clay52*:

 

Is it possible to write a rule to warn members in a squad when 2 or more have the same spec? In other words, say I have extra nades chosen, another member has "Flak" or"Suppression" etc., and two guys have "Extra Ammo" selected where it would be ideal of course for one of those two to have selected "Sprint". I can't tell you how many times I have to msg sometime in my squad to change to something else.

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

Originally Posted by CauseChaos*:

 

I host procon off a VPS, and run a Jets/Helis only server. I'm trying to make it so players are banned as soon as they use a gun to kill someone. I've tried using this -

Code:

On Kill;Weapon .44 Scoped;Ban
On Kill;Weapon G18 SUPRESSED;Ban
On Kill;Weapon MP443 SUPPRESSED;Ban
On Kill;Weapon M9 SUPPRESSED;Ban
On Kill;Weapon G17C SUPPRESSED;Ban
On Kill;Weapon M224 Mortar;Ban
On Kill;Weapon M4;Ban
On Kill;Weapon M16A3;Ban
On Kill;Weapon AT4;Ban
On Kill;Weapon Glock17;Ban
On Kill;Weapon SPASS-12;Ban
On Kill;Weapon Saiga-12;Ban
On Kill;Weapon PDW-R;Ban
On Kill;Weapon MG36;Ban
On Kill;Weapon M82;Ban
On Kill;Weapon Styer Aug;Ban
On Kill;Weapon UMP45;Ban
On Kill;Weapon SCAR-H;Ban
On Kill;Weapon Sa18IGLA;Ban
On Kill;Weapon P90;Ban
On Kill;Weapon MP443;Ban
On Kill;Weapon MP412REX;Ban
On Kill;Weapon MagpulPDR;Ban
On Kill;Weapon M416;Ban
On Kill;Weapon KH2002;Ban
On Kill;Weapon C4;Ban
On Kill;Weapon G3A3;Ban
On Kill;Weapon G36C;Ban
On Kill;Weapon AK74M;Ban
On Kill;Weapon A91;Ban
On Kill;Weapon USAS-12;Ban
On Kill;Weapon 870MCS;Ban
On Kill;Weapon AEK-971;Ban
On Kill;Weapon AKS-74u;Ban
On Kill;Weapon AN-94 Abakan;Ban
On Kill;Weapon AS Val;Ban
On Kill;Weapon DAO-12;Ban
On Kill;Weapon F2000;Ban
On Kill;Weapon FGM-148;Ban
On Kill;Weapon FIM92;Ban
On Kill;Weapon Glock18;Ban
On Kill;Weapon M1014;Ban
On Kill;Weapon M15 AT Mine;Ban
On Kill;Weapon M16A4;Ban
On Kill;Weapon M1911;Ban
On Kill;Weapon M240;Ban
On Kill;Weapon M249;Ban
On Kill;Weapon M26MASS;Ban
On Kill;Weapon M27 IAR;Ban
On Kill;Weapon M320;Ban
On Kill;Weapon M39;Ban
On Kill;Weapon M40A5;Ban
On Kill;Weapon M4A1;Ban
On Kill;Weapon M60;Ban
On Kill;Weapon M67;Ban
On Kill;Weapon Medkit;Ban
On Kill;Weapon Melee;Ban
On Kill;Weapon Mk11;Ban
On Kill;Weapon Model98B;Ban
On Kill;Weapon MP7;Ban
On Kill;Weapon Pecheneg;Ban
On Kill;Weapon PP-2000;Ban
On Kill;Weapon Repair Tool;Ban
On Kill;Weapon RPG-7;Ban
On Kill;Weapon RPK-74M;Ban
On Kill;Weapon SG 553 LB;Ban
On Kill;Weapon Saiga20k;Ban
On Kill;Weapon SKS;Ban
On Kill;Weapon SMAW;Ban
On Kill;Weapon SV98;Ban
On Kill;Weapon SVD;Ban
On Kill;Weapon Taurus .44;Ban
On Kill;Weapon Type88;Ban
- but it gives me an error - "Warning, weapon type xxx not found in Procon".

I've put the files in the Config folder.

 

Any help is appreciated :3

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

Originally Posted by Clay52*:

 

Chaos, do you have Jets/Helis proper in the server title by chance? I'm not sure why you'd even want this in the first place if so, but you never know with some nowadays who come in and disrupt things for the sake of disrupting things :P.

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

Originally Posted by Clay52*:

 

Curious bambam, are frag rounds similar to the M320 issue of discerning between smoke, buck etc will this code be added in the future? We have had some ftards come in and spam the USAS & frag rounds, thanks.

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

Originally Posted by godspeed3k*:

 

I host procon off a VPS, and run a Jets/Helis only server. I'm trying to make it so players are banned as soon as they use a gun to kill someone. I've tried using this -

Code:

On Kill;Weapon .44 Scoped;Ban
On Kill;Weapon G18 SUPRESSED;Ban
On Kill;Weapon MP443 SUPPRESSED;Ban
On Kill;Weapon M9 SUPPRESSED;Ban
On Kill;Weapon G17C SUPPRESSED;Ban
On Kill;Weapon M224 Mortar;Ban
On Kill;Weapon M4;Ban
On Kill;Weapon M16A3;Ban
On Kill;Weapon AT4;Ban
On Kill;Weapon Glock17;Ban
On Kill;Weapon SPASS-12;Ban
On Kill;Weapon Saiga-12;Ban
On Kill;Weapon PDW-R;Ban
On Kill;Weapon MG36;Ban
On Kill;Weapon M82;Ban
On Kill;Weapon Styer Aug;Ban
On Kill;Weapon UMP45;Ban
On Kill;Weapon SCAR-H;Ban
On Kill;Weapon Sa18IGLA;Ban
On Kill;Weapon P90;Ban
On Kill;Weapon MP443;Ban
On Kill;Weapon MP412REX;Ban
On Kill;Weapon MagpulPDR;Ban
On Kill;Weapon M416;Ban
On Kill;Weapon KH2002;Ban
On Kill;Weapon C4;Ban
On Kill;Weapon G3A3;Ban
On Kill;Weapon G36C;Ban
On Kill;Weapon AK74M;Ban
On Kill;Weapon A91;Ban
On Kill;Weapon USAS-12;Ban
On Kill;Weapon 870MCS;Ban
On Kill;Weapon AEK-971;Ban
On Kill;Weapon AKS-74u;Ban
On Kill;Weapon AN-94 Abakan;Ban
On Kill;Weapon AS Val;Ban
On Kill;Weapon DAO-12;Ban
On Kill;Weapon F2000;Ban
On Kill;Weapon FGM-148;Ban
On Kill;Weapon FIM92;Ban
On Kill;Weapon Glock18;Ban
On Kill;Weapon M1014;Ban
On Kill;Weapon M15 AT Mine;Ban
On Kill;Weapon M16A4;Ban
On Kill;Weapon M1911;Ban
On Kill;Weapon M240;Ban
On Kill;Weapon M249;Ban
On Kill;Weapon M26MASS;Ban
On Kill;Weapon M27 IAR;Ban
On Kill;Weapon M320;Ban
On Kill;Weapon M39;Ban
On Kill;Weapon M40A5;Ban
On Kill;Weapon M4A1;Ban
On Kill;Weapon M60;Ban
On Kill;Weapon M67;Ban
On Kill;Weapon Medkit;Ban
On Kill;Weapon Melee;Ban
On Kill;Weapon Mk11;Ban
On Kill;Weapon Model98B;Ban
On Kill;Weapon MP7;Ban
On Kill;Weapon Pecheneg;Ban
On Kill;Weapon PP-2000;Ban
On Kill;Weapon Repair Tool;Ban
On Kill;Weapon RPG-7;Ban
On Kill;Weapon RPK-74M;Ban
On Kill;Weapon SG 553 LB;Ban
On Kill;Weapon Saiga20k;Ban
On Kill;Weapon SKS;Ban
On Kill;Weapon SMAW;Ban
On Kill;Weapon SV98;Ban
On Kill;Weapon SVD;Ban
On Kill;Weapon Taurus .44;Ban
On Kill;Weapon Type88;Ban
- but it gives me an error - "Warning, weapon type xxx not found in Procon".

I've put the files in the Config folder.

 

Any help is appreciated :3

That is alot of text ...

and I am pretty sure it violates the EA Code of Conduct (that server admins are supposed to follow [unless this is an unranked server])

 

I believe is could be done with one line of code at the present time because of the "Death" Weapon. All vehicles are considered death, and a few others (MAV, Mortar - technically both vehicles, ect.)

 

Could try:

Code:

On Kill;Weapon Not Death;Count 1;Ban Violating Server Rules
On Kill;Weapon Not Death;PlayerSay Only Warning, Using weapons will get you banned!;Playersay Only Vehicles are authorized.
If you insist on a no tolerance approach, delete the second line and remove the "Count 1;' from the first line. As written will give them on warning before Banning. Could also make the second line Kick, to really drive home the rule, and not ban on the first offense.

 

The problem with your current code is that the weapons contain spaces. Because of the way they are interpreted, Bambam has coded it to replace a space with &. Example: On Kill;Weapon M15 AT Mine;Ban should be written On Kill;Weapon M15&AT&Mine;Ban. Also some weapons seem to have a 'nested' appearance as in Knife - Weapons/Knife/Knife.

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

Originally Posted by Clay52*:

 

Thank you very much, mate. This helped a lot. I didn´t place the BF3.def in the "configs" folder at first which caused my problem.

 

Also thank you for your time to write some rules for me. My goal was to forbid the usage of RPG/SMAW completely using the - On Spawn;Weapon []":-condition. Players should be killed upon even spawning with the RPG and SMAW or alternatively be killed as soon as they do damage with them, not upon killing with them because this doesn´t stop players from using the explosive projectile weapons.

 

Also a question directed to all of you: ProconRulz isn´t able to differentiate between damage done to vehicles and damage done to players, is it?

You realize of course in the first place, you'd be eliminating a whole class since engineers have RPGs as part of the class and cannot be removed. You'll have to write the rule to accommodate the latter part of your conditions above.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bambam*:

 

Quick comment: negative conditions are "Not " e.g. "Not Weapon M320". Godspeed typo was "Weapon Not Death". Otherwise all looking fairly kosher.

 

Clay52 - in a later release of BF3 it's reasonable to expect most of the limitations I listed in the top post of this thread will be removed - and the weapon keys (or specializations) will work as you wish. Depends on DICE, but this stuff was in BFBC2 and BF3 looks like the same rcon code.

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

Originally Posted by C-4-N*:

 

Change the order of the rules for the Count 2 is before the warn line (because if the warn line is first, it will meet the rule every time, and not proceed past that rule.

 

PlayerCount is just another way for saying Count

ok working well with order
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Hirntrauma*:

 

@BamBam

First I want to thank you for that great work.

Secondly I wonder why your Plugin isn't in the Procon Plugin-list at the startscreen of procon. Then I would not have to look every few days if there is a new update. Is there a possibility to put your plugin in there. Then your plugin would autoupdate itself. This would be great.

 

Thanks...

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

Originally Posted by Novocaine*:

 

Hi,

 

Thanks for this plugin, it's a really powerful framework with a lot of possibilities.

I'm currently using the Rulz plugin to enforce our rule of No RPGs, using the following rules:

 

Code:

On Kill;Weapon M320;Log M320 Kill
On Kill;Map Metro;Damage ProjectileExplosive;Count 3;Kick %p% was kicked for being a skilless RPG whore.
On Kill;Map Metro;Damage ProjectileExplosive;Count 2;Kill 100;PlayerSay You where warned!;PlayerSay Next time you will be kicked.;Say Player %p% was killed for being a RPG whore!
On Kill;Map Metro;Damage ProjectileExplosive;Count 1;PlayerSay This is your ONLY warning.;PlayerSay RPGs are not allowed!
On Kill;Map Bazaar;Damage ProjectileExplosive;Count 3;Kick %p% was kicked for being a skilless RPG whore.
On Kill;Map Bazaar;Damage ProjectileExplosive;Count 2;Kill 100;PlayerSay You where warned!;PlayerSay Next time you will be kicked.;Say Player %p% was killed for being a RPG whore!
On Kill;Map Bazaar;Damage ProjectileExplosive;Count 1;PlayerSay This is your ONLY warning.;PlayerSay RPGs are not allowed!
I've noticed that not all occurrences of death by RPG are being picked up, for example the below event seemed to be missed by the plugin:

 

Code:

[19:27:13]  Futuredann [RPG-7 Anti Tank rocket-propelled grenade launcher]  RiezZ_NL
Then a little later the following was picked up:

Code:

[19:43:57]  Futuredann [RPG-7 Anti Tank rocket-propelled grenade launcher]  ernestos666
[19:44:31] (PlayerSay Futuredann) You where warned!
[19:44:31] (PlayerSay Futuredann) Next time you will be kicked.
[19:44:31] Player Futuredann was killed for being a RPG whore!
[19:44:31] ProconRulz: Player Futuredann killed
Any ideas?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Novocaine*:

 

yes, I already reported that... the same problem is happening with my server.

Ok, well at least it's not just me. :ohmy:

 

I've read through the previous posts and done as suggested:

 

1) Turn on Logging for Chat and Console

2) Create a catch all event "On Kill;Log ^4%p% ^0killed ^4%v% ^0with ^8%w% ^0damage ^8%d%"

 

The logs can be downloaded from:

http://dibdab.net/stuff/chat.txt

http://dibdab.net/stuff/console.txt

 

I watched the logs for a while and saw the same again, one event was caught:

Code:

[22:52:39]  erjuan_sTRike [SMAW Anti Tank weapon]  obbayz
[22:53:13] (PlayerSay erjuan_sTRike) RPGs are not allowed!
[22:53:13] (PlayerSay erjuan_sTRike) This is your ONLY warning.
[22:52:48] obbayz > smaw allowed_
[22:52:51]  AYHAN-POWER [M27 IAR ]  hanfred26
[22:53:25] ProconRulz: AYHAN-POWER killed hanfred26 with M27 IAR  damage LMG
[22:52:52]  XoNoRoX [AS Val Supressed Assault Rifle]  Dung_Beetle_UK
[22:53:25] ProconRulz: XoNoRoX killed Dung_Beetle_UK with AS Val Supressed Assault Rifle damage AssaultRifle
[22:52:52]  Nubinz1337 [M27 IAR ]  XcWgoespro [Headshot]
[22:53:25] ProconRulz: Nubinz1337 killed XcWgoespro with M27 IAR  damage LMG
[22:52:52]  Spidercoke [M60 LMG]  XoNoRoX
[22:53:26] ProconRulz: Spidercoke killed XoNoRoX with M60 LMG damage LMG
[22:52:53]  ROBYCOP7474 [M416 Assault Rifle]  Spidercoke
[22:53:26] ProconRulz: ROBYCOP7474 killed Spidercoke with M416 Assault Rifle damage AssaultRifle
[22:52:53]  NilleRules [M240 Maschine Gun]  Bi3b0b
[22:53:27] ProconRulz: NilleRules killed Bi3b0b with M240 Maschine Gun damage LMG
[22:52:55]  erjuan_sTRike [SMAW Anti Tank weapon]  NilleRules
[22:53:28] (PlayerSay erjuan_sTRike) You where warned!
[22:53:28] (PlayerSay erjuan_sTRike) Next time you will be kicked.
[22:53:28] Player erjuan_sTRike was killed for being a RPG whore!
[22:53:28] ProconRulz: Player erjuan_sTRike killed
and another ignored:

Code:

[23:11:56]  erjuan_sTRike [RPG-7 Anti Tank rocket-propelled grenade launcher]  flextorviolence
[23:12:29] ProconRulz: erjuan_sTRike killed flextorviolence with RPG-7 Anti Tank rocket-propelled grenade launcher damage ProjectileExplosive
Full rule set:

Code:

# Melee Rule
On Kill;Damage Melee;Say %p% made %v% thier bitch!

# Ignore M320
On Kill;Map Metro;Weapon M320;Log M320 Kill

# Kill Rules
On Kill;Map Metro;Damage ProjectileExplosive;Count 3;Kick %p% was kicked for being a skilless RPG whore.
On Kill;Map Metro;Damage ProjectileExplosive;Count 2;Kill 100;PlayerSay You where warned!;PlayerSay Next time you will be kicked.;Say Player %p% was killed for being a RPG whore!
On Kill;Map Metro;Damage ProjectileExplosive;Count 1;PlayerSay This is your ONLY warning.;PlayerSay RPGs are not allowed!
On Kill;Map Bazaar;Damage ProjectileExplosive;Count 3;Kick %p% was kicked for being a skilless RPG whore.
On Kill;Map Bazaar;Damage ProjectileExplosive;Count 2;Kill 100;PlayerSay You where warned!;PlayerSay Next time you will be kicked.;Say Player %p% was killed for being a RPG whore!
On Kill;Map Bazaar;Damage ProjectileExplosive;Count 1;PlayerSay This is your ONLY warning.;PlayerSay RPGs are not allowed!

# Debug
On Kill;Log ^4%p% ^0killed ^4%v% ^0with ^8%w% ^0damage ^8%d%
Any help would be great and if you need any additional information, just let me know.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bambam*:

 

Novocaine superb - that's a good set of data. The console log with bf3 events logged is the minimum needed for any analysis. I'll check it through and let you know what I find and update this post.

 

** edit ** looking through it now - confirms it's a good set of data. I suspect the 'Map' condition isn't working the way it should...

 

*** edit *** lol ah... I think the issue is simpler than I thought. The 'Count X' condition means "The player has triggered this rule MORE than X times". So the first ProjectileExplosive kill drops through your "Count 1" rule down to the Debug catch-all. Use

 

On Kill;Map Metro;Damage ProjectileExplosive;PlayerCount 2;Kick %p% was kicked for being a skilless RPG whore.

On Kill;Map Metro;Damage ProjectileExplosive;PlayerCount 1;Kill 100;PlayerSay You where warned!;PlayerSay Next time you will be kicked.;Say Player %p% was killed for being a RPG whore!

On Kill;Map Metro;Damage ProjectileExplosive;PlayerSay This is your ONLY warning.;PlayerSay RPGs are not allowed!

 

Suggestions: Use higher counts, so the player suicides more before you kick. RPGs can kill 4 people in one hit, which count as 4 kills, and you rules will kick immediately. Maybe use the 'Kill' action on the first 5 kills? Most players wil get the message and behave. Don't use 2 'Say' actions (you can't guarantee the order anyway), compress into one line. Use the %p% playername so the player knows you're talking to them. (PlayerSay doesn't actually work on BF3, because DICE haven't implemented it - Phogue has helped out with Procon 1.1.1.1 converting and 'admin.say player ' (which ProconRulz generates from your PlayerSay action) into a 'squad say' to the squad that contains that player. Lucky you. E.g.

On Kill;Map Metro;Damage ProjectileExplosive;PlayerSay %p% this is your ONLY warning. RPGs are not allowed!

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

Originally Posted by RadicalMode*:

 

I've noticed two issues.

 

1 - Sometimes the event simply doesn't show (RPG and SMAW).

 

2 - Sometimes the event is triggered but shows only the main weapon (An assault weapon such as m416 with M360 - grenade launcher). So, the rule is not executed.

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

Originally Posted by Clay52*:

 

Regarding the sniper rule earlier in this thread (listed below), there is a problem with it in that it occasionally interprets LMG's as sniping from a distance, how can this be when they are different weapon classes, LMG vs SniperRifle? What is going on with this bambam, and can something be done to exclude LMGs from this, ideas?

 

On Kill;Damage SniperRifle;Count 7;Kick %p% ignoring sniper limit

On Kill;Damage SniperRifle;Count 5;Say %p% sniper limit;Kill 100

On Kill;Damage SniperRifle;Count 3;Say %p% sniper limit warning #%c%

 

I'm curious is this a valid rule?

 

On Kill;Weapon M39;Count 7;Kick %p% ignoring sniper limit

On Kill;Weapon M39;Count 5;Say %p% sniper limit;Kill 100

On Kill;Weapon M39;Count 3;Say %p% sniper limit warning #%c%

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

Originally Posted by bambam*:

 

Sometimes the event simply doesn't show

event is triggered but shows only the main weapon

interprets LMG's as sniping

Please... there are two basic things you have to do for ANY sensible analysis of what your rulz are doing.

 

(1) Include a debug rule that logs the weapons key [%wk%]

 

(2) enable logging of the console, and enable 'events' in the console

 

ProconRulz is in effect a meta-plugin, that allows you a lot of flexibility in programming your own plugin although I've made weapon limits as simple as possible. We have to be able to work out if your *rulz* have bugs before guessing you've discovered an undiscovered BF3/Procon/ProconRulz issue.

 

Thanks to Novocaine who did both of these.

 

Clay52, simply modify your rulz to include these log entries (note player starts getting killed at sniper kill #6 with these rulz)

On Kill;Damage SniperRifle;PlayerCount 7;Log %p% sniper limit kick with weapon [%wk%];Kick %p% ignoring sniper limit

On Kill;Damage SniperRifle;PlayerCount 5;Log %p% sniper limit kill with weapon [%wk%];Say %p% sniper limit;Kill 100

On Kill;Damage SniperRifle;Log %p% sniper limit with weapon [%wk%];Say %p% sniper limit warning #%c%

# Debug

On Kill;Log [%p%] killed [%v%] with [%wk%] damage [%d%]

 

If *then* you find a sniper limit log entry with an assault rifle key that will be news (and I'd be surprised, although that would suggest one of the assault rifles in BF3.def has been wrongly given damage-type 'SniperRifle' so you could check that.)

 

Your M39 rule looks fine to me, although the 'warning' will only display when Count>3, i.e. the first warning the player will see is "bambam sniper limit warning #4" and I'm guessing this isn't what you want. I took 'Count' out of your warning rule above for that reason, but I'm guessing what you want.

 

the event is triggered but shows only the main weapon

Please... enable logging in the console. stand in front of somebody, shoot them in the face with the underslung grenade launcher, and tell us all what event BF3 sends Procon (from the Procon console log with events enabled). "the event is triggered" is too vague for me to work with and I don't have time to repeat your issue and collect real data. Maybe BF3 sends the event to Procon "bambam killed radicalmode with the M16A4", or maybe it sends "bambam killled radicalmode with the M320", or something else. Don't worry about collecting 'say' messages in the chat window unless you have a timestamped event from the procon console with event logging that matches up to a ProconRulz 'Say' action including the weapon key %wk%. I'm guessing BF3 reports the underslung rifle nade launcher as an M320, but I don't know and you haven't produced any data I can use.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bambam*:

 

do a command for the MAV

Not in BF3 R10 - BF3 doesn't report anything useful regarding that 'Weapon'.

 

*edit* actually, anyone know how a MAV kill is reported in Procon events? A kill with weapon 'Death' maybe? I've seen MAV's used on Metro (why is that map the most abused_) and as there's no vehicles on that map (which definitely report all kills as by weapon 'Death') maybe making 'Death' suicidal with a rule would actually work...

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

Originally Posted by Dieter-Fragnet*:

 

[11:06:59] ProconRulz: Deadguard88 killed Badderaapje with M16A4 Assault Rifle, damage No damage key

[11:07:05] ProconRulz: eswede killed hais66 with F2000 Assault, damage No damage key

[11:07:05] ProconRulz: Keyser_S0Z3 killed keimuu with Magpul Personal Defense Rifle, damage No damage key

[11:07:07] ProconRulz: NOLF-MATEK killed pablotextoris with M27 IAR , damage No damage key

Any idea's the damage types doesn't get parsed...
* 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.




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