Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by ty_ger07*:

 

That does sound a bit easier lol :biggrin:

We're trying to use as few plugins as possible, so I'm trying to do with with ProconRulz.

Oh cool.

 

Yeah, that sounds like a fun project.

 

I would make sure that your code only adjusts the server size if their are greater than a certain number of tickets remaining and then make sure you set the server size to max size before the end of the round after the tickets drop below the low ticket threshold.

 

Should work well.

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

Originally Posted by Shamrock*:

 

Thanks, ty_ger.

 

Question: if I use the On Join command, does the %team_score% variable work for that person, seeing as they are not yet in the game and they and not yet in a team?

 

EDIT: if I use, for example:

Code:

On Join;If %server_team_score[1]% <= 20 || %server_team_score[2]% <= 20;Do something
Can we use the OR clause in the condition?

 

EDIT again: the above does not work, but is there anything similar I can use without duplicating some of the rulz? Thanks.

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

Originally Posted by bambam*:

 

Thanks, ty_ger.

 

Question: if I use the On Join command, does the %team_score% variable work for that person, seeing as they are not yet in the game and they and not yet in a team?

 

EDIT: if I use, for example:

Code:

On Join;If %server_team_score[1]% <= 20 || %server_team_score[2]% <= 20;Do something
Can we use the OR clause in the condition?

 

EDIT again: the above does not work, but is there anything similar I can use without duplicating some of the rulz? Thanks.

The %server_team_score[1]% bit is ok (when a player joins I think their team id = 0), it's your "||" that's dodgy. The ";" between ProconRulz conditions is effectively an AND (aka &&), while OR is provided by using multiple rulz:

 

On Join

If %server_team_score[1]%

If %server_team_score[2]%

 

If your "do something" is complicated and you don't want to repeat it between rulz, you can use a temporary variable in between, e.g.

 

On Join

Set %server_do_something% no

If %server_team_score[1]%

If %server_team_score[2]%

If %server_do_something% == yes;Do something

 

BUT here's Boolean algebra 101: you want a rule to "Do something" if teamscore[1]20 AND teamscore[2] is >20:

 

On Join

Set %server_do_something% yes

If %server_team_score[1]% > 20;If %server_team_score[2]% > 20;Set %server_do_something% no

If %server_do_something% == yes;Do something

 

If you're not worried about LATER "On Join" rulz, you could do what you want with an "End":

 

On Join

If %server_team_score[1]% > 20;If %server_team_score[2]% > 20;End

Do something

 

What do you want to do on 'Join'? It seems an odd time to check %team_score% - you could just as easily do that when they first spawn

 

On Spawn;PlayerFirst;If %team_score%

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

Originally Posted by Leitwolf*:

 

Hi Guys,

 

i try to set this rule:

 

On Kill; Weapons/Gadgets/C4/C4; Yell 5 %p% OWNED %v% with C4

 

but i got the Message: Unrecognised rule On Kill...

 

What´s wrong with it?

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

Originally Posted by ty_ger07*:

 

Hi Guys,

 

i try to set this rule:

 

On Kill; Weapons/Gadgets/C4/C4; Yell 5 %p% OWNED %v% with C4

 

but i got the Message: Unrecognised rule On Kill...

 

What´s wrong with it?

"Weapons/Gadgets/C4/C4" means nothing on its own. You need to use "Weapon Weapons/Gadgets/C4/C4" so that the plugin knows that "Weapons/Gadgets/C4/C4" is a weapon key and not a damage or kit key.

 

On Kill;Weapon Weapons/Gadgets/C4/C4;Yell 5 %p% OWNED %v% with C4

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

Originally Posted by psylince*:

 

On Kill; Weapon Melee; Say %p% Owned %v% with his blade! Feel ashamed Soldier!

 

 

This does work 100%! all you would need to do is change the wording for "owned" and after the %v% to what ever flaots your boat.

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

Originally Posted by ty_ger07*:

 

On Kill; Weapon Melee; Say %p% Owned %v% with his blade! Feel ashamed Soldier!

 

 

This does work 100%! all you would need to do is change the wording for "owned" and after the %v% to what ever flaots your boat.

Well, it won't work 100% because it won't count a knife slash kill. That would only announce a knife kill where the player takes the victim's dog tags.

 

If you want to announce every knife kill, you need to include the other kind of knife kill.

 

On Kill;Weapon Melee,Weapons/Knife/Knife;Say %p% Owned %v% with his blade! Feel ashamed Soldier!

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

