Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by hauser1*:

 

Hauser.

 

your weapon names appear to be incorrect :ohmy: for example the QBS09 is called U_QBS09.. the Saiga12k is U_SAIGA_20K.. check the procon rulz description in procon scroll down you will see a list of all the weapons and their names + damage types.. using Damage types is alot easier to take out whole weapon groups

 

Code:

On Kill;Damage Shotgun;PlayerCount 2;Ban %p% Shotguns not allowed
On Kill;Damage Shotgun;PlayerCount 1;kick %p% Shotguns not allowed
Damage Shotgun handles ALL the shotguns (including Shorty, M26 Mass, AirBurst shotgun). if you want to allow those you could just add

 

Code:

On Kill;Damage Shotgun;Not Weapon U_SerbuShorty;Not If %wk% contains M26;Not Weapon U_XM25_Flechette;PlayerCount 2;Ban %p% Shotguns not allowed
On Kill;Damage Shotgun;Not Weapon U_SerbuShorty;Not If %wk% contains M26;Not Weapon U_XM25_Flechette;PlayerCount 1;kick %p% Shotguns not allowed
should work to disable only the pure shotguns and allow the Shorty/M26/Airbusrt Shotgun the first code will disable them all tho :ohmy:.. i havent used contains at all so cant say for sure that bit will work but it should

 

that being said i dont use PlayerCount in my rules i have a much different setup that covers many more punishment setups..

 

it also may not be working if you have protected Admins turned on and you are testing it on an Admin.. its in the proconrulz plugin settings.. try disabling that :ohmy:

Thanks for your replay

 

do u have a link where i can find the correct names?

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

Originally Posted by LjMjollnir*:

 

Thanks for your replay

 

do u have a link where i can find the correct names?

to quote myself

 

Code:

check the procon rulz description in procon scroll down you will see a list of all the weapons and their names + damage types.
other then that the link the other dude posted is probably good.. https://docs.google.com/spreadsheet/...rive_web#gid=0

 

the RCON weapon codes are the names you are interested in.. however the best and easiest way to see the names is with my first suggestion from within Procon itself -> plugins(or Parent Layer control) -> Proconrulz -> details :ohmy:.. gives the weapon names + damage types.. as i said before the damage types are the easiest way to control entire weapon groups

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

Originally Posted by LjMjollnir*:

 

I gess no one know how make welcome sign with country name?

becouse nobody Answer questioning

 

On Join;PlayerOnce;If %pcountrykey% == br;Say WELCOME %p%to my server from BR

because if you read Page 1 of this post.. the one with the examples n stuff ... have a look at Example 14 i believe thats the one you are after.. if not modify it to suit your needs..
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by C-4-N*:

 

@bambam

 

Hi variable sets on tempban are not accepted as time

 

ex:

 

on spawn;serverfist

set %ini_time_tempban% 900

 

on kill;damage...............;tempban %ini_time_tempban% %p% for xxx

 

the value of tempban is set on reason , so for sure plugin only accept numbers and get value on reason,

then the tempban is default time 7 days if i remember

 

do you think you can have good issue for it ?

may be we can directly using exec with %variable% ?

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

Originally Posted by tarreltje*:

 

@bambam

 

Hi variable sets on tempban are not accepted as time

 

ex:

 

on spawn;serverfist

set %ini_time_tempban% 900

 

on kill;damage...............;tempban %ini_time_tempban% %p% for xxx

 

the value of tempban is set on reason , so for sure plugin only accept numbers and get other on reason,

then the tempban is default time 7 days if i remember

 

do you think you can have good issue for it ?

may be we can directly using exec with %variable% ?

On kill;Damage Shotgun;Tban 3600

 

Its been a while since i used tempban, but in bf3 i used tban for roof campers, i banned those players for a day

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

Originally Posted by LjMjollnir*:

 

C-4-N

 

well according to the server docs you could use

 

Code:

Request: banList.add <id-type: id-type> <id: string> <timeout: timeout> <reason: string> 
Response: OK Response: InvalidArguments 
Response: BanListFull 
Effect: Add player to ban list for a certain amount of time Comments: Adding a new name/IP/GUID ban will replace any previous ban for that name/IP/GUID  
timeout can take three forms:   perm - permanent <default>   rounds <integer> - until the given number of rounds has passed   seconds <integer> - number of seconds until ban expires  
Id-type can be any of these   name – A soldier name   ip – An IP address   guid – A player guid  Id could be either a soldier name, ip address or guid depending on id-type.  
Reason is optional and defaults to "Banned by admin"; max length 80 chars.
soo you could go with a Temban but using the Exec command

 

