Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by whocares0815*:

 

Sniperlimit works well.

 

[21:12:31 75] ProconRulz: Hamrner1505 is a sniper, 4 snipers on team US Army

[21:12:32 86] ProconRulz: we have 3 snipers on team US Army

[21:12:36 87] ProconRulz: Attila519 is a sniper, 1 snipers on team Chinese Army

[21:12:40 13] ProconRulz: Shazey123 is a sniper, 4 snipers on team US Army

[21:12:40 45] ProconRulz: Attila519 is still a sniper, 1 snipers on team Chinese Army

[21:12:47 72] ProconRulz: Player RayvenHell killed

But the chat dont work right.

 

Sniper Limit reached with max 4 snipers each team !!!

Only one Team has reached 4 Sniper.

Possible fix?

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

Originally Posted by Skixx*:

 

Hi Skixx,

 

the DamageExplosive and Damage ExplosiveProjectilej ust did not work for me, if you go to page 301 I think of this thread, I posted a slay/kick/ban you can edit to just have slays if you like for all explosive weapon types.

 

There is a claymore missing though, U_Claymore_Recon or U_Recon_claymore you will have to add manually to that code. Read the posts and you will find it, good luck =)

Thank you but its not working for me :sad:

 

Also I think we missunderstood each other.

I wanna kill/kick/ban for just using them. (1 Damage+)

So the spamming will stop. They allready get killed if they kill other Players with Explosions.

 

Greetings

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

Originally Posted by Kinkzor*:

 

Thank you but its not working for me :sad:

 

Also I think we missunderstood each other.

I wanna kill/kick/ban for just using them. (1 Damage+)

So the spamming will stop. They allready get killed if they kill other Players with Explosions.

 

Greetings

