Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by m4gnet*:

 

Hi LjMjollnir!

 

On Spawn;Playerfirst;if %ini_joining?[%p%]% == 1

Incr %ini_join_%p%%;set %kd.2% %ini_kill_%p%% / %ini_death_%p%%

Say %p% has logged on here %ini_join_%p%% Times. has a KD of %kd.2%;set %ini_joining?[%p%] 0

 

sry! It's not working.

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

Originally Posted by ty_ger07*:

 

Hi LjMjollnir!

 

On Spawn;Playerfirst;if %ini_joining?[%p%]% == 1

Incr %ini_join_%p%%;set %kd.2% %ini_kill_%p%% / %ini_death_%p%%

Say %p% has logged on here %ini_join_%p%% Times. has a KD of %kd.2%;set %ini_joining?[%p%] 0

 

sry! It's not working.

"%ini_joining?[%p%]%" is not 1 because you never set it to 1. All variables are 0 by default. Since it is 0 and not 1, the rest of the code never runs through.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LjMjollnir*:

 

my code started with the line

Code:

On Join;Not Rate 2 30;admin;Say Admin - %p% is joining the server.;set %ini_joining_[%p%]% 1
On Join;Not Rate 2 30;Not Admin;Say a new player is joining -  %p%;set %ini_joining_[%p%]% 1
make sure you put it all in there.

 

ahhh i see you copied from the second example and i forgot to add those lines...

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

Originally Posted by 397Seth*:

 

Hi,

 

I read that it is possible to ban someone for a too high KD on the server.

Can I make different rules for different kills in total?

for example:

1:3.3 until 10 kills

1:3.75 until 15

1:2.85 above 20

 

Is it even possible to put this one step further and check the battlelog KD of each player when he joins to ban directly?

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

Originally Posted by _lecro_*:

 

Im using this to stop mortar spammers and it works fine

but is it possible to reduce the users health by 50% instead of killing them outright ?

 

On Kill;Weapon M224;PlayerCount 7;Log %p% banned for Mortar Spam;Ban %p% M224 use

On Kill;Weapon M224;PlayerCount 5;Log %p% kicked for Mortar Spam;Kick %p% Mortar Spam

On Kill;Weapon M224;PlayerSay %p% no Mortar;kill 100

 

Ive tried changing the kill 100 to kill 50 and damage 50 but they dont seem to do anything

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

Originally Posted by ty_ger07*:

 

Im using this to stop mortar spammers and it works fine

but is it possible to reduce the users health by 50% instead of killing them outright ?

 

On Kill;Weapon M224;PlayerCount 7;Log %p% banned for Mortar Spam;Ban %p% M224 use

On Kill;Weapon M224;PlayerCount 5;Log %p% kicked for Mortar Spam;Kick %p% Mortar Spam

On Kill;Weapon M224;PlayerSay %p% no Mortar;kill 100

 

Ive tried changing the kill 100 to kill 50 and damage 50 but they dont seem to do anything

Nope, not possible. "Kill 50" means "kill in 50 milliseconds". It has nothing to do with amount of health and amount of health can't be controlled like that.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LjMjollnir*:

 

eh Lampy... do you play on the Aussie servers? if so jump on the ZARF teamspeak one night and ill pass you my personal plugin.. if not.. disregard this message :P (Im Diseased Admin of Zarf)

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

Originally Posted by 397Seth*:

 

Hi,

 

I am testing the following script:

 

On Kill;

Incr %kills%;Incr %server_3deaths[%v%]%;Incr %server_3deaths[%v%]%;Incr %server_3deaths[%v%]%;

If %kills% > 12;If %kills% > %server_3deaths[%p%]%;Say %p% K/D too high;Kill 100

 

My intention is to kill a player with more than 12 kills total and with a higher KD than 3.0

The players get killed, but with less than 12 kills too

 

What am I doing wrong?

 

Any help appreciated :-)

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

Originally Posted by w262035635*:

 

Anyone know this plugin?

1.

"Player A" kill "player B"

"Player B" will get "Player A" state: Kdr and HS/K

 

2.

When a round.. X minutes interval

Announcement of the Clan Kill number

For example, Every 5 minutes

 

Announcement:

= clan Kill number =

[AA] 100 [bB] 30 [CC] 25

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

Originally Posted by ty_ger07*:

 

Hi,

 

I am testing the following script:

 

On Kill;

Incr %kills%;Incr %server_3deaths[%v%]%;Incr %server_3deaths[%v%]%;Incr %server_3deaths[%v%]%;

If %kills% > 12;If %kills% > %server_3deaths[%p%]%;Say %p% K/D too high;Kill 100

 

