Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by mimimimi*:

 

Have a problem, these rules are not working. I want it to be a pistol and melee only.

 

On Kill;Not Damage Melee;Not Damage Handgun;Say %p% Pistols Only Fool!!!;Kill

On Kill;Not Damage Weapon diSHTR;Not Damage Weapon U_SaddlegunSnp;Say %p% Pistols Only Fool!!!;Kill

use this:

 

Code:

On Kill;Not Weapon Melee;Not Damage Handgun;Not Weapon dlSHTR;Not Weapon DamageArea;Not Weapon SoldierCollision;Say %p% Pistols Only Fool!!!;Kill
or you can use this:

myrcon.net/.../proconrulz-battlefield-4-pistols-and-melee-script

 

and add other weapons if you have to, use

Not Weapon weapon_code

or

Not Damage damage_code

 

 

do not use:

Not Damage Weapon weapon_code ...

 

 

and

U_SaddlegunSnp is a handgun so you dont have to add it, it is already there in the

Not Damage Handgun

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

Originally Posted by keb2*:

 

Hello.Please help to create a rule.

map Subway.prohibited weapons-c4,m320,rpg,smaw,grenades.

Kill 8 -personal message to the chat

Kill 9 -Player Kill+personal message to the chat

Kill 10 -Player Kill+a message which will see all

Kill 11 -ban round+a message which will see all

 

Sorry for bad english.

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

Originally Posted by t0p8uzz*:

 

I currently use the following script to kick people who get 35 headshots in a single round

on spawn;serverfirst;set %hs% 0

on kill;Headshot;incr %hs%

on kill;If %hs% > 35;Log %p% hs rate: %hs% using %w%;Kick %p% Suspicious Headshot Count

However, it seems to keep track of the HS during multiple rounds, so if someone gets 20 headshots one round, 14 the next round, and then 1 in round 3, they get kicked.

 

Can the script be amended so the HS count is reset to 0 at each round start

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

Originally Posted by Alexis-Alexander*:

 

I currently use the following script to kick people who get 35 headshots in a single round

 

 

However, it seems to keep track of the HS during multiple rounds, so if someone gets 20 headshots one round, 14 the next round, and then 1 in round 3, they get kicked.

 

Can the script be amended so the HS count is reset to 0 at each round start

PlayerFirst vs ServerFirst to be unique to player is what I notice. I thought most varaibles reset on round, I don't remember reseting mine.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by victory-Gamerz*:

 

Some reason Proconrulz is not coming up in my plugins area. I installed the file in the plugins root and in the BF4 folder in the plugins and still not coming up and suggestions or where did i screw up?

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

Originally Posted by ty_ger07*:

 

I currently use the following script to kick people who get 35 headshots in a single round

 

 

However, it seems to keep track of the HS during multiple rounds, so if someone gets 20 headshots one round, 14 the next round, and then 1 in round 3, they get kicked.

 

Can the script be amended so the HS count is reset to 0 at each round start

Get rid of the on spawn set thing. It isn't needed. All variables will reset each new round.

 

Code:

on kill;Headshot;incr %hs%
on kill;If %hs% > 35;Log %p% hs rate: %hs% using %w%;Kick %p% Suspicious Headshot Count
Maybe that extra needless code was causing the value to persist.

 

As long as you don't skip to the next map and bypass or shorten the after-match scoreboard, the value will reset to 0 next round. If you skip to the next round early though, the value will not reset to 0.

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

Originally Posted by Alexis-Alexander*:

 

Does anyone know how to make Yell message to a player who has just been killed?

Example: Player has just killed another player, I need to show immediately PlayerYell to victim

Take a look at this post

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

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

Originally Posted by Alexis-Alexander*:

 

Code:

On Kill;Incr %server_taunt[%v%]% 
On Spawn;If %server_taunt[%v%]% == 1; Set %server_taunt[%v%]% = 0;PlayerYell I got you!
does not work
Sorry I had a logic flaw to it. This should work.

 

Code:

On Kill;Incr %server_taunt[%v%]% 
On Spawn;If %server_taunt[%p%]% == 1; Set %server_taunt[%p%]% = 0;PlayerYell I got you!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Hodor*:

 

Sorry I had a logic flaw to it. This should work.

 

Code:

On Kill;Incr %server_taunt[%v%]% 
On Spawn;If %server_taunt[%p%]% == 1; Set %server_taunt[%p%]% = 0;PlayerYell I got you!
Yes its work On Spawn but i need Yell message when Victim on deathcam
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by s1ngular1ty*:

 

