Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by QuadPrime*:

 

And what exacly is oyur problem with that? the rule looks fine. if you wanna add Claymore to the Whitelisted weapon just add

 

Code:

;Not Weapon U_Claymore; Not Weapon U_Claymore_Recon;
rest should work fine as far as i can tell... btw - log only gets displayed in the Procons Plugins tab, at the debug log. ingame you will have no idea what just happened. maybe also use PlayerSay in the kick and ban rules.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Hawk*:

 

Hello, how does multi-line rule work? in bc2 works like this:

Code:

On Join
+	If %ini_fulladmins_%p%% == 1
+	Say Clan-Member and admin %p% connected...
how would i write this in BF4?

Thank you for answer :smile:

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

Originally Posted by mimimimi*:

 

Code:

On Join;Admin;Say Clan-Member and admin %p% connected...
proconrulz is a plugin for procon, compatible with bf4,bf3,bf2,moh

you write the rules all the same for those games, maybe some conditions are not supported in all games, but the syntax is the same for all of them

 

 

the code above will work only if %p% is listed in Accounts Tab in procon

 

 

it is soo hard to test your code? :smile:

your code is correct.

 

this is the same:

Code:

On Join;If %ini_fulladmins_%p%% == 1;Say Clan-Member and admin %p% connected...
Multi-line rulz using '+' as a simple continuation character

"this is a convenience for the layout of your rulz and does not affect the way ProconRulz actually processes the rulz"

pag 13 of proconrulz manual

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

Originally Posted by mimimimi*:

 

well thank you sir - that server? tip might actually do the trick. i will test that.

 

The full script is an alternation of tarreltje's Sniperslots... just renamed everything accordingly and blocking the slotsystem below population of 10... again - thank you, good sir.

will be much easier to just use something like this

 

Code:

trigger;Not TeamSize 4;condition1;condition2;etc
this will prevent your rule to be triggered as long as the smallest team has 4 or fewer players

 

or you can go your way, and make sure to establish a value for your %sever_teamsizetotal% each and every time your are going to trigger that rule like this:

 

Code:

On Say;Text !ts;Set  %server_teamsizetotal% %ts1% + %ts2%;Say Total teamsize is %server_teamsizetotal%, (single) %ts1% & %ts2%, Highpop Limit is %server_highpop%
or where is not needed to show the %server_teamsizetotal% value you can use something like this:

 

Code:

trigger;If %ts1% + %ts2% > 10;condition1;condition2;etc
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Arcisit*:

 

Hi guys,

 

i am new here, but i have a question.

Is possible with this plugin set K/D ratio limit on server?

Unfortunately my provider doesnt support Insane limits so i have to find another way to set max KDR on server.

Thx for help and sorry for my eng

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

Originally Posted by ty_ger07*:

 

Hi guys,

 

i am new here, but i have a question.

Is possible with this plugin set K/D ratio limit on server?

Unfortunately my provider doesnt support Insane limits so i have to find another way to set max KDR on server.

Thx for help and sorry for my eng

Please use the "Search Thread" option just above the thread contents.

 

myrcon.net/...proconrulz-v44j1-weapon-limits-and-other-event-triggered-admin-actions#entry14497

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

Originally Posted by Hawk*:

 

Thank you for answer.

Its not same i need KDR from Battlelog not from server.

Am i right?

Tried AdKats?

Besides, KD ratio shouldnt be a meter for measuring anything

focus on kill/minute or headshot/kill

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

Originally Posted by Arcisit*:

 

Tried AdKats?

Besides, KD ratio shouldnt be a meter for measuring anything

focus on kill/minute or headshot/kill

Sure,

 

i dont need use this specific plugin, but what i need is good server for rookies. So any settings what kick high skilled players is good for me.

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

Originally Posted by Hodor*:

 

Hi guys, I need to make an immediate calculation of the players after the On Join and On Leave to file so i did the rule:

 

Code:

On Join;Incr %_joinedplayers%
On Leave;Incr %_leaveplayers%
On Join;If %_joinedplayers%-%_leaveplayers% >= 0;Set %_playersoneserver% %_joinedplayers%-%_leaveplayers%;Set %ini_vars_playeronlinecount% %_joinedplayers%-%_leaveplayers%
On Leave;If %_joinedplayers%-%_leaveplayers% >= 0;Set %_playersoneserver% %_joinedplayers%-%_leaveplayers%;Set %ini_vars_playeronlinecount% %_joinedplayers%-%_leaveplayers%
and it looks like this:

 

Code:

[vars]
playeronlinecount=1
When a player joins the rule is triggered On Join;Incr %_joinedplayers%

When a player leaves from the server the rule is triggered On Leave;Incr %_leaveplayers%

