Jump to content

ProconRulz - take admin action on triggers, e.g. weapon limit


ImportBot

Recommended Posts

  • Replies 487
  • Created
  • Last Reply

Top Posters In This Topic

  • ImportBot

    488

Originally Posted by bambam*:

 

wait a month - BF3+Procon+ProconRulz is still an 'alpha' configuration. At the moment BF3 is ***NOT*** providing the weapons a player is spawning with so you have no chance with the rule above.

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

Originally Posted by bambam*:

 

ProconRulz BF3 update 11-11-11 (applies to ProconRulz version 33, not yet released)

 

* Procon+ProconRulz+BF3 seems fairly stable, i.e. there does not seem to be any significant issues.

 

* The ProconRulz rule processing is working the same for BF3 as it was for BFBC2, i.e.:

** TRIGGERS (On Spawn, On Kill, On Suicide, On Teamkill, On Say, On Round) are working.

** CONDITIONS (e.g. Weapon mrtr-5) are working, dependent upon BF3 providing the data

** ACTIONS (e.g. Kill) are working (except PlayerSay, which has no equivalent admin command yet in BF3)

 

* The major current constraints are:

** BF3 only provides the PLAYERNAME and TEAM in the On Spawn event, so you cannot trigger e.g. a kit or weapon check at spawn time (you would depend on the kill weapons only)

** There is no mapping data from weapon to kit or damage type. So "Kit X" or "Damage Y" conditions are not possible.

 

So currently (with my unreleased development version) you CAN have rules such as "On Kill;Weapon M15&AT&MINE;Say Mines not permitted;Kill" which would make tank mine kills suicidal, but you CANNOT kill a player simply for spawning with mines, or generically block categories of weapons such as On Kill;Damage ProjectileExplosive;Kill.

 

OK? This is just a heads-up, if it helps you be realistic about the rulz you might be considering with the current state of BF3. All the functionality of ProconRulz will likely be available, but you'll have a limited dataset to work with...

 

Bambam

 

*edit* this post editted to use the M15 AT MINE weapon as an example, instead of mortars, as per Phil's comment below...

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

Originally Posted by Phil_K*:

 

Hi.

 

I would take another weapon for your example and not the motar.

As far as i have scanned my kill logs and my alter-ego was killed by the BF3 portable motar itself, it does not appear in any kill message send from the server. This glorious kill was logged with weapon "Death"... pretty simple.. based on BF server R-8 it's the same with all vehicle mounted weapons or vehicle kills. Been killed by a T-90 and the only thing you find in the logs is "Death" as weapon. :sad:

 

Greets

Phil.

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

Originally Posted by bambam*:

 

hehe yes I noticed that this evening... ProconRulz is doing its thing, but you have to pick the weapon key from the logs first before you can assume it's sensible to use in a rule, and my mortar example is invalid for BF3 R8.

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

Originally Posted by tarreltje*:

 

Good work so far bam bam. So far the only i need is a onspawn;tactical light;kill . If that is sort of working i would love to test it! But from what i have read from your post that is still not posible!

 

Keep up the good work

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

Originally Posted by bambam*:

 

@tarreltje - sorry BF3 is NOT ready for your requirement. (a) there's no data in the OnSpawn event except player name and team and ( b ) tactical light is probably a 'specialization' (or 'accessory_') not a weapon and event the OnKill event only reports weapons.

 

So at the moment (with my unreleased dev version) you can check the WEAPON on a KILL, but that's all.

 

At the moment I'm making sure ProconRulz does everything IT should be doing when the spawn and kit/damage/specialization data arrives from BF3 (assuming it does)

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

Originally Posted by CraveMode*:

 

This is exactly what I am looking for on my server to block RPG/M320 on small maps, but I can't seem to get it to work.. It keeps saying " Bad Clause for Weapon... or Clause for Damage" I assume its because its looking for BC2? Anyway, I copied the weapon names from the Procon log some were mispelled, but i cant get this to work. Any help is appreciated!

 

 

PlayerFirst;On Kill;Weapon RPG-7&Anti&Tank&rocket-propelled&grenade&launcher;say RPG Not Permitted;Kill

PlayerFirst;On Kill;Weapon SMAW&Anti&Tank&Weapon;say RPG Not Permitted;Kill

PlayerFirst;On Kill;Weapon M320&Grenade&Luncher;say M320 Not Permitted;Kill

On Kill;Weapon RPG-7&Anti&Tank&rocket-propelled&grenade&launcher;say RPG Not Permitted;Kick

On Kill;Weapon SMAW&Anti&Tank&Weapon;say RPG Not Permitted;Kick

On Kill;Weapon M320&Grenade&Luncher;say M320 Not Permitted;Kick

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

Originally Posted by bambam*:

 

2011-11-13: ProconRulz is not yet released for BF3

