Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by SamTyler*:

 

I had a sample coding come up unrecongnised rule.

 

The rules being used are as follows;

 

On Kill;Not Damage SniperRifle; Not Damage Handgun; Not Damage Melee; PlayerCount 5; Log %p% banned (snipers/Handgun/Knifes only); Ban %p% Snipers only

 

On Kill;Not Damage SniperRifle; Not Damage Handgun; Not Damage Melee; PlayerCount 3; Log %p% kicked (snipers/Handgun/Knifes only); kick %p% Snipers only

 

On Kill;Not Damage SniperRifle; Not Damage Handgun; PlayerSay %p% snipers/handgun/Melee only; Kill 100

 

I get a ProconRulz: Unrecognised rule. Not sure which rule is not recognised and it doesnt say which one.

 

The above rules were placed in a text file called OMGSniperPistolsMeleeRule.txt on the host layer server.

 

Can anyone give me some help with this please.

tested with rules unter "rules"

 

[15:26:38 40] ProconRulz: loading 256 rulz

[15:26:38 40] ProconRulz: 256 rules loaded

and as separate textfile...

 

[15:30:29 96] ProconRulz: Loading Plugins\BFBC2\OMGSniperPistolsMeleeRule.txt

[15:30:29 96] ProconRulz: loading 259 rulz

[15:30:30 09] ProconRulz: 259 rules loaded

Both methods works with for me... (the different amount of rules comes from different server :cool: )
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by lllBUR*:

 

That simplified rules are much better than your old ones, I don't see anything wrong with it? :huh: (briefly read through it only)

 

You mean you want to exclude mortar from ProjectileExplosive?

Yes, I want to exclude mortar from ProjectileExplosive. can it be done?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Slayer*:

 

Yes, I want to exclude mortar from ProjectileExplosive. can it be done?

Yes it can.

 

On Kill;Not Weapon M224;...

 

This is how it would look if I was to allow mortars on the server as well as flashbangs.

Part line of one script I run on our Op Locker server but with mortar in it if I wanted to exclude it.

 

On Kill;Not Weapon U_Flashbang,M224;Damage Explosive,ProjectileExplosive;PlayerCount 2;...

 

If you read further in this thread* you will get some more ideas on script layouts, though there is plenty of examples of them around the forums it just takes awhile to search and read them all. :cool:

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

Originally Posted by thdman1511*:

 

Anyone know how to add the sr338 sniper Rifle from Naval Strike as ProconRulz doesnt allow it under the class SniperRifle. Will there be an update to proconrulz rule to include the new weapons from Naval Strike in the class names.

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

Originally Posted by eisvogel*:

 

Anyone know how to add the sr338 sniper Rifle from Naval Strike as ProconRulz doesnt allow it under the class SniperRifle. Will there be an update to proconrulz rule to include the new weapons from Naval Strike in the class names.

1. open your bf4.def

2. search for procon.protected.serverversions.clear

3. add this line procon.protected.weapons.add Recon "U_SR338" Primary SniperRifle

4. save the bf4.def

5. restart procon / procon layer

:smile:

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

Originally Posted by thdman1511*:

 

Thanks for your help eisvogel, this will help me quite alot, by any chance do you know of any other new items that I need to add to bf4.def file related to Naval Strike. The SR338 was a requested item, but would like to be a little better prepared if you know what I mean.

 

Thanks for your help much appreciated.

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

Originally Posted by ixnorp*:

 

Thanks for your help eisvogel, this will help me quite alot, by any chance do you know of any other new items that I need to add to bf4.def file related to Naval Strike. The SR338 was a requested item, but would like to be a little better prepared if you know what I mean.

 

Thanks for your help much appreciated.

You can check the weapon codes thread at plugins enhancement section

 

 

Sent from my iPhone using Tapatalk

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

Originally Posted by Slayer*:

 

Hello! I am the administrator of the server. How can I avoid IdleTimeoutBan

If it's what I'm thinking you are referring to it's nothing to do with Proconrulz it is the disable idle ban feature in Procon itself.

 

Open up Procon go to the Server Settings tab from the drop down menu pick Configuration in there you will see the idle settings. (along with other settings)

 

You should also see a box you can tick disable idle ban that will stop players from being banned if they get kicked for idle a few times.

 

If you still want that feature, under the tick box is a box where you can enter in how many times a player will be kicked for idle before the IdleTimeoutBan is implemented.

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

Originally Posted by hauser1*:

 

If it's what I'm thinking you are referring to it's nothing to do with Proconrulz it is the disable idle ban feature in Procon itself.

 

Open up Procon go to the Server Settings tab from the drop down menu pick Configuration in there you will see the idle settings. (along with other settings)

 

You should also see a box you can tick disable idle ban that will stop players from being banned if they get kicked for idle a few times.

 

If you still want that feature, under the tick box is a box where you can enter in how many times a player will be kicked for idle before the IdleTimeoutBan is implemented.

