Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by thunderje*:

 

hi guys

I want to forbid knifes on my server, would anyone have time to help me with the coding I would use in procon rulz to just do a warning then a admin kill if a person uses a knife,there is some maps we wish to try to forbid the knife

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

Originally Posted by Fonta*:

 

Can anyone tell me why this doesn't work in BF4 when a recon places a claymore?

Code:

On Kill;Weapon U_Claymore_Recon;PlayerCount 1
    Say [KILLED] %p% for using Claymores
    Kill 1
The one for support does work:

Code:

On Kill;Weapon U_Claymore
    Say [KILLED] %p% for using Claymores
    Kill 1
Hmmmm, might have found it.

It's the playercount probably.

 

But I do have another question.

When do you use a ; behind a line?

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

Originally Posted by LjMjollnir*:

 

Can anyone tell me why this doesn't work in BF4 when a recon places a claymore?

Code:

On Kill;Weapon U_Claymore_Recon;PlayerCount 1
    Say [KILLED] %p% for using Claymores
    Kill 1
When do you use a ; behind a line?
Code:
On kill;if %wk% contains "Claymore";Say [Killed] %p% for using Claymores;kill
will work for both Recon and Support Claymore in 1 rule.

 

Proconrulz isnt C++ or C# it never goes on the end of the line :ohmy: the ; is basically only used to continue a rule in most cases it stands for AND

, is used for OR in some things eg. On Kill;Weapon U_Claymore_Recon,U_Claymore;Say no clays;kill

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

Originally Posted by Fonta*:

 

Code:

On kill;if %wk% contains "Claymore";Say [Killed] %p% for using Claymores;kill
will work for both Recon and Support Claymore in 1 rule.

 

Proconrulz isnt C++ or C# it never goes on the end of the line :ohmy: the ; is basically only used to continue a rule in most cases it stands for AND

, is used for OR in some things eg. On Kill;Weapon U_Claymore_Recon,U_Claymore;Say no clays;kill

Thx!, I'll try that later.

 

Good to know about the ; :smile:

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

Originally Posted by Gambler*:

 

Hi, om New here and i have used alot of hours today to figure out if it is posible to Write a rule that only work on a special player?

 

I have tried to modify the knife kill message.

I want it to yell a message only when this special player got knifed.

 

Is it possible?

 

Gambler

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

Originally Posted by LjMjollnir*:

 

Hi, om New here and i have used alot of hours today to figure out if it is posible to Write a rule that only work on a special player?

 

I have tried to modify the knife kill message.

I want it to yell a message only when this special player got knifed.

 

Is it possible?

 

Gambler

Code:
On Kill;Damage Melee;if %v% contains "name of player";Say %p% knifed name of player.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by DER_M4DE*:

 

Hi, can someone help me and tell me if this Code is correct? (red)

 

# Phantomkill Anzeige written by DER_M4DE

On Kill;Weapon dlSHTR;If %server_km% == 0

Incr %ini_bow_kc%

If %ini_Bow_kc% >= 6;Set %ini_bow_kc% 0

If %ini_Bow_kc% == 0;Say %p% trifft %v% voll mit dem Pfeil !!!

If %ini_Bow_kc% == 1;Say Wilhelm Tell "%p%" trifft nicht den Apfel, sondern %v% voll ins Gesicht !!!

If %ini_Bow_kc% == 2;Say %v% hat einen Querschlaeger von %p% ab bekommen !!!

If %ini_Bow_kc% == 3;Say %v% hat jetzt einen Pfeil von %p% im Kopf !!!

If %ini_Bow_kc% == 4;Say Volltreffer, %p% hat %v% einen Scheitel gezogen !!!

If %ini_Bow_kc% == 5;Say Bogen-Meister! gegen %p% schaut Robin Hood alt aus und %v% hats gemerkt !!!

On Kill;Weapon dlSHTR;Set %server_km% 0

thx and greetz

M4DE

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

Originally Posted by LjMjollnir*:

 

@DER_M4DE

 

Other then Incr %ini?bow_kc% using a lower case B where as all the others use the upper case B.. it looks fine.. fix that and it should work alright

 

also it appears you are setting a variable that isnt being used :ohmy: %server_km% unless its being modified outside of that piece of code it is doing nothing at the moment :ohmy:

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

Originally Posted by DER_M4DE*:

 

also it appears you are setting a variable that isnt being used*%server_km% unless its being modified outside of that piece of code it is doing nothing at the moment

Hi, i've unwritten the anouncement from this Code.

 

On Kill;Weapon Melee;If %server_km% == 0

