Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by ty_ger07*:

 

Where should this be extracted to ?

I have it in procon_1.4.0.1/Plugins/BF3/ProconRulz_43d1/ProconRulz.cs

 

It's not showing up in the Plugins list

Have restarted Procon

/Plugins/BF3/ProconRulz.cs
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by leandro-motta*:

 

How do I stop configured to run only Xbow / Knife in the server I'm trying an error in procon someone could help me put this command

On Kill; Not Damage Xbow; Not Damage Handgun; PlayerCount 5; Log% p% banned (Xbow / knife only); Ban% p% Xbow only

On Kill; Not Damage Xbow; Not Damage Handgun; PlayerCount 3; Log% p% kicked (Xbow / knife only); Kick% p% Xbow only

On Kill; Not Damage Xbow; Not Damage Handgun; PlayerSay% p% Xbow / knife only; Kill 100

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

Originally Posted by ty_ger07*:

 

How do I stop configured to run only Xbow / Knife in the server I'm trying an error in procon someone could help me put this command

On Kill; Not Damage Xbow; Not Damage Handgun; PlayerCount 5; Log% p% banned (Xbow / knife only); Ban% p% Xbow only

On Kill; Not Damage Xbow; Not Damage Handgun; PlayerCount 3; Log% p% kicked (Xbow / knife only); Kick% p% Xbow only

On Kill; Not Damage Xbow; Not Damage Handgun; PlayerSay% p% Xbow / knife only; Kill 100

Where did you get "Damage Xbow"?

 

I am seeing no damage key being available for crossbow.

 

Have you tried:

 

On Kill;Not Weapon CrossBow;Not Damage Handgun;PlayerCount 5;Log %p% banned (Xbow / knife only);Ban %p% Xbow only

On Kill;Not Weapon CrossBow;Not Damage Handgun;PlayerCount 3;Log %p% kicked (Xbow / knife only);Kick %p% Xbow only

On Kill;Not Weapon CrossBow;Not Damage Handgun;PlayerSay %p% Xbow / knife only;Kill 100

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

Originally Posted by leandro-motta*:

 

I was playing I found a server running that style thought if he puts himself would run normally but apparently still giving ProconRulz error: Unrecognised rule

 

Where did you get "Damage Xbow"?

 

I am seeing no damage key being available for crossbow.

 

Have you tried:

 

On Kill;Not Weapon CrossBow;Not Damage Handgun;PlayerCount 5;Log %p% banned (Xbow / knife only);Ban %p% Xbow only

On Kill;Not Weapon CrossBow;Not Damage Handgun;PlayerCount 3;Log %p% kicked (Xbow / knife only);Kick %p% Xbow only

On Kill;Not Weapon CrossBow;Not Damage Handgun;PlayerSay %p% Xbow / knife only;Kill 100

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

Originally Posted by ty_ger07*:

 

I was playing I found a server running that style thought if he puts himself would run normally but apparently still giving ProconRulz error: Unrecognised rule

Huh? I can't understand your English. You have too many words in one sentence.

 

What version of PRoCon and PRoConRulz are you using?

 

You should be using PRoCon version 1.4.0.4 and PRoConRulz version 43d.1.

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

Originally Posted by leandro-motta*:

 

Sorry for my english I'm using Procon version 1.4.0.4 and version PRoConRulz 43d.1

 

Huh? I can't understand your English. You have too many words in one sentence.

 

What version of PRoCon and PRoConRulz are you using?

 

You should be using PRoCon version 1.4.0.4 and PRoConRulz version 43d.1.

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

Originally Posted by leandro-motta*:

 

Now it without error after the reset procon is running as I passed thanks;

 

On Kill; Not CrossBow Weapon; Not Damage Handgun; PlayerCount 5; Log% p% banned (Xbow / knife only); Ban% p% Xbow only

On Kill; Not CrossBow Weapon; Not Damage Handgun; PlayerCount 3; Log% p% kicked (Xbow / knife only); Kick% p% Xbow only

