Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by bambam*:

 

In summary for this 'vehicle limitation' stuff, have a look at Example 9 in the plugin post at the top of this page. The only thing possible in BF3 is to check for a kill by "Weapon Death" which means in BF3 a player was killed by either a shell from a vehicle or the mortar. So you can basically have a rule On Kill;Weapon Death;Kill which will make vehicle kills suicidal (and mortar kills, but you cannot help that). As usual with ProconRulz you can make the rule more detailed than that, e.g. when teams are small, on a particular map, etc etc, but that is the basic idea.

 

BF3 does not give any data when a player enters or leaves a vehicle so no plugin can possibly take action at that time (you only discover they were in a vehicle when a 'kill' event occurs.

 

See Example 9 at top of this page.

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

Originally Posted by Klointhehood*:

 

how to forbid the usas-12?

 

i tryed this but it didnt work :sad:

 

On Kill;USAS-12;PlayerCount 2;Say %p% kicked for 1 hour using the USAS-12 on this server;TempBan 3600

On Kill;USAS-12;PlayerCount 1;Say %p% it's your last chance m8!;Kill

On Kill;USAS-12;PlayerCount 0;Say %p% USAS-12 is not allowed on this server!;Kill

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

Originally Posted by tarreltje*:

 

how to forbid the usas-12?

 

i tryed this but it didnt work :sad:

 

On Kill;USAS-12;PlayerCount 2;Say %p% kicked for 1 hour using the USAS-12 on this server;TempBan 3600

On Kill;USAS-12;PlayerCount 1;Say %p% it's your last chance m8!;Kill

On Kill;USAS-12;PlayerCount 0;Say %p% USAS-12 is not allowed on this server!;Kill

use Weapon USAS-12. So On Kill;Weapon USAS-12;bladibla
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bambam*:

 

Major updated to ProconRulz just uploaded - 43b.8

 

Thanks to KTwo and tarreltje for testing.

 

New features include:

 

* new logging options so you can control where the 'Log' actions in your rulz write to, e.g. chat log, events log, console log, plugin log or disable logging. This is added via a new ProconRulz plugin setting via the usual Procon tab.

 

* Arithmetic now available in rulz i.e. you can add/divide etc so you can calculate K/D ratios etc if you need that. Also 'rounding' is provided to limit the number of decimal places, helpful if you chat or yell the result. Arithmetic is allows in 'Set' statements (e.g. Set %x% %y%+%z%) and also in 'If' statements directly (e.g. If %kills%/%deaths% > 5). Rounding is provided in the variable name format e.g. %x.3% is a variable limited to 3 decimal places.

 

* Persistent variable values can be stored. This is achieved using a new %ini_...% variable name format, and the values are stored in a text file in the Procon/Configs folder. I.e. %ini_

_%. These variables can (if desired) be editted using Notepad, but otherwise they behave the same as any other ProconRulz variable except they are not reset to 0 at round end.

 

* New substitution vars are provided i.e.

Date/time: %ymd% holds YEAR_MONTH_DAY e.g. 2012_08_21, %hms% holds HOUR:MINUTES:SECONDS e.g. 18:23:45

Seconds counter: %seconds% holds the number of seconds since Jan 1 2012 - you can use subtraction to calculate an interval

Team sizes: %n% is size of smallest team (this was in prior versions). %ts1% is # of players in team 1, %ts2% is # players in team 2, %pts% is # players in the team of the current player that triggered this rule.

 

Please read the ONLINE DOCS for the details of these new features - do not try and guess how to use them.

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

Originally Posted by Large_Pudding*:

 

Thumbs up+ :ohmy:

 

Do you have any idea as to when your docs shall be updated to include %ini% etc.

I did have a play at work... to no avail

I know it's still early...but this is rather fab thank you muchly!

 

ps.. you have a pm BamBam

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

Originally Posted by bambam*:

 

"Example 19 - Server Stats" added to the ProconRulz examples in the top post of this thread. Credit tarreltje.

 

The rulz accumulate and display the 1st/2nd/3rd players on the server with the most accumulated kills & knife kills. The rulz are also the first example using the new "ini" vars that are stored persistently i.e. the values are kept through server/procon/proconrulz restarts.

 

Thanks to tarreltje for providing the rulz.

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

Originally Posted by Large_Pudding*:

 

Additional idea for the new %ini% vars by BamBam and the boys:

A method of setting 1 or 2 players as unique 'civilians' that must be kept alive at all costs by their team. Should they die by either kill or suicide, the opposing team wins:

 

Simply get your selected civilian to type @c1 or 2 at the beginning of the round prior to spawn.

This can be tested by the use of @ini rule below.

User @d to delete the playnames

Obviously best on an runranked server as to not annoy people.

 

 

On Say; Text @ini; Say Civilian Name #1 : %ini_civilian_playername1%; Say Civilian Name #2 : %ini_civilian_playername2%

On Say; Text @d; Set %ini_civilian% 0

On Say; Text @c1; Set %ini_civilian_playername1% %p%

On Say; Text @c2; Set %ini_civilian_playername2% %p%

 

On Kill

if %v% == %ini_civilian_playername1%; Set %server_endround[%ptk%]% 1

if %v% == %ini_civilian_playername2%; Set %server_endround[%ptk%]% 1

if %server_endround[%ptk%]% == 1; if %ptk% == 1; Exec mapList.endRound 1

if %server_endround[%ptk%]% == 1; if %ptk% == 2; Exec mapList.endRound 2

 

On Suicide

if %p% == %ini_civilian_playername1%; Set %server_endround[%ptk%]% 1

if %p% == %ini_civilian_playername2%; Set %server_endround[%ptk%]% 1

if %server_endround[%ptk%]% == 1; if %ptk% == 1; Exec mapList.endRound 2

if %server_endround[%ptk%]% == 1; if %ptk% == 2; Exec mapList.endRound 1

 

An additional variant has been plopped together to set the civilians @ a lower health threshold with remaining teams on normal, however the teams must agreen to not use medipacks. This can be provided by request

 

Enjoy

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

Originally Posted by bambam*:

 

On Kill;Map Subway Map_017;Damage Shotgun/M67/C4/SMAW/RPG/USAS/M26;PlayerCount 1 rules;Log %p% kicked ;Kick %p% rules

 

 

OK???

Pretty good...

On Kill;Map Subway,017;

Damage Shotgun;Log %p% kicked for shotgun %w%;Kick %p% rules

Weapon M67,C4,SMAW,RPG-7,M26;Log %p% kicked;Kick %p% rules

 

You MUST check your codes for maps, weapons and damage. You cannot just guess these codes. RPG-7 is correct, not RPG. I have not checked the all.

 

Map condition is Metro or Noshahar Canals - That what you wanted?

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

Originally Posted by Layenne*:

 

hello

can we have some exemple of new rules who can be used since new update.

can we use it for making players stats on server ?

give us your rules bambam maybethat will help us to understand.

 

hard for french to understand that.

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

Originally Posted by Byter*:

 

Hi everyone...

 

Yesterday I pm'ed bambam but I thought I should ask here, too.

 

I wrote a little time difference program which converts seconds (from now to the event).

 

Because calculations like that are not possible in ProConRulz I made my own program which reads the ini and writes back the results...

 

Take a look: http://general-physics.de/gp-files/b...inichanger.png (The design is not final too. Maybe I'll change it completely)

 

Some text is still german but that image is from yesterday :P

 

Everything is working and translated, too. I'm not sure whether I should create a own thread for it (or for other programs I'll write).

 

