Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by DonKim*:

 

BAMBAM pls help me .....

 

I want to Limit the Nad Kills but it doesn´t Work ! My rule works for only 2min. after that the Rule recognizes EVERY Weapon Kill as an NADE kill !!! :sad:

 

Here my Rule

 

On Kill;Map Subway,Damage M67;PlayerCount 10;Say %p% Nade LIMIT is set on 15 Kills ! be careful

On Kill;Map Subway,Damage M67;PlayerCount 15;Say %p% Nade LIMIT REACHED ! STOP NOW

On Kill;Map Subway,Damage M67;PlayerCount 16;Say %p% Nade LIMIT REACHED ! STOP NOW;Kill 100

On Kill;Map Subway,Damage M67;PlayerCount 17;Say %p% Nade LIMIT REACHED ! STOP NOW;Kill 100

On Kill;Map Subway,Damage M67;PlayerCount 18;Say %p% Nade LIMIT REACHED ! STOP NOW;Kill 100

On Kill;Map Subway,Damage M67;PlayerCount 19;Say %p% Nade LIMIT REACHED ! STOP NOW one kill & u will be Kicked ;Kill 100

On Kill;Map Subway,Damage M67;PlayerCount 20;Say %p% Kicked because he is incorrigible -> over 20 Kills with Nades...;Kick

i tried also this

 

On Kill;Map Subway,Weapon M67;PlayerCount 10;Say %p% Nade LIMIT is set on 15 Kills ! be careful

On Kill;Map Subway,Weapon M67;PlayerCount 15;Say %p% Nade LIMIT REACHED ! STOP NOW

On Kill;Map Subway,Weapon M67;PlayerCount 16;Say %p% Nade LIMIT REACHED ! STOP NOW;Kill 100

On Kill;Map Subway,Weapon M67;PlayerCount 17;Say %p% Nade LIMIT REACHED ! STOP NOW;Kill 100

On Kill;Map Subway,Weapon M67;PlayerCount 18;Say %p% Nade LIMIT REACHED ! STOP NOW;Kill 100

On Kill;Map Subway,Weapon M67;PlayerCount 19;Say %p% Nade LIMIT REACHED ! STOP NOW one kill & u will be Kicked ;Kill 100

On Kill;Map Subway,Weapon M67;PlayerCount 20;Say %p% Kicked because he is incorrigible -> over 20 Kills with Nades... ;Kick

and this

 

On Kill;Map Subway,Damage Explosive;PlayerCount 10;Say %p% Nade LIMIT is set on 15 Kills ! be careful

On Kill;Map Subway,Damage Explosive;PlayerCount 15;Say %p% Nade LIMIT REACHED ! STOP NOW

On Kill;Map Subway,Damage Explosive;PlayerCount 16;Say %p% Nade LIMIT REACHED ! STOP NOW;Kill 100

On Kill;Map Subway,Damage Explosive;PlayerCount 17;Say %p% Nade LIMIT REACHED ! STOP NOW;Kill 100

On Kill;Map Subway,Damage Explosive;PlayerCount 18;Say %p% Nade LIMIT REACHED ! STOP NOW;Kill 100

On Kill;Map Subway,Damage Explosive;PlayerCount 19;Say %p% Nade LIMIT REACHED ! STOP NOW one kill & u will be Kicked ;Kill 100

On Kill;Map Subway,Damage Explosive;PlayerCount 19;Say %p% Kicked because he is incorrigible -> over 20 Kills with Nades... ;Kick

WHATS WRONG with it?

 

 

EDIT: I´ve found my error ... :biggrin: NOW it works

 

On Kill;Map Subway;Weapon M67;Count 10;Say %p% Nade LIMIT is set on 15 Kills ! be careful

On Kill;Map Subway;Weapon M67;Count 15;Say %p% Nade LIMIT REACHED ! STOP NOW

On Kill;Map Subway;Weapon M67;Count 16;PlayerSay %p% Nade LIMIT REACHED ! STOP NOW;Kill 100

On Kill;Map Subway;Weapon M67;Count 17;PlayerSay %p% Nade LIMIT REACHED ! STOP NOW;Kill 100

