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.




  • Our picks

    • Game Server Hosting:

      We're happy to announce that EZRCON will branch out into the game server provider scene. This is a big step for us so please having patience if something doesn't go right in this area. Now, what makes us different compared to other providers? Well, we're going with the idea of having a scaleable server hosting and providing more control in how you set up your server. For example, in Minecraft, you have the ability to control how many CPU cores you wish your server to have access to, how much RAM you want to use, how much disk space you want to use. This type of control can't be offered in a single service package so you're able to configure a custom package the way you want it.

      You can see all the available games here. Currently, we have the following games available.

      Valheim (From $1.50 USD)


      Rust (From $3.20 USD)


      Minecraft (Basic) (From $4.00 USD)


      Call of Duty 4X (From $7.00 USD)


      OpenTTD (From $4.00 USD)


      Squad (From $9.00 USD)


      Insurgency: Sandstorm (From $6.40 USD)


      Changes to US-East:

      Starting in January 2022, we will be moving to a different provider that has better support, better infrastructure, and better connectivity. We've noticed that the connection/routes to this location are not ideal and it's been hard getting support to correct this. Our contract for our two servers ends in March/April respectively. If you currently have servers in this location you will be migrated over to the new provider. We'll have more details when the time comes closer to January. The new location for this change will be based out of Atlanta, GA. If you have any questions/concerns please open a ticket and we'll do our best to answer them.
      • 5 replies
    • Hello All,

      I wanted to give an update to how EZRCON is doing. As of today we have 56 active customers using the services offered. I'm glad its doing so well and it hasn't been 1 year yet. To those that have services with EZRCON, I hope the service is doing well and if not please let us know so that we can improve it where possible. We've done quite a few changes behind the scenes to improve the performance hopefully. 

      We'll be launching a new location for hosting procon layers in either Los Angeles, USA or Chicago, IL. Still being decided on where the placement should be but these two locations are not set in stone yet. We would like to get feedback on where we should have a new location for hosting the Procon Layers, which you can do by replying to this topic. A poll will be created where people can vote on which location they would like to see.

      We're also looking for some suggestions on what else you would like to see for hosting provider options. So please let us know your thoughts on this matter.
      • 4 replies
    • Added ability to disable the new API check for player country info


      Updated GeoIP database file


      Removed usage sending stats


      Added EZRCON ad banner



      If you are upgrading then you may need to add these two lines to your existing installation in the file procon.cfg. To enable these options just change False to True.

      procon.private.options.UseGeoIpFileOnly False
      procon.private.options.BlockRssFeedNews False



       
      • 2 replies
    • I wanted I let you know that I am starting to build out the foundation for the hosting services that I talked about here. The pricing model I was originally going for wasn't going to be suitable for how I want to build it. So instead I decided to offer each service as it's own product instead of a package deal. In the future, hopefully, I will be able to do this and offer discounts to those that choose it.

      Here is how the pricing is laid out for each service as well as information about each. This is as of 7/12/2020.

      Single MySQL database (up to 30 GB) is $10 USD per month.



      If you go over the 30 GB usage for the database then each additional gigabyte is charged at $0.10 USD each billing cycle. If you're under 30GB you don't need to worry about this.


      Databases are replicated across 3 zones (regions) for redundancy. One (1) on the east coast of the USA, One (1) in Frankfurt, and One (1) in Singapore. Depending on the demand, this would grow to more regions.


      Databases will also be backed up daily and retained for 7 days.




      Procon Layer will be $2 USD per month.


      Each layer will only allow one (1) game server connection. The reason behind this is for performance.


      Each layer will also come with all available plugins installed by default. This is to help facilitate faster deployments and get you up and running quickly.


      Each layer will automatically restart if Procon crashes. 


      Each layer will also automatically restart daily at midnight to make sure it stays in tip-top shape.


      Custom plugins can be installed by submitting a support ticket.




      Battlefield Admin Control Panel (BFACP) will be $5 USD per month


      As I am still working on building version 3 of the software, I will be installing the last version I did. Once I complete version 3 it will automatically be upgraded for you.





      All these services will be managed by me so you don't have to worry about the technical side of things to get up and going.

      If you would like to see how much it would cost for the services, I made a calculator that you can use. It can be found here https://ezrcon.com/calculator.html

       
      • 11 replies
    • I have pushed out a new minor release which updates the geodata pull (flags in the playerlisting). This should be way more accurate now. As always, please let me know if any problems show up.

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