It only count kills, not damage. So I only kick on 1 kill, ban on 2. (I have a new config set up now). I can upload my currently used one which kicks on 1 kill, bans on the second if you like. But I have noticed since the patch on the 12th (maybe earlier), not everyone gets kicked, it might be that some of the weapon names were changed in a server update, but RL work is kicking my ass atm so I have no time to adjust it =((.

 

But the mod helped me get my server to rank 103, which is kinda impressive =) as I have 0 community and just bought a server with 1 friend who plays with me :ohmy:. Sorry, had to say that, I am amazed :ohmy:

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

Originally Posted by xZEUZYx*:

 

Just a quick question sort of unrelated, I have got my Proconrulez (Amazing nit of kit :smile:) set up as I wish however I have one problem, no matter what I do I can not find the weapon code for the Scout Elite Sniper. I have looked through the weapon codes and just can not find it (most likely right in front of my eyes lol :smile:). Has anyone got any ideas?

 

Thanks in advance.

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

Originally Posted by rbtmarshall*:

 

If we want to use the Log command to store data for accumulation leading up to bans, etc.. Do we need to have procon frostbite upload the information to a database, or is the LOG stored locally in the procon folder?

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

Originally Posted by ToM666*:

 

Kinkzor wrote some good rulz there but they could be streamlined by using "if %wk% contains _M320" and other similar tweaks.

 

But otherwise BF4 admin is really BF3.5

Hi BamBam

 

How would I use that in the existing code.

 

The current script doesn't always work with some of the 320 weapons?

 

On Kill;Weapon U_SCAR-H_M320_HE;PlayerCount 2;Say %p% was just banned for using Explosives, learn to shoot soldiers;Ban %p% Explosive weapon useage.

On Kill;Weapon U_SCAR-H_M320_HE;PlayerCount 1;Say %p% kicked for using explosive devices or weapons;Kick %p% explosive weapon useage.

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

Originally Posted by Scott*:

 

Code:

On Kill;Not Damage Melee;Not Damage Handgun;PlayerCount 5;Log %p%banned (knives / pistols only);Ban %p% knives only
On Kill;Not Damage Melee;Not Damage Handgun;PlayerCount 3;Log %p% kicked (knives / pistols only);Kick %p% knives only
On Kill;Not Damage Melee;Not Damage Handgun;PlayerSay %p% knives/pistols only;Kill 100
Not working for me. It's still kicking people who use pistols.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Nebiros*:

 

Looking forward to the BF4 release BAMBAM!

Thank you for all the hours spend in this fantastic plugin, which was awesome in BF3 and will probably be even better in BF4!

 

I will be using this plugin again on our server.

Probably for our kill messages, adaptive sniper limit & LAN-party countdown.

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

Originally Posted by teufel123*:

 

Hi BamBam

 

How would I use that in the existing code.

 

The current script doesn't always work with some of the 320 weapons?

 

On Kill;Weapon U_SCAR-H_M320_HE;PlayerCount 2;Say %p% was just banned for using Explosives, learn to shoot soldiers;Ban %p% Explosive weapon useage.

On Kill;Weapon U_SCAR-H_M320_HE;PlayerCount 1;Say %p% kicked for using explosive devices or weapons;Kick %p% explosive weapon useage.

It only works for the U_SCAR?

 

Use this

Code:

On Kill;if %wk% contains M320;PlayerSay ...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by FAQZY*:

 

For sniper only have i this!

 

On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerCount 5;Log %p%banned (BOLT SNIPER / KNIFE only);Ban %p% snipers only

On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerCount 3;Log %p% kicked (BOLT SNIPER / KNIFE only);Kick %p% snipers only

On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerSay %p% BOLT SNIPER / KNIFE only;Kill 100

 

But i want Bolt Sniper only how can i fix it!

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

Originally Posted by Kinkzor*:

 

It only works for the U_SCAR?

 

Use this

Code:

On Kill;if %wk% contains M320;PlayerSay ...
Btw, I have not been able to log in to my server for close to a week due to RL work, but wont this code also kick people for the different types of m320 ammos_And top 100 :ohmy: woo!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Scott*:

 

Is there anyway to limit the amount of players using a certain weapon? For example what if I only want 5 players per team using bolt action sniper rifles. Is there anyway to do this using this plugin or maybe another one?

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

Originally Posted by Athlon*:

 

Is there anyway to limit the amount of players using a certain weapon? For example what if I only want 5 players per team using bolt action sniper rifles. Is there anyway to do this using this plugin or maybe another one?

How about Example #13 on page 1 of this thread?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ToM666*:

 

Okay here's one for you scriptwriting gurus.

 

I've got things pretty well tied down now except when a player uses a banned weapon and teamkills which isn't being picked up by the script.

 

The biggest problem is claymores.

Can you do something like:

 

On Kill or teamkill;if %wk% contains M320;PlayerSay ...

 

I know the script is probably wrong but you get the idea of what I am after hopefully.

 

 

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

Originally Posted by FAQZY*:

 

For sniper only have i this!

 

On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerCount 5;Log %p%banned (BOLT SNIPER / KNIFE only);Ban %p% snipers only

On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerCount 3;Log %p% kicked (BOLT SNIPER / KNIFE only);Kick %p% snipers only

On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerSay %p% BOLT SNIPER / KNIFE only;Kill 100

 

But i want Bolt Sniper only how can i fix it!

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

Originally Posted by teufel123*:

 

Okay here's one for you scriptwriting gurus.

 

I've got things pretty well tied down now except when a player uses a banned weapon and teamkills which isn't being picked up by the script.

 

The biggest problem is claymores.

Can you do something like:

 

On Kill or teamkill;if %wk% contains M320;PlayerSay ...

 

I know the script is probably wrong but you get the idea of what I am after hopefully.

 

 

Do you even understand how the rule syntax is? Doesnt seem so...

On Kill;if %wk% contains Claymore;

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

Originally Posted by ToM666*:

 

Do you even understand how the rule syntax is? Doesnt seem so...

On Kill;if %wk% contains Claymore;

Yes of course I do LOL. God you must think I am real idiot.

 

I just copied and pasted that as an example. I understand you thinking that though :smile:

 

I'm more interested in this bit "On Kill;if"

 

Is it possible to do an "on kill" and a "on teamkill" on the same line as a condition?

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

Originally Posted by TheEpicWinrar*:

 

Btw, I have not been able to log in to my server for close to a week due to RL work, but wont this code also kick people for the different types of m320 ammos_And top 100 :ohmy: woo!

From what I can tell, if you wish to restrict M320 High Explosive ammo only, but leave the others OK, the following should work.

 

On Kill;if %wk% contains M320_HE;PlayerSay Words

 

 

This assumption is based on the fact that all instantces listed for the M320 when mounted on a weapon and using HE rounds have M320_HE at the end of the call out.

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

Originally Posted by C-4-N*:

 

tested and worked for no explosifs

command are just for detection test and logs: player - weapon - number of kills

 

Code:

On kill;damage ProjectileExplosive;incr %ini_ProjExplo_%p%=%w%%
On kill;damage Explosive;incr %ini_Explo_%p%=%w%%
On Kill;if %wk% contains M320_HE;incr %ini_wkM320_%p%%w%%
as you can see in categorie "damage" "projectile explosive" > different weapons are ok for detection :

Code:

LKG_eRaiyZen=U_M320_HE=1
Doudwarrior=U_M320_HE=1
TinMan8=U_XM25=1
DunPai=U_M320_HE=1
Le_Createur31=U_M320_HE=1
LKG_AzraeL=U_AEK971_M320_HE=1
Tiberium-FR=U_SMAW=1
Torwid=U_MGL=1
Skellyfrog=U_NLAW=1
here some damage explosifs (hand)

 

Code:

Danonino24=U_Grenade_RGO=1
InFamouS_Kremaaa=U_V40=1
ludz004=U_Claymore=1
RemaKe_HuGz=U_M67=1
Skellyfrog=U_C4=1
will try more soon^^
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Tangox*:

 

Well I have Try some Codes maybe a german Guy can me Post here showthread....4600#post84600* a Example how to Forbid the M320................

 

Its very hard to find here any working command with instant Kill and Message after the Kill Happend.

 

Best Greetz

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

Originally Posted by C-4-N*:

 

Well I have Try some Codes maybe a german Guy can me Post here showthread....4600#post84600* a Example how to Forbid the M320................

 

Its very hard to find here any working command with instant Kill and Message after the Kill Happend.

 

Best Greetz

On Kill;if %wk% contains M320_HE;say %p% STOP Use M320;kill

 

or if you want say comes after the kill^^ TRY THAT

On Kill;if %wk% contains M320_HE;set %ini_wkM320_%p%% 1

On spawn; if %ini_wkM320_%p%% == 1;playersay %p% STOP USE M320 !!!;set %ini_wkM320_%p%% 0

 

and don't forget m320_lvg

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

Originally Posted by Phantomstrk*:

 

Hi All,

 

Wondering how to just ban 2 weapons from being used on my server. I want to respect the spirit of our server and the MTAR and the LA96 should not be out yet so want to ban them from the server..

 

If anyone could give me the exact code to put in the rule that would be great. I want to either prevent it from even being selectable on our server, or insta kill with a message if someone spawns with it...

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

Originally Posted by madmuthamonk*:

 

Anyone get !punish and !forgive to work yet? I am using what I had for BF3 but it says there is no one to forgive or punish in BF4

Code:

#             TEAMKILL RULZ
On Spawn;ServerFirst;Set %ini_punish% 0
On TeamKill;PlayerSay %p%: watch your fire! This is your %c% victim.
On TeamKill;PlayerSay %p%: Say sorry, soz or sry to have your TK forgiven automatically
On TeamKill;VictimSay %v%: type !forgive to forgive teamkiller 
On TeamKill;PlayerCount 5;Say %p% Excessive Teamkills (%c%) (was %v% with %w%);Kick Excessive Teamkills
On TeamKill;PlayerCount 4;Say %p% SUICIDAL TEAMKILL #%c% on %v% with %w%;Kill 100
On TeamKill;Say %p% TEAMKILL #%c% (on %v% with %w%)
# Automatic Forget
On Kill;Set %server_lastteamkiller[%v%]% 0;Set %server_lastteamkill[%p%]% 0
On Say;Text sorry,soz,sry;Set %server_lastteamkiller[%server_lastteamkill[%p%]%]% 0;Set %server_lastteamkill[%p%]% 0
# Team Kill Punish Rule
On Say;Text !punish;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to punish.
On Say;Text !punish;If %server_lastteamkiller[%p%]% != 0;TargetPlayer %server_lastteamkiller[%p%]%;Say %server_lastteamkiller[%p%]% killed for team killing.;TargetAction Kill;TargetConfirm;Set %server_lastteamkiller[%p%]% 0
On Say;Text !forgive;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to forgive.
On Say;Text !forgive;If %server_lastteamkiller[%p%]% != 0;Set %server_lastteamkill[%server_lastteamkiller[%p%]%]% 0;Say %server_lastteamkiller[%p%]% was forgiven by %p%.;Set %server_lastteamkiller[%p%]% 0
* 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.