Jump to content

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


ImportBot

Recommended Posts

Originally Posted by bambam*:

 

Insane Balancer

Admin and Reserved Slots

Custom Warning Builder

Mixed Spambot

I don't think there's a massive reason to replace any plugin that's working well for you, and to replace a hand-crafted plugin doing a particular job with a couple of ProconRulz rules is a tall order, but really it depends what you're using the plugins for.

 

Insane Balancer has no comparable function in ProconRulz because at the very least ProconRulz doesn't provide a 'Move' action so there's no way you could implement anything like it.

 

Admin and Reserved Slots (or just InGameAdmin) are fairly fundamental to running any server. If you want to experiment you *can* implement in-game commands using ProconRulz v32 (i.e. the new version in the 32m.8 beta so far), e.g. the following rules would kick [OFc] bambam via a 'say' text "xkick bam" and then confirmed with "xyes"

 

On Say;Text xkick;Admin;TargetPlayer;PlayerSay Did you mean %t%_;TargetAction Kick

On Say;Text xyes;Admin;TargetConfirm

On Say;Text xno;Admin;TargetCancel

 

Still, there's no pressing need to replace in-game admin which does it's job very well. The 32m.8 version of ProconRulz does have a new action 'Exec' which can be followed by any server command, so that provides fundamental additional capabilities. I did experiment with *one* command which enabled/disabled vehicles, and ProconRulz did exactly what it was supposed to do, but I was a bit gutted to find out BFBC2 only looks at the level variable at the beginning of the round so the effect was a bit lame,

 

ProconRulz can easily provide messages similar to CustomWarningBuilder, with lots of choice of Say,Yell, PlayerSay etc and flexible design of conditions for the messages - this is central to what ProconRulz does. CustomWarningBuilder *can* generate warnings based on areas of the map though and there's no comparable condition for that in ProconRulz.

 

I guess the comments re Spam messages are similar as with CustomWarningBuilder - if you wanted you could probably think of ProconRulz to produce the messages you wanted, i.e. this is what ProconRulz spends most of it's time doing.

 

But in general if a plugin does what you want and you've got it working, there isn't a huge reason to swap it out.

* Restored post. It could be that the author is no longer active.
Link to comment
  • Replies 487
  • Created
  • Last Reply

Top Posters In This Topic

  • ImportBot

    488

Originally Posted by stuckmoto*:

 

stuckmoto I didn't understand your comment:

 

You mean you see the Yell "No tank kills..." but then the player isn't killed? The rule is ok. Check the chat log to see what's in there, maybe the player was protected.

Sorry, What I saw was - the server was 6 v 7 and a tank killed someone. We saw the yell but no one was killed. It could of been a member that was protected, but we have that set to NO.

More importantly is it yelled @ 6 v 7. I believe it was the attackers(tank) that had 6. So if I understand...it's 6 or less?

Shouldn't we list it as Teamsize 5?

I'll keep an eye on the rule for a while and let you know if I can reproduce it again.

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

Originally Posted by bambam*:

 

"Teamsize 6" means the size of the smaller team is 6 or less. The condition is only designed to be used in Conquest and Rush modes. Whether the player is on attack or defence does not affect the calculation, just the size of the smaller team currently on the server.

 

So if Attackers has 7 players, and Defenders has 9 players, then the current smallest teamsize is 7 and "Teamsize 6" or "Teamsize 7" will succeed, but "Teamsize 8" will fail.Current smallest teamsize is available for action messages as the %n% variable.

 

To check your rule it will be helpful to add a Log action, e.g.

 

Log Teamsize %n%, %p% will be killed for using %w%

 

The chat log will have messages like:

 

ProconRulz: Teamsize 3, [OFc] bambam will be killed for using T90

... more messages during kill delay

Bambam killed

or "Bambam was protected from kill by ProconRulz"

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

Originally Posted by stuckmoto*:

 

OK got it :smile: I'll "log" it before implementing it right away.

My rule should be this then:

On Kill;Damage VehicleHeavy;Teamsize 5;Yell No tank kills until more than 6 players per team;Kill

 