On Say;Admin;!tempban;TargetPlayer;Exec banList.add name %t% 300 %targettext%

 

!tempban C- Didnt give me a cookie

 

should work to give C-4-N a 5min temp ban with reason Didnt give me a cookie..

 

untested.. but i believe thats how it should work

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

Originally Posted by HeadShotPRO*:

 

hi bud, the 2 rules i posted that i wanted, i have them implemented in server and are running spot on, 1 sniper per squad and if another tries to use another sniper rifle same squad they get instant killed, if some 1 picks up a sniper rifle and kills with it they die instantly unless no sniper rifles used in that squad

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

Originally Posted by dingo_doo*:

 

"On Kill;Map Prison;Damage ProjectileExplosive;PlayerCount 1;Say %p% kicked for using explosive devices or weapons;Kick %p% explosive weapon useage

On Kill;Map Prison;Weapon U_M320_HE;PlayerCount 1;Say %p% kicked for using explosive devices or weapons;Kick %p% explosive weapon useage"

 

or

"On Kill;Map Prison;Damage ProjectileExplosive;PlayerCount 1;Kill 100

On Kill;Map Prison;Weapon U_M320_HE;PlayerCount 1;Kill 100"

 

It's correct or not?

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

Originally Posted by FLirtY-3D*:

 

procon update 1.4.1.4 plugin ProconRulz_44j1 wont show up in loaded plugins even after a delete of Cs files and clean upload

battlefield 3

 

bf3 procon.png

i dont seem to get anysort of compile/load error.... but i do notice when i look at the plugin folder for bf3 that version 0.9.14.0 file InsaneLimits.cs and version ProconRulz_44j1 file ProconRulz.cs dont seem to be making a .dll file after i upload and restart the layer.....

 

bf3 procon 1.png

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

Originally Posted by LjMjollnir*:

 

"On Kill;Map Prison;Damage ProjectileExplosive;PlayerCount 1;Say %p% kicked for using explosive devices or weapons;Kick %p% explosive weapon useage

On Kill;Map Prison;Weapon U_M320_HE;PlayerCount 1;Say %p% kicked for using explosive devices or weapons;Kick %p% explosive weapon useage"

 

or

"On Kill;Map Prison;Damage ProjectileExplosive;PlayerCount 1;Kill 100

On Kill;Map Prison;Weapon U_M320_HE;PlayerCount 1;Kill 100"

 

It's correct or not?

here is what you are looking for a i believe :ohmy:

 

btw M320_HE is classed as damage type Projectile Explosive so you only need the one line :ohmy: it will stop all the rocket launchers/Airburst/M320

 

Code:

On Kill;Map Prison;Damage ProjectileExplosive;PlayerCount 1;PlayerSay No Rockets/Airbusrt/M320;Kill 100
Only thing i havent really played with much is the Map Prison part.. but looking at the pdf it looks correct :ohmy:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by steelrain-TJ*:

 

Hi. Since i am unable to start a new thread (new to the forums) I will ask my question here.

1. In the variables used for "range" %r% Can someone tell me if this is compatible with BF$ or not? I have setup a rule for when someone gets a headshot with a sniper rifle:

#On Kill; Headshot; Damage SniperRifle; Say .... %p% got a headshot using %w%.....%p% has %c% headshots

#On Kill; Headshot; Damage SniperRifle; Say Headshot range %r%m; if %r% =

#On Kill; Headshot; Damage SniperRifle; Say Headshot range %r%m; if %r% => 100; Say Long range shot

 

Every time someone gets a headshot with a SniperRifle it reports the range as 0.0 (zero point zero). Is the range not available in BF4? I know you can use a range finder (PLD or the Barret 50 cal has a range finder). Is there antoher variable available besides the %r% or is this just not available now?

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

Originally Posted by ixnorp*:

 

Hi. Since i am unable to start a new thread (new to the forums) I will ask my question here.