This rule, I am doing calculation how many players on the server (including joining players and players in the queue) Set %_playersoneserver% %_joinedplayers%-%_leaveplayers%

 

But there is one problem, if the player clicked "join server" and something went wrong and he failed to join the rule is not triggered On Leave;Incr %_leaveplayers% it will destroy the calculation of the number of players on the server and spoil the correctness of calculation. Is it possible to come up with a different calculation or somehow find the number of players on the server and write that number in the ini file proconrulz?

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

Originally Posted by ty_ger07*:

 

So guys anybody can share some rules for ProconRulz or AdKats against high skilled players?

Using this plugin, you can calculate their kill death ratio on a per-round basis and you can sort of calculate their kills per minute on a per-round basis. That's about all that you can do with this plugin. Are either of this things good enough for you?

 

For AdKats questions, ask in the AdKats thread.

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

Originally Posted by ty_ger07*:

 

Hi guys, I need to make an immediate calculation of the players after the On Join and On Leave to file so i did the rule:

 

Code:

On Join;Incr %_joinedplayers%
On Leave;Incr %_leaveplayers%
On Join;If %_joinedplayers%-%_leaveplayers% >= 0;Set %_playersoneserver% %_joinedplayers%-%_leaveplayers%;Set %ini_vars_playeronlinecount% %_joinedplayers%-%_leaveplayers%
On Leave;If %_joinedplayers%-%_leaveplayers% >= 0;Set %_playersoneserver% %_joinedplayers%-%_leaveplayers%;Set %ini_vars_playeronlinecount% %_joinedplayers%-%_leaveplayers%
and it looks like this:

 

Code:

[vars]
playeronlinecount=1
When a player joins the rule is triggered On Join;Incr %_joinedplayers%

When a player leaves from the server the rule is triggered On Leave;Incr %_leaveplayers%

This rule, I am doing calculation how many players on the server (including joining players and players in the queue) Set %_playersoneserver% %_joinedplayers%-%_leaveplayers%

 

But there is one problem, if the player clicked "join server" and something went wrong and he failed to join the rule is not triggered On Leave;Incr %_leaveplayers% it will destroy the calculation of the number of players on the server and spoil the correctness of calculation. Is it possible to come up with a different calculation or somehow find the number of players on the server and write that number in the ini file proconrulz?

teamsize is already a variable available to ProconRulz. You shouldn't need to re-engineer a way of calculating the number of players in the server. Just add up teamsize of team one and teamsize of team 2 and that will be your number.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by mimimimi*:

 

Hi guys, I need to make an immediate calculation of the players after the On Join and On Leave to file so i did the rule:

 

Code:

On Join;Incr %_joinedplayers%
On Leave;Incr %_leaveplayers%
On Join;If %_joinedplayers%-%_leaveplayers% >= 0;Set %_playersoneserver% %_joinedplayers%-%_leaveplayers%;Set %ini_vars_playeronlinecount% %_joinedplayers%-%_leaveplayers%
On Leave;If %_joinedplayers%-%_leaveplayers% >= 0;Set %_playersoneserver% %_joinedplayers%-%_leaveplayers%;Set %ini_vars_playeronlinecount% %_joinedplayers%-%_leaveplayers%
and it looks like this:

 

Code:

[vars]
playeronlinecount=1
When a player joins the rule is triggered On Join;Incr %_joinedplayers%

When a player leaves from the server the rule is triggered On Leave;Incr %_leaveplayers%

This rule, I am doing calculation how many players on the server (including joining players and players in the queue) Set %_playersoneserver% %_joinedplayers%-%_leaveplayers%

 

But there is one problem, if the player clicked "join server" and something went wrong and he failed to join the rule is not triggered On Leave;Incr %_leaveplayers% it will destroy the calculation of the number of players on the server and spoil the correctness of calculation. Is it possible to come up with a different calculation or somehow find the number of players on the server and write that number in the ini file proconrulz?

try something like this:

Code:

On Leave;Set %ini_vars_playeronlinecount% %ts1% + %ts2%
depending on what you want to achieve, chose the trigger that best suit you, its up to you

 

%ts1% %ts2% %n% %pts% all these variable are an accurate count of the players assigned to a team, so if the player is not assigned to a team yet, he will not be in the counting. Commanders are counted too

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

Originally Posted by Arcisit*:

 

Using this plugin, you can calculate their kill death ratio on a per-round basis and you can sort of calculate their kills per minute on a per-round basis. That's about all that you can do with this plugin. Are either of this things good enough for you?

 

For AdKats questions, ask in the AdKats thread.

Definitely, at least i can try it.

Thx

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

Originally Posted by Hodor*:

 

Hi guys, Is it possible to make a "Hello world" only tickets from 1000 to 900. I want that in the spaces between the 1000 and 900 displays the message, even if the player spawn when 950 tickets, but if it is below than 900 the message will not be displayed

 

 