Thats how it works:

 

ProConRulz calculates the remaining seconds until the event (like Armored Kill) and writes it in the ini file.

After that my program reads that, calculates the result and writes them down in the ini.

 

To see it in action connect to: http://battlelog.battlefield.com/bf3...-d8c08be95256/

 

You have to !register to use the !event command :ohmy:

 

If a mod thinks this belongs to a own thread, move it :smile:

 

MfG

- Byter

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

Originally Posted by tarreltje*:

 

hello

can we have some exemple of new rules who can be used since new update.

can we use it for making players stats on server ?

give us your rules bambam maybethat will help us to understand.

 

hard for french to understand that.

Look at the first page of this tread, i have made rulz, were you can save stats of your players on the server, So it will show like who the most kills have made on your server
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LoGiCalDrm*:

 

Hey,

thanks for great plugin. Got some ingame settings changers running well.

On Say;Admin;Text !inf;Exec vars.vehicleSpawnAllowed false;Say Infantry Mode = On;Exec mapList.restartRound

On Say;Admin;Text !match;Exec vars.vehicleSpawnAllowed true;Exec vars.vehicleSpawnDelay 100;Say Match Mode = On;Exec mapList.restartRound

On Say;Admin;Text !fun;Exec vars.vehicleSpawnAllowed true;Exec vars.vehicleSpawnDelay 1;Say Fun Mode = On;Exec mapList.restartRound

 

This last one gives me headache. I want to make rule to easy change level and gamemode ingame. I tried this one without result:

On Say;Admin;Text !map %m% %mm%;Map %m%;MapMode %mm%;Exec mapList.runNextRound

 

Is it even possible to make it this easy or do I really have to put line for all of maps in maplist?

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

Originally Posted by superman50*:

 

HI ~!~~thank you very much ~~

On Kill;Map Subway,017;Damage Shotgun;Log %p% kicked for shotgun %w%;Kick %p% rules

On Kill;Map Subway,017;Weapon M67,C4,SMAW,RPG-7,M26,M320;Log %p% kicked;Kick %p% rules

but [20:36:40 96] ProconRulz: Warning, weapon C4 not found in Procon

[20:36:40 96] ProconRulz: Warning, weapon M26 not found in Procon

what wrong~~_engish not good sorry~~~~

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

Originally Posted by MDV666*:

 

# Warning for RPG/tube use on Subway on first kill in this round

On Kill;Map Subway;ServerFirst;Yell NOT RPG SMAW M320 Metro-KICK! GP30-BAN!

On Kill;Map Subway;Damage ProjectileExplosive;Count 1;Yell %p% [Autokick] %p% kicked for Rocket/M320 use on Metro (2);Kick %p% No RPG on Metro

On Kill;Map Subway;Damage ProjectileExplosive;PlayerYell %p% [Autokill] %p% This is Warning %c% of 2 for RPG/M320 on Metro;Kill 100

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

Originally Posted by LoGiCalDrm*:

 

OK here's another question. First, I decided to write every map on my maplist to easy change them ingame. Ie.

On Say;Admin;Text !kharg64;Exec mapList.setNextMapIndex 0;Say Changing map to Kharg Island CQ64;Exec mapList.runNextRound

 

Is there command to make server wait like 5 secs before executing map change? I couldn't find anything related in docs or using search.

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

Originally Posted by vilee*:

 

does there any way to get the nextmap mode ?

 

i want change the server setting . need next map mode name :sad:

 

On Round;if &Nextmapmode& == Rush;Exec vars.thirdPersonVehicleCameras false

On Round;if &Nextmapmode& == Rush;Exec vars.hardCore true

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