Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by mimimimi*:

 

Have a problem, these rules are not working. I want it to be a pistol and melee only.

 

On Kill;Not Damage Melee;Not Damage Handgun;Say %p% Pistols Only Fool!!!;Kill

On Kill;Not Damage Weapon diSHTR;Not Damage Weapon U_SaddlegunSnp;Say %p% Pistols Only Fool!!!;Kill

use this:

 

Code:

On Kill;Not Weapon Melee;Not Damage Handgun;Not Weapon dlSHTR;Not Weapon DamageArea;Not Weapon SoldierCollision;Say %p% Pistols Only Fool!!!;Kill
or you can use this:

myrcon.net/.../proconrulz-battlefield-4-pistols-and-melee-script

 

and add other weapons if you have to, use

Not Weapon weapon_code

or

Not Damage damage_code

 

 

do not use:

Not Damage Weapon weapon_code ...

 

 

and

U_SaddlegunSnp is a handgun so you dont have to add it, it is already there in the

Not Damage Handgun

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

Originally Posted by keb2*:

 

Hello.Please help to create a rule.

map Subway.prohibited weapons-c4,m320,rpg,smaw,grenades.

Kill 8 -personal message to the chat

Kill 9 -Player Kill+personal message to the chat

Kill 10 -Player Kill+a message which will see all

Kill 11 -ban round+a message which will see all

 

Sorry for bad english.

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

Originally Posted by t0p8uzz*:

 

I currently use the following script to kick people who get 35 headshots in a single round

on spawn;serverfirst;set %hs% 0

on kill;Headshot;incr %hs%

on kill;If %hs% > 35;Log %p% hs rate: %hs% using %w%;Kick %p% Suspicious Headshot Count

However, it seems to keep track of the HS during multiple rounds, so if someone gets 20 headshots one round, 14 the next round, and then 1 in round 3, they get kicked.

 

Can the script be amended so the HS count is reset to 0 at each round start

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

Originally Posted by Alexis-Alexander*:

 

I currently use the following script to kick people who get 35 headshots in a single round

 

 

However, it seems to keep track of the HS during multiple rounds, so if someone gets 20 headshots one round, 14 the next round, and then 1 in round 3, they get kicked.

 

Can the script be amended so the HS count is reset to 0 at each round start

PlayerFirst vs ServerFirst to be unique to player is what I notice. I thought most varaibles reset on round, I don't remember reseting mine.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by victory-Gamerz*:

 

Some reason Proconrulz is not coming up in my plugins area. I installed the file in the plugins root and in the BF4 folder in the plugins and still not coming up and suggestions or where did i screw up?

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

Originally Posted by ty_ger07*:

 

I currently use the following script to kick people who get 35 headshots in a single round

 

 

However, it seems to keep track of the HS during multiple rounds, so if someone gets 20 headshots one round, 14 the next round, and then 1 in round 3, they get kicked.

 

Can the script be amended so the HS count is reset to 0 at each round start

Get rid of the on spawn set thing. It isn't needed. All variables will reset each new round.

 

Code:

on kill;Headshot;incr %hs%
on kill;If %hs% > 35;Log %p% hs rate: %hs% using %w%;Kick %p% Suspicious Headshot Count
Maybe that extra needless code was causing the value to persist.

 

As long as you don't skip to the next map and bypass or shorten the after-match scoreboard, the value will reset to 0 next round. If you skip to the next round early though, the value will not reset to 0.

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

Originally Posted by Alexis-Alexander*:

 

Does anyone know how to make Yell message to a player who has just been killed?

Example: Player has just killed another player, I need to show immediately PlayerYell to victim

Take a look at this post

myrcon.net/...proconrulz-v44j1-weapon-limits-and-other-event-triggered-admin-actions#entry15156

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

Originally Posted by Alexis-Alexander*:

 

Code:

On Kill;Incr %server_taunt[%v%]% 
On Spawn;If %server_taunt[%v%]% == 1; Set %server_taunt[%v%]% = 0;PlayerYell I got you!
does not work
Sorry I had a logic flaw to it. This should work.

 

Code:

On Kill;Incr %server_taunt[%v%]% 
On Spawn;If %server_taunt[%p%]% == 1; Set %server_taunt[%p%]% = 0;PlayerYell I got you!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Hodor*:

 

Sorry I had a logic flaw to it. This should work.

 

Code:

On Kill;Incr %server_taunt[%v%]% 
On Spawn;If %server_taunt[%p%]% == 1; Set %server_taunt[%p%]% = 0;PlayerYell I got you!
Yes its work On Spawn but i need Yell message when Victim on deathcam
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by s1ngular1ty*:

 

