Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by bambam*:

 

My rulz:

Yell 10 [1]rinuss [1]rinuss

 

Output ingame:

[1]rinuss [2]rinuss

 

console:

procon.plugin.setVariable ProconRulz Rules On+Spawn%3bPlayerFirst%3b|Yell+10+%5b1%5drinuss+++ ++++++++++++++%5b2%5drinuss

I see what you mean - the console log should also show you the admin.yell command - ProconRulz is clearly storing the rule correctly - I haven't done testing myself yet to see if a yell with multiple spaces gets shortened by BF3, or if there's something else going on... with a bit of luck I might have captured your admin.yell in the Procon *I'm* running (tarreltje gave me test access to his server :smile: ) but I haven't checked yet...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by AJToft*:

 

If i have a server that runs 2 gamemodes, is it possible to only use No RPG/M320 rules in 1 of the gamemodes? The gamemodes are Conquest Domination and Gun Master - I want to us the No RGP/M320 rule in Domination only.

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

Originally Posted by a928396*:

 

use the condition MapMode, see example #9 with a small modification

 

Code:

On Kill;Weapon Death;[b][u]MapMode Rush[/u][/b];Teamsize 4;
PlayerCount 5;Say %p% kicked for vehicle kills;Kick kicked for vehicle kills with small teams
PlayerCount 3;Say %p% slayed for vehicle kill %c%/5;Kill 100
Say %p% - no vehicle kills with small teams (#%c%/5)
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by tarreltje*:

 

I see what you mean - the console log should also show you the admin.yell command - ProconRulz is clearly storing the rule correctly - I haven't done testing myself yet to see if a yell with multiple spaces gets shortened by BF3, or if there's something else going on... with a bit of luck I might have captured your admin.yell in the Procon *I'm* running (tarreltje gave me test access to his server :smile: ) but I haven't checked yet...

afain the spaces you put in the rulz, arent showed in the actual yell
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Large_Pudding*:

 

Quick question to BamBam

 

Can you supply a complete list of comparison operators that are parsed by ProConRulz please as I re-read all 250 pages and came across 'contains' as a valid option

 

I'm aware of the following when viewing proconrulz.cs:

"!="

"=="

""

">"

"

">="

"=>"

"

"=

 

Other than 'contains', are there any others that could help me in my quest for world domination?

ps have googled but it's flooded with soo much crap, I thought it would be quicker to ask :smile:

Either that, or provide a valid resource.. that too would be mighty handy as I'm all up for 'learn with mother'

 

Regards

Large_Pudding

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

Originally Posted by Large_Pudding*:

 

Is there already a rule that will tell the player they were kicked due to someone with a VIP slot?

Nothing to do with ProConRulz mate as that is dealt server-side via ReservedSlots / aggressivejoin.

I believe the text if any is dealth through EA. I'm afraid I can't confirm as I have never been booted from my own server for such an instance

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

Originally Posted by ty_ger07*:

 

Is there already a rule that will tell the player they were kicked due to someone with a VIP slot?

You could disable aggressive join so that reserved slots players are moved to the front of the queue and wait there and no players are actually kicked in their place.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by K33NY*:

 

Hello

 

 

I am using this plugin to limit our snipers on our BF3 server,

 

We use a 48 slot server, limiting snipers to 2 snipers each team, and would like it to save after death BUT we seem to have a problem, even though its set to save after death, we get complaints that people who have been snipers whole round suddenly gets killed for using sniper AFTER someone else has joined, (this has happened to me as well)

 

Is there something wrong I have done with the codes_:

 

# SET THE MAX # OF SNIPERS HERE:

On Spawn;ServerFirst;Set %server_sniperlimit% 2

 

# sniper limit rulz

On Spawn;if %_beingsniper% == 1;Decr %_beingsniper%;Decr %team_recontotal%;log we have %team_recontotal% snipers on team %pt%

On Spawn;Set %_beingsniper% 0

 

On kill;Damage sniperRifle;

if %team_recontotal% == %server_sniperlimit%;if %_beingsniper% == 0;Say Sniper Limit max %server_sniperlimit% snipers each team !!!;Kill

if %_beingsniper% == 1;End;log %p% is still a sniper, %team_recontotal% snipers on team %pt%

incr %team_recontotal%;set %_beingsniper% 1;log %p% is a sniper, %team_recontotal% snipers on team %pt%

On kill;Not Damage sniperRifle;Not Damage Handgun;if %_beingsniper% == 1;decr %_beingsniper%;decr %team_recontotal%;log %p% is no sniper anymore, %team_recontotal% snipers on team %pt%

On Leave;if %_beingsniper% == 1;Decr %team_recontotal%

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

Originally Posted by fantasticplayer*:

 

Hello again ive writed topic about temporary ban for using weapon which one are not allowed on the server by proconrulz but nobody answer on that. Ive got problem ive try to modify that triger/plugin by my own and its not working. When i put command "tban 1440" for "ban" in that triger/plugin its not worrking, it just doing action before - kick. How can i make the same triger/plugin which one will ban player for 24 hours (1440 minutes) not pernamently? My triger/plugin is:

 

##### WEAPON LIMITER #####

On Kill;Damage ProjectileExplosive;PlayerCount 2;Say M320/RPG-7, SMAW and MORTAR are not allowed!;Ban M320/RPG-7, SMAW and MORTAR are not allowed!

On Kill;Damage ProjectileExplosive;PlayerCount 1;Say M320/RPG-7, SMAW and MORTAR are not allowed!;Kick M320/RPG-7, SMAW and MORTAR are not allowed!

On Kill;Damage ProjectileExplosive;PlayerCount 0;Say M320/RPG-7, SMAW and MORTAR are not allowed!;Kill M320/RPG-7, SMAW and MORTAR are not allowed!

On Kill;Weapon Death;PlayerCount 2;Say M320/RPG-7, SMAW and MORTAR are not allowed!;Ban M320/RPG-7, SMAW and MORTAR are not allowed!

On Kill;Weapon Death;PlayerCount 1;Say M320/RPG-7, SMAW and MORTAR are not allowed!;Kick M320/RPG-7, SMAW and MORTAR are not allowed!

On Kill;Weapon Death;Say M320/RPG-7, SMAW and MORTAR are not allowed!;Kill M320/RPG-7, SMAW and MORTAR are not allowed!

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

Originally Posted by kaisersose*:

 

Hello to all. I would ask if it is possible to create a mod for:

- Do not use defibrillator

- Do not use the return indicator

 

Thank you all in advance.

hi all,

it's interesting to me this option,i think he meant "RAVER" prohibit RADIO BEACON sniper

 

i tried whit these options but the player always respwan after 10sec.

 

 

1# Edit vars.playerManDownTime X - X to whatever value so vars.playerManDownTime 0 would disable it all together

 

2# Amending vars.playerManDownTime would alter your server state. So you could throw a rule into the works

 

On Kill; Exec vars.playerManDownTime 2

On Spawn; vars.playerManDownTime 100

 

 

where am i wrong? thanks!!!!!!!!

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

Originally Posted by Large_Pudding*:

 

Hello again ive writed topic about temporary ban for using weapon which one are not allowed on the server by proconrulz but nobody answer on that. Ive got problem ive try to modify that triger/plugin by my own and its not working. When i put command "tban 1440" for "ban" in that triger/plugin its not worrking, it just doing action before - kick. How can i make the same triger/plugin which one will ban player for 24 hours (1440 minutes) not pernamently? My triger/plugin is:

There is no Tban. either PBKick or TempBan . Please see http://www.forsterlewis.com/proconrulz.pdf

 

You can also remove the PlayerCount 0 from your rules ie.

 

##### WEAPON LIMITER #####

On Kill;Damage ProjectileExplosive;PlayerCount 2;Say M320/RPG-7, SMAW and MORTAR are not allowed!;Ban M320/RPG-7, SMAW and MORTAR are not allowed!

On Kill;Damage ProjectileExplosive;PlayerCount 1;Say M320/RPG-7, SMAW and MORTAR are not allowed!;Kick M320/RPG-7, SMAW and MORTAR are not allowed!

On Kill;Damage ProjectileExplosive;Say M320/RPG-7, SMAW and MORTAR are not allowed!;Kill M320/RPG-7, SMAW and MORTAR are not allowed!

On Kill;Weapon Death;PlayerCount 2;Say M320/RPG-7, SMAW and MORTAR are not allowed!;Ban M320/RPG-7, SMAW and MORTAR are not allowed!

On Kill;Weapon Death;PlayerCount 1;Say M320/RPG-7, SMAW and MORTAR are not allowed!;Kick M320/RPG-7, SMAW and MORTAR are not allowed!

On Kill;Weapon Death;Say M320/RPG-7, SMAW and MORTAR are not allowed!;Kill M320/RPG-7, SMAW and MORTAR are not allowed!

 

 

Alternatively condense the whole lot with the following:

 

##### WEAPON LIMITER #####

On Kill;Damage ProjectileExplosive

PlayerCount 2; PBKick 1440 M320/RPG-7, SMAW and MORTAR are not allowed!

PlayerCount 1;Kick M320/RPG-7, SMAW and MORTAR are not allowed!

Kill M320/RPG-7, SMAW and MORTAR are not allowed!

On Kill;Weapon Death

PlayerCount 2;PBKick 1440 M320/RPG-7, SMAW and MORTAR are not allowed!

PlayerCount 1;Kick M320/RPG-7, SMAW and MORTAR are not allowed!

Kill M320/RPG-7, SMAW and MORTAR are not allowed!

 

Remember when testing PBKick, should it work... you shall have to use pb command pb_sv_restart to gain access again,

Alternatively change it to TempBan using 86400 for 24 hour temporary ban

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

Originally Posted by Large_Pudding*:

 

Hello

 

 

I am using this plugin to limit our snipers on our BF3 server,

 

We use a 48 slot server, limiting snipers to 2 snipers each team, and would like it to save after death BUT we seem to have a problem, even though its set to save after death, we get complaints that people who have been snipers whole round suddenly gets killed for using sniper AFTER someone else has joined, (this has happened to me as well)

 

Is there something wrong I have done with the codes_:

Please see topic www.phogue.net/forumvb/showth...r-by-Tarreltje*

I believe it's explained there

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

Originally Posted by tarreltje*:

 

Hello

 

 

I am using this plugin to limit our snipers on our BF3 server,

 

We use a 48 slot server, limiting snipers to 2 snipers each team, and would like it to save after death BUT we seem to have a problem, even though its set to save after death, we get complaints that people who have been snipers whole round suddenly gets killed for using sniper AFTER someone else has joined, (this has happened to me as well)

 

Is there something wrong I have done with the codes_:

 

# SET THE MAX # OF SNIPERS HERE:

On Spawn;ServerFirst;Set %server_sniperlimit% 2

 

# sniper limit rulz

On Spawn;if %_beingsniper% == 1;Decr %_beingsniper%;Decr %team_recontotal%;log we have %team_recontotal% snipers on team %pt%

On Spawn;Set %_beingsniper% 0

 

On kill;Damage sniperRifle;

if %team_recontotal% == %server_sniperlimit%;if %_beingsniper% == 0;Say Sniper Limit max %server_sniperlimit% snipers each team !!!;Kill

if %_beingsniper% == 1;End;log %p% is still a sniper, %team_recontotal% snipers on team %pt%

incr %team_recontotal%;set %_beingsniper% 1;log %p% is a sniper, %team_recontotal% snipers on team %pt%

On kill;Not Damage sniperRifle;Not Damage Handgun;if %_beingsniper% == 1;decr %_beingsniper%;decr %team_recontotal%;log %p% is no sniper anymore, %team_recontotal% snipers on team %pt%

On Leave;if %_beingsniper% == 1;Decr %team_recontotal%

Ive looked at my rules and i think we can remove this set of rules:

 

# sniper limit rulz

On Spawn;if %_beingsniper% == 1;Decr %_beingsniper%;Decr %team_recontotal%;log we have %team_recontotal% snipers on team %pt%

On Spawn;Set %_beingsniper% 0

 

Because it basicly takes you of the sniper list, when you spawn as a "being sniper" ! What actualy is kinda weird :smile:

 

Just try this set of ruls and let me know:

 

# SET THE MAX # OF SNIPERS HERE:

On Spawn;ServerFirst;Set %server_sniperlimit% 2

 

# sniper limit rulz

On kill;Damage sniperRifle;

if %team_recontotal% == %server_sniperlimit%;if %_beingsniper% == 0;Say Sniper Limit max %server_sniperlimit% snipers each team !!!;Kill

if %_beingsniper% == 1;End;log %p% is still a sniper, %team_recontotal% snipers on team %pt%

incr %team_recontotal%;set %_beingsniper% 1;log %p% is a sniper, %team_recontotal% snipers on team %pt%

On kill;Not Damage sniperRifle;Not Damage Handgun;if %_beingsniper% == 1;decr %_beingsniper%;decr %team_recontotal%;log %p% is no sniper anymore, %team_recontotal% snipers on team %pt%

On Leave;if %_beingsniper% == 1;Decr %team_recontotal%

With those rules, if you are on the sniperlist, and you die and spawn again you still will be on the sniper list, only when you use then an other weopon you will be removed from the sniper list
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by kaisersose*:

 

Originally Posted by Raver79 View Post

Hello to all. I would ask if it is possible to create a mod for:

- Do not use defibrillator

- Do not use the return indicator

 

Thank you all in advance.

 

 

 

hi all,

it's interesting to me this option,i think he meant "RAVER" prohibit RADIO BEACON sniper

 

i tried whit these options but the player always respwan after 10sec.

 

 

1# Edit vars.playerManDownTime X - X to whatever value so vars.playerManDownTime 0 would disable it all together

 

2# Amending vars.playerManDownTime would alter your server state. So you could throw a rule into the works

 

On Kill; Exec vars.playerManDownTime 2

On Spawn; vars.playerManDownTime 100

 

 

where am i wrong? thanks!!!!!!!!

can you help me?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Large_Pudding*:

 

There is no sure-fire way of limiting the use of defibs nor spawn beacon's.

Unlike BC2, neither are detected upon spawn.

 

My previous suggestion for altering mandowntime will only work in an 'unranked' state. So should you have a ranked server, this is limited by EA/DICE and not editable.

 

The best solution to the radio beacon would be to use the sniper limit provided by Tarreltje www.phogue.net/forumvb/showth...r-by-Tarreltje* this would actively kill when the limit has been reached. By changing this limit to '0' in theory no sniper shall be able to hide up and cause trouble

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

Originally Posted by JoseyWales*:

 

Hi, With BC2, is it possible to prevent usage of a particular weapon for a particular player? Like no CG, that only targets one player by name?

 

Also, its it possible for some rules to be set to be active/deactive depending on ServerTime?

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

Originally Posted by Large_Pudding*:

 

Hi, With BC2, is it possible to prevent usage of a particular weapon for a particular player? Like no CG, that only targets one player by name?

Also, its it possible for some rules to be set to be active/deactive depending on ServerTime?

1} By using .ini you are able to set the playername persistently opposed to per-round:

 