1. In the variables used for "range" %r% Can someone tell me if this is compatible with BF$ or not? I have setup a rule for when someone gets a headshot with a sniper rifle:

#On Kill; Headshot; Damage SniperRifle; Say .... %p% got a headshot using %w%.....%p% has %c% headshots

#On Kill; Headshot; Damage SniperRifle; Say Headshot range %r%m; if %r% =

#On Kill; Headshot; Damage SniperRifle; Say Headshot range %r%m; if %r% => 100; Say Long range shot

 

Every time someone gets a headshot with a SniperRifle it reports the range as 0.0 (zero point zero). Is the range not available in BF4? I know you can use a range finder (PLD or the Barret 50 cal has a range finder). Is there antoher variable available besides the %r% or is this just not available now?

There is no %r% range for bf4 iirc.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by steelrain-TJ*:

 

There is no %r% range for bf4 iirc.

Ok thanks for the quick reply. Im new to the procon, would you know of any other cool effects or messages you could create or code secrets you might share?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ixnorp*:

 

Ok thanks for the quick reply. Im new to the procon, would you know of any other cool effects or messages you could create or code secrets you might share?

#kick everyone on spawn#

On Spawn;Kick

 

:biggrin: kidding! Don't do that!

 

Like what bambam says proconrulz is very clever, you can write almost anything that bf4 allows. (correct me if i'm wrong)

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

Originally Posted by steelrain-TJ*:

 

#kick everyone on spawn#

On Spawn;Kick

 

:biggrin: kidding! Don't do that!

 

Like what bambam says proconrulz is very clever, you can write almost anything that bf4 allows. (correct me if i'm wrong)

LOL....Yea. Thats like telling the guy that ask how to see the in game score board and you tell him "Press Alt + F4" LOL. :-D
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LjMjollnir*:

 

I want a script to limit the use of vehicles in rush

Assistance from you will présieux

ALL vehicle kills are Damage type DEATH... including Mortar/Suav/UCAV/EOD/MAV/.50 Cal

so there isnt alot you can do unless you want Vehicles for Transport only.. if thats the case you can use

 

Code:

On Kill;Damage Death;PlayerSay Vehicles are for transport only.Also Mortar/Suav/Ucav/Eod/Mav/.50 Cal are disabled;Kill 100
Sadly there is no real way to separate the Equipment kills from the vehicles.. so thats about the best you can do :ohmy:

unless you disable Vehicles on the server itself .. or make them really long respawn times

 

vars.vehicleSpawnAllowed Set whether vehicles should spawn in-game

vars.vehicleSpawnDelay Set vehicle spawn delay scale factor

so you could check to see if the Game mode is Rush and disable spawning of the vehicles.. however this is done at the start of the round it MAY allow 1 set of vehicles to spawn.. its best to do that setting at the end of round but for that you need to know your map list (and not be using an addon like xvotemap) but that is something you can work out for yourself if needed

 

Code:

On Round;if %mm% = Rush;Exec vars.vehicleSpawnAllowed False
On Round;it %mm% != Rush;Exec vars.vehicleSpawnAllowed True
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Swagger200*:

 

Amongst our friends, we are all on voice on game night.

 

When we play Rush, we agree to attack the A MCOM first. Only when it is taken, do we allow going after B. We are not a large group, so this creates the most exciting and long-lasting matches.

 

Of course, when someone not known to us joins they are not aware of this, and they usually arm B.

 

Anyone know of a way that this could be enforced by a rule?

 

 

Thanks in advance for your consideration.

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

Originally Posted by Tomgun*:

 

Amongst our friends, we are all on voice on game night.

 

When we play Rush, we agree to attack the A MCOM first. Only when it is taken, do we allow going after B. We are not a large group, so this creates the most exciting and long-lasting matches.

 

Of course, when someone not known to us joins they are not aware of this, and they usually arm B.

 

Anyone know of a way that this could be enforced by a rule?

 

 

Thanks in advance for your consideration.

as far am I am a where the game does not report which mcom is blown first in a way that procon can read it, why not play squad rush instead?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by chesterfield*:

 

Whats the code to forbid only M320 HE and M320 LVG on evry underslung weapon?

And is it possible to make them only on one Map like Spind?

 

On Kill; Weapon U_M320_HE; Say Killed %p%, no M320 HE on this server;Kill 100

On Kill; Weapon U_M320_LVG; Say Killed %p%, no M320 LVG on this server;Kill 100

 

Is this Code right for all M320 weapons that they can use it?

 

thx

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

Originally Posted by LjMjollnir*:

 

Whats the code to forbid only M320 HE and M320 LVG on evry underslung weapon?

And is it possible to make them only on one Map like Spind?

 

On Kill; Weapon U_M320_HE; Say Killed %p%, no M320 HE on this server;Kill 100

On Kill; Weapon U_M320_LVG; Say Killed %p%, no M320 LVG on this server;Kill 100

 

Is this Code right for all M320 weapons that they can use it?

 

thx

Nope that will get the stand alone versions only.. for underslung versions aswell try the code below :ohmy:

 

Code:

On Kill;if %wk% contains M320_HE;Say Killed %p%, No M320 HE/LVG on this server;Kill 100
On Kill;if %wk% contains M320_LVG;Say Killed %p%, No M320 HE/LVG on this server;Kill 100
contains does a word search .. so that should cover U_AEK971_M320_HE, U_CZ805_M320_HE, U_M320_HE... etc... for example :ohmy:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by chesterfield*:

 

I need a Code to forbid M320 LVG and HE.

Is that the correct code for no M320 LVG/HE on my Server, are these all weapons?

 

On Kill;if %wk% contains M320_HE;Say Killed %p%, No M320 HE/LVG on this server;Kill 100

On Kill;if %wk% contains M320_LVG;Say Killed %p%, No M320 HE/LVG on this server;Kill 100

 

On Kill; Weapon U_AEK971_M320_HE; Say Killed %p%, no M320 HE/LVG on this server;Kill 100

On Kill; Weapon U_AEK971_M320_LVG; Say Killed %p%, no M320 HE/LVG on this server;Kill 100

On Kill; Weapon U_AK12_M320_HE; Say Killed %p%, no M320 HE/LVG on this server;Kill 100

On Kill; Weapon U_AK12_M320_LVG; Say Killed %p%, no M320 HE/LVG on this server;Kill 100

On Kill; Weapon U_CZ805_M320_HE; Say Killed %p%, no M320 HE/LVG on this server;Kill 100

On Kill; Weapon U_CZ805_M320_LVG; Say Killed %p%, no M320 HE/LVG on this server;Kill 100

On Kill; Weapon U_L85A2_M320_HE_V2; Say Killed %p%, no M320 HE/LVG on this server;Kill 100

On Kill; Weapon U_L85A2_M320_LVG_V2; Say Killed %p%, no M320 HE/LVG on this server;Kill 100

On Kill; Weapon U_M16A4_M320_HE; Say Killed %p%, no M320 HE/LVG on this server;Kill 100

On Kill; Weapon U_M16A4_M320_LVG; Say Killed %p%, no M320 HE/LVG on this server;Kill 100

On Kill; Weapon U_M416_M320_HE; Say Killed %p%, no M320 HE/LVG on this server;Kill 100

On Kill; Weapon U_M416_M320_LVG; Say Killed %p%, no M320 HE/LVG on this server;Kill 100

On Kill; Weapon U_QBZ951_M320_HE; Say Killed %p%, no M320 HE/LVG on this server;Kill 100

On Kill; Weapon U_QBZ951_M320_LVG; Say Killed %p%, no M320 HE/LVG on this server;Kill 100

On Kill; Weapon U_SAR21_M320_HE; Say Killed %p%, no M320 HE/LVG on this server;Kill 100

On Kill; Weapon U_SAR21_M320_LVG; Say Killed %p%, no M320 HE/LVG on this server;Kill 100

On Kill; Weapon U_SCAR-H_M320_HE; Say Killed %p%, no M320 HE/LVG on this server;Kill 100

On Kill; Weapon U_SCAR-H_M320_LVG; Say Killed %p%, no M320 HE/LVG on this server;Kill 100

On Kill; Weapon U_SteyrAug_M320_HE; Say Killed %p%, no M320 HE/LVG on this server;Kill 100

On Kill; Weapon U_SteyrAug_M320_LVG; Say Killed %p%, no M320 HE/LVG on this server;Kill 100

 

 

THX a lot

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