BUUUUUD i dont need TK message, i have NORMAL server :ohmy:

You can use the same format for WHATEVER.

 

For example:

 

Code:

On Kill;Playersay You killed a guy named %v%;TargetPlayer %v%;TargetAction PlayerSay %t% you were killed by %p%
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Hodor*:

 

You can use the same format for WHATEVER.

 

For example:

 

Code:

On Kill;Playersay You killed a guy named %v%;TargetPlayer %v%;TargetAction PlayerSay %t% you were killed by %p%
I will try it morning
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Hodor*:

 

BUUUUUD i dont need TK message, i have NORMAL server :ohmy:

Code:
[18:09:51 11] ProconRulz: process_part rule.unparsed_rule = [On Kill;Playersay You killed a guy named %v%;TargetPlayer %v%;TargetAction PlayerSay %t% you were killed by %p%]
[18:09:51 11] ProconRulz: process_part player_name = [Fenix-555rus]
[18:09:51 11] ProconRulz: process_part p.part_type = TargetPlayer
[18:09:51 11] ProconRulz: process_part k.Killer.SoldierName = [Fenix-555rus]
[18:09:51 11] ProconRulz: System.Collections.Generic.KeyNotFoundException: Der angegebene Schlüssel war nicht im Wörterbuch angegeben.
   bei System.ThrowHelper.ThrowKeyNotFoundException()
   bei System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   bei PRoConEvents.ProconRulz.process_part(ParsedRule rule, PartClass p, String player_name, Kill k, String msg, Dictionary`2& keywords)
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Somewhere pages ago I went through the exact same thing. The person wanted the victim to see the message and they were getting the same error (except in english). I don't remember the solution ... if there even is one. Look back.

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

Originally Posted by mimimimi*:

 

Somewhere pages ago I went through the exact same thing. The person wanted the victim to see the message and they were getting the same error (except in english). I don't remember the solution ... if there even is one. Look back.

myrcon.net/...proconrulz-v44j1-weapon-limits-and-other-event-triggered-admin-actions#entry15152

 

 

unfortunately it seems that targetplayer works only on say trigger

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

Originally Posted by spatieman*:

 

i dont know if it is adkatz or proconrulez but this stuff.

Code:

on spawn;if %pt% contains russian;playeryell 3 Comrads Lets kill some yankee doodle dog's;playersay Comrads Lets kill some yankee doodle dog's
on spawn;not if %pt% contains russian;playeryell 3 Lets kill some communist bastards;playersay Lets kill some communist bastards
it says only lets kill some comunist bastards in all teams.

so i tested it on several maps, and it seem id doest work not on all xp1 xp2 maps

any ideas what is going on ?

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

Originally Posted by ColColonCleaner*:

 

i dont know if it is adkatz or proconrulez but this stuff.

Code:

on spawn;if %pt% contains russian;playeryell 3 Comrads Lets kill some yankee doodle dog's;playersay Comrads Lets kill some yankee doodle dog's
on spawn;not if %pt% contains russian;playeryell 3 Lets kill some communist bastards;playersay Lets kill some communist bastards
it says only lets kill some comunist bastards in all teams.

so i tested it on several maps, and it seem id doest work not on all xp1 xp2 maps

any ideas what is going on ?

That would probably be because its not "russian", it may be just "ru" or "RU"

 

EDIT: For your expansion maps, not all maps contain a russian team or a us team, you'll probably need multiple cases depending on the teams each map has.

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

Originally Posted by spatieman*:

 

That would probably be because its not "russian", it may be just "ru" or "RU"

 

EDIT: For your expansion maps, not all maps contain a russian team or a us team, you'll probably need multiple cases depending on the teams each map has.

hmm, lets see how i can fix that..

thnxs..

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

Originally Posted by mimimimi*:

 

hmm, lets see how i can fix that..

thnxs..

teams value are fixed, so you just need to know what is their %ptk% or %pt% value

 

 

if you have multiple maps, then my advice would be to do this to discover both their ptk and pt value

Code:

On Kill;TeamFirst;Log Team name [%pt%]  ----  Team key [%ptk%]
let it run through your map set

 

 

then check the log and see how it would be better to proceede to achieve your intended result

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

Originally Posted by wlprzemek*:

 

Hello.

I have a BF 4 server with different maps and modes, wanted me using the plug on a server ProconRulz prohibit the use of explosives, shotguns, clay more, RPG and the like.

I intend to work principle of the appearance on the server rather than after the first killing, and for example the first 2 to kill and another is banned.

 

Can someone help me with writing such a rule?

 

Yours Przemek

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

Originally Posted by ZauroPro*:

 

Hello everyone .. I'm new , I keep a Server Btf4 i3D , I would like to set the killl the first killing this Del mortar M224 and the command that I included in ProconRulz , : On Kill ; Weapon M224 ; PlayerCount 1 ; Say Kicked % p % for killing with MORTAR ; Kick NO MORTAR - read the rules!

On Kill ; Weapon M224 ; PlayerSay NO MORTAR - next time kick ! ; Kill 100

ICE position for the command name ? I 've added to the bottom of all the other commands , but when I kill with mortar , does not give me the kill .. Can someone explain to me how to do? Thank you

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

Originally Posted by mimimimi*:

 

Hello everyone .. I'm new , I keep a Server Btf4 i3D , I would like to set the killl the first killing this Del mortar M224 and the command that I included in ProconRulz , : On Kill ; Weapon M224 ; PlayerCount 1 ; Say Kicked % p % for killing with MORTAR ; Kick NO MORTAR - read the rules!

On Kill ; Weapon M224 ; PlayerSay NO MORTAR - next time kick ! ; Kill 100

ICE position for the command name ? I 've added to the bottom of all the other commands , but when I kill with mortar , does not give me the kill .. Can someone explain to me how to do? Thank you

Code:
On Kill;Weapon U_M224;PlayerCount 1;Say Kicked %p% for killing with MORTAR;Kick NO MORTAR - read rules!;Log %p% kicked for killing with mortar
On Kill;Weapon U_M224;PlayerSay NO MORTAR - next time kick!;Kill 100;Log %p% warned for killing with mortar
this is better in my opinion:

 

Code:

# ColonelSeven's Pistol and Melee for Battlefield 4 v0.5
# Information Shouts
On Spawn;PlayerFirst;PlayerYell %p%, MORTAR IS NOT ALLOWED
# Player Total Kicks and Bans check
On Join;If %ini_kickban_tbans[%p%]% == 3;TempBan 86400 %p%, you've been temp. banned 3 times. Ban for 24 hours.;Set %ini_kickban_tbans[%p%]% 0
On Join;If %ini_kickban_kicks[%p%]% == 15;TempBan 86400 %p%, you've been kicked 15 times. Ban for 24 hours.;Set %ini_kickban_kicks[%p%]% 0

# Original by bambam - Modified by ColonelSeven
# Weapons check second
On Kill;Weapon U_M224;PlayerCount 3;Log ^1%p% ^0was BANNED for using a ^1%w%;Incr %ini_kickban_tbans[%p%]%;Say %p% was BANNED (15m) for using a %w%;TempBan 900 %p% (15min)  Mortar is not allowed! Read !rules.
On Kill;Weapon U_M224;PlayerCount 2;Log ^1%p% ^0was KICKED for using a ^1%w%;Incr %ini_kickban_kicks[%p%]%;Say %p% was KICKED for using a %w% ;Kick %p% Mortar is not allowed! Read !rules.
On Kill;Weapon U_M224;PlayerCount 1;Log ^1%p% ^0has ^2%c%/2 ^0offenses (^1%w%^0);Set %warnyell% 2;Say ::: WARNING: %p%, warning %c%/2 for using a %w%;PlayerSay %p%, Mortar is not allowed! Read !rules. (%c%/2);PlayerYell %p%, Mortar is not allowed! Read !rules. (%c%/2);Kill 100
On Kill;Weapon U_M224;Log ^1%p% ^0has ^2%c%/2 ^0offenses (^1%w%^0);Set %warnyell% 1;Say ::: WARNING: %p%, warning %c%/2 for using a %w%;PlayerSay %p%, Mortar is not allowed! Read !rules (%c%/2);PlayerYell %p%, Mortar is not allowed! Read !rules (%c%/2);Kill 100

# Warning Yell On Spawn (after offense 1 and 2)
On Spawn;If %warnyell% == 2;Log Yell^2 2/2 ^0given to ^1%p%;PlayerYell %p%, you've 2/2 offenses! Next will be a KICK!;Set %warnyell% 0
On Spawn;If %warnyell% == 1;Log Yell^2 1/2 ^0given to ^1%p%;PlayerYell %p%, you've 1/2 offenses! Mortar is not allowed! Read !rules;Set %warnyell% 0
source:

myrcon.net/.../proconrulz-battlefield-4-pistols-and-melee-script

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