On Kill;Map Subway;Weapon M67;Count 18;PlayerSay %p% Nade LIMIT REACHED ! STOP NOW;Kill 100

On Kill;Map Subway;Weapon M67;Count 19;Say %p% Nade LIMIT REACHED ! STOP NOW one kill & u will be Kicked ;Kill 100

On Kill;Map Subway;Weapon M67;Count 20;Say %p% Kicked because he is incorrigible -> over 20 Kills with Nades... ;Kick

I´ve to write Count and not PlayerCount :biggrin: !!!!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

No, you don't want to use Count. Use PlayerCount. Count will add up all the players so that if one player has 19 nade kills, if another player makes one nade kill, it will count as the 20th nade kill and kick him even though he made only one nade kill. Your order is simply backwards. You need the highest count first and the lowest count last.

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

Originally Posted by Selfrot*:

 

How and where do I add these rulz? I have no freaking idea, I tried adding it to the CS file -- Didn't work. Tried modding it in Procon -- Didn't work.

 

Help, pl0x? Be more specific as to where to add these rules in your documentation!

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

Originally Posted by ty_ger07*:

 

How and where do I add these rulz? I have no freaking idea, I tried adding it to the CS file -- Didn't work. Tried modding it in Procon -- Didn't work.

 

Help, pl0x? Be more specific as to where to add these rules in your documentation!

Read the first post!

 

www.phogue.net/forumvb/showth...-admin-actions*

 

Under How to enter your rulz, click show.

 

Look! A pretty picture and explaination!

Click the elements 1..5 as per the screenshot below.

