Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by KTwo*:

 

And I have a problem with the M320, if used separately, the rule works, but it is built under the gun, which rule funtzt not: (

How can I fix this problem?

You can't, it's DICE's problem.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

And I have a problem with the M320, if used separately, the rule works, but it is built under the gun, which rule funtzt not: (

How can I fix this problem?

Did you ever consider reading the first post of this thread?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by supertec*:

 

Please I have a question ( I have the plugin ProconRulz for BAD COMPANY 2 )

I search now (server with 16 slots, procon_1.1.3.1):

Only KNIFE and PISTOL

no tank, no choper, no UAV, no granade, no rifle, and others.

What is the code?

Thanks

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

Originally Posted by Ryote*:

 

Hi Guys looking to ban BMP on Squad death Match only with a 1 Kill/kick/ban senario, tryed using the limit vehicles option but the stays in place for every gametype and as we run a mixed mode its killing the server any help would be greatly appreciated!

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

Originally Posted by Ryote*:

 

Sorted it myself in the end but Great to see a community in action! Don't know f all about coding not necessarily looking to plow through 218 pages and numerous search pages to see i'm doing it wrong. I pay or donate for many of my plugins was just looking a bit of help!

 

Cheers for that

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

Originally Posted by KTwo*:

 

Sorted it myself in the end but Great to see a community in action! Don't know f all about coding not necessarily looking to plow through 218 pages and numerous search pages to see i'm doing it wrong. I pay or donate for many of my plugins was just looking a bit of help!

 

Cheers for that

No problem mate, I don't mean to turn people off from looking for help. If you are having an issue with code, feel free to post it and we can tell you what you are missing. I was referring specifically to posts such as "I want to ban 320, can you give me to code to do this_" We aren't going to program the whole thing for you when you don't even try. The reason bambam went through all this effort is to provide flexibility to the advanced server admins (or at least in my opinion). If you refuse to take the time to understand the plugin, I feel your server doesn't deserve to make use of the advanced features. But if you have code written, post it and ask why it is not working correctly, then I (we) would be glad to help. The more effort you put into it, the more effort we will put into helping you. [/rant]
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by L2Devlier*:

 

Hi guys,

 

I figured the following code MAY help with our underslug M320 ban issue, depending on your priorities. The code has been tested to work.

 

How it works:

 

When Player L2Devlier, %p%, kills Player DICE, %v%, with M16-underslugged-M320, %server_kvictimw[%v%]% will be set to m16a4, and %server_kvictimkiller[%v%]% to L2Devlier.

 

Then when DICE complains that m320 is used or asks "M320 allowed_", the on say event will be trigged and finds out that his last killer was L2Devlier with weapon M16A4 which is one of the weapons that allows underslugged M320.

 

Benefit-of-the-doubt will be given to DICE as there is no other method of cross checking the authenticity as to whether L2Devlier did really used a M320. Probability of a player complaining or asking M320 after being killed legally is be near 0.

 

The rulz will then TargetPlayer L2Devlier and execute TargetActions kill and yell. Killer variable %server_kvictimkiller[%p%]% of DICE will be cleared to prevent abuse.

 

Code:

On Kill
	Set %server_kvictimw[%v%]% %wk%
	Set %server_kvictimkiller[%v%]% %p%

On Say;Text m320
	If %server_kvictimw[%p%]% == aek-971;TargetPlayer %server_kvictimkiller[%p%]%;TargetAction Kill 800;TargetAction PlayerYell 30 M320 IS BANNED.;TargetAction Set %_killreason% BannedWeapon;Set %server_kvictimkiller[%p%]% 0
	If %server_kvictimw[%p%]% == m16a4;TargetPlayer %server_kvictimkiller[%p%]%;TargetAction Kill 800;TargetAction PlayerYell 30 M320 IS BANNED.;TargetAction Set %_killreason% BannedWeapon;Set %server_kvictimkiller[%p%]% 0
	If %server_kvictimw[%p%]% == M416;TargetPlayer %server_kvictimkiller[%p%]%;TargetAction Kill 800;TargetAction PlayerYell 30 M320 IS BANNED.;TargetAction Set %_killreason% BannedWeapon;Set %server_kvictimkiller[%p%]% 0
	If %server_kvictimw[%p%]% == Weapons/AK74M/AK74;TargetPlayer %server_kvictimkiller[%p%]%;TargetAction Kill 800;TargetAction PlayerYell 30 M320 IS BANNED.;TargetAction Set %_killreason% BannedWeapon;Set %server_kvictimkiller[%p%]% 0
	If %server_kvictimw[%p%]% == AN-94&abakan;TargetPlayer %server_kvictimkiller[%p%]%;TargetAction Kill 800;TargetAction PlayerYell 30 M320 IS BANNED.;TargetAction Set %_killreason% BannedWeapon;Set %server_kvictimkiller[%p%]% 0
SIDE EFFECTS OF THIS DRUG:

 

Players may abuse it once they discovers this by typing M320 whenever they are killed by assault rifles, however of course not all assault rifles are affected.

 

If victim does not say anything or mistype m320 this rule will not be triggered.

 

This is not the best idea but I hope this will spark new ways how we are able to catch underslugged m320.

 

Credits to BamBam for creating this awesome plugin

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

Originally Posted by L2Devlier*:

 

On Kill;Map xxx;Weapon xxx;PlayerCount 3;kick %p% no M320, RPG, SMAW, and C4

On Kill;Map xxx;Weapon xxx;PlayerCount 2;PlayerSay Final warning, no M320, RPG, SMAW, and C4;kill 100

On Kill;Map xxx;Weapon xxx;PlayerSay warning, no M320, RPG, SMAW, and C4;kill 100

 

for each weapon, you have to repeat these 3 rules. And if you are running only CQ maps on your server, ignore the "Map xxx", weapon key can be found on first page.

M320, RPG, SMAW can be summerised into Damage ProjectileExplosive. So instead of having 4 separate set of rules you can have just two. The rule above will allow a player to violate the no weapon rules 12 times. 3 on each weapons, as they uses individual counting mechanisms.

 

If 'Damage ProjectileExplosive' is used to unify the counting of M320/RPG/SMAW that will still leave out C4, and another separate mechanism is still used for that.

 

My take on this issue is:

 

Code:

On Spawn;PlayerFirst;Set %_usingbannedw% 0

On Kill;Damage ProjectileExplosive
If %_usingbannedw% ==  4;Kick NO %w%
If %_usingbannedw% < 4;Kill 100;PlayerSay NO %w%, warning %_usingbannedw% of 3;Yell 10 No M320/RPG/SMAW/C4;Continue
Incr %_usingbannedw%

On Kill;Weapon Weapons/Gadgets/C4/C4
If %_usingbannedw% ==  4;Kick NO %w%
If %_usingbannedw% < 4;Kill 100;PlayerSay NO %w%, warning %_usingbannedw% of 3;Yell 10 No M320/RPG/SMAW/C4;Continue
Incr %_usingbannedw%
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Yes!

 

A new person who has researched the functionality of the plugin and has fresh ideas! I was getting bummed out with 500 questions from people who never took 20 minutes to read and understand the first post of this thread.

 

Great work!

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

Originally Posted by bambam*:

 

Please I have a question ( I have the plugin ProconRulz for BAD COMPANY 2 )

I search now (server with 16 slots, procon_1.1.3.1):

Only KNIFE and PISTOL

no tank, no choper, no UAV, no granade, no rifle, and others.

What is the code?

Thanks

rulz as in example 3 on the 1st page of this thread.

 

That example is SniperRifle and Pistol, so for your purpose you want to change the SniperRifle reference to refer to the knife instead:

 

Each rule says something like "Not Damage SniperRifle" (which you want to change). The EASIEST thing to do would be to allow all weapons that do damage 'Melee' (knives, defib, repairtool) so just change "SniperRifle" to "Melee" in each of those rules. Easy, but now you have a Knife/Defib/Repairtool/Pistol server...

 

ALTERNATIVELY, if you want to do more work and exclude the defib and repairtool, then be specific about the various KNIFE weapons (there are 3), then "Not Damage SniperRifle;" in Example 3 becomes

 

Not Weapon Knife_RazorBlade;Not Weapon Melee;Not Weapon Weapons/Knife/Knife;

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

Originally Posted by cjffly*:

 

No problem mate, I don't mean to turn people off from looking for help. If you are having an issue with code, feel free to post it and we can tell you what you are missing. I was referring specifically to posts such as "I want to ban 320, can you give me to code to do this_" We aren't going to program the whole thing for you when you don't even try. The reason bambam went through all this effort is to provide flexibility to the advanced server admins (or at least in my opinion). If you refuse to take the time to understand the plugin, I feel your server doesn't deserve to make use of the advanced features. But if you have code written, post it and ask why it is not working correctly, then I (we) would be glad to help. The more effort you put into it, the more effort we will put into helping you. [/rant]

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

Originally Posted by cjffly*:

 

M320, RPG, SMAW can be summerised into Damage ProjectileExplosive. So instead of having 4 separate set of rules you can have just two. The rule above will allow a player to violate the no weapon rules 12 times. 3 on each weapons, as they uses individual counting mechanisms.

 

If 'Damage ProjectileExplosive' is used to unify the counting of M320/RPG/SMAW that will still leave out C4, and another separate mechanism is still used for that.

 

My take on this issue is:

 

Code:

On Spawn;PlayerFirst;Set %_usingbannedw% 0

On Kill;Damage ProjectileExplosive
If %_usingbannedw% ==  4;Kick NO %w%
If %_usingbannedw% < 4;Kill 100;PlayerSay NO %w%, warning %_usingbannedw% of 3;Yell 10 No M320/RPG/SMAW/C4;Continue
Incr %_usingbannedw%

On Kill;Weapon Weapons/Gadgets/C4/C4
If %_usingbannedw% ==  4;Kick NO %w%
If %_usingbannedw% < 4;Kill 100;PlayerSay NO %w%, warning %_usingbannedw% of 3;Yell 10 No M320/RPG/SMAW/C4;Continue
Incr %_usingbannedw%
good point!

I am just not sure how to use these "Set %xxx%" Variables~~

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

Originally Posted by KTwo*:

 

I have some things I really want to try, but I don't have a full server to test it out on. Could someone help me out? I am working towards making team switching kind of on a request basis along with a few other things up my sleeve. If you could let me know if the team numbers are constantly correct, that would be great. (See cjffly, "Set" can be useful :ohmy:)

 

#KTwo's Player Counter

On Spawn;PlayerFirst;Incr %server_team[%ptk%]%

On Spawn;If %ptk% == %pok%;Incr %server_team[%ptk%]%;Set %update% 1;

On Spawn;If %ptk% == 1;Set %pok% 2;

On Spawn;If %ptk% == 2;Set %pok% 1;

On Spawn;If %update% == 1;Decr %server_team[%pok%]%;Set %update% 0;

On Leave;Decr %server_team[%ptk%]%;

On Spawn;Log Team 1: %server_team[1]% versus Team 2: %server_team[2]%;Adminsay Team 1: %server_team[1]% versus Team 2: %server_team[2]%;

On Leave;Log Team 1: %server_team[1]% versus Team 2: %server_team[2]%;Adminsay Team 1: %server_team[1]% versus Team 2: %server_team[2]%;

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

Originally Posted by Henkenator68NL*:

 

Hi

I have a litttle problem with my rules.

I think that EA had changed the name of the RPG-7 in RPG7v2

Anyway here is my rules and i dont understand why it s not working.

put this rule on top of the rule list:

On Kill;Say %p% killed %v% with %w% (weapon key[%wk%], damage[%d%])

 

you than get an exact output of the weapon used, its key, its damage class!

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

Originally Posted by Henkenator68NL*:

 

Please I have a question ( I have the plugin ProconRulz for BAD COMPANY 2 )

I search now (server with 16 slots, procon_1.1.3.1):

Only KNIFE and PISTOL

no tank, no choper, no UAV, no granade, no rifle, and others.

What is the code?

Thanks

I use a similar code for my server, I addapted it to pistol and knife only

# KILL RULZ Noshsar Canals = Pistol Only

On Kill;Map MP_017;Not Damage Melee;Not Damage handgun;PlayerCount 3;Log %p% banned (Pistol/Knife only);Yell %p% Banned 48h by Admin (Pistol/Knife Only);TempBan 172800 %p% Pistol/Knife only 48h Ban

On Kill; Map MP_017;Not Damage Melee;Not Damage handgun;PlayerCount 1;Log %p% kicked (Pistol/Knife Only);Yell %p% Kicked for using %w% by Admin (Pistol/Knife Only);Kick %p% Pistol/Knife Only

On Kill;Map MP_017;Not Damage Melee;Not Damage handgun;PlayerSay %p% Pistol/Knife Only;Say %p% Killed for using %w% by Admin (Pistol/Knife Only);Kill 100

 

If modified my rule for your needs. If you do not use fixed maps than delete the Map MP_017 part...

looks like this than:

On Kill;Not Damage Melee;Not Damage handgun;PlayerSay %p% Pistol/Knife Only;Say %p% Killed for using %w% by Admin (Pistol/Knife Only);Kill 100

 

Have Fun !

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

Originally Posted by L2Devlier*:

 

good point!

I am just not sure how to use these "Set %xxx%" Variables~~

Yell 10 Warning, hard-to-understand explaination belowTake admin say for explaination, there are levels at which things are executed namely Player, Team, Server

In a 32 player server there will be 32x player level executable doing the same functions, 2x Team level, but just one Server level executable.

 

In rulz variable you store data - replace executables with 'store data' - on these levels. 32 possible different set of variables at player level, 2 set of team level and 1 server.

 

Lets say four players EA, L2D and DICE, Bam are on RU and US respectively. Player level variable for EA can't be used, or called, by L2D nor DICE / Bam. This kind of variable is 'selfish', it won't be shared, used only by EA itself.

 

Team level variable for RU can be used by EA & L2D but cannot be used by DICE & Bam (a very good example is %team_score% though it is not a custom-made rulz variable). When you call %team_score% by L2D you won't expect it to return US team's ticket count.

 

Server level variables can be called by any players or team.

 

The 'format' of telling proconrulz what level does this particular level is %server_xxx%, %team_xxx%, and %_xxx% for server, team, player level. Note there is no %player_xxx%, it is made default by BamBam. You can forget about the underscore for latter but you may encounter HTML error. it is recommended you use ? to avoid it.

 

Besides player level variable, there is a very nice way to set special VIP variables for each players at the server level.

%sever_xxx[%p%]%

This is easy to understand. What will %p% going to be? The player's name. So what will happen after that? A new server level variable will be created with the name of the player. %server_xxx[L2D]%.

To put it in a bad way, we are cheating proconrulz to some extent. (but it's done this way by BamBam)

 

 

Now comes the part what kind of variable you can store in those custom-made rulz variable. If you have programming background, you will know usually each variable can only be made to store specifically numbers, or letters (string), or boolean (true or false). You won't be able to store a sentence of text into a variable for Boolean.

 

However, this is not the case in proconrulz. There is no specific rule that says what kind of data you can store into the variables. So you can use it to store anything interchangably.

 

Above are what comes to my mind in explaining variables.

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

Originally Posted by bambam*:

 

hehe well done L2Devlier - interesting style but this is all completely correct. In terms of how I implemented 'player variables' maybe it's worth saying that a general player variable like, say, %kills% is exactly the same as %server_kills[%p%]% - so this isn't really "cheating" ProconRulz, the 'real' variable name is %server_[]% but you can use %% as a shortcut.

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

Originally Posted by supertec*:

 

I use a similar code for my server, I addapted it to pistol and knife only

# KILL RULZ Noshsar Canals = Pistol Only

On Kill;Map MP_017;Not Damage Melee;Not Damage handgun;PlayerCount 3;Log %p% banned (Pistol/Knife only);Yell %p% Banned 48h by Admin (Pistol/Knife Only);TempBan 172800 %p% Pistol/Knife only 48h Ban

On Kill; Map MP_017;Not Damage Melee;Not Damage handgun;PlayerCount 1;Log %p% kicked (Pistol/Knife Only);Yell %p% Kicked for using %w% by Admin (Pistol/Knife Only);Kick %p% Pistol/Knife Only

On Kill;Map MP_017;Not Damage Melee;Not Damage handgun;PlayerSay %p% Pistol/Knife Only;Say %p% Killed for using %w% by Admin (Pistol/Knife Only);Kill 100

 

If modified my rule for your needs. If you do not use fixed maps than delete the Map MP_017 part...

looks like this than:

On Kill;Not Damage Melee;Not Damage handgun;PlayerSay %p% Pistol/Knife Only;Say %p% Killed for using %w% by Admin (Pistol/Knife Only);Kill 100

 

Have Fun !

Ok very thanks

 

what is fixed map MP_017?

I have mode RUSH, I have not MP_017

If a player kill with defib or repairtool ,what happend?

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

Originally Posted by cjffly*:

 

Yell 10 Warning, hard-to-understand explaination belowTake admin say for explaination, there are levels at which things are executed namely Player, Team, Server

In a 32 player server there will be 32x player level executable doing the same functions, 2x Team level, but just one Server level executable.

 

In rulz variable you store data - replace executables with 'store data' - on these levels. 32 possible different set of variables at player level, 2 set of team level and 1 server.

 

Lets say four players EA, L2D and DICE, Bam are on RU and US respectively. Player level variable for EA can't be used, or called, by L2D nor DICE / Bam. This kind of variable is 'selfish', it won't be shared, used only by EA itself.

 

Team level variable for RU can be used by EA & L2D but cannot be used by DICE & Bam (a very good example is %team_score% though it is not a custom-made rulz variable). When you call %team_score% by L2D you won't expect it to return US team's ticket count.

 

Server level variables can be called by any players or team.

 

The 'format' of telling proconrulz what level does this particular level is %server_xxx%, %team_xxx%, and %_xxx% for server, team, player level. Note there is no %player_xxx%, it is made default by BamBam. You can forget about the underscore for latter but you may encounter HTML error. it is recommended you use ? to avoid it.

 

Besides player level variable, there is a very nice way to set special VIP variables for each players at the server level.

%sever_xxx[%p%]%

This is easy to understand. What will %p% going to be? The player's name. So what will happen after that? A new server level variable will be created with the name of the player. %server_xxx[L2D]%.

To put it in a bad way, we are cheating proconrulz to some extent. (but it's done this way by BamBam)

 

 

Now comes the part what kind of variable you can store in those custom-made rulz variable. If you have programming background, you will know usually each variable can only be made to store specifically numbers, or letters (string), or boolean (true or false). You won't be able to store a sentence of text into a variable for Boolean.

 

However, this is not the case in proconrulz. There is no specific rule that says what kind of data you can store into the variables. So you can use it to store anything interchangably.

 

Above are what comes to my mind in explaining variables.

Thanks!

In fact, I have some programming background, I had written some program on Android. Sometimes I just want to keep this rulz simple so I am kind of avoiding using variables, but you are right, we can do a lot using these!

 

and could you explain your code about switching teams? I have servers that can test your codes

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

Originally Posted by KTwo*:

 

and could you explain your code about switching teams? I have servers that can test your codes

The idea will be to allow people to type in !swap and it will queue them up to be switched to the other team when there is room. If one player on each team is looking to be swapped, then it will make the switch. Obviously this won't work on a fulll server because DICE blows, but it is better then nothing. Some of this will require the persistent values that bambam is working on, but we can start on the building blocks until then.

 

The first trick is to correctly report and have a constant read on the amount of players on a server which is what this test code is. I updated it a tad so I pasted it below again. I have seen the numbers skewed (5v5 was like 4v7), but I haven't been able to find the root cause. To note, this will not work on squad deathmatch, only on modes with two teams.

 

Code:

#Player Counter
	On Spawn;PlayerFirst;Incr %server_team[%ptk%]%
	On Spawn;If %ptk% == %pok%;Incr %server_team[%ptk%]%;Set %update% 1; 
	On Spawn;If %ptk% == 1;Set %pok% 2;
	On Spawn;If %ptk% == 2;Set %pok% 1;
	On Spawn;If %update% == 1;Decr %server_team[%pok%]%;Set %update% 0;
	On Leave;Decr %server_team[%ptk%]%;
	On Spawn;PlayerFirst;Log Team 1: %server_team[1]% versus Team 2: %server_team[2]%;Adminsay Team 1: %server_team[1]% versus Team 2: %server_team[2]%;
	On Leave;Log Team 1: %server_team[1]% versus Team 2: %server_team[2]%;Adminsay Team 1: %server_team[1]% versus Team 2: %server_team[2]%;
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Graf-Zahl*:

 

Hi there!

 

First thx 4 the great plugin and all the guys who are working on rulz, giving help to others.

I have a problem with reducing the frequency of weapon usage.

We have our ProconRulz running on a Procon Layer Server.

 

The problem is:

I want to kill people when they use RPG, SMAW, M320 more than 2 times in 90 secs. Incl. say message.

I want to kick people when they use RPG, SMAW, M320 more than 6 times in 120 secs. Incl. say message.

 

I have tested the rules on our unranked server (NOT RUNNING on a layer server) and they all worked.

So the code should be good i thought. Copy + Paste to the procon layer server.

Here starts the problem.

 

All rules work as they should. Only the RPG, SMAW, M320 rules doesnt.

The trigger for the "say" message is activated, the message appears e.g. "PLAYER was killed, because of excessive RPG spamming"

BUT the player isnt killed and not even kicked. (Worked as i said before on the unranked server without a procon layer)

When i have a look inside procon under "events" i can read, the player was killed by the admin. The strange thing is, that under the tab "admin" the letters "SYOP" appear when the event/player killing happens. This is only on the procon layer server.

On our unranked server, when the event/player killing happens, the "admin" tab is empty and the player is actually killed.

 

I dont know where the error ist. I restarted the server, restarted the procon layer server... Nothing helps.

The messages appear, but the players arent killed for usage of the weapons.

 

Anybody an idea? Can help? THX very much!

Ah, heres the code i actually use :smile::

 

Code:

#             SPAWN RULE, so we get info when BF3 gives it
On Spawn;Log [%pt%] ^2%p%^0 spawned with [%kk%], [%wk%], [%speck%]
#             TEAMKILL RULZ
On TeamKill;Admin
On TeamKill;PlayerCount 2;Log %p% SUICIDAL TEAMKILL #%c% on %v% with %w%;Kill 100
On TeamKill;Log TEAMKILL #%c% by ^2%p%^0 on ^2%v%^0 with %w%
#             SUICIDE LOG
On Suicide;Log Suicide by [%pt%] [^2%p%^0] with [%wk%]
#             SAMPLE KILL RULZ
On Kill;Weapon M15&AT&MINE;Log Mine kill by [^2%p%^0] on [^2%v%^0]
On Kill;Weapon weapons/knife/knife;Log Knife kill by [^2%p%^0] on [^2%v%^0]
On Kill;Damage ProjectileExplosive;Log Rockect nade kill by [^2%p%^0] on [^2%v%^0]
On Kill;Log Kill [%pt%] [^2%p%^0] killed [%vt%] [^2%v%^0] with [%wk%] [%w%], Kit [%kk%] [%k%], Damage [%d%]
#             SAMPLE SAY RULZ
On Say;Text protected;Protected;Say [^2%p%^0] is protected
On Say;Text protected;Not Protected;Say [^2%p%^0] is NOT protected
On Say;Admin;Text xkill;TargetPlayer;Say Confirm %t%;TargetAction Say %t% killed by admin;TargetAction Kill 100
On Say;Admin;Text xkick;TargetPlayer;Say Confirm %t%;TargetAction Say %t% kicked by admin;TargetAction Kick Kicked by admin
On Say;Text xyes;TargetConfirm
#             ROUND CHANGE
On Round;Log Round change to [%m%] [%mm%]
#             JOINER/LEAVER LOG
On Join;Admin;Log Joiner [^2%p%^0] (min teamsize %n%) (Admin)
On Join;Log Joiner [^2%p%^0] (min teamsize %n%) (Not admin)
On Leave; Log Leaver [^2%p%^0] (min teamsize %n%)
#
#	Kill Streak Announcer
# 	Announcements of killstreak ending:
#
On Kill;If %server_streak[%v%]% >= 5;Yell %p% ended %v%'s %server_streak[%v%]%-KILL STREAK with %w%
On TeamKill;If %server_streak[%v%]% >= 5;Yell %p%'s TEAMKILL ended %v%'s %server_streak[%v%]%-KILL STREAK with %w%
On Suicide;If %server_streak[%p%]% >= 5;Yell %p% ended his %server_streak[%p%]%-KILL STREAK with a SUICIDE… MUHAHA!
#
#	 Reset the player's streak count when they are killed:
#
On Kill;Set %server_streak[%v%]% 0
On TeamKill;Set %server_streak[%v%]% 0
On Suicide;Set %server_streak[%v%]% 0
#
#	Reset killincr to 0 if server_streak is 0
#
On Kill;If %server_streak[%p%]% == 0;Set %killincr% 0
#
#	Accumulate the kill count for each player in a var %server_streak[playername]%
#
On Kill;Incr %killincr%;Incr %server_streak[%p%]%;
#
# 	Say periodic killstreak messages
#
On Kill;If %killincr% == 30;Set %killincr% 25;PlayerYell GodLike! %p% %server_streak[%p%]% You are the hero of the battle!
On Kill;If %server_streak[%p%]% == 25;PlayerYell GodLike! %p% you have a 25-KILL STREAK
On Kill;If %server_streak[%p%]% == 20;PlayerYell Unstoppable! %p% you have a 20-KILL STREAK
On Kill;If %server_streak[%p%]% == 15;PlayerYell Dominating! %p% you have a 15-KILL STREAK;Yell %p% is still bodycounting! KILL HIM!
On Kill;If %server_streak[%p%]% == 10;PlayerYell Rampage! %p% you have a 10-KILL STREAK;Yell %p% has a 10-KILL STREAK. Hunt him down!
On Kill;If %server_streak[%p%]% == 5;PlayerYell Killing Spree! %p% you have a 5-KILL STREAK#
#	Kill Announcements
#
On Kill;Weapon Weapons/Knife/Knife;Yell %p% butchered %v% !
On Kill;Weapon Knife_RazorBlade;Yell %p% butchered %v% !
On Kill;Weapon Melee;Yell %p% slit the throat and stole the tags of %v% !
On Kill;Weapon Weapons/Gadgets/Claymore/Claymore;Yell %v% got Claymore bullets of %p% in his head 
On Kill;Weapon Defib;Yell %v% got a heart attack, sponsored by %p% ! 
On Kill;Weapon Weapons/Gadgets/C4/C4;Yell Crash! Boom! Bang! %p% atomized %v% ! 
On Kill;Weapon M26Mass;Yell %p%   M26 = DEAD %v%
On Kill;Weapon RoadKill;Yell %p% knows how to drive! Poor, blind %v% !  
On Kill;Weapon Repair&Tool;Yell %v% was burned away by first-mechanic %p% ! 
#
#	RPG & M320 Spam Protection
#
On Kill;Weapon M320;Rate 2 90;Kill;Say %p% was killed, because of excessive M320 spam
On Kill;Weapon M320;Rate 6 120;Kick;Say %p% was kicked, because of excessive M320 spam
On Kill;Weapon RPG-7,SMAW;Rate 2 90;Kill;Say %p% was killed, because of excessive RPG/SMAW spam
On Kill;Weapon RPG-7,SMAW;Rate 6 120;Kick;Say %p% was kicked, because of excessive RPG/SMAW spam
#
#	Country Welcomer 
#	Countrykeys only in small letters based on ISO3166 
#	Only latin letters works propper
#
On Spawn;PlayerOnce;If %pcountrykey% == de;PlayerYell 10 WILLKOMMEN %p% bei den  German-Frontliners - BITTE BEACHTE UNSERE REGELN
On Spawn;PlayerOnce;If %pcountrykey% == nl;PlayerYell 10 Welkom %p% de German-Frontliners – LET OP ONZE REGELS
On Spawn;PlayerOnce;If %pcountrykey% == fr;PlayerYell 10 BONJOUR %p% à l' German-Frontliners - S'IL VOUS PLAÎT NOTE NOS RÈGLES
On Spawn;PlayerOnce;If %pcountrykey% == uk;PlayerYell 10 WELCOME %p% to the German-Frontliners - PLEASE FOLLOW OUR RULES
On Spawn;PlayerOnce;If %pcountrykey% == us;PlayerYell 10 WELCOME %p% to the German-Frontliners - PLEASE FOLLOW OUR RULES
On Spawn;PlayerOnce;If %pcountrykey% == ru;PlayerYell 10 ????? ?????????? %p%] ? German-Frontliners - ?????????? ?????? ????? ????????
On Spawn;PlayerOnce;If %pcountrykey% == pt;PlayerYell 10 Boas-Vindas %p% na nossa casa German-Frontliners - POR FAVOR ANOTE NOSSO REGIMENTO
On Spawn;PlayerOnce;If %pcountrykey% == dk;PlayerYell 10 Velkommen %p% med os German-Frontliners - BEMÆRK VENLIGST VORES REGLER
On Spawn;PlayerOnce;If %pcountrykey% == it;PlayerYell 10 Benvenuti %p% al German-Frontliners - SI PREGA DI SEGUIRE LE NOSTRE REGOLE
On Spawn;PlayerOnce;If %pcountrykey% == no;PlayerYell 10 Velkommen %p% til German-Frontliners - MERK VÅRE REGLER 
On Spawn;PlayerOnce;If %pcountrykey% == se;PlayerYell 10 Välkommen %p% till German-Frontliners - OBS VÅRA REGLER
On Spawn;PlayerOnce;If %pcountrykey% == es;PlayerYell 10 Bienvenido %p% a la German-Frontliners - POR FAVOR SIGA NUESTRO REGLAMENTO
On Spawn;PlayerOnce;If %pcountrykey% == fi;PlayerYell 10 Tervetula %p% at German-Frontliners - HUOM MEIDÄN SÄÄNNÖT
On Spawn;PlayerOnce;If %pcountrykey% == pl;PlayerYell 10 Mile widziane %p% w German-Frontliners - PROSIMY O PRZESTRZEGANIE NASZYCH ZASAD
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bambam*:

 

Hi there!

 

First thx 4 the great plugin and all the guys who are working on rulz, giving help to others.

I have a problem with reducing the frequency of weapon usage.

We have our ProconRulz running on a Procon Layer Server.

 

The problem is:

I want to kill people when they use RPG, SMAW, M320 more than 2 times in 90 secs. Incl. say message.

I want to kick people when they use RPG, SMAW, M320 more than 6 times in 120 secs. Incl. say message.

 

I have tested the rules on our unranked server (NOT RUNNING on a layer server) and they all worked.

So the code should be good i thought. Copy + Paste to the procon layer server.

Here starts the problem.

 

All rules work as they should. Only the RPG, SMAW, M320 rules doesnt.

The trigger for the "say" message is activated, the message appears e.g. "PLAYER was killed, because of excessive RPG spamming"

BUT the player isnt killed and not even kicked. (Worked as i said before on the unranked server without a procon layer)

When i have a look inside procon under "events" i can read, the player was killed by the admin. The strange thing is, that under the tab "admin" the letters "SYOP" appear when the event/player killing happens. This is only on the procon layer server.

On our unranked server, when the event/player killing happens, the "admin" tab is empty and the player is actually killed.

Most likely, you are testing with a player that has a Procon admin account defined on the layer server (e.g. you_), plus your ProconRulz settings for "protect these players from Kills and Kicks" says "Admin". ProconRulz settings allow some players to be 'protected' from it's in-game admin actions (you can type 'protected' in chat and it will tell you if it thinks you are...) - see the 'Settings' tab.

 

That's the most likely issue - if it's not that come back - maybe you're mixed up with what's on the layer server vs. what you're seeing locally...

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

Originally Posted by Graf-Zahl*:

 

Thx for the fast repy bambam.

 

The ProconRulz settings are set to "Neither". So i should be killed.

My clanfriends and me tested it on the Unranked without Layer Server = Works! Kills and Kicks

We tested it on the ranked with the Layer Server (settings are all the same) = Didnt work. Even other players, which are defenitely no admins arent killed.

 

What you mean with ".. maybe you're mixed up with what's on the layer server vs. what you're seeing locally..." ?

 

The message under the "Admin" tab means "SYSOP" not "SYOP" as written before (only on the Procon Layer)

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

Originally Posted by bambam*:

 

hmmm - I don't think this is anything to do with ranked/unranked... it's something to do with the layer server. We can debug it a bit at a time...

 

I don't think it is likely the "Kill" command is affected just on the "m320/SMAW/RPG" rule, it would be on everything... for testing I suggest you create a rule:

 

On Say;Text killme;Say %p% said killme;Kill 3000

 

In-game, chat "killme" and see if you see the "Graf-Zahl said killme" message and die after a 3-second delay...

 

If *not* then enable logging chat/events/console/plugins in your procon (Tools -> Options), plus enable 'Events' on the Procon 'Console tab', and check out all the logs for EXACTLY the time around you said "killme"...

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

Originally Posted by Shakal-hh*:

 

i have a problem since the last version of procon...

 

the player on my server can punish teamkiller as often they want :-(

 

# Team Kill Tracking Rules

On TeamKill;If %server_lastteamkill[%v%]% == %p%;Say %p% killed for payback team kill against %v%.;Kill

On TeamKill;If %server_lastteamkill[%p%]% == %v%;Say %p% killed for team killing %v% twice in a row.;Kill

On TeamKill;Set %server_lastteamkill[%p%]% %v%

# Team Kill Punish Rule

On Kill;Set %server_lastteamkiller[%v%]% 0;Set %server_lastteamkiller[%p%]% 0

On TeamKill;Set %server_lastteamkiller[%v%]% %p%

On Say;Text !punish;If %server_lastteamkiller[%p%]% != 0;TargetPlayer %server_lastteamkiller[%p%]%;Say %server_lastteamkiller[%p%]% killed for team killing.;TargetAction Kill;TargetConfirm

On Say;Text !punish;If %server_lastteamkiller[%p%]% == 0;PlayerSay could not find a recent team kill to punish.

On Say;Text !forgive;If %server_lastteamkiller[%p%]% != 0;Set %server_lastteamkill[%server_lastteamkiller[%p%]%]% 0;Say %server_lastteamkiller[%p%]% was forgiven by %p%.

On Say;Text !forgive;If %server_lastteamkiller[%p%]% == 0;PlayerSay could not find a recent team kill to forgive.

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

Originally Posted by lehms*:

 

Hi all , Bonjour tt le monde ,

 

je cherche les lignes de codes qui permettent de kick les personnes qui insulte sur mon server , j'en ai essayer quelques une que j'ai trouver ici mais ça ne marche pas , si une insulte et dite sur le server ça me met le message de kick mais rien ne se passe !

pourriez vous m'aider si il vous plais ?

 

I look for lines of code that can kick people who insult on my server, I try a few that I find here but it does not work if an insult and called on the server it gives me the message kick but nothing happens!

could you help me please ?

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

Originally Posted by bambam*:

 

Hi all , Bonjour tt le monde ,

 

je cherche les lignes de codes qui permettent de kick les personnes qui insulte sur mon server , j'en ai essayer quelques une que j'ai trouver ici mais ça ne marche pas , si une insulte et dite sur le server ça me met le message de kick mais rien ne se passe !

pourriez vous m'aider si il vous plais ?

 

I look for lines of code that can kick people who insult on my server, I try a few that I find here but it does not work if an insult and called on the server it gives me the message kick but nothing happens!

could you help me please ?

Are you testing with an 'admin' who is protected in the ProconRulz settings ?
* 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.