My intention is to kill a player with more than 12 kills total and with a higher KD than 3.0

The players get killed, but with less than 12 kills too

 

What am I doing wrong?

 

Any help appreciated :-)

The way you have it with a semicolon after each item, they all need to be on one line. Semicolon ends the rule if the semilcolon is the last thing on a line. Basically, it is just doing on kill and then ending the rule.

 

Do this instead:

 

Code:

On Kill
Incr %kills%;Incr %server_3deaths[%v%]%;Incr %server_3deaths[%v%]%;Incr %server_3deaths[%v%]%
If %kills% > 12;If %kills% > %server_3deaths[%p%]%;Say %p% K/D too high;Kill 100
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by 397Seth*:

 

The way you have it with a semicolon after each item, they all need to be on one line. Semicolon ends the rule if the semilcolon is the last thing on a line. Basically, it is just doing on kill and then ending the rule.

 

Do this instead:

 

Code:

On Kill
Incr %kills%;Incr %server_3deaths[%v%]%;Incr %server_3deaths[%v%]%;Incr %server_3deaths[%v%]%
If %kills% > 12;If %kills% > %server_3deaths[%p%]%;Say %p% K/D too high;Kill 100
Oh wow, thank you so much.

If I want to kick instead of kill do I have to replace kill 100 with kick or with kick %p%?

 

Again, thank you

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

Originally Posted by ty_ger07*:

 

Oh wow, thank you so much.

If I want to kick instead of kill do I have to replace kill 100 with kick or with kick %p%?

 

Again, thank you

Just Kick. Anything after Kick is the message they will see. So, you could do Kick KDR too high or something like that if you want them to see an explaination message in the kick.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Prime-Meridian*:

 

Hello, I'm not good at writing rules for PROconRulz v44j1,

Could you write a rule for the Battlefield Bad Company 2.

Rule to restrict access to equipment (tanks and Bradley).

It is essential that the technique can only be used when the server 4 players, if the server 2-3 players that they could not use the technique.

I tried myself to try to write a rule, but I have turned out badly.

Code:

On Kill;Damage >2 VehicleHeavy;Say %p% access to equipment only from 4  players on server kills[autokill];Kill
The rule does not work (
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by 397Seth*:

 

Just Kick. Anything after Kick is the message they will see. So, you could do Kick KDR too high or something like that if you want them to see an explaination message in the kick.

I have another question. Is it possible to issue a warning to the player and assign different K/D to different total kills?

E.g. 4:1

3:1

and so on.

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

Originally Posted by Arakna*:

 

Hello, i want to try to disable the motion sensor of the sniper on BC2, i already tried the rule:

On Kill; Weapon mtn-55 0;Kill; PlayerSay >>%p%

But without any success, how i can disable them ?

 

Thank you

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

Originally Posted by ty_ger07*:

 

Hello, i want to try to disable the motion sensor of the sniper on BC2, i already tried the rule:

On Kill; Weapon mtn-55 0;Kill; PlayerSay >>%p%

But without any success, how i can disable them ?

 

Thank you

You can't. There are no events for gadgets or attachments.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Arakna*:

 

ok thank.

btw is possible in other way, as: When the player throws the motion sensor, for each kill he get, or for each his teammate that kill with the motion sensor, he receives points, so after he recive the points kill the player?

 

Thank you

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

Originally Posted by LjMjollnir*:

 

You could try, but scores aren't updated real-time and I think you would have a lot of misses and a lot of false-positives.

^^^ this..

 

and even so there are loads of things that give you points :ohmy: you could only guestimate what has been done... so it really isnt an option

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

Originally Posted by w262035635*:

 

Anyone know this plugin?

1.

"Player A" kill "player B"

"Player B" will get "Player A" state: Kdr and HS/K

 

2.

When a round.. X minutes interval

Announcement of the Clan Kill number

For example, Every 5 minutes

 

Announcement:

= clan Kill number =

[AA] 100 [bB] 30 [CC] 25

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

Originally Posted by Brodatv*:

 

Is there a possibilty to adjust the number of sniper slots according to certain maps?

Yes, click on my signature - ASDL should do it. You can set up limit for cartain maps. This code is a little huge, so it may not work by just copy-pasta into Rules tab. Check out manual and read how to install my code.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Kal-El*:

 

Trying to set up a hardcore infantry server on BF4 and require some maps to run that have vehicles in.

But I wish to slay/kick for vehicle kills.

I have tried using the weapon command "Death" but it does not seem to kill like it did in BF3?

Did they add vehicle codes to BF4 rather than just the death for all vehicles?

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

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