When the [...] button is clicked on the 'Rules' plugin setting (#5 in image) a pop-up edit window wll appear and you cut-and-paste your rulz into that window and save.

proconrulz1.jpg

Don't be helpless in life, READ! If you skim, you will miss the important stuff.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Selfrot*:

 

Read the first post!

 

www.phogue.net/forumvb/showth...-admin-actions*

 

Under How to enter your rulz, click show.

 

Look! A pretty picture and explaination!

Hmmmmmmmmmmmmmmmmmmm, Ctrl-f - How to enter your rulz, gave NOTHING, shocking isn't it? :biggrin:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by DonKim*:

 

No, you don't want to use Count. Use PlayerCount. Count will add up all the players so that if one player has 19 nade kills, if another player makes one nade kill, it will count as the 20th nade kill and kick him even though he made only one nade kill. Your order is simply backwards. You need the highest count first and the lowest count last.

Danke dir ty_ger07 für den Tipp jetzt funktioniert es SUPER !

wusste auch nicht das ich eine Absteigende folge haben muss ! Danke dir nochmal !!

 

THX ty_ger07 ... was a nice tip ! now it works superb !!!

I dont know that i need a descending sequence !

But you never stop learning !!

 

THX

 

here my NADE limit Rule for all the other people .. :biggrin:

 

On Kill;Map Subway;Weapon M67;PlayerCount 20;Say %p% Kicked because he is incorrigible -> over 20 Kills with Nades... ;Kick

On Kill;Map Subway;Weapon M67;PlayerCount 19;Say %p% Nade LIMIT REACHED ! STOP NOW one kill & u will be Kicked ;Kill 100

On Kill;Map Subway;Weapon M67;PlayerCount 18;PlayerSay %p% Nade LIMIT REACHED ! STOP NOW #18;Kill 100

On Kill;Map Subway;Weapon M67;PlayerCount 17;PlayerSay %p% Nade LIMIT REACHED ! STOP NOW #17;Kill 100

On Kill;Map Subway;Weapon M67;PlayerCount 16;PlayerSay %p% Nade LIMIT REACHED ! STOP NOW #16;Kill 100

On Kill;Map Subway;Weapon M67;PlayerCount 15;PlayerSay %p% Nade LIMIT REACHED ! STOP NOW

On Kill;Map Subway;Weapon M67;PlayerCount 10;PlayerSay %p% Nade LIMIT is set on 15 Kills #10 ! be careful

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

Originally Posted by Selfrot*:

 

On Kill;Weapon as&val;TempBan 300 AS Val

On Kill;Weapon M15&AT&MINE;TempBan 300 Mine

On Kill;Damage ProjectileExplosive;TempBan 300 No M320/RPG/SMAW

On Kill;Weapon Weapons/Gadgets/Claymore/Claymore;TempBan 300 Claymore

On Kill;Weapon Weapons/Gadgets/C4/C4;TempBan 300 C4

Any idea why these ^ doesn't work?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Can same one say me if this will work?

 

On Kill;Rate 6 15;Exec punkBuster.pb_sv_command pb_sv_getss %p%;say PB Screen taken of %p%

Yes, that should work.

 

Or is there a way to say take a screenshot if player has kdr 3.5?

No, there is no easy way to track KDR and no, you can't do a .5 KDR. You could take a screenshot at 3 KDR or 4 KDR, but not at 3.5 KDR.

 

Here is an example of taking a screenshot at 4 KDR:

 

On Kill;Incr %kills%;Incr %server_4deaths[%v%]%;Incr %server_4deaths[%v%]%;Incr %server_4deaths[%v%]%;Incr %server_4deaths[%v%]%

On Kill;If %kills% > 5;If %kills% > %server_4deaths[%p%]%;Exec punkBuster.pb_sv_command pb_sv_getss %p%;say PB Screen taken of %p%

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

Originally Posted by coco777*:

 

Any idea why these ^ doesn't work?

Try this>

 

On Kill;Weapon as&val;TempBan 300 %p% AS Val

On Kill;Weapon M15&AT&MINE;TempBan 300 % Mine

On Kill;Damage ProjectileExplosive;TempBan 300 %p% No M320/RPG/SMAW

On Kill;Weapon Weapons/Gadgets/Claymore/Claymore;TempBan 300 %p% Claymore

On Kill;Weapon Weapons/Gadgets/C4/C4;TempBan 300 %p% C4

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

Originally Posted by DonKim*:

 

Yes, that should work.

 

 

 

No, there is no easy way to track KDR and no, you can't do a .5 KDR. You could take a screenshot at 3 KDR or 4 KDR, but not at 3.5 KDR.

 

Here is an example of taking a screenshot at 4 KDR:

 

On Kill;Incr %kills%;Incr %server_4deaths[%v%]%;Incr %server_4deaths[%v%]%;Incr %server_4deaths[%v%]%;Incr %server_4deaths[%v%]%

On Kill;If %kills% > 5;If %kills% > %server_4deaths[%p%]%;Exec punkBuster.pb_sv_command pb_sv_getss %p%;say PB Screen taken of %p%

ty_ger ... What i´ve to do if i want a kdr of ...hmm 5 or better 6 ?

 

what i´ve to change in your rule ?

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

Originally Posted by ty_ger07*:

 

ty_ger ... What i´ve to do if i want a kdr of ...hmm 5 or better 6 ?

 

what i´ve to change in your rule ?

What it is simply doing is increasing %server_4deaths[%v%]% by 4 for each player death. It then checks to see if the player has more kills than %server_4deaths[%p%]%. If they do, that means that their KDR is greater than 4.

 

Here is 5:

 

On Kill;Incr %kills%;Incr %server_5deaths[%v%]%;Incr %server_5deaths[%v%]%;Incr %server_5deaths[%v%]%;Incr %server_5deaths[%v%]%;Incr %server_5deaths[%v%]%

On Kill;If %kills% > 5;If %kills% > %server_5deaths[%p%]%;Exec punkBuster.pb_sv_command pb_sv_getss %p%;say PB Screen taken of %p%

 

Here is 6:

 

On Kill;Incr %kills%;Incr %server_6deaths[%v%]%;Incr %server_6deaths[%v%]%;Incr %server_6deaths[%v%]%;Incr %server_6deaths[%v%]%;Incr %server_6deaths[%v%]%;Incr %server_6deaths[%v%]%

On Kill;If %kills% > 5;If %kills% > %server_6deaths[%p%]%;Exec punkBuster.pb_sv_command pb_sv_getss %p%;say PB Screen taken of %p%

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

Originally Posted by Selfrot*:

 

Thanks but the old ones worked, I just fucked up the plugin ^^

 

My "annoying weapon's block";

Code:

On Kill;Weapon AS&Val;PlayerCount 1;kill 100;PlayerSay No AS Val!
On Kill;Weapon AS&Val;PlayerCount 2;kick 100 AS Val
On Kill;Weapon AS&Val;PlayerCount 3;TempBan 300 AS Val (3 min)
On Kill;Weapon M15&AT&MINE;PlayerCount 1;kill 100;PlayerSay No AT Mines
On Kill;Weapon M15&AT&MINE;PlayerCount 2;kick 100 AT Mines
On Kill;Weapon M15&AT&MINE;PlayerCount 3;TempBan 300 Mine (3 min)
On Kill;Damage ProjectileExplosive;PlayerCount 1;kill 100;PlayerSay No M320/RPG/SMAW
On Kill;Damage ProjectileExplosive;PlayerCount 2;kick 100 No M320/RPG/SMAW
On Kill;Damage ProjectileExplosive;PlayerCount 3;TempBan 300 No M320/RPG/SMAW (3 min)
On Kill;Weapon Weapons/Gadgets/Claymore/Claymore;PlayerCount 1;kill 100;PlayerSay No Claymores!
On Kill;Weapon Weapons/Gadgets/Claymore/Claymore;PlayerCount 2;kick 100 No Claymores!
On Kill;Weapon Weapons/Gadgets/Claymore/Claymore;PlayerCount 3;TempBan 300 Claymore (3 min)
On Kill;Weapon Weapons/Gadgets/C4/C4;PlayerCount 1;kill 100;PlayerSay No C4!
On Kill;Weapon Weapons/Gadgets/C4/C4;PlayerCount 2;kick 100 No C4!
On Kill;Weapon Weapons/Gadgets/C4/C4;PlayerCount 3;TempBan 300 No C4!
On Kill;Weapon Weapons/Knife/Knife;Say %p% knifed %v%. Good job!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by DonKim*:

 

New question;

 

Any idea how to make an auto announcer saying; "Admin %p% has joined the game!"?

 

On Join;Admin;Say Admin %p% has joined the game!

 

Obviously didn't work.

 

Cheers

Hmmm that should be working .... Its the same as my !

 

On Join;Admin;Say !!! ATTENTION !!! ADMIN %p% joining

 

But attention u wont see it because its on JOIN not on Spawn ! Joining is already @ the Battlelog ! Thats the reason why u didnt see it !

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

Originally Posted by Kiffkiller*:

 

Hi all,

I have a small problem with my server. Ervery Round it ends in a fcking baseraping and I hate it. Is there a chance to kill a whole Team without the Admins and protected players? The normal InGame Admin of Procon kills all player inclusive the Admins.

 

Something like: On Say;Admin;Text @nuke ru;Russian Army;kill 100

But this don't work.

 

Greetz Kiffkiller

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

Originally Posted by Above8*:

 

Hello

What could this message in plugins tab mean?

 

[20:12:20 21] ProconRulz.cs (Line: 76, C: 31) CS0246: The type or namespace name 'PRoConPluginAPI' could not be found (are you missing a using directive or an assembly reference_)

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

Originally Posted by Xeideo*:

 

Yes, that should work.

 

 

 

No, there is no easy way to track KDR and no, you can't do a .5 KDR. You could take a screenshot at 3 KDR or 4 KDR, but not at 3.5 KDR.

 

Here is an example of taking a screenshot at 4 KDR:

 

On Kill;Incr %kills%;Incr %server_4deaths[%v%]%;Incr %server_4deaths[%v%]%;Incr %server_4deaths[%v%]%;Incr %server_4deaths[%v%]%

On Kill;If %kills% > 5;If %kills% > %server_4deaths[%p%]%;Exec punkBuster.pb_sv_command pb_sv_getss %p%;say PB Screen taken of %p%

Thx for info but i found a mistake in my Script. You need to make it like this to get working PB Sceens:

 

On Kill;Rate 6 15;Exec punkBuster.pb_sv_command pb_sv_getss "%p%";say PB Screen taken of %p%

 

(The Player name must in " ")

This works perfectly i have test it on my public server.

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

Originally Posted by bambam*:

 

killengage here's your full plugin: displays the list of admin player names when any player says anything including the string 'admin'...

 

On Spawn;Admin;ServerFirst;Set %server_admins% %p%;End

On Spawn;Admin;PlayerFirst;Set %server_admins% %p%,%server_admins%

On Say;Text admin;Admins;Say Yes %p%, admins %server_admins% online and in-game

On Say;Text admin;Not Admins;Say %p% no admins are currently in-game but your message will be picked up later

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

Originally Posted by bambam*:

 

Selfrot Achtung! You have the PlayerCounts back to front (check PlayerCount > 3 first, then PlayerCount > 2, then PlayerCount > 1, otherwise the PlayerCount > 1 will always kick in before the others get a chance...):

 

On Kill;Weapon AS&Val;PlayerCount 3;TempBan 300 AS Val (3 min)

On Kill;Weapon AS&Val;PlayerCount 2;kick AS Val

On Kill;Weapon AS&Val;PlayerCount 1;kill 100;PlayerSay No AS Val!

 

On Kill;Weapon M15&AT&MINE;PlayerCount 3;TempBan 300 Mine (3 min)

On Kill;Weapon M15&AT&MINE;PlayerCount 2;kick AT Mines

On Kill;Weapon M15&AT&MINE;PlayerCount 1;kill 100;PlayerSay No AT Mines

 

On Kill;Damage ProjectileExplosive;PlayerCount 3;TempBan 300 No M320/RPG/SMAW (3 min)

On Kill;Damage ProjectileExplosive;PlayerCount 2;kick No M320/RPG/SMAW

On Kill;Damage ProjectileExplosive;PlayerCount 1;kill 100;PlayerSay No M320/RPG/SMAW

 

On Kill;Weapon Weapons/Gadgets/Claymore/Claymore;PlayerCount 3;TempBan 300 Claymore (3 min)

On Kill;Weapon Weapons/Gadgets/Claymore/Claymore;PlayerCount 2;kick No Claymores!

On Kill;Weapon Weapons/Gadgets/Claymore/Claymore;PlayerCount 1;kill 100;PlayerSay No Claymores!

 

On Kill;Weapon Weapons/Gadgets/C4/C4;PlayerCount 3;TempBan 300 No C4!

On Kill;Weapon Weapons/Gadgets/C4/C4;PlayerCount 2;kick No C4!

On Kill;Weapon Weapons/Gadgets/C4/C4;PlayerCount 1;kill 100;PlayerSay No C4!

 

On Kill;Weapon Weapons/Knife/Knife;Say %p% knifed %v%. Good job!

On Kill;Weapon Melee;Say %p% knifed %v%. Good job!

 

(blank lines added for clarity, added Melee weapon which is also KNIFE with a different animation..., removed '100' millisecond delay on Kick actions which doesn't actually apply - all kicks are immediate)

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

Originally Posted by jenneboy*:

 

On Kill;Damage ProjectileExplosive;PlayerCount 2;Log %p% no RPG-7/SMAW/M320;Kick %p% no RPG-7/SMAW/M320

On Kill;Damage ProjectileExplosive;PlayerSay %p% no RPG-7/SMAW/M320;Kill 100

can someone make me a code so the rpg smaw m320 are only not allowed only on tdm?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Drayu*:

 

If I want to set up a rule to kick/ban on certain words, and I do this:

 

Code:

##             Swearing     ##
On Say;
 Set %server_badword% 0
 Text test;Incr %words%;Set %server_badword% 1
 If %words% > 2;Set %words% 0; Say %p% kicked for swearing and/or disrespecting players;Kick %p% Being disrespectful
 if %server_badword% == 1;Say %p% watch your language!!!
How do I get it to actually kick/ban? Does it not use the In-Game Admin kick/ban !,@,# commands? Is it something I need to set up?

 

Any help is greatly appreciated!!!

* 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.
Note: Your post will require moderator approval before it will be visible.

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.

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