Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by Shifty*:

 

Hi guys,

 

I've tested the following:

 

# Rocket Rule

On Kill;Weapon RPG-7,SMAW;PlayerCount 4;Say %p%: kicked for %w% against Infantry.;Log %p% killed %v% with %w%.;Kick %p%: kicked for %w% against Infantry.

On Kill;Weapon RPG-7,SMAW;PlayerCount 3;Say %p%: killed for %w% against Infantry.;Log %p% killed %v% with %w%.;Kill

On Kill;Weapon RPG-7,SMAW;PlayerSay %p%: no %w% against Infantry.

 

^ The above works apart from the Infantry get's killed/kicked when blowing up a tank, is there anyway around this? if not then it's pointless me trying this on our 64 conquest server.

 

Thanks.

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

Originally Posted by CoMPaHoLiC*:

 

Hi Shifty,

 

I'm not aware of any such detection, on our server we've only got anti-RPG/SMAW active on Bazaar and Metro and on Bazaar I've included a "Kill;Say %p% no SMAW/RPG on infantry (apologies if you did kill a vehicle)"

We do have a Playercount 2 for the kill and both a rate and Playercount 9 in place on bazaar to prohibit ourselves from kicking people who are destroying vehicles.

 

So let's hope for better things in a next patch (without breaking things, fingers crossed) of the BF3-servers

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

Originally Posted by bambam*:

 

Shifty see limitation #6 from first post. This limitation is *relatively* unlikely to be fixed any time soon as the same problem was true in BFBC2 (unlike most of the others which are BF3 limitation but NOT BFBC2).

 

Bambam

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

Originally Posted by Shifty*:

 

Shifty see limitation #6 from first post. This limitation is *relatively* unlikely to be fixed any time soon as the same problem was true in BFBC2 (unlike most of the others which are BF3 limitation but NOT BFBC2).

 

Bambam

Thanks mate, yeah I was reading that but thought because it was a while ago, it maybe sorted, read through about 30 pages lol, far too many codes going through my head at one time.

I have to say, A++ on your developing, very nice.

 

I'll keep an eye out anyway.

 

Thanks.

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

Originally Posted by ty_ger07*:

 

Is "PlayerSay" only supposed to say message to the player? or is to everyone, like "say"

PlayerSay does not work properly due to some current BF3 limitation. It is supposed to say just to the player, but currently it acts the same as 'Say' to everyone.

 

Yell and PlayerYell don't work either.

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

Originally Posted by bambam*:

 

