Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by ty_ger07*:

 

That does sound a bit easier lol :biggrin:

We're trying to use as few plugins as possible, so I'm trying to do with with ProconRulz.

Oh cool.

 

Yeah, that sounds like a fun project.

 

I would make sure that your code only adjusts the server size if their are greater than a certain number of tickets remaining and then make sure you set the server size to max size before the end of the round after the tickets drop below the low ticket threshold.

 

Should work well.

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

Originally Posted by Shamrock*:

 

Thanks, ty_ger.

 

Question: if I use the On Join command, does the %team_score% variable work for that person, seeing as they are not yet in the game and they and not yet in a team?

 

EDIT: if I use, for example:

Code:

On Join;If %server_team_score[1]% <= 20 || %server_team_score[2]% <= 20;Do something
Can we use the OR clause in the condition?

 

EDIT again: the above does not work, but is there anything similar I can use without duplicating some of the rulz? Thanks.

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

Originally Posted by bambam*:

 

Thanks, ty_ger.

 

Question: if I use the On Join command, does the %team_score% variable work for that person, seeing as they are not yet in the game and they and not yet in a team?

 

EDIT: if I use, for example:

Code:

On Join;If %server_team_score[1]% <= 20 || %server_team_score[2]% <= 20;Do something
Can we use the OR clause in the condition?

 

EDIT again: the above does not work, but is there anything similar I can use without duplicating some of the rulz? Thanks.

The %server_team_score[1]% bit is ok (when a player joins I think their team id = 0), it's your "||" that's dodgy. The ";" between ProconRulz conditions is effectively an AND (aka &&), while OR is provided by using multiple rulz:

 

On Join

If %server_team_score[1]%

If %server_team_score[2]%

 

If your "do something" is complicated and you don't want to repeat it between rulz, you can use a temporary variable in between, e.g.

 

On Join

Set %server_do_something% no

If %server_team_score[1]%

If %server_team_score[2]%

If %server_do_something% == yes;Do something

 

BUT here's Boolean algebra 101: you want a rule to "Do something" if teamscore[1]20 AND teamscore[2] is >20:

 

On Join

Set %server_do_something% yes

If %server_team_score[1]% > 20;If %server_team_score[2]% > 20;Set %server_do_something% no

If %server_do_something% == yes;Do something

 

If you're not worried about LATER "On Join" rulz, you could do what you want with an "End":

 

On Join

If %server_team_score[1]% > 20;If %server_team_score[2]% > 20;End

Do something

 

What do you want to do on 'Join'? It seems an odd time to check %team_score% - you could just as easily do that when they first spawn

 

On Spawn;PlayerFirst;If %team_score%

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

Originally Posted by Leitwolf*:

 

Hi Guys,

 

i try to set this rule:

 

On Kill; Weapons/Gadgets/C4/C4; Yell 5 %p% OWNED %v% with C4

 

but i got the Message: Unrecognised rule On Kill...

 

What´s wrong with it?

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

Originally Posted by ty_ger07*:

 

Hi Guys,

 

i try to set this rule:

 

On Kill; Weapons/Gadgets/C4/C4; Yell 5 %p% OWNED %v% with C4

 

but i got the Message: Unrecognised rule On Kill...

 

What´s wrong with it?

"Weapons/Gadgets/C4/C4" means nothing on its own. You need to use "Weapon Weapons/Gadgets/C4/C4" so that the plugin knows that "Weapons/Gadgets/C4/C4" is a weapon key and not a damage or kit key.

 

On Kill;Weapon Weapons/Gadgets/C4/C4;Yell 5 %p% OWNED %v% with C4

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

Originally Posted by psylince*:

 

On Kill; Weapon Melee; Say %p% Owned %v% with his blade! Feel ashamed Soldier!

 

 

This does work 100%! all you would need to do is change the wording for "owned" and after the %v% to what ever flaots your boat.

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

Originally Posted by ty_ger07*:

 

On Kill; Weapon Melee; Say %p% Owned %v% with his blade! Feel ashamed Soldier!

 

 

This does work 100%! all you would need to do is change the wording for "owned" and after the %v% to what ever flaots your boat.

Well, it won't work 100% because it won't count a knife slash kill. That would only announce a knife kill where the player takes the victim's dog tags.

 

If you want to announce every knife kill, you need to include the other kind of knife kill.

 

On Kill;Weapon Melee,Weapons/Knife/Knife;Say %p% Owned %v% with his blade! Feel ashamed Soldier!

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