On Kill; Not CrossBow Weapon; Not Damage Handgun; PlayerSay% p% Xbow / knife only; Kill 100 :smile:

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

Originally Posted by ty_ger07*:

 

Now it without error after the reset procon is running as I passed thanks;

 

On Kill; Not CrossBow Weapon; Not Damage Handgun; PlayerCount 5; Log% p% banned (Xbow / knife only); Ban% p% Xbow only

On Kill; Not CrossBow Weapon; Not Damage Handgun; PlayerCount 3; Log% p% kicked (Xbow / knife only); Kick% p% Xbow only

On Kill; Not CrossBow Weapon; Not Damage Handgun; PlayerSay% p% Xbow / knife only; Kill 100 :smile:

There are some errors in those rules.

 

Incorrect syntax:

It should be Not Weapon CrossBow instead of Not CrossBow Weapon.

 

Incorrect spacing:

It should be Log %p% instead of Log% p%.

It should be Ban %p% instead of Ban% p%.

It should be Kick %p% instead of Kick% p%.

It should be PlayerSay %p% instead of PlayerSay% p%.

 

These should be your rules:

 

On Kill;Not Weapon CrossBow;Not Damage Handgun;PlayerCount 5;Log %p% banned (Xbow / knife only);Ban %p% Xbow only

On Kill;Not Weapon CrossBow;Not Damage Handgun;PlayerCount 3;Log %p% kicked (Xbow / knife only);Kick %p% Xbow only

On Kill;Not Weapon CrossBow;Not Damage Handgun;PlayerSay %p% Xbow / knife only;Kill 100

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

Originally Posted by hellomayi*:

 

There are some errors in those rules.

 

Incorrect syntax:

It should be Not Weapon CrossBow instead of Not CrossBow Weapon.

 

Incorrect spacing:

It should be Log %p% instead of Log% p%.

It should be Ban %p% instead of Ban% p%.

It should be Kick %p% instead of Kick% p%.

It should be PlayerSay %p% instead of PlayerSay% p%.

 

These should be your rules:

 

On Kill;Not Weapon CrossBow;Not Damage Handgun;PlayerCount 5;Log %p% banned (Xbow / knife only);Ban %p% Xbow only

On Kill;Not Weapon CrossBow;Not Damage Handgun;PlayerCount 3;Log %p% kicked (Xbow / knife only);Kick %p% Xbow only

On Kill;Not Weapon CrossBow;Not Damage Handgun;PlayerSay %p% Xbow / knife only;Kill 100

ProconRulz: Warning, weapon CrossBow not found in Procon

 

help !!!!!!!!!!!!!!!

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

Originally Posted by ty_ger07*:

 

ProconRulz: Warning, weapon CrossBow not found in Procon

 

help !!!!!!!!!!!!!!!

Which version of PRoCon are you using? Are you using a PRoCon Layer or PRoCon client connecting directly to game server? If you are using a layer, which version of PRoCon is the layer server using?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bambam*:

 

ProconRulz: Warning, weapon CrossBow not found in Procon

 

help !!!!!!!!!!!!!!!

relax - your ProconRulz can use the weapon key 'CrossBow' absolutely fine. As a syntax check, ProconRulz checks to see if the weapon key appears in your file Configs\BF3.def which is part of the Procon install - this usually should be fine and useful to warn you if you've typed in a garbage weapon key (like Weapon SMAM instead of Weapon SMAW), But in this case your Procon (not ProconRulz) is missing the CrossBow definition so ProconRulz is giving you the warning. It's a warning, not an error.

 

Note that Procon provides the DAMAGE data for the weapons, so no CrossBow in the Procon file (BF3.def) means you can't use Damage XXX conditions to apply to the crossbow. But "Weapon CrossBow" is fine, using the data from the BF3 server directly.

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

Originally Posted by Large_Pudding*:

 

I am loving the customibility of this procon plugin. Just a quick request here, would it be possible to add a new variable that is how many players are online? something like %online% and %o%.

Nice and Simple this mate :smile:

On Join; Incr %server_online%

On Leave; Decr %server_online%

 