BUUUUUD i dont need TK message, i have NORMAL server :ohmy:

You can use the same format for WHATEVER.

 

For example:

 

Code:

On Kill;Playersay You killed a guy named %v%;TargetPlayer %v%;TargetAction PlayerSay %t% you were killed by %p%
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Hodor*:

 

You can use the same format for WHATEVER.

 

For example:

 

Code:

On Kill;Playersay You killed a guy named %v%;TargetPlayer %v%;TargetAction PlayerSay %t% you were killed by %p%
I will try it morning
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Hodor*:

 

BUUUUUD i dont need TK message, i have NORMAL server :ohmy:

Code:
[18:09:51 11] ProconRulz: process_part rule.unparsed_rule = [On Kill;Playersay You killed a guy named %v%;TargetPlayer %v%;TargetAction PlayerSay %t% you were killed by %p%]
[18:09:51 11] ProconRulz: process_part player_name = [Fenix-555rus]
[18:09:51 11] ProconRulz: process_part p.part_type = TargetPlayer
[18:09:51 11] ProconRulz: process_part k.Killer.SoldierName = [Fenix-555rus]
[18:09:51 11] ProconRulz: System.Collections.Generic.KeyNotFoundException: Der angegebene Schlüssel war nicht im Wörterbuch angegeben.
   bei System.ThrowHelper.ThrowKeyNotFoundException()
   bei System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   bei PRoConEvents.ProconRulz.process_part(ParsedRule rule, PartClass p, String player_name, Kill k, String msg, Dictionary`2& keywords)
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Somewhere pages ago I went through the exact same thing. The person wanted the victim to see the message and they were getting the same error (except in english). I don't remember the solution ... if there even is one. Look back.

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

Originally Posted by mimimimi*:

 

Somewhere pages ago I went through the exact same thing. The person wanted the victim to see the message and they were getting the same error (except in english). I don't remember the solution ... if there even is one. Look back.

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

 

 

unfortunately it seems that targetplayer works only on say trigger

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

Originally Posted by spatieman*:

 

i dont know if it is adkatz or proconrulez but this stuff.

Code:

on spawn;if %pt% contains russian;playeryell 3 Comrads Lets kill some yankee doodle dog's;playersay Comrads Lets kill some yankee doodle dog's
on spawn;not if %pt% contains russian;playeryell 3 Lets kill some communist bastards;playersay Lets kill some communist bastards
it says only lets kill some comunist bastards in all teams.

so i tested it on several maps, and it seem id doest work not on all xp1 xp2 maps

any ideas what is going on ?

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

Originally Posted by ColColonCleaner*:

 

i dont know if it is adkatz or proconrulez but this stuff.

Code:

on spawn;if %pt% contains russian;playeryell 3 Comrads Lets kill some yankee doodle dog's;playersay Comrads Lets kill some yankee doodle dog's
on spawn;not if %pt% contains russian;playeryell 3 Lets kill some communist bastards;playersay Lets kill some communist bastards
it says only lets kill some comunist bastards in all teams.

so i tested it on several maps, and it seem id doest work not on all xp1 xp2 maps

any ideas what is going on ?

That would probably be because its not "russian", it may be just "ru" or "RU"

 

EDIT: For your expansion maps, not all maps contain a russian team or a us team, you'll probably need multiple cases depending on the teams each map has.

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

Originally Posted by spatieman*:

 

That would probably be because its not "russian", it may be just "ru" or "RU"

 

EDIT: For your expansion maps, not all maps contain a russian team or a us team, you'll probably need multiple cases depending on the teams each map has.

hmm, lets see how i can fix that..

thnxs..

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

Originally Posted by mimimimi*:

 

hmm, lets see how i can fix that..

thnxs..

teams value are fixed, so you just need to know what is their %ptk% or %pt% value

 

 

if you have multiple maps, then my advice would be to do this to discover both their ptk and pt value

Code:

On Kill;TeamFirst;Log Team name [%pt%]  ----  Team key [%ptk%]
let it run through your map set

 

 

then check the log and see how it would be better to proceede to achieve your intended result

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

Originally Posted by wlprzemek*:

 

Hello.

I have a BF 4 server with different maps and modes, wanted me using the plug on a server ProconRulz prohibit the use of explosives, shotguns, clay more, RPG and the like.

I intend to work principle of the appearance on the server rather than after the first killing, and for example the first 2 to kill and another is banned.

 

Can someone help me with writing such a rule?

 

Yours Przemek

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

Originally Posted by ZauroPro*:

 

Hello everyone .. I'm new , I keep a Server Btf4 i3D , I would like to set the killl the first killing this Del mortar M224 and the command that I included in ProconRulz , : On Kill ; Weapon M224 ; PlayerCount 1 ; Say Kicked % p % for killing with MORTAR ; Kick NO MORTAR - read the rules!

On Kill ; Weapon M224 ; PlayerSay NO MORTAR - next time kick ! ; Kill 100

ICE position for the command name ? I 've added to the bottom of all the other commands , but when I kill with mortar , does not give me the kill .. Can someone explain to me how to do? Thank you

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

Originally Posted by mimimimi*:

 

Hello everyone .. I'm new , I keep a Server Btf4 i3D , I would like to set the killl the first killing this Del mortar M224 and the command that I included in ProconRulz , : On Kill ; Weapon M224 ; PlayerCount 1 ; Say Kicked % p % for killing with MORTAR ; Kick NO MORTAR - read the rules!

On Kill ; Weapon M224 ; PlayerSay NO MORTAR - next time kick ! ; Kill 100

ICE position for the command name ? I 've added to the bottom of all the other commands , but when I kill with mortar , does not give me the kill .. Can someone explain to me how to do? Thank you

Code:
On Kill;Weapon U_M224;PlayerCount 1;Say Kicked %p% for killing with MORTAR;Kick NO MORTAR - read rules!;Log %p% kicked for killing with mortar
On Kill;Weapon U_M224;PlayerSay NO MORTAR - next time kick!;Kill 100;Log %p% warned for killing with mortar
this is better in my opinion:

 

Code:

# ColonelSeven's Pistol and Melee for Battlefield 4 v0.5
# Information Shouts
On Spawn;PlayerFirst;PlayerYell %p%, MORTAR IS NOT ALLOWED
# Player Total Kicks and Bans check
On Join;If %ini_kickban_tbans[%p%]% == 3;TempBan 86400 %p%, you've been temp. banned 3 times. Ban for 24 hours.;Set %ini_kickban_tbans[%p%]% 0
On Join;If %ini_kickban_kicks[%p%]% == 15;TempBan 86400 %p%, you've been kicked 15 times. Ban for 24 hours.;Set %ini_kickban_kicks[%p%]% 0

# Original by bambam - Modified by ColonelSeven
# Weapons check second
On Kill;Weapon U_M224;PlayerCount 3;Log ^1%p% ^0was BANNED for using a ^1%w%;Incr %ini_kickban_tbans[%p%]%;Say %p% was BANNED (15m) for using a %w%;TempBan 900 %p% (15min)  Mortar is not allowed! Read !rules.
On Kill;Weapon U_M224;PlayerCount 2;Log ^1%p% ^0was KICKED for using a ^1%w%;Incr %ini_kickban_kicks[%p%]%;Say %p% was KICKED for using a %w% ;Kick %p% Mortar is not allowed! Read !rules.
On Kill;Weapon U_M224;PlayerCount 1;Log ^1%p% ^0has ^2%c%/2 ^0offenses (^1%w%^0);Set %warnyell% 2;Say ::: WARNING: %p%, warning %c%/2 for using a %w%;PlayerSay %p%, Mortar is not allowed! Read !rules. (%c%/2);PlayerYell %p%, Mortar is not allowed! Read !rules. (%c%/2);Kill 100
On Kill;Weapon U_M224;Log ^1%p% ^0has ^2%c%/2 ^0offenses (^1%w%^0);Set %warnyell% 1;Say ::: WARNING: %p%, warning %c%/2 for using a %w%;PlayerSay %p%, Mortar is not allowed! Read !rules (%c%/2);PlayerYell %p%, Mortar is not allowed! Read !rules (%c%/2);Kill 100

# Warning Yell On Spawn (after offense 1 and 2)
On Spawn;If %warnyell% == 2;Log Yell^2 2/2 ^0given to ^1%p%;PlayerYell %p%, you've 2/2 offenses! Next will be a KICK!;Set %warnyell% 0
On Spawn;If %warnyell% == 1;Log Yell^2 1/2 ^0given to ^1%p%;PlayerYell %p%, you've 1/2 offenses! Mortar is not allowed! Read !rules;Set %warnyell% 0
source:

myrcon.net/.../proconrulz-battlefield-4-pistols-and-melee-script

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