BF3 is currently ignoring the playername given in the PlayerName action. I *think* (but I haven't checked) that Procon is providing a workaround that sends 'PlayerSay' Say text to the player's SQUAD (because that capability IS available in BF3).

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

Originally Posted by ty_ger07*:

 

BF3 is currently ignoring the playername given in the PlayerName action. I *think* (but I haven't checked) that Procon is providing a workaround that sends 'PlayerSay' Say text to the player's SQUAD (because that capability IS available in BF3).

It seems to send it to everyone as far as I can tell. But I haven't done thorough testing either.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by pr0faker*:

 

I have a question about these lines:

 

On Kill;Not Damage Melee;Not Damage Handgun;PlayerCount 3;Log %p% kicked for rule break;Kick %p% rule break pistol/melee only

On Kill;Not Damage Melee;Not Damage Handgun;PlayerSay %p% melee/pistols only;Kill 100

On Kill;Log Kill [%pt%] [^2%p%^0] killed [%vt%] [^2%v%^0] with [%wk%] [%w%], Kit [%kk%] [%k%], Damage [%d%]

On Kill;Weapon Weapons/Knife/Knife;Say %v% got humiliated by %p%

On Kill;Weapon Defib;Say %v% got zapped by %p% (%w%)

On Kill;Weapon Repair Tool;Say %v% got burned by %p% (%w%)

On Kill;Weapon Melee;Say %v% got humiliated by %p%

 

this is for a pistol and melee only server, I want to slay twice for use of other then pistol or melee, before kicking that player made 2 kills with other than said weapons.

Also would like the messages displayed for the melee kills.

Are these correct? Also I have no clue as to where to put those lines. Do I remove the already added 24 rules in the plugin and add these? or add more lines?

I am not very familiar with these kind of things.

 

thanks in advance!

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

Originally Posted by bambam*:

 

Hey Pr0faker I think you're in pretty good shape. All your rulz are announcements except the top two so you don't have to worry too much (i.e. check carefully the Kick/Kill rulz, others can't hurt...). The rulz look fine to me - when you see them operating you'll get a feel for how you might want to tweak the messages or thresholds moving forward. "Weapon Melee" is actually the knife, just a different animation (we think) from "Weapon Weapons/Knife/Knife" -so your message could be "%v% was humilated by %p% with the KNIFE" if you wanted.

 

You have one error: the condition for the repair tool should be "Weapon Repair&Tool" (i.e. you cannot have spaces within the weapon keys)

 

"PlayerCount 3" succeeds when PlayerCount rises ABOVE 3, i.e. your Kick will happen on the 4th kill - more than you want.

 

ALL you need to do to have these rulz take effect is cut-and-paste them at the top of any rulz you already have. I suggest you KEEP the default rulz for now, and INSERT these rulz at the top. You can easily delete any rulz later on when you know what it is your deleting, e.g. the anti-teamkill rule in the defaults (teamkills are suicidal) is still very useful as BF3 does not otherwise penalise for teamkills at all. But you can delete ALL rulz without any kind of problem - the rulz are entirely up to you.

 

 

http://www.phogue.net/forumvb/attachment.php_attachmentid=1077&d=1325586364

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

Originally Posted by marc1080*:

 

Hi,

 

1. I made a no rocket rule for metro, but it seems people are not kicked after breaking the rule several times, what can my fault be?

 

# rocket rulz

On Kill;Map Subway;Weapon RPG-7;Count 2;Say %p% Kicked for Rocket use on Metro;Kick %p% No RPG on Metro

On Kill;Map Subway;Weapon RPG-7;Say %p% Killed for Rocket use on Metro;Kill 100

On Kill;Map Subway;Weapon SMAW;Count 2;Say %p% Kicked for Rocket use on Metro;Kick %p% No RPG on Metro

On Kill;Map Subway;Weapon SMAW;Say %p% Killed for Rocket use on Metro;Kill 100

 

 

2. For some time now proconrulz spams my chatlog. I see every spawn, every kill, but I unchecked "display kills"

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

Originally Posted by bambam*:

 

marc,

those rocket rulz look ok - the good news is your chat log is now full of 'spam' and if you

 

(1) zip and attach a chat log to a post it will only take a couple of minutes to get a clue as to what's wrong. (You might have to enable chat logging in Procon-Tools-Options).

 

(2) Also cut-and-paste ALL your rulz into a post, not just the Metro rulz - maybe an earlier rule in the list is firing instead.

 

(3) What version of ProconRulz are you running (see the plugin Details tab)? This won't matter much but it'd be interesting to know.

 

The 'display kills' checkbox controls whether PROCON lists kills in the chat log window but has no effect on the 'Log' actions from ProconRulz - you can control ProconRulz by editting/deleting individual rulz as below.

 

What does the chat log actually say when one player kills another with the SMAW 3 times on Metro?

 

These rulz should say:

(1) bambam Killed for Rocket use on Metro

(2) bambam Killed for Rocket use on Metro

(3) bambam Kicked for Rocket use on Metro

 

Note that a 'protected' player (according to your ProconRulz settings e.g. your Procon admins) will not be kicked or killed although the messages will appear.

 

AFTER we've fixed those rulz, then removing the chatlog spam will be as simple as deleting the rulz that have those 'Log' messages in them, and if you post all your rulz I can highlight those in red.

 

E.g. a rule "On Spawn;Log %p% spawned with weapons [%w%] and kit %k% and specializations %s%" will print out a log message such as "ProconRulz: bambam spawned with weapons [] and kit None and specializations None" every time a player spawns.

 

There's another default "On Kill;Log ..." message which also writes a log message every time one player kills another.

 

BUT - don't remove these log messages until you have fixed the Metro rulz.

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

Originally Posted by marc1080*:

 

Thank you bambam for your quick and detailed reply.

 

Im running proconrulz V 37g.3

 

here are my rules. I am not sure if the sniper rulez is ever working if i understood your introduction, but it makes no errors:

 

# rocket rulz

On Kill;Map Subway;Weapon RPG-7;Count 2;Say %p% Kicked for Rocket use on Metro;Kick %p% No RPG on Metro

On Kill;Map Subway;Weapon RPG-7;Say %p% Killed for Rocket use on Metro;Kill 100

On Kill;Map Subway;Weapon SMAW;Count 2;Say %p% Kicked for Rocket use on Metro;Kick %p% No RPG on Metro

On Kill;Map Subway;Weapon SMAW;Say %p% Killed for Rocket use on Metro;Kill 100

 

 

 

#Rush Sniper Limiter

On Spawn;Map Subway;Team Attack;Kit Recon 2;Log %p% killed on #%c% SniperRifle Spawn;kill %p% killed for too many SniperRifles in Attacker Team

On Spawn;Map Subway;Team Attack;Kit Recon 2;Say %p%, max 2 Sniper Rifles allowed in Attacker Team;Kill 100

 

# Melee Message

On Kill;Weapon Melee;say %p% made mincemeat of %v%!

 

 

and here is a screen of my chat "spam".

 

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

Originally Posted by Friegide*:

 

Hello i have write my Rulez

 

On Kill;Weapon M67;PlayerCount 2;Log %p% kicked for Granade;Kick %p% Granade use

On Kill;Weapon M67;PlayerSay %p% no Granade;Kill 100

On Kill;Weapon M320;PlayerCount 2;Log %p% kicked for M320;Kick %p% M320 use

On Kill;Weapon M320;PlayerSay %p% no M320;Kill 100

On Kill;Weapon RPG-7;PlayerCount 2;Log %p% kicked for RPG;Kick %p% RPG use

On Kill;Weapon RPG-7;PlayerSay %p% no RPG;Kill 100

On Kill;Weapon SMAW;PlayerCount 2;Log %p% kicked for SMAW;Kick %p% SMAW use

On Kill;Weapon SMAW;PlayerSay %p% no SMAW;Kill 100

 

now only the Player become a Message and all other Player ont can see that, what i must write thats all Player see this Message ?

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

Originally Posted by bambam*:

 

Friegide for all players to see a message, use Say

 

If you want, your rulz can be shorter and the PlayerCount can combine the player counts for M67+M320+RPG-7+SMAW with

On Kill;Weapon M67,M320,RPG-7,SMAW;PlayerCount 2;Log %p% kicked for banned weapons (%w%);Kick %p% banned weapon use

On Kill;Weapon M67,M230,RPG-7,SMAW;Say %p% no %w%;Kill 100

 

But your rulz will work fine, so well done.

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

Originally Posted by bambam*:

 

A minor comment for ty_ger and compuholic (plus whoever else was lurking on this issue):

 

Code:

Exec punkBuster.pb_sv_command pb_sv_getss "%p%"
Doesn't work for PRoConRulz, but:

 

Code:

Exec punkBuster.pb_sv_command pb_sv_getss
Works fine.
I can confirm I've been able to repeat this issue on my server, and have implemented a fix in the next version of ProconRulz which should be delivered in a few days. This issue opened up a tricky area in the way Procon sends the admin commands to the game server. Also the next version has updated support for multi-line rulz, more 'symmetry' in the way player/squad/team/server variables are named, and an improved implementation of the 'TargetPlayer' and 'TargetAction' clauses that makes them more useful.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Friegide*:

 

when i will directly kick by use m320 SMAW RPK-7 M67 and c4

thats right ?

 

On Kill;Weapon M67,M320,RPG-7,SMAW;Say %p% no %w%;Log %p% kicked for banned weapons (%w%);Kick %p% banned weapon use

 

i dont see the Message for all player thats the Player X have used a banned Weapon and than kick .!!

what i have wrong ?

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

Originally Posted by ty_ger07*:

 

when i will directly kick by use m320 SMAW RPK-7 M67 and c4

thats right ?

 

On Kill;Weapon M67,M320,RPG-7,SMAW;Say %p% no %w%;Log %p% kicked for banned weapons (%w%);Kick %p% banned weapon use

 

i dont see the Message for all player thats the Player X have used a banned Weapon and than kick .!!

what i have wrong ?

All the players will only see what is in the Say portion. They will only see: " %p% no %w% ". The " %p% kicked for banned weapons (%w%) " portion is in the Log section which means it only shows up in PRoCon, not in the server.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bambam*:

 

Than i must write

On Kill;Weapon M67,M320,RPG-7,SMAW;Say %p% kicked for banned weapon %w%;Log %p% kicked for banned weapons (%w%);Kick %p% banned weapon use

 

right ?

Yup, good job. That'll work. However, the 'Say' message will appear in the chat log anyway (as well as in the game) so you do NOT need the same 'Log' action. You would only need both Say AND Log if the messages were different.

 

On Kill;Weapon M67,M320,RPG-7,SMAW;Say %p% kicked for banned weapon %w%;Kick %p% banned weapon use

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

Originally Posted by ty_ger07*:

 

BamBam, I posted this in the kill streak thread, but should have posted it here:

BamBam, I don't know if a string can be stored in a variable.

 

 

Will this work?

Code:

On TeamKill;If %server_lastteamkill[%p%]% == %v%;PlayerSay %p%: team killing is not allowed.;Kill
On TeamKill;Set %server_lastteamkill[%p%]% %v%
The idea is that team killing is usually accidental and it shouldn't be punished too aggressively as it can simply be a mistake most of the time. But, if someone does make a deliberate team kill, it may be because they are mad at that specific player and may kill that player more than once in a row. If we detected team killing the same player twice in a row, we could more aggressively punish that action.

 

And another common case is when player A accidentally team kills player B. Then, when player B spawns, they team kill player A on purpose. Retribution team kills could be punished as well, right?

 

Like this maybe?

Code:

On TeamKill;If %server_lastteamkill[%v%]% == %p%;PlayerSay %p%: team killing is not allowed.;Kill
On TeamKill;If %server_lastteamkill[%p%]% == %v%;PlayerSay %p%: team killing is not allowed.;Kill
On TeamKill;Set %server_lastteamkill[%p%]% %v%
Thanks!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Friegide*:

 

Thanks BamBam ist work fine :smile:

On Kill;Weapon M67,M320,RPG-7,SMAW;Say %p% kicked for banned weapon %w%;Kick %p% banned weapon use

 

when i will now forbidden all Explosive i must write the Rule

On Kill;Map Subway;Damage ProjectileExplosive;Say %p% kicked for use Explosive weapon %w%;Kick %p% banned weapon use

 

and than the Weapons with Damage " ProjectileExplosive " were banned ? and the Weapons with " Explosive " are no ?

thats right ?

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