On Join adds the players to the variable, whilst On Leave decreases the value so it is correct

You can display this either by a command or log it should you wish. To display via a command you could use:

On Say;Admin;Text @o; Say %server_online% players online

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

Originally Posted by somners*:

 

Nice and Simple this mate :smile:

On Join; Incr %server_online%

On Leave; Decr %server_online%

 

On Join adds the players to the variable, whilst On Leave decreases the value so it is correct

You can display this either by a command or log it should you wish. To display via a command you could use:

On Say;Admin;Text @o; Say %server_online% players online

Ah, I wasn't sure about this. I thought that you had to set the variable to equal something first in order to initialize it. is that not the case?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Large_Pudding*:

 

Nah, A variable is automatically "0".

Try it... and see what happens :smile: learn with mother an all that.

 

To see an on-the-fly-example try the following

On Join; Incr %server_online%; Log %server_online% players are online

On Leave; Decr %server_online%; Log %server_online% players are online

 

Just watch your log.. best bet is to make sure proconrulz logs to plugins tab :smile:

If you get no Log response, then you know something is wrong.

Remember, %server_online% shall automatically be reset to "0" upon round start. So you may want to adjust it to a %ini% version

 

On Join; Incr %ini_vars_online%; Log %ini_vars_online% players online

On Leave; Decr %ini_vars_online%; Log %ini_vars_online% players online

 

This shall be logged to your ini as per http://www.forsterlewis.com/proconrulz.pdf

 

Hope that helps

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

Originally Posted by ty_ger07*:

 

Nah, A variable is automatically "0".

Try it... and see what happens :smile: learn with mother an all that.

 

To see an on-the-fly-example try the following

On Join; Incr %server_online%; Log %server_online% players are online

On Leave; Decr %server_online%; Log %server_online% players are online

 

Just watch your log.. best bet is to make sure proconrulz logs to plugins tab :smile:

If you get no Log response, then you know something is wrong.

Remember, %server_online% shall automatically be reset to "0" upon round start. So you may want to adjust it to a %ini% version

 

On Join; Incr %ini_vars_online%; Log %ini_vars_online% players online

On Leave; Decr %ini_vars_online%; Log %ini_vars_online% players online

 

This shall be logged to your ini as per http://www.forsterlewis.com/proconrulz.pdf

 

Hope that helps

Are you sure it shouldn't be On Spawn;PlayerFirst;? If you do On Join;, next round, that player won't be counted because they didn't join on that round and the variable is reset before each round. If you do On Spawn;PlayerFirst;, then each round, it will count the players as online as soon as they spawn for the first time that round.

 

Then, you could still do On Leave to deduct the players online from that round. Next round, since the variable would be reset anyways, the On Leave from the previous round wouldn't cause the variable to eventually go negative.

 

I think he should try:

 

On Spawn; PlayerFirst; Incr %server_online%; Log %server_online% players are online

On Leave; Decr %server_online%; Log %server_online% players are online

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

Originally Posted by Hutchew*:

 

There are some errors in those rules.

 

Incorrect syntax:

It should be Not Weapon CrossBow instead of Not CrossBow Weapon.

 

Incorrect spacing:

It should be Log %p% instead of Log% p%.

It should be Ban %p% instead of Ban% p%.

It should be Kick %p% instead of Kick% p%.

It should be PlayerSay %p% instead of PlayerSay% p%.

 

These should be your rules:

 

On Kill;Not Weapon CrossBow;Not Damage Handgun;PlayerCount 5;Log %p% banned (Xbow / knife only);Ban %p% Xbow only

On Kill;Not Weapon CrossBow;Not Damage Handgun;PlayerCount 3;Log %p% kicked (Xbow / knife only);Kick %p% Xbow only

On Kill;Not Weapon CrossBow;Not Damage Handgun;PlayerSay %p% Xbow / knife only;Kill 100

Wouldn't this be either crossbow or handgun allowed, but not knife (melee) or any other weapon?

 

For Crossbow/knife only, should it be:

 