Two ways. Either manually enter the .ini contents into your .ini file replacing the player name or

When in-game use !pprcg which shall write it for you

Whenever a kill is detected using the weapon and the player name matches it kills. Edit to your preference

You can of course expand on this with different weapons etc

 

## Per Player Restriction (ppr) ##

On Kill; Weapon M2CG; if %ini_cg_player[%p%]% == 1; Kill %p% you have used a forbidden weapon - %w%

On Say; Admin; Text !pprcg; Set %ini_cg_player[%targettext%]% 1; Log %ini_boot_player[%targettext%]% %targettext%

 

Your .ini would contain:

[cg]

player[Large_Pudding]=1

player[small_Pudding]=1

 

2} Sure can. Check out http://www.forsterlewis.com/proconrulz.pdf

So for example

On Kill; if %hms% > 20:00:00; Say it's later than 8pm

www.phogue.net/forumvb/showth...ctions/page238* for reference ...

 

ps. As I don't run BC2 I haven't tested the ppr/cg ... so tinker to your leasure

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

Originally Posted by JoseyWales*:

 

Excellent, thankyou for that Large_Pudding.

 

Also, for BC2 again, Does anyone know why 'PlayerBoth' & 'PlayerYell' do not yell a message? they always used to work before, but stopped working quite a few months back.