Incr %ini_knife_kc%

If %ini_knife_kc% >= 7;Set %ini_knife_kc% 0

If %ini_knife_kc% == 0;Say *%p% hat %v% seinen Stachel in den Arsch gerammt!!!*

If %ini_knife_kc% == 1;Say *%p% meinte es %v% von hinten zu geben!!!*

If %ini_knife_kc% == 2;Say *%p% erteilte %v% eine Lektion - ANAL!!!*

If %ini_knife_kc% == 3;Say *DEINE NACHRICHT*

If %ini_knife_kc% == 4;Say *DEINE NACHRICHT2*

If %ini_knife_kc% == 5;Say *DEINE NACHRICHT3*

If %ini_knife_kc% == 6;Say *DEINE NACHRICHT4*

On Kill;Weapon Melee;Set %server_km% 0

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

Originally Posted by DDR*:

 

I'm setting up a BF4 thematic loadout server that changes allowed weapons weekly. Have some questions.

The default single weapon limiter reads as

Code:

On Kill;Weapon Siaga20k;PlayerCount 5;Log %p% banned for Saiga;Ban %p% Saiga shotgun use
On Kill;Weapon Siaga20k;PlayerCount 3;Log %p% kicked for Saiga;Kick %p% Saiga shotgun use
On Kill;Weapon Siaga20k;PlayerSay %p% no Saiga shotgun;Kill 100
How can I make that ban temporary and not permanent?

Also what are all the BF4 weapon names?

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

Originally Posted by LjMjollnir*:

 

I'm setting up a BF4 thematic loadout server that changes allowed weapons weekly. Have some questions.

The default single weapon limiter reads as

Code:

On Kill;Weapon Siaga20k;PlayerCount 5;Log %p% banned for Saiga;Ban %p% Saiga shotgun use
On Kill;Weapon Siaga20k;PlayerCount 3;Log %p% kicked for Saiga;Kick %p% Saiga shotgun use
On Kill;Weapon Siaga20k;PlayerSay %p% no Saiga shotgun;Kill 100
How can I make that ban temporary and not permanent?

Also what are all the BF4 weapon names?

Either use

 

TempBan [time] [reason] (which some people have said desnt work correctly)..

 

or use

Exec banList.add player %p% [time] [reason]

 

you need to change the [time] [reason] bits :ohmy: heres from the server Docs.

banList.add reason>Add player/IP/GUID to ban list for a certain amount of time

 

i believe timeout is in seconds :ohmy:

 

and from Prconrulz docs

TempBan []

 

The weapon names and codes can be found within Proconrulz..

Head tot he plugin or Parental layer control tab within Procon

then select Proconrulz and then Details.. the weapn codes and names are there just scroll down a bit

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

Originally Posted by DDR*:

 

Either use

 

TempBan [time] [reason] (which some people have said desnt work correctly)..

 

or use

Exec banList.add player %p% [time] [reason]

 

you need to change the [time] [reason] bits :ohmy: heres from the server Docs.

banList.add reason>Add player/IP/GUID to ban list for a certain amount of time

 

i believe timeout is in seconds :ohmy:

 

and from Prconrulz docs

TempBan []

 

The weapon names and codes can be found within Proconrulz..

Head tot he plugin or Parental layer control tab within Procon

then select Proconrulz and then Details.. the weapn codes and names are there just scroll down a bit

So tell me if I got this right:

Code:

On Kill;Weapon U_GalilACE52;PlayerCount 5;Log %p% temp banned for Ace 52;TempBan %p% [3600] Ace 52 use
On Kill;Weapon U_GalilACE52;PlayerCount 3;Log %p% kicked for Ace 52;Kick %p% Saiga shotgun use
On Kill;Weapon U_GalilACE52;PlayerSay %p% No ACE 52;Kill 100
Does that work?

Also the "id-type" and "id, timeout" arguments confuse me. What would I put in those spots?

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

Originally Posted by w262035635*:

 

HI,Guys

I am searching a plugin:

Player spawn after, check battlelog loadout.

If this weapon is limit, the player will be kill.

This is how to do?

everybody Can help me looking for the it plugin?

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

Originally Posted by LjMjollnir*:

 

So tell me if I got this right:

Code:

On Kill;Weapon U_GalilACE52;PlayerCount 5;Log %p% temp banned for Ace 52;TempBan %p% [3600] Ace 52 use
On Kill;Weapon U_GalilACE52;PlayerCount 3;Log %p% kicked for Ace 52;Kick %p% Saiga shotgun use
On Kill;Weapon U_GalilACE52;PlayerSay %p% No ACE 52;Kill 100
Does that work?