But on mapchange it reset to idl time 300 there is no fix for that.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ADD1CTED-GAM3R*:

 

Is there a way to block the Recon Kit from being used in a server through a Rulz script? I read through the Rulz PDF file and it mentions how to do this in BFBC2 (it kills the player on spawn if they use the blocked kit), but says it can't be done in BF3. Does that mean it can't be done in BF4 either? A server I like to play in doesn't allow you to use the Recon Kit because they don't like the abuse of the Radio Beacon, MAV, SUAV, etc.

 

I'm thinking that if there's no way to block the Recon Kit from being used somehow, the next best thing would be to block all of the sniper rifles, which I've already created a script for. The only question I have for that is can I block the MAV and SUAV with the On Kill;Weapon Roadkill;PlayerSay %p% No Recon! Change your Kit!;Kill command? I don't want to block the EOD Bot or the M224 Mortar though, and I don't know what their kill types are. I assume the M224 is Explosive, but the EOD Bot could very well be Roadkill...

 

Any help here? Thanks!

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

Originally Posted by thdman1511*:

 

Just want to make sure of my understanding about Proconrulz scripts, Do I put the scripts on the server side or client side. I have been having problems getting the scripts that I put in the Proconrulz.txt section to work, Any advise would be appreciated.

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

Originally Posted by ixnorp*:

 

But on mapchange it reset to idl time 300 there is no fix for that.

Try setting the idle time at your server's startup.txt, save and restart?

 

I only know that whatever settings you changed for your game server config in procon will be gone/reset if the server restarts/crash and it will load the default startup.txt

 

 

Sent from my iPhone using Tapatalk

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

Originally Posted by ixnorp*:

 

Is there a way to block the Recon Kit from being used in a server through a Rulz script? I read through the Rulz PDF file and it mentions how to do this in BFBC2 (it kills the player on spawn if they use the blocked kit), but says it can't be done in BF3. Does that mean it can't be done in BF4 either? A server I like to play in doesn't allow you to use the Recon Kit because they don't like the abuse of the Radio Beacon, MAV, SUAV, etc.

 

I'm thinking that if there's no way to block the Recon Kit from being used somehow, the next best thing would be to block all of the sniper rifles, which I've already created a script for. The only question I have for that is can I block the MAV and SUAV with the On Kill;Weapon Roadkill;PlayerSay %p% No Recon! Change your Kit!;Kill command? I don't want to block the EOD Bot or the M224 Mortar though, and I don't know what their kill types are. I assume the M224 is Explosive, but the EOD Bot could very well be Roadkill...

 

Any help here? Thanks!

Check the weapon codes at plugin enhancements section.

 

 

Sent from my iPhone using Tapatalk

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

Originally Posted by ixnorp*:

 

Just want to make sure of my understanding about Proconrulz scripts, Do I put the scripts on the server side or client side. I have been having problems getting the scripts that I put in the Proconrulz.txt section to work, Any advise would be appreciated.

At your procon layer host side

 

 

Sent from my iPhone using Tapatalk

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

Originally Posted by ADD1CTED-GAM3R*:

 

Check the weapon codes at plugin enhancements section.

 

Sent from my iPhone using Tapatalk

Thanks for directing me to that post! I wasn't aware that there were specific codes for each weapon! For example, to set the server to automatically kill someone who gets a kill with the CS-LR4, you have to put "U_CS-LR4" in the code instead of just "CS-LR4." So, thanks for that!

 

It also answered my question as to what damage type the M224 Mortar is. I assumed it would be "Projectile Explosive," but it's actually considered a weapon and does weapon damage. From what I understand from the "No MAVs on Metro" script, the MAV uses the "RoadKill" damage type; I assume the SUAV, UCAV and EOD Bot use the same as well (as do vehicles when they run you down)? So if I were to use: On Kill;Weapon RoadKill;PlayerSay %p% No Recon! Change your kit!;Kill" it would kill an Engineer who got a kill with their EOD Bot too. That's not what I want; I just want to stop as much of the Recon Kit as possible.

 

I know I can block the Recon Claymore (On Kill;Weapon U_Claymore_Recon;PlayerSay %p% No Recon! Change your kit!;Kill), as well as all the sniper rifles (On Kill;Weapon U_CS-LR4;PlayerSay %p% No Recon! Change your kit!;Kill), but I want to block the MAV and SUAV too (On Kill;Weapon RoadKill;PlayerSay %p% No Recon! Change your kit!;Kill). I guess if it blocks the EOD Bot too we'll either have to accept that as a consequence or not use that code to block the MAV and SUAV.

 

Are these codes all correct? I don't have to swap Weapon with Damage or anything, right? So, for example; is this correct? On Kill;Weapon U_Claymore_Recon;PlayerSay %p% No Recon! Change your kit!;Kill.

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

Originally Posted by ixnorp*:

 

Thanks for directing me to that post! I wasn't aware that there were specific codes for each weapon! For example, to set the server to automatically kill someone who gets a kill with the CS-LR4, you have to put "U_CS-LR4" in the code instead of just "CS-LR4." So, thanks for that!

 