Originally Posted by bambam*:

 

yes

the answer is "No"... BF3 does not report destruction of vehicles - all you know is the people were killed, e.g. with a rocket, the same as if they were killed while standing in a field...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by philipp378*:

 

the answer is "No"... BF3 does not report destruction of vehicles - all you know is the people were killed, e.g. with a rocket, the same as if they were killed while standing in a field...

I didn't mean destraction. I mean while people ARE IN tank or heli.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Athlon*:

 

I didn't mean destraction. I mean while people ARE IN tank or heli.

Procon does not report where players are either, or whether or not they are in or out of a vehicle.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bambam*:

 

I didn't mean destraction. I mean while people ARE IN tank or heli.

The answer is still "no"...

 

BF3 does not report when people get into a vehicle.

 

It does not report when they get out of a vehicle.

 

It does not report that they were in a vehicle when they were killed.

 

All you have to work with is "fred killed barney with SMAW" - you cannot tell whether Barney was seated in a Main Battle Tank or standing in a field when he went to meet his maker.

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

Originally Posted by Apex40000*:

 

Hi Guys

 

I'm looking for how to setup up for BF3 !rules ---- which will basically --once typed in the chat box then displays the rules of the server to that player or all players on the server -- I have seen this on other servers but i can't figure out where or how to set this up..

 

Any help on doing this we be great or if you can point me to the right direction that would be great too.

 

Many thanks

 

FMUK apex40000

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

Originally Posted by Guest**:

 

from the plugin settings set server Rulz Message enable to "yes" go down a bit in the settings to Server Rulz message that has a plus sign next to it. open the String[]Array and type your server's rules.

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

Originally Posted by Apex40000*:

 

Hi Bits&Bytes

I have already have rules being spammed in the chat box at the mo but I was hoping to only have them show up in the chat box- When some one types in -----!rules -------

 

Can you confirm that what you said below does this or is that just a chat line message?

 

Many thanks

 

FMUK apex40000

 

from the plugin settings set server Rulz Message enable to "yes" go down a bit in the settings to Server Rulz message that has a plus sign next to it. open the String[]Array and type your server's rules.

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

Originally Posted by ty_ger07*:

 

Yes, the plugin supports the rules command.

 

Enable the !rules feature, and then type the rules into the rules array. Then, if someone types !rules, the rules in the rules array are displayed in the chat box.

 

Be sure to summarize your rules in a brief manner since the rules can only be 4 lines long. If the rules are more than 4 lines long, only the last 4 lines are displayed.

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

Originally Posted by MAJORmk*:

 

For your new section, 3 servers using it :

 

http://battlelog.battlefield.com/bf3...rt-Canals-1-3/

http://battlelog.battlefield.com/bf3...IR-MAPS-Metro/

http://battlelog.battlefield.com/bf3...am-des-fra-fr/

 

From a long time user disapointed by the "On Spawn" limitation :'( But glad by the rest of it !

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

Originally Posted by bambam*:

 

For your new section, 3 servers using it :

 

http://battlelog.battlefield.com/bf3...rt-Canals-1-3/

http://battlelog.battlefield.com/bf3...IR-MAPS-Metro/

http://battlelog.battlefield.com/bf3...am-des-fra-fr/

 

From a long time user disapointed by the "On Spawn" limitation :'( But glad by the rest of it !

coolio - added to server list on 1st post - thanks. The "On Spawn" limitation is lame, I agree, as with the "specialization/accessory" lack of data. With BFBC2 we can easily limit snipers or nerf 500meter 12-gauge-slugs sniper kills, with BF3 we took a bit of a step backwards.

 

Bambam

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

Originally Posted by bambam*:

 

bambam - the two servers linked in my sig also use your great plugin!

okeydoke -added - "No Muppets" _... that's the most ridiculous thing I've heard, it'll never work. What about if Miss Piggy uses a different player name? Anyway I think Gonzo should be allowed in.

 

Bambam

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

Originally Posted by Apex40000*:

 

Brilliant

Many thanks for all your help this will help to cut back the chat message spam that comes from True balance and my current rulez spammer he heh :-)

 

Thanks

 

FMUK apex40000

 

Yes, the plugin supports the rules command.

 

Enable the !rules feature, and then type the rules into the rules array. Then, if someone types !rules, the rules in the rules array are displayed in the chat box.

 

Be sure to summarize your rules in a brief manner since the rules can only be 4 lines long. If the rules are more than 4 lines long, only the last 4 lines are displayed.

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