Nice try CraveMode at guessing what a BF3 rule would look like, and guessing BF3 weapon names, and you're guessing along the right lines, but you have no chance with ProconRulz v32 (which came out with support BFBC2). ProconRulz v32 depends on weapon keys in Procon, and the currently released Procon has no weapon keys for BF3 weapons, hence the 'bad weapon clause' errors in v32. v33 sidesteps this limitation.

 

Initial support will be provided in ProconRulz v33 which is not yet released, around the beginning of December.

 

In the meantime you could check for the actual keys necessary for the weapons you care about, by enabling event logging in the Procon console, check the Procon 'Tools'..'Options' setting for 'enable console logging', and step through the player.onKill events. You'll see in the current BF3 release (R8), lots of players are killed with weapon 'Death', i.e. BF3 isn't sending the proper weapon key for lots of weapons. But if your desired weapon has a key, you'll be able to use it in ProconRulz v33. Some keys are multi-word, and v33 requires you separate the words in the weapon key with '&', not a space, e.g. M15&AT&MINE. FYI you're using the language localized 'display name' for the weapon (from the event log_) rather than the actual key which is in the onKill events in the console log.

 

Bambam

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

Originally Posted by CraveMode*:

 

Ohh I see, thanks alot! Your plugin is one of the most anticipated on my list :smile: Hope DICE will give you what you need!

 

Update: So I see in the player.onKill event in the console log, RPG-7 SMAW and M320 are those correct?

 

[15:00:19] player.onKill ****** ***** SMAW false

 

Since it isnt working, im assuming there is no key for it so I will wait for v33

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

Originally Posted by bambam*:

 

correct CraveMode - weapon key is SMAW , display name is localized to your language, e.g. "SMAW Panzerabwehrwaffe". The current ProconRulz has 'error checking' to make sure any weapon key you give is also in a list provided by Procon, and currently the BF3 weapons ain't in there so you get a syntax error. When ProconRulz v33 ships, firstly any weapon key will be allowed (so if your rule never triggers because you put in garbage don't blame me) and probably also Procon will have been updated to have the full weapon list for BF3 anyway. If I hadn't put the error checking in there, v32 would be functional for the kill/weapon rulz now.

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

Originally Posted by Clay52*:

 

bambam, I'm relatively new here but if I'm to understand correctly much of your plugin isn't functional for BF3 until next month? I'd dearly love to have it boot for M320 spamming on my 24/7 Metro Conquest 64 map if possible, thank you for this awesome plugin, can only get better!

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

Originally Posted by bambam*:

 

Even though bits of it kind-of work, existing v32 ProconRulz should be thought of as BFBC2-only.

 

ProconRulz v33 for BF3 will be released at the beginning of December, during which time there may have been an update for Procon and there may have been an update to BF3 (although I'm not relying on either). With what we CURRENTLY have (BF3 R8) I can confirm that most of the functionality of ProconRulz will be available with two significant limitations compared to BFBC2:

 

1) The BF3 rulz will be effective on a player KILL (i.e. you can kick a player for killing with a sniper rifle) but not on SPAWN (i.e. you cannot kick a player for spawning with a sniper rifle).

 

2) BF3 reports the weapon used (generally) if it's carried by a soldier (e.g. a pistol, sniper rifle, or RPG), but in the BF3 current R8 version pretty much any kill from any kind of vehicle is reported as a kill using a weapon called "Death". So it's not possible to have rules limiting the use of vehicles.

 