Also the "id-type" and "id, timeout" arguments confuse me. What would I put in those spots?

On Kill;Weapon U_GalilACE52;PlayerCount 5;Log %p% temp banned for Ace 52;TempBan 3600 Ace 52 use

 

you dont need the %p% for the TempBan (it uses %p% automatically unless you use TargetPlayer...) the time doesnt need to be in brackets either :ohmy:

 

also for the Exec version.. the id-type is either player IP or GUID ... then id is either the name of the player their IP or their GUID

timeout is the time in seconds :ohmy:

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

Originally Posted by LjMjollnir*:

 

HI,Guys

I am searching a plugin:

Player spawn after, check battlelog loadout.

If this weapon is limit, the player will be kill.

This is how to do?

everybody Can help me looking for the it plugin?

Proconrulz doesnt offer any option to read from Battlelog .. so it cannot be done with this plugin :ohmy:.. i hear ColColonCleaner member.php_...olColonCleaner* may have a plugin that does that however :ohmy:... my personal plugin doesnt do that yet.. but it might be something i looked into soonish
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by w262035635*:

 

Proconrulz doesnt offer any option to read from Battlelog .. so it cannot be done with this plugin :ohmy:.. i hear ColColonCleaner member.php_...olColonCleaner* may have a plugin that does that however :ohmy:... my personal plugin doesnt do that yet.. but it might be something i looked into soonish

So do you know the name of the plugin?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by DDR*:

 

About this line:

Code:

On Kill;Not Damage SniperRifle;Not Damage Handgun;PlayerSay %p% snipers/pistols only;Kill 100
Is it possible to add as many "Not Damage Damagetype" and "Not Weapon Weaponkey" arguments as I want to a single line?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by DER_M4DE*:

 

hey Guys, i`ve testet my Phantom Anouncement,

# Phantomkill Anzeige written by DER_M4DE

On Kill;Weapon dlSHTR;If %server_km% == 0

Incr %ini_bow_kc%

If %ini_bow_kc% >= 6;Set %ini_bow_kc% 0

If %ini_bow_kc% == 0;Say %p% trifft %v% voll mit dem Pfeil !!!

If %ini_bow_kc% == 1;Say Wilhelm Tell "%p%" trifft nicht den Apfel, sondern %v% voll ins Gesicht !!!

If %ini_bow_kc% == 2;Say %v% hat einen Querschlaeger von %p% ab bekommen !!!

If %ini_bow_kc% == 3;Say %v% hat jetzt einen Pfeil von %p% im Kopf !!!

If %ini_bow_kc% == 4;Say Volltreffer, %p% hat %v% einen Scheitel gezogen !!!

If %ini_bow_kc% == 5;Say Bogen-Meister! gegen %p% schaut Robin Hood alt aus und %v% hats gemerkt !!!

On Kill;Weapon dlSHTR;Set %server_km% 0

but it doesn`t work :sad: like this Knife Anouncement

 

On Kill;Weapon Melee;If %server_km% == 0

Incr %ini_knife_kc%

If %ini_knife_kc% >= 7;Set %ini_knife_kc% 0

If %ini_knife_kc% == 0;Say *%p% hat %v% seinen Stachel in den Arsch gerammt!!!*

If %ini_knife_kc% == 1;Say *%p% meinte es %v% von hinten zu geben!!!*

If %ini_knife_kc% == 2;Say *%p% erteilte %v% eine Lektion - ANAL!!!*

If %ini_knife_kc% == 3;Say *DEINE NACHRICHT*

If %ini_knife_kc% == 4;Say *DEINE NACHRICHT2*

If %ini_knife_kc% == 5;Say *DEINE NACHRICHT3*

If %ini_knife_kc% == 6;Say *DEINE NACHRICHT4*

On Kill;Weapon Melee;Set %server_km% 0

I think the red highlighted part is wrong , but I do not know how I need to change it because the Phantom has no Weaponcategory, like the red part in the knife anouncement.

 

Can someone Help me, please.

 

sry, for my bad englisch (translated by google)

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

Originally Posted by LjMjollnir*:

 

About this line:

Code:

On Kill;Not Damage SniperRifle;Not Damage Handgun;PlayerSay %p% snipers/pistols only;Kill 100
Is it possible to add as many "Not Damage Damagetype" and "Not Weapon Weaponkey" arguments as I want to a single line?
It has been awhile since ive used Proconrulz.. but you should be able to :ohmy:.. also you can do better

 

 

Code:

On Kill;Not Damage SniperRifle,Handgun;PlayerSay %p% snipers/pistols only;Kill 100
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LjMjollnir*:

 

hey Guys, i`ve testet my Phantom Anouncement,

 

 

but it doesn`t work :sad: like this Knife Anouncement

 

 

 

I think the red highlighted part is wrong , but I do not know how I need to change it because the Phantom has no Weaponcategory, like the red part in the knife anouncement.

 

Can someone Help me, please.

 

sry, for my bad englisch (translated by google)

What error codes are you getting? you may need to update your BF4.def https://github.com/Myrcon/Procon-1/b...onfigs/BF4.def

 

if there is no error code check your Proconrulz.ini (its in the config folder in procon... ).. i suspect because at one point you used a Capital B in the Incr %ini_bow_kc% at one point Proconrulz has stuck with that.. and therefor not increasing the correct variable.. (ive had it happen to me a couple of times...)..

 

add the following line you your code as a test

Code:

On say;Text !test;say %ini_bow_kc% %ini_Bow_kc%
then after someone gets a bow kill type !test and see if the value changes :ohmy:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by DER_M4DE*:

 

Hi, I have my code yesterday changed so that in the variable only a lower case B is present. (see last post) now, no more Capital B is present.

Can it be that the Vaiable is completely wrong? It should work so that continuously one after the other Killmessage appears after every kill. Not always the same.

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

Originally Posted by OmegaViper*:

 

After following the instructions I get this.

 

[00:19:11 65] ProconRulz: Skipping c:\games\68_232_167_83_17070\1039163\procon\Plugin s\BF4\On Kill;Not Damage SniperRifle;Not Damage Handgun;PlayerCount 5;Log %p_nned (snipers\ pistols only);Ban %p% snipers only NOT FOUND

[00:19:11 65] ProconRulz: Skipping c:\games\68_232_167_83_17070\1039163\procon\Plugin s\BF4\On Kill;Not Damage SniperRifle;Not Damage Handgun;PlayerCount 3;Log %p% kicked (snipers\ pistols only);Kick %p% snipers only NOT FOUND

[00:19:11 65] ProconRulz: Skipping c:\games\68_232_167_83_17070\1039163\procon\Plugin s\BF4\On Kill;Not Damage SniperRifle;Not Damage Handgun;PlayerSay %p% snipers\pistols only;Kill 100 NOT FOUND

 

It is not respecting the rules.

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

Originally Posted by LjMjollnir*:

 

After following the instructions I get this.

 

[00:19:11 65] ProconRulz: Skipping c:\games\68_232_167_83_17070\1039163\procon\Plugin s\BF4\On Kill;Not Damage SniperRifle;Not Damage Handgun;PlayerCount 5;Log %p_nned (snipers\ pistols only);Ban %p% snipers only NOT FOUND

[00:19:11 65] ProconRulz: Skipping c:\games\68_232_167_83_17070\1039163\procon\Plugin s\BF4\On Kill;Not Damage SniperRifle;Not Damage Handgun;PlayerCount 3;Log %p% kicked (snipers\ pistols only);Kick %p% snipers only NOT FOUND

[00:19:11 65] ProconRulz: Skipping c:\games\68_232_167_83_17070\1039163\procon\Plugin s\BF4\On Kill;Not Damage SniperRifle;Not Damage Handgun;PlayerSay %p% snipers\pistols only;Kill 100 NOT FOUND

 

It is not respecting the rules.

Looks like you have put the rules in the wrong section...

the .txt section is for .txt files not Rules themselves :ohmy:.. soy ou'd put all your rules in a .txt file put them in the plugins/bf4 folder and then put the file name in that section and it will load all the rules from the .txt file :ohmy:

 

there is another section for rules.. (has been ages since ive looked at Proconrulz).. but it believe its the one just above or just below that section you have put them in..

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

Originally Posted by LjMjollnir*:

 

Hi, I have my code yesterday changed so that in the variable only a lower case B is present. (see last post) now, no more Capital B is present.

Can it be that the Vaiable is completely wrong? It should work so that continuously one after the other Killmessage appears after every kill. Not always the same.

There is nothing wrong with the rules themselves from what i can see.. There is however a BUG with Proconrulz if you typed the variable wrong ONCE and it saved it is possible it is saving the variable incorrectly..

 

as per the reason i asked you to add

On say;Text !test;say %ini_bow_kc% %ini_Bow_kc%

 

and see what variable is being changed :ohmy:.. you may need to change them all to %ini_Bow_kc% :ohmy:

 

and Also is your BF4.DEF up to date _.. i need error codes if there are any

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