Also - I put in your spawn message(while the server was full) it yelled to everyone which I expected, but yelled to everyone again while the round was still going.

On Spawn;Not Count 1;PlayerYell %p% welcome to the server

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

Originally Posted by bambam*:

 

lol stuckmoto sorry I should have thought more carefully - the On Spawn;Not Count 1... rule will fire for *every* player on their first spawn when a round starts, because the counts are reset then... sorry, that was just an example of a rule with a bug in it from me... you can see the concept was good but I forgot about counts resetting on round end...

 

So we're still stuck with the issue that a Say or Yell action on an On Join trigger will not be visible to the joining player. It's not as simple as putting a 'delay' on the PlayerYell action - you want the message when they first *spawn* because that's the way BFBC2 works (hence my Not Count 1 condition...). But I can't think of a way right now.

 

On a boring note, I won't be releasing a 'prod' v32 of ProconRulz until after I get back from hols in 2 weeks. I'll wait to confirm stuckmoto hasn't found a bug with his tank rulz (I'm betting he hasn't). If I *did* release v32 prod now, it would simply be the 32m.8 beta that is attached higher up this thread so if you're keen go ahead and use that one.

 

Bambam

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

Originally Posted by tarreltje*:

 

for some reason the last rule doesnt work. On our SQDM server we dont want to have people with recon kit using the shotguns, atleast spawn with it. What seems to be the problem? Also it seems that the 1 sniper each team doesnt work, im checking procon now and i see 2 people with sniperrifles constantly in 1 squad..

 

# TANK RULZ

On Kill;Damage VehicleHeavy;ban

# SNIPERRULZ

On Spawn;Damage SniperRifle 1;PlayerSay sniper limit;Kill

# SHOTGUNRULZ

On Spawn;Damage Shotgun 1;PlayerSay shotgun limit;Kill

# RECONRULZ

On Spawn;Kit Recon;Damage Shotgun;PlayerSay no recon with shotgun;Kill

 

Still haviong troubles, now i changed the sniper rule to: Kit Recon 1;kill What proconRulz now does is letting only be 1 sniper on the whole server and not each squad.. While in the FAQ is stated that the rule is made for each team

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

Originally Posted by Carbon6*:

 

Hi, currently i have these rules

 

Code:

Damage SniperRifle 2;Teamsize 6;PlayerSay >>%p%<< Sniper-rifle limit Please change weapon;Kill
Damage SniperRifle 3;Teamsize 11;PlayerSay >>%p%<< Sniper-rifle limit Please change weapon;Kill
Damage SniperRifle 4;Teamsize 14;PlayerSay >>%p%<< Sniper-rifle limit Please change weapon;Kill
Damage SniperRifle 5;PlayerSay >>%p%<< Sniper-rifle limit Please change weapon;Kill
I would like the warning to the player to be in the chatbox (like it already is) and also Yelled, But just to the player, not to the whole server like if i use 'Both'.

 

Is there a way to do this?

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

Originally Posted by stuckmoto*:

 

No. At least in the current "stable" release.

BamBam has announced a PlayerYell feature but I don't know if he included it in the beta release.

@bambam - wondering how the "welcome message" is coded to allow you to set a delay timer before an announcement?

Something like = On Spawn;Time 500;PlayerYell Welcome %p% to our server

 

as far as I know the "PlayerYell" works fine....in the 32Beta

 

Attached Files:

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

Originally Posted by Rapidorg*:

 

for some reason the last rule doesnt work. On our SQDM server we dont want to have people with recon kit using the shotguns, atleast spawn with it. What seems to be the problem? Also it seems that the 1 sniper each team doesnt work, im checking procon now and i see 2 people with sniperrifles constantly in 1 squad..

 

# TANK RULZ

On Kill;Damage VehicleHeavy;ban

# SNIPERRULZ

On Spawn;Damage SniperRifle 1;PlayerSay sniper limit;Kill

# SHOTGUNRULZ

On Spawn;Damage Shotgun 1;PlayerSay shotgun limit;Kill

# RECONRULZ