So BF3 R8 ProconRulz will support effective weapon limits such as sniper rifle, RPG's, and you can use similar rulz in reverse and have knife-only or sniper-only (e.g. you can make any kill NOT with a sniper rifle suicidal), but if you're used to ProconRulz/BFBC2 you have to be aware of the limitations above. Specifically for the M320, with a single rule you can make kills with that weapon suicidal on that particular map (the ideal would be to kill players SPAWNING with that weapon on that map, but BF3 doesn't support this in R8).

 

FWIW as much as I can test, limitations (1) and (2) will go away if/as soon as BF3 starts reporting the full set of data, i.e. the v33 ProconRulz plugin I ship at the beginning of December already has the code in it to handle the events and the weapons. But in the meantime my clan is already using the plugin usefully on our server (we make 3+ teamkills suicidal...).

 

In general you have to think carefully about rules you want (maybe limit M320 kills to 3, not zero) as arbitrary rules hit by unsuspecting players are understandably unpopular, and a 3-kill limit gives you a chance to warn on each kill before that...

 

Bambam

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

Originally Posted by Ike*:

 

I could live with a 3 kill rule for the M320 and the RPG but I need help writing it but the online FAQ link doesn't work or if someone could msg or email me I'd be grateful thanks.

We had to take the wiki it was hosted on offline due to a few factors.

 

We are looking into ways to support plugin devs at the moment, hopefully cleaner than the current free for all spam system in a single thread.

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

Originally Posted by Clay52*:

 

We had to take the wiki it was hosted on offline due to a few factors.

 

We are looking into ways to support plugin devs at the moment, hopefully cleaner than the current free for all spam system in a single thread.

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

Originally Posted by bambam*:

 

@smybbubbytbbbyb: rule not possibe with BF3 R8: a kill with the chopper missile is currently one of the many that BF3 reports as weapon "Death".

 

@Clay52: when you get the v33 plugin you'll see all the instructions on the Details tab, and that'll be the best time to ask for rule-writing help. Simply put it'll be something like "On Kill;Weapon M320;PlayerCount 3;Say %p% no more nade kills;Kill". But relax until you've seen the documentation.

 

*edit* for the BF3 R8 weapon list, I've put up a temporary version of the (unreleased) ProconRulz v33 plugin 'Details' here:

http://www.forsterlewis.com/proconrulz33a.html

For weapon-related rulz, if we're still on BF3 R8 when ProconRulz v33 is released, you will have to limit your rulz to the weapons listed, and use the kill-related triggers (i.e. not On Spawn;Weapon...). I'm sure the documentation will be tweaked before v33 is released, but this should help if you want to think about your rulz.

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

Originally Posted by CraveMode*:

 

Thanks alot! I am guessing this is for v33 as I can't get anything to work in v32 atm.

 

On Kill;Damage ProjectileExplosive;say RPG/SMAW/M320 Not Permitted;Kick

 

says it loaded 1 rule but nothing happens when I use rpg/m320 etc. Anyway, appreciate the doc!

 

Edit: Ahh I see, damage None for everything I tried "On Kill;Damage None;say HI! Testing!;"and worked, it spammed every time someone got a kill :P

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

Originally Posted by bambam*:

 

CraveMode your rule is ok, you just have to wait for a Procon update and ProconRulz v33. If you're lucky you'll get a BF3 update also. FYI a pair of rules is more noob-friendly than your 'kick on first event' idea:

 

On Kill;Damage ProjectileExplosive;PlayerCount 3;Kick

On Kill;Damage ProjectileExplosive;Say RPG/SMAW/M320 Not Permitted;Kill 100

 

Bambam

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

Originally Posted by CraveMode*:

 

Very nice :smile: thanks for the tip.

 

Also, do you think/expect DICE to provide keys for ammo types in the near future or have any word on that? For instance, kicking for killing when using Frag ammo type on M320 but not the smoke.

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

Originally Posted by bambam*:

 

The simple answer is 'yes' you can expect more weapon keys to be supplied by BF3, particularly where the current weapon is 'Death' esp. vehicles. There's no way to be sure of timing, unless I'm testing against an updated BF3 version that you guys haven't seen yet, and that's not the case currently. I don't know whether the current "M320" key will be split to allow recognition of the other underslung nade types. It's not unreasonable to expect accessory/specialization info to appear in some future BF3 update, although it's hard to predict when, and also have this info provided at spawn time, not just on a kill. I.e. I'd expect BF3 to catch up with the admin features in BFBC2.

 

Weapon limits are a subtlety with EA - they want to support effective admin tools, but don't want a raft of arbitrary and incomprehensible rules affecting the consistency of BF3 gameplay. We've all played on servers where you're trying to guess what item in your spawn inventory is getting you auto-killed (once for me it was vehicle smoke...) and no-one really wants that. The best thing is to think of the rulz carefully and structure thresholds and warnings.

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

Originally Posted by ty_ger07*:

 

On Spawn;Damage ProjectileExplosive 0;Say M320,SMAW, and RPG are prohibited;Kill

not working what's wrong

 

thanks

IN BF3: On Spawn won't work since the game doesn't currently report what kits players spawn with. Use On Kill instead. Also, change it from 'Damage ProjectileExplosive 0' to 'Damage ProjectileExplosive'. No need for the 0.

 

EDIT: I thought this was the BF3 thread. Sorry.

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

Originally Posted by Hive*:

 

Hmmm ok guys we have a SQDM server and we want to prevent players from using vehicles without turning them off.

 

So when a player gets in the vehicle and when the player makes a kill it needs to kick that player...

 

I would've thought this would've worked but it doesnt, anyone able to assist?

 

On Kill;Damage VehicleHeavy;kick

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

Originally Posted by SileX*:

 

Hmmm ok guys we have a SQDM server and we want to prevent players from using vehicles without turning them off.

 

So when a player gets in the vehicle and when the player makes a kill it needs to kick that player...

 

I would've thought this would've worked but it doesnt, anyone able to assist?

 

On Kill;Damage VehicleHeavy;kick

If this is for BF3, see the other thread - I just posted the exact same question :smile:

 

So far, I have this running as test;

 

On Kill;PlayerCount 3;Weapon Death;Say %p% no vehicle or mortar kills, thats it, you are OUT;Kick

On Kill;PlayerCount 2;Weapon Death;Say %p% no vehicle or mortar kills, READ THE RULES AGAIN!;Kill

On Kill;PlayerCount 1;Weapon Death;Say %p% no vehicle or mortar kills!;Kill

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