Code:

On Spawn;If %server_team_score[1]% == helpmewithrule or %server_team_score[2]% == helpmewithrule;PlayerFirst;PlayerSay Hello world
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by mimimimi*:

 

Hi guys, Is it possible to make a "Hello world" only tickets from 1000 to 900. I want that in the spaces between the 1000 and 900 displays the message, even if the player spawn when 950 tickets, but if it is below than 900 the message will not be displayed

 

 

Code:

On Spawn;If %server_team_score[1]% == helpmewithrule or %server_team_score[2]% == helpmewithrule;PlayerFirst;PlayerSay Hello world
this will say to a player "Hello world" each time he spawn between 1000 and 900 ticket (on both teams)

Code:

On Spawn;If %team_score% < 1000;If %team_score% > 900;PlayerSay Hello world
--- so this is based on teams, each player will receive that message when they spawn, the same for the opposite team when it has less than 1000 tickets etc...

 

 

 

this will say to a player "Hello world" only the first time he spawn between 1000 and 900 ticket (on both teams one time per player)

Code:

On Spawn;If %team_score% < 1000;If %team_score% > 900;PlayerFirst;PlayerSay Hello world
--- this is based also on the team, each player will receive that message only the first time he spawn during 1000 to 900 tickets, the same for the opposite team when it has less than 1000 tickets etc...

 

 

 

this will say only to one player "Hello world" as soon as a team has less than 1000 ticket (one time one player)

Code:

On Spawn
	If %team_score% < 1000;If %team_score% > 900;If %server_hello_world% == 0;Set %server_hello_world% 1
        If %server_hello_world% == 1;PlayerSay Hello world;Set %server_hello_world% off
---- this will say Hello world to only one player and one time only.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bckrv*:

 

Morning everybody,

 

I have a question regarding the new weapons (DLC), I would like to know if is possible to updade Proconrulz myself? Because, actually I can filter the following weapon; Mare's Leg Saddle Gun Sniper.

 

I added following code, but it seems not working for this weapon:

 

On Kill;weapon U_SaddlegunSnp;PlayerCount 0;Log ^1%p% ^0was BANNED for using a ^1%w%;Incr %ini_kickban_tbans[%p%]%;Say %p% was BANNED for using a %w%;TempBan 1000000 %p% BANNED PISTOLS ONLY! You used a %w%.

I am also interested to filter all new weapons easly, any idea?

 

Thanks for your support

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

Originally Posted by flyingtucunare*:

 

Hi guys,

 

i'm using "SNIPER LIMIT V2.7 BOLT AND DMR", and it's working good, but i want to add a exception, the power gun "M82A3" because when the slots are full, it kills players...

 

My code is:

Code:

# SET THE MAX # OF SNIPERS HERE:
On Kill;ServerFirst;Set %server_sniperlimit% 3
On Say;ServerFirst;Set %server_sniperlimit% 3

# SNIPER LOG MESSAGES
On Spawn;If %server_sl_sniper[%p%]% == 1;Log Sniper %pt% %p% re-spawned. %server_sl_total[%ptk%]% snipers on team %ptk%
On Kill;If %server_sl_sniper[%v%]% == 1;Log Sniper %vtk% %v% killed. %server_sl_total[%vtk%]% snipers on team %vtk%

# SNIPER KILL CHECKS tanto acima do limite (so kill), existindo sniper (do nothing), novo sniper (reserve slot)
On Kill;Damage SniperRifle;
If %server_sl_total[%ptk%]% >= %server_sniperlimit%;if %server_sl_sniper[%p%]% == 0;PlayerSay -;PlayerSay - %p% morto pelo LIMITE DE SNIPER de %server_sniperlimit%;PlayerSay -;Log Sniper Limit max %server_sniperlimit% snipers por time !!! (now Kill %p%);Kill
If %server_sl_sniper[%p%]% == 1;Log %ptk% %p% still a sniper, %server_sl_total[%ptk%]% snipers on team %ptk%
If %server_sl_sniper[%p%]% == 0;Incr %server_sl_total[%ptk%]%;Set %server_sl_sniper[%p%]% 1;Set %server_sl_x% %server_sl_total[%ptk%]%;Set %server_sl_snipername[%ptk%][%server_sl_x%]% %p%;PlayerSay -;PlayerSay - VOCE ESTA NUM SLOT DE SNIPER !!! %server_sl_total[%ptk%]%/%server_sniperlimit%;PlayerSay -;Log %ptk% %p% is new sniper, %server_sl_total[%ptk%]%/%server_sniperlimit% snipers on team %ptk%