Originally Posted by bambam*:

 

yes

the answer is "No"... BF3 does not report destruction of vehicles - all you know is the people were killed, e.g. with a rocket, the same as if they were killed while standing in a field...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by philipp378*:

 

the answer is "No"... BF3 does not report destruction of vehicles - all you know is the people were killed, e.g. with a rocket, the same as if they were killed while standing in a field...

I didn't mean destraction. I mean while people ARE IN tank or heli.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Athlon*:

 

I didn't mean destraction. I mean while people ARE IN tank or heli.

Procon does not report where players are either, or whether or not they are in or out of a vehicle.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bambam*:

 

I didn't mean destraction. I mean while people ARE IN tank or heli.

The answer is still "no"...

 

BF3 does not report when people get into a vehicle.

 

It does not report when they get out of a vehicle.

 

It does not report that they were in a vehicle when they were killed.

 

All you have to work with is "fred killed barney with SMAW" - you cannot tell whether Barney was seated in a Main Battle Tank or standing in a field when he went to meet his maker.

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

Originally Posted by Apex40000*:

 

Hi Guys

 

I'm looking for how to setup up for BF3 !rules ---- which will basically --once typed in the chat box then displays the rules of the server to that player or all players on the server -- I have seen this on other servers but i can't figure out where or how to set this up..

 

Any help on doing this we be great or if you can point me to the right direction that would be great too.

 

Many thanks

 

FMUK apex40000

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

Originally Posted by Guest**:

 

from the plugin settings set server Rulz Message enable to "yes" go down a bit in the settings to Server Rulz message that has a plus sign next to it. open the String[]Array and type your server's rules.

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

Originally Posted by Apex40000*:

 

Hi Bits&Bytes

I have already have rules being spammed in the chat box at the mo but I was hoping to only have them show up in the chat box- When some one types in -----!rules -------

 

Can you confirm that what you said below does this or is that just a chat line message?

 

Many thanks

 

FMUK apex40000

 

from the plugin settings set server Rulz Message enable to "yes" go down a bit in the settings to Server Rulz message that has a plus sign next to it. open the String[]Array and type your server's rules.

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

Originally Posted by ty_ger07*:

 

Yes, the plugin supports the rules command.

 

Enable the !rules feature, and then type the rules into the rules array. Then, if someone types !rules, the rules in the rules array are displayed in the chat box.

 

Be sure to summarize your rules in a brief manner since the rules can only be 4 lines long. If the rules are more than 4 lines long, only the last 4 lines are displayed.

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

Originally Posted by MAJORmk*:

 

For your new section, 3 servers using it :

 

http://battlelog.battlefield.com/bf3...rt-Canals-1-3/

http://battlelog.battlefield.com/bf3...IR-MAPS-Metro/

http://battlelog.battlefield.com/bf3...am-des-fra-fr/

 

From a long time user disapointed by the "On Spawn" limitation :'( But glad by the rest of it !

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

Originally Posted by bambam*:

 

For your new section, 3 servers using it :

 

http://battlelog.battlefield.com/bf3...rt-Canals-1-3/

http://battlelog.battlefield.com/bf3...IR-MAPS-Metro/

http://battlelog.battlefield.com/bf3...am-des-fra-fr/

 

From a long time user disapointed by the "On Spawn" limitation :'( But glad by the rest of it !

coolio - added to server list on 1st post - thanks. The "On Spawn" limitation is lame, I agree, as with the "specialization/accessory" lack of data. With BFBC2 we can easily limit snipers or nerf 500meter 12-gauge-slugs sniper kills, with BF3 we took a bit of a step backwards.

 

Bambam

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

Originally Posted by bambam*:

 

bambam - the two servers linked in my sig also use your great plugin!

okeydoke -added - "No Muppets" _... that's the most ridiculous thing I've heard, it'll never work. What about if Miss Piggy uses a different player name? Anyway I think Gonzo should be allowed in.

 

Bambam

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

Originally Posted by Apex40000*:

 

Brilliant

Many thanks for all your help this will help to cut back the chat message spam that comes from True balance and my current rulez spammer he heh :-)

 

Thanks

 

FMUK apex40000

 

Yes, the plugin supports the rules command.

 

Enable the !rules feature, and then type the rules into the rules array. Then, if someone types !rules, the rules in the rules array are displayed in the chat box.

 

Be sure to summarize your rules in a brief manner since the rules can only be 4 lines long. If the rules are more than 4 lines long, only the last 4 lines are displayed.

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