It also answered my question as to what damage type the M224 Mortar is. I assumed it would be "Projectile Explosive," but it's actually considered a weapon and does weapon damage. From what I understand from the "No MAVs on Metro" script, the MAV uses the "RoadKill" damage type; I assume the SUAV, UCAV and EOD Bot use the same as well (as do vehicles when they run you down)? So if I were to use: On Kill;Weapon RoadKill;PlayerSay %p% No Recon! Change your kit!;Kill" it would kill an Engineer who got a kill with their EOD Bot too. That's not what I want; I just want to stop as much of the Recon Kit as possible.

 

I know I can block the Recon Claymore (On Kill;Weapon U_Claymore_Recon;PlayerSay %p% No Recon! Change your kit!;Kill), as well as all the sniper rifles (On Kill;Weapon U_CS-LR4;PlayerSay %p% No Recon! Change your kit!;Kill), but I want to block the MAV and SUAV too (On Kill;Weapon RoadKill;PlayerSay %p% No Recon! Change your kit!;Kill). I guess if it blocks the EOD Bot too we'll either have to accept that as a consequence or not use that code to block the MAV and SUAV.

 

Are these codes all correct? I don't have to swap Weapon with Damage or anything, right? So, for example; is this correct? On Kill;Weapon U_Claymore_Recon;PlayerSay %p% No Recon! Change your kit!;Kill.

It is impossible to detect recon kit in bf4, you can only try to limit recon as much as possible. Limit all sniper rifles and dmr

 

On kill;damage SniperRifles;....

On kill;damage dmr;....

 

(I can't remember correctly if these are the code for sniper rifles and dmr, need to check bf4.

 

You can stop all those with roadkill rules, but that includes other vehicles roadkill too iirc.

 

 

Sent from my iPhone using Tapatalk

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

Originally Posted by Ichiro51*:

 

To whom in charge of ProconRulz Plugin app.

 

I've privately updated ProconRulz so that it can post a message to Twitter when Action 'Tweet' is triggered.

i.e.

On Kill;If %server_killstreak[%p%]% == 10;Tweet %p% have achieved 10 kill streak!

 

If you kindly check and accept my code, I'd like to explain/write documents for you to understand this update better.

The updated code has been working for about a month on my server and seems doing well so far.

 

In order to honor InsaneLimit developers, I must say that some of my codes are extracted from InsaneLimit plugin source code.

 

Are you interesting my updates?

If yes, please tell me so.

 

Thanks.

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

Originally Posted by thdman1511*:

 

I am still having issue with the adding of the SR338. I added it to the bf4.def file, as described, but in procon event list I get the following.

Missing global.Weapons.U_sr338. The player concerned was killed, for not using a sniper rifle.

 

this is the line I added

 

procon.protected.weapons.add Rcon "U_sr338" Primary SniperRifle

can anyone assist me with this issue.

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

Originally Posted by FLirtY-3D*:

 

hello wonder if someone can help me.....

i want a nade limit for my server set to about 5 nade kills perround perplayer.... i did this is this correct...

Code:

On Kill;Map subway;Weapon M67;Rate 6 1200;Kick -= NADE LIMIT =- %p% excessive nade spam
On Kill;Map subway;Weapon M67;Rate 5 60;PlayerSay -= NADE LIMIT =- %p% DO NOT USE GREANADE AGAIN
On Kill;Map subway;Weapon M67;Rate 4 60;PlayerSay -= NADE LIMIT =- %p% ( 1 ) greanade left
my average round is about 30mins so i want my rule to warn them of there last nade kill and not to use no more for rest of the round then kick.... if do not follow.. is this correct...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by OddJob001*:

 

But on mapchange it reset to idl time 300 there is no fix for that.

Probably because you are using var.preset normal on map changes. Normal will set idle kicker to 300. You can only run idle kicker above 300 if you run a Custom preset.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by AgentJD88*:

 

1. open your bf4.def

2. search for procon.protected.serverversions.clear

3. add this line procon.protected.weapons.add Recon "U_SR338" Primary SniperRifle

4. save the bf4.def

5. restart procon / procon layer

:smile:

Can i do this also with the sw40?

 

Like this?

procon.protected.weapons.add None "U_SW40" Secondary Handgun

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

Originally Posted by ty_ger07*:

 

Can i do this also with the sw40?

 

Like this?

procon.protected.weapons.add None "U_SW40" Secondary Handgun

Yes, but it is already in the BF4.def in the latest Procon version.

 

https://github.com/Myrcon/Procon-1/b...onfigs/BF4.def

 

procon.protected.weapons.add None "U_SW40" Auxiliary Handgun

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

Originally Posted by ty_ger07*:

 

BamBam, maybe you can help with this.

showthread....l=1#post101285*

 

If comparing two string times is not currently supported, maybe the ProconRulz source code could be modified in a future version to remove the colons in the time string for bool operations so time comparisons could be used.

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