# SNIPER KILL CHECKS tanto acima do limite (so kill), existindo sniper (do nothing), novo sniper (reserve slot)
On Kill;Damage DMR;
If %server_sl_total[%ptk%]% >= %server_sniperlimit%;if %server_sl_sniper[%p%]% == 0;PlayerSay -;PlayerSay - %p% morto pelo LIMITE DE SNIPER máximo %server_sniperlimit%;PlayerSay -;Log Sniper Limite máximo de %server_sniperlimit% snipers por time !!! (now Kill %p%);Kill
If %server_sl_sniper[%p%]% == 1;Log %ptk% %p% still a sniper, %server_sl_total[%ptk%]% snipers on team %ptk%
If %server_sl_sniper[%p%]% == 0;Incr %server_sl_total[%ptk%]%;Set %server_sl_sniper[%p%]% 1;Set %server_sl_x% %server_sl_total[%ptk%]%;Set %server_sl_snipername[%ptk%][%server_sl_x%]% %p%;PlayerSay -;PlayerSay - VOCE ESTA NUM SLOT DE SNIPER !!! %server_sl_total[%ptk%]%/%server_sniperlimit%;PlayerSay -;Log %ptk% %p% is new sniper, %server_sl_total[%ptk%]%/%server_sniperlimit% snipers on team %ptk%

# LIBERAR SLOT CASO FACA KILL COM NON-SNIPER OU SAIR DA CLASSE_JOGO
On Kill;Not Damage SniperRifle;Not Damage Handgun;Not Damage Melee;Not Damage DMR;Not Damage Explosive;If %server_sl_sniper[%p%]% == 1;Set %server_sl_sniper[%p%]% 0;Decr %server_sl_total[%ptk%]%;TeamSay -;TeamSay - %p% desistiu do seu slot de SNIPER!!!;TeamSay -;Log Ex-sniper %p% used %d% %wk%, %server_sl_total[%ptk%]% snipers on team %ptk%
On Leave;If %server_sl_sniper[%p%]% == 1;Set %server_sl_sniper[%p%]% 0;Decr %server_sl_total[%ptk%]%;TeamSay -;TeamSay - %p% desistiu do seu slot de SNIPER !!!;TeamSay -;Log Sniper %pt% %p% left server. %server_sl_total[%ptk%]% snipers on team %ptk%

# !snipers / !sniperx MENSAGEM DE INFORMAÇÃO
On Say;Text !sniper;
PlayerSay Sniper limite: %server_sl_total[%ptk%]%/%server_sniperlimit%. Para manter o slot de sniper faça um kill com sniper. Se o primeiro kill nao for com sniper, perde o slot quando morrer.
If %server_sl_total[%ptk%]% == 0;PlayerSay 0/%server_sniperlimit% SNIPERS no time %pt%
If %server_sl_total[%ptk%]% > 0;PlayerSay %pt% SNIPER[1/%server_sniperlimit%] is %server_sl_snipername[%ptk%][1]%
If %server_sl_total[%ptk%]% > 1;PlayerSay %pt% SNIPER[2/%server_sniperlimit%] is %server_sl_snipername[%ptk%][2]%
If %server_sl_total[%ptk%]% > 2;PlayerSay %pt% SNIPER[3/%server_sniperlimit%] is %server_sl_snipername[%ptk%][3]%
If %server_sl_total[%ptk%]% > 3;PlayerSay %pt% SNIPER[4/%server_sniperlimit%] is %server_sl_snipername[%ptk%][4]%
If %server_sl_total[%ptk%]% > 4;PlayerSay %pt% SNIPER[4/%server_sniperlimit%] is %server_sl_snipername[%ptk%][5]%

On Say;Text !sniperx;
PlayerSay SNIPERS: Time 1: %server_sl_total[1]%/%server_sniperlimit%, Time 2: %server_sl_total[2]%/%server_sniperlimit%

#ADMIN- ONLY comando para admins
#!setsniper <name-substring> comando adminonly que configura um slot de sniper para um player especifico E.x. "!setsniper FlyingTucunare", assim meu slot sniper vai estar garantido até o fim da partida.
On Say;Admin;Text !setsniper;TargetPlayer;Set %server_sl_setsniper[%t%]% 1;PlayerSay %t% garantido slot SNIPER até o fim da partida
What i have to do to add this exception?

 

Thank you guys! Sorry about the bad english.

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

Originally Posted by dwysywd*:

 

I've set up multiple "say" messages based on the melee kill, but only one is said. How can I make the messages random after each kill? It looks to be "saying" them all, just the last one is said in chat.

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

Originally Posted by ty_ger07*:

 

I've set up multiple "say" messages based on the melee kill, but only one is said. How can I make the messages random after each kill? It looks to be "saying" them all, just the last one is said in chat.

ProconRulz does not support random messages. You need to create your own "random" by assigning a different message for each kill number and loop it when you reach the end.
* 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.