On Spawn;Kit Recon;Damage Shotgun;PlayerSay no recon with shotgun;Kill

 

Still haviong troubles, now i changed the sniper rule to: Kit Recon 1;kill What proconRulz now does is letting only be 1 sniper on the whole server and not each squad.. While in the FAQ is stated that the rule is made for each team

Tarreltje, first question; Do you have the proconrulz Beta 32m8 ? Or still running an older version of proconrulz? If you have the older version then you need to download the latest beta that is in this topic. The old proconrulz doenst understand that SQDM has 4 teams instead of 2 so that is where the problem lies.

 

Ohw and why forbid shotty's on the server? Why not exclude the "Slug Upgrade" ?

 

@ Stuckmoto: Also tried "...;...;...;PlayerYell 500 [text] ?

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

Originally Posted by tarreltje*:

 

Ye i already have the beta running, and everything is working fine now, i limit the shotguns, coz sometimes a whole team is spamming seiga or whatever. Most people love the rule sets so i dont mind.

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

Originally Posted by bambam*:

 

I'm still on vacation- back next week. In the meantime

FYI for PlayerYell, shotgun slugs, multiple-word weapon keys, and squad deathmatch support ALL need the 32m8 beta linked earlier in this thread. Docs for new features are in the plugin 'details' tab.

 

Re 'welcome' message the only proper way is to use the On Spawn trigger, NOT put a delay on On Join.

 

Experiment with On Spawn;Not Rate 2 1000000;Log test %p% welcome message

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

Originally Posted by stuckmoto*:

 

I'm still on vacation- back next week. In the meantime

FYI for PlayerYell, shotgun slugs, multiple-word weapon keys, and squad deathmatch support ALL need the 32m8 beta linked earlier in this thread. Docs for new features are in the plugin 'details' tab.

 

Re 'welcome' message the only proper way is to use the On Spawn trigger, NOT put a delay on On Join.

 

Experiment with On Spawn;Not Rate 2 1000000;Log test %p% welcome message

OK I'll give it a try!

 

edit: The welcome message appears everytime when I change it to PlayerYell. When it is "logged" it seems to only appear when they first join..As far as the tank rule - working like a charm!! I just set it to TeamSize 5

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

Originally Posted by defunkt*:

 

Suggestion

 

One of the downsides to item/class limitation with ProconRulz at present is that (AFAIK) it doesn't provide any first-come, first-served tracking. You may have been using a controlled item or class for most of the round but if you respawn at the same time as somebody else who has just chosen the same thing (making at that point for too many in total) you will both be warned/killed/punished.

 

If there's a way around this I haven't hit upon it, if you know of one please share. Otherwise I would suggest a new condition which, similar to the rule_fail_count, tracks if you passed this rule (at this particular condition) last time so we might customise the rule to allow those already using said weapon to continue to.

 

_?

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

Originally Posted by PanamaJim*:

 

Is there any mechanism within the ProconRulz that allows for counting team support actions such as Revives or Medic/Ammo pack drops/scores?

 

I'd like to create three end of round awards. One for most revives, one for most heals and one for most ammo supplies and then announce them at the end of the round.

 

Thoughts?

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

Originally Posted by Rapidorg*:

 

@defunkt:

 

True, the first come first served option isnt in ProconRulz. Maybe a good idea to prevent other players to go and take your kit.

 

@ PanamaJim:

 

I dont think so. I didnt find anything in Procon thats logs revives or resupplies. The info is most likely send to the EA servers and not to procon. Pretty much the same as with "VehicleDestroy" etc.

 

@ Tarrel:

 

Yes, we have the same issue but only we have a much stranger situation. We have 4 servers running, 2 SQDM and a rush and a conquest. All four have ProconRulz but only the SQDM servers seem to lost their connection to the layer. It is still possible to connect but only a direct connection. We didnt find out the problem for this and our IT specialist is on it as we speak.

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

Originally Posted by Xamataca*:

 

Hello

Since this is my first post at phogue's forum I want to thanks Phogue and all the plugins devs for this awesome program.

 

Now on the point:

This does give me an "Unrecognised rule":

Code:

On Kill;Teamsize 8;(Damage VehicleHeavy) or (Damage VehicleWater) or (Damage VehicleLight) or (Damage VehicleAir);PlayerSay %p% No disparar armas de vehiculos!!: equipos < 8 - No firing vehicles weapons!!: teams < 8
or

Code:

On Kill;Teamsize 8;Damage (VehicleHeavy) OR (vehicleLight) OR (VehicleAir) OR (VehicleWater);PlayerSay %p% NO FIRING vehicle's weapons = Team < 8 players
And this obviously seems to compile fine:

 

Code:

On Kill;Teamsize 8;Damage VehicleAir;PlayerSay %p% NO FIRING vehicle's weapons = Team < 8 players
On Kill;Teamsize 8;Damage VehicleWater;PlayerSay %p% NO FIRING vehicle's weapons = Team < 8 players
On Kill;Teamsize 8;Damage VehicleLight;PlayerSay %p% NO FIRING vehicle's weapons = Team < 8 players
On Kill;Teamsize 8;Damage VehicleHeavy;PlayerSay %p% NO FIRING vehicle's weapons = Team < 8 players
Are there another way to script the above without all those lines? :biggrin:

 

Thanks in advance.

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

Originally Posted by stuckmoto*:

 

Hello

Since this is my first post at phogue's forum I want to thanks Phogue and all the plugins devs for this awesome program.

 

Now on the point:

This does give me an "Unrecognised rule":

Code:

On Kill;Teamsize 8;(Damage VehicleHeavy) or (Damage VehicleWater) or (Damage VehicleLight) or (Damage VehicleAir);PlayerSay %p% No disparar armas de vehiculos!!: equipos < 8 - No firing vehicles weapons!!: teams < 8
or

Code:

On Kill;Teamsize 8;Damage (VehicleHeavy) OR (vehicleLight) OR (VehicleAir) OR (VehicleWater);PlayerSay %p% NO FIRING vehicle's weapons = Team < 8 players
And this obviously seems to compile fine:

 

Code:

On Kill;Teamsize 8;Damage VehicleAir;PlayerSay %p% NO FIRING vehicle's weapons = Team < 8 players
On Kill;Teamsize 8;Damage VehicleWater;PlayerSay %p% NO FIRING vehicle's weapons = Team < 8 players
On Kill;Teamsize 8;Damage VehicleLight;PlayerSay %p% NO FIRING vehicle's weapons = Team < 8 players
On Kill;Teamsize 8;Damage VehicleHeavy;PlayerSay %p% NO FIRING vehicle's weapons = Team < 8 players
Are there another way to script the above without all those lines? :biggrin:

 

Thanks in advance.

EDIT~ Yes you need a different line for each condition :ohmy:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by VAM*:

 

@bambam - wondering how the "welcome message" is coded to allow you to set a delay timer before an announcement?

Something like = On Spawn;Time 500;PlayerYell Welcome %p% to our server

 

as far as I know the "PlayerYell" works fine....in the 32Beta

hi,

in your New Rule set i have found this:

"Teamsize 23;Kit Recon 6;PlayerSay >>%p%

do you have a server with 46 slots? or what means 23?

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

Originally Posted by stuckmoto*:

 

Don't think so

Because every condition has to be true and you can't kill with Airvehicles and Lightvehicles at the same time.

eww...good catch! I'm on night works and kinda sleepy - lol

I was thinking it only needed 1 condition to trigger the action, not have to meet all.

I guess "On Kill;Damage HeavyVehicle;Damage SniperRifle;Kick" won't work :ohmy:

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

Originally Posted by stuckmoto*:

 

hi,

in your New Rule set i have found this:

"Teamsize 23;Kit Recon 6;PlayerSay >>%p%

do you have a server with 46 slots? or what means 23?

That rule is fine - Teamsize23 means "equals to or less than"

We have a "On Kill;Teamsize 5;Damage VehicleHeavy;Yell No Tanks Till 6 V 6;Kill" on our server.

As far as I know the game is limited to 32 man...

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