PlayerYell does nothing, and PlayerBoth only outputs to the chatbox.

 

I even get a entry in the chatlog,

(PlayerYell tester666) tester666 you have equipped a forbidden weapon

 

But no yell on screen.

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

Originally Posted by Large_Pudding*:

 

I'm not sure of older actions prior to BF3, but these are the ones listed in the docs

 

"Say "

"PlayerSay " : only the player involved will see message

"SquadSay " : only the player’s squad will see message

"TeamSay " : only the player’s team will see message

"VictimSay " : On Kill only, the player killed will see message

"AdminSay " : only in-game admins will see message

"Yell " [] : Yell with N seconds on-screen time (default for N in plugin settings)

"PlayerYell " [] : only the player involved will see Yell message

"SquadYell " [] : only the player’s squad will see Yell message

"TeamYell " [] : only the player’s team will see Yell message

"Log " : log to procon chat log but don't use Say

"Both " : Say and Yell same message

"All " : Say and Yell and Log same message

 

Try Both and see what happens :ohmy:

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

Originally Posted by ty_ger07*:

 

Excellent, thankyou for that Large_Pudding.

 

Also, for BC2 again, Does anyone know why 'PlayerBoth' & 'PlayerYell' do not yell a message? they always used to work before, but stopped working quite a few months back.

PlayerYell does nothing, and PlayerBoth only outputs to the chatbox.

 

I even get a entry in the chatlog,

(PlayerYell tester666) tester666 you have equipped a forbidden weapon

 

But no yell on screen.

I haven't played with BC2 in a long time, so I could be barking up the wrong tree...

 

But remember that player yell in BC2 was in milliseconds but in BF3 playeryell is measured in seconds. BamBam changed PRoConRulz yell command to use seconds instead of milliseconds. Now, due to this change, a yell which may have used to be 5000 milliseconds (5 seconds) in BC2 is now only 5 milliseconds (0.005 seconds). This makes the yell displayed for such a short period of time that the player does't even see it.

 

You should try adding a yell duration to your rule to overwrite the default yell duration.

 

Try this:

 

On Kill;Weapon xxx;PlayerYell 5000 Don't use weapon xxx.

 

Instead of:

 

On Kill;Weapon xxx;PlayerYell Don't use weapon xxx.

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