On Kill;Not Weapon CrossBow;Not Damage Melee;PlayerCount 5;Log %p% banned (Xbow / knife only);Ban %p% Xbow only

On Kill;Not Weapon CrossBow;Not Damage Melee;PlayerCount 3;Log %p% kicked (Xbow / knife only);Kick %p% Xbow only

On Kill;Not Weapon CrossBow;Not Damage Melee;PlayerSay %p% Xbow / knife only;Kill 100

 

 

__________?

 

Thanks,

Hutchew

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

Originally Posted by ty_ger07*:

 

That's correct. I wasn't looking at the point of his rules, what he was trying to accomplish, or what he was telling the players in the server. I was just looking at the actual writing of the rules from a standpoint of "working".

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

Originally Posted by Kiffkiller*:

 

Hi all,

is there a possibility to get the servername with ProconRulz?

 

I wanna do something like this:

On Spawn; Once players; pcountrykey If%% == de; PlayerYell 20 WELCOME %p% at - NO RPG, SMAW, M320

 

The server name should just always adapt.

Is there also a possibility to do an paragraph in a Yell?

(On Spawn; Once players; pcountrykey If%% == de; PlayerYell 20 WELCOME %p% at (new line)

- NO RPG, SMAW, M320

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

Originally Posted by russel5*:

 

I wrote a little rule to detect aimbot on the server. But I have a little problem. How rounded a fractional part percent. Ie 18.1652% to 18%

Tried variable .1 but nothing happened. Help solve the problem. Thank you.

Code:

#AimDetect
on spawn;serverfirst;set %kills% 0;set %hs% 0
on kill;Not Damage SniperRifle;incr %kills[%p%]%
on kill;Not Damage SniperRifle;Headshot;incr %hs[%p%]%
on kill;Set %proc[%p%]% %hs[%p%]% / %kills[%p%]% * 100
on kill;If %proc[%p%]% >= 70;If %kills[%p%]% > 30;Log %p%;Kick Suspicious stats Hs/K %
on say;Admin;Text @kills;TargetPlayer;TargetAction Say  kills %kills[%t%]% HS %hs[%t%]% and %proc[%t%]% %
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by tarreltje*:

 

#AimDetect

on spawn;serverfirst;set %kills% 0;set %hs% 0

on kill;Not Damage SniperRifle;incr %kills%

on kill;Not Damage SniperRifle;Headshot;incr %hs%

on kill;Set %proc.1% %hs% / %kills% * 100

on kill;If %proc.1% >= 70;If %kills% > 30;Log %p%;Kick Suspicious stats Hs/K %

on say;Admin;Text @kills;TargetPlayer;TargetAction Say kills %kills% HS %hs% and %proc.1% %

 

I excluded the [%p%] since the vars you counting are already for each player counted seperated!

 

the %proc.1% will give 1 number behind the , . So 18.1%

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

Originally Posted by russel5*:

 

Hi, certainly works. I use on my server CheatDetector, but it does have one drawback. If a player has just bought an account and cheat he does not have information for this plugin CheatDetector. So I decided to write this rule for the aimbot for new players. Went to a player on the server and started killing people with aimbot. 28 of 30 kills in the head is not real!

I ruled out the counter for sniper rifles, because the sniper rifles as possible. But the players are usually taken with aimbot machines that would kill more people for a little while. I felt it right to 100 eagles that played on my server and the percentage of 40 kills Headshots composes 13-15%, maximum 20%. So I just rewrote AimbotDetect

Code:

#AimDetect
on spawn;serverfirst;set %kills% 0;set %hs% 0
on kill;Not Damage SniperRifle;incr %kills%
on kill;Not Damage SniperRifle;Headshot;incr %hs%
on kill;Set %proc.1% %hs% / %kills% * 100
on kill;If %proc.1% >= 60;If %kills% > 30;Log %p%;Ban %p% Impossible stats Hs/K %proc.1% %
on say;Admin;Text @kills;TargetPlayer;TargetAction Say kills %kills% HS %hs% and %proc.1% %
If you find this useful rule will be glad if you add it to the top threads
* 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.