Jump to content

ProconRulz - Sniper limiter v2.7 by Tarreltje


ImportBot

Recommended Posts

Originally Posted by Scarab*:

 

I see where ProconRulz allows for a white list exemption, but I don't think it works with the Sniper Limit. Has anyone else had an opportunity to see if you can exempt an admin or reserved player from the sniper limit code yet? What did you do to get it to work?

 

Did a quick search for Whitelist, white list, exempt, but nothing was found.

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

Originally Posted by tarreltje*:

 

Ive always used my sniper limit with proconrulz set to exclude admins. That way as an admin you can always snipe. You mostly get to see that you have been killed by the limit for 1 time.

 

Dont do this with like 3 admins, because then your normal players cant snipe

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

Originally Posted by Honeybadger24*:

 

where is the whitelist being pulled from, cause it's only letting 2 people from the clan to be the so called 3rd person

 

we have the limit set to 2 drm/sniper but 2 people from the clan who r the 3rd person won't get killed

 

but when im the 3rd person....i get killed even tho im on all the same whitelists as the other 2

 

any idea y this is happening?

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

Originally Posted by Honeybadger24*:

 

not tru......i am admin...with full procon powers....on ALL whitelists....and i still get killed from it

 

i dont understand why it's protecting the other 2 who are procon admins but not me ... we are all full procon and all on same lists

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

Originally Posted by tarreltje*:

 

Is your name on the procon accounts list exactly the same as ingame? Ive had this also 1 time the ive made a player admin but due a misplaced letter, the admin keep getting killed by proconrulz.

 

Theoraticly no mather what rules you write, if you set proconrulz to ignore admins they wont get killed!

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

Originally Posted by Brodatv*:

 

Or you can modify this code a little:

 

On Kill;Not Protected (...)

 

Add this thing - Not Protected - before each "Kill" (...) line. For example:

 

On Kill;Not Protected;Damage SniperRifle;

 

So, thanks to this only normal players will be catched by this code, Reserved Slots and Admins will not be killed or even counted in SniperLimit. But as tarreltje said, you should check out admin names and stuff in ProCon, cuz it shouldn't kill you when you are an admin. In tarreltje's code even you as an admin will reserve slot after killing using sniperrifle, but you shouldn't be killed if you don't have slot.

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

Originally Posted by tarreltje*:

 

Or you can modify this code a little:

 

On Kill;Not Protected (...)

 

Add this thing - Not Protected - before each "Kill" (...) line. For example:

 

On Kill;Not Protected;Damage SniperRifle;

 

So, thanks to this only normal players will be catched by this code, Reserved Slots and Admins will not be killed or even counted in SniperLimit. But as tarreltje said, you should check out admin names and stuff in ProCon, cuz it shouldn't kill you when you are an admin. In tarreltje's code even you as an admin will reserve slot after killing using sniperrifle, but you shouldn't be killed if you don't have slot.

I think his name is mispelled, since 2 other admins wont get killed!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Honeybadger24*:

 

i was hoping it was the way my name was spelled but it's not....it's dead on no missing letters....no missin caps....everything is the same as my origin name

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

Originally Posted by Brodatv*:

 

So, do you have admin options in the game? Is the game recognizing you as an admin? Can you kick someone or use commands?

If yes, just add these stuff as I said:

 

On Kill;Not Protected (rest of the code)

 

In several places through code.

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

Originally Posted by Kal-El*:

 

I have found a problem using this code, when someone has a sniper slot but is then auto balanced to the other team.

Their slot is still occupied by them on their previous team unless of course they give the slot up by using different weapons.

 

Simple solution to this possible?

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

Originally Posted by DER_M4DE*:

 

Hello I would like a Shotgunlimit run on our server .

I 've tried it , but it does not work.

the limit should be for all classes/ Kits Assault, Support, Sniper and Pionier.

thanks for help.

 

sry for my bad english (its translatet by Google)

 

# SET THE MAX # OF SHOTGUNS HERE:

On Kill;ServerFirst;Set %server_shotgunlimit% 3

On Say;ServerFirst;Set %server_shotgunlimit% 3

 

# SNIPER LOG MESSAGES

On Spawn;If %server_sl_sniper[%p%]% == 1;Log Sniper, %pt% %p% re-spawned. %server_sl_total[%ptk%]% shotguns per team %ptk%

On Kill;If %server_sl_sniper[%v%]% == 1;Log Sniper %vtk% %v% killed. %server_sl_total[%vtk%]% shotguns per team %vtk%

 

# SHOTGUN KILL CHECKS either over limit (so kill), existing sniper (do nothing), new sniper (reserve slot)

On Kill;Damage Shotgun;

If %server_sl_total[%ptk%]% >= %server_shotgunlimit%;if %server_sl_sniper[%p%]% == 0;PlayerSay -;PlayerSay - %p% killed by SHOTGUN LIMIT max %server_shotgunlimit%;PlayerSay -;Log Sniper Limit max %server_shotgunlimit% Shotguns pro Team !!! (now Kill %p%);Kill

If %server_sl_sniper[%p%]% == 1;Log %ptk% %p% still a sniper, %server_sl_total[%ptk%]% shotguns on team %ptk%

If %server_sl_sniper[%p%]% == 0;Incr %server_sl_total[%ptk%]%;Set %server_sl_sniper[%p%]% 1;Set %server_sl_x% %server_sl_total[%ptk%]%;Set %server_sl_snipername[%ptk%][%server_sl_x%]% %p%;PlayerSay -;PlayerSay - DU has einen SHOTGUN SLOT !!! %server_sl_total[%ptk%]%/%server_shotgunlimit%;PlayerSay -;Log %ptk% %p% is new sniper, %server_sl_total[%ptk%]%/%server_shotgunlimit% Shotguns pro Team %ptk%

 

# FREE UP SNIPER SLOT IF SNIPER HAS NON-SNIPER KILL OR SNIPER LEAVES

On Kill;Not Damage Shotgun;Not Damage Handgun;Not Damage Melee;Not Damage Explosive;If %server_sl_sniper[%p%]% == 1;Set %server_sl_sniper[%p%]% 0;Decr %server_sl_total[%ptk%]%;TeamSay -;TeamSay - %p% gave up his Shotgun slot!!!;TeamSay -;Log Ex-sniper %p% used %d% %wk%, %server_sl_total[%ptk%]% Shotguns pro Team %ptk%

On Leave;If %server_sl_sniper[%p%]% == 1;Set %server_sl_sniper[%p%]% 0;Decr %server_sl_total[%ptk%]%;TeamSay -;TeamSay - %p% gave up his SHOTGUN slot !!!;TeamSay -;Log Sniper %pt% %p% left server. %server_sl_total[%ptk%]% Shotguns pro Team %ptk%

 

# !snipers / !sniperx INFO MESSAGES

On Say;Text !snipers;

PlayerSay Sniper limit: %server_sl_total[%ptk%]%/%server_sniperlimit%. Reserve slot with sniper kill, lose it with non-sniper/handgun kill.

If %server_sl_total[%ptk%]% == 0;PlayerSay 0/%server_sniperlimit% SNIPERS on team %pt%

If %server_sl_total[%ptk%]% > 0;PlayerSay %pt% SNIPER[1/%server_sniperlimit%] is %server_sl_snipername[%ptk%][1]%

If %server_sl_total[%ptk%]% > 1;PlayerSay %pt% SNIPER[2/%server_sniperlimit%] is %server_sl_snipername[%ptk%][2]%

If %server_sl_total[%ptk%]% > 2;PlayerSay %pt% SNIPER[3/%server_sniperlimit%] is %server_sl_snipername[%ptk%][3]%

If %server_sl_total[%ptk%]% > 3;PlayerSay %pt% SNIPER[4/%server_sniperlimit%] is %server_sl_snipername[%ptk%][4]%

 

On Say;Text !sniperx;

PlayerSay SNIPERS: Team 1: %server_sl_total[1]%/%server_sniperlimit%, Team 2: %server_sl_total[2]%/%server_sniperlimit%

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

Originally Posted by burt568*:

 

Hello, this looks great, I am the admin of a BF3 server and would like to limit the snipers just from the Metro Map, is there an easy way to modify this set of Rulz to make it work "just on Metro"?

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

Originally Posted by LjMjollnir*:

 

should be easy enough..

 

look for the line that says something like this

 

On Kill;Damage SniperRifle

and change it to

On Kill;Damage SniperRifle;Not Weapon AMR;Not weapon some other code

 

Note ^^ AMR is not the right code but i cant be stuffed looking it up right now :ohmy: if you have Procronrulz (which i assume you do for this script) check the details page to find the codes

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

Originally Posted by Chilace*:

 

should be easy enough..

 

look for the line that says something like this

 

On Kill;Damage SniperRifle

and change it to

On Kill;Damage SniperRifle;Not Weapon AMR;Not weapon some other code

 

Note ^^ AMR is not the right code but i cant be stuffed looking it up right now :ohmy: if you have Procronrulz (which i assume you do for this script) check the details page to find the codes

Is this correct:

On Kill;Damage SniperRifle;Not Weapon U_AMR2,U_AMR2_CQB,U_AMR2_MED,U_M82A3,U_M82A3_CQB,U _M82A3_MED;...

or this:

On Kill;Damage SniperRifle;Not If %wk% contains U_AMR2,U_M82A3;...

_?

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

Originally Posted by LjMjollnir*:

 

Is this correct:

On Kill;Damage SniperRifle;Not Weapon U_AMR2,U_AMR2_CQB,U_AMR2_MED,U_M82A3,U_M82A3_CQB,U _M82A3_MED;...

or this:

On Kill;Damage SniperRifle;Not If %wk% contains U_AMR2,U_M82A3;...

_?

Probably :ohmy:.. you'l have to test it out.. ive never used this script before. i'd go with the first of the 2 lines ya put
* Restored post. It could be that the author is no longer active.
Link to comment
  • 3 weeks later...

Originally Posted by Remi*:

 

Bump.

 

Possible to create a sniper limit (BF4) with all bolt rifles except the pick-up weapons (AMR etc.)?

 

Hope someone can help me, I've tried the other suggestions, but did not work.

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

Originally Posted by Predator5488*:

 

How about a rule to kick sniper/dmr they are not listening when they have no Sniper Slot? We would that they where kicked when they got 3 Times killed after that they should get kick when they have no slot.

We are using your Sniper Limiter V2.7.

Thanks.

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

Originally Posted by NL-WARFACE*:

 

Our server is running on a sniper limit of 3 (BF4) but we got some problems with the pick-up sniper rifles.

Does anyone of u know how to edit the file so sniper rifles stays at 3/3 except EMR enc.?

 

+ How to delete the spamm in our chat.

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

Originally Posted by Anitchy*:

 

Hope somebody can help me out here.

We have a bf4 server and are trying to add a sniper limit as well as an lmg limit. But when we activate both limiters the slots get messed up. (So instead of creating 6 lmg slots and 5 sniper slots it creates a total of 6 slots in totall)

I am a total noob when it comes to scripting, but I do suspect it is because of the definition server_sl_total, But have no clue how or into what I should change it. Or is it something else that is the cause?

Could somebody have a look at the code and help me out please?

Thanks in advance

 

---------------------------------------------------------------------------------------------------------

##### LMG LIMIT #####

On Kill;ServerFirst;Set %server_lmglimit% 6

On Say;ServerFirst;Set %server_lmglimit% 6

 

On Spawn;If %server_sl_lmg[%p%]% == 1;Log lmg %pt% %p% re-spawned. %server_sl_total[%ptk%]% lmgs on team %ptk%

On Kill;If %server_sl_lmg[%v%]% == 1;Log lmg %vtk% %v% killed. %server_sl_total[%vtk%]% lmgs on team %vtk%

On Kill;Damage LMG;

If %server_sl_total[%ptk%]% >= %server_lmglimit%;if %server_sl_lmg[%p%]% == 0;PlayerSay - %p% killed by LMG LIMIT max %server_lmglimit%;Log lmg Limit max %server_lmglimit% lmgs each team !!! (now Kill %p%);Kill

If %server_sl_lmg[%p%]% == 1;Log %ptk% %p% still lmg, %server_sl_total[%ptk%]% lmgs on team %ptk%

If %server_sl_lmg[%p%]% == 0;Incr %server_sl_total[%ptk%]%;Set %server_sl_lmg[%p%]% 1;Set %server_sl_x% %server_sl_total[%ptk%]%;Set %server_sl_lmgname[%ptk%][%server_sl_x%]% %p%;PlayerSay - YOU HAVE A LMG SLOT !!! %server_sl_total[%ptk%]%/%server_lmglimit%;Log %ptk% %p% is new lmg, %server_sl_total[%ptk%]%/%server_lmglimit% lmgs on team %ptk%

 

On Kill;Not Damage LMG;Not Damage Handgun;Not Damage Melee;Not Damage Explosive;If %server_sl_lmg[%p%]% == 1;Set %server_sl_lmg[%p%]% 0;Decr %server_sl_total[%ptk%]%;TeamSay - %p% gave up his LMG slot!!!;Log Ex-lmg %p% used %d% %wk%, %server_sl_total[%ptk%]% lmgs on team %ptk%

 

On Leave;If %server_sl_lmg[%p%]% == 1;Set %server_sl_lmg[%p%]% 0;Decr %server_sl_total[%ptk%]%;TeamSay - %p% gave up his LMG slot !!!;Log lmg %pt% %p% left server. %server_sl_total[%ptk%]% lmgs on team %ptk%

On Say;Text !lmg;PlayerSay LMG limit: %server_sl_total[%ptk%]%/%server_lmglimit%

 

##### SNIPER LIMIT V2.7 ONLY BOLT ACTION #####

 

# SET THE MAX # OF SNIPERS HERE:

On Kill;ServerFirst;Set %server_sniperlimit% 5

On Say;ServerFirst;Set %server_sniperlimit% 5

 

# SNIPER LOG MESSAGES

On Spawn;If %server_sl_sniper[%p%]% == 1;Log Sniper %pt% %p% re-spawned. %server_sl_total[%ptk%]% snipers on team %ptk%

On Kill;If %server_sl_sniper[%v%]% == 1;Log Sniper %vtk% %v% killed. %server_sl_total[%vtk%]% snipers on team %vtk%

 

# SNIPER KILL CHECKS either over limit (so kill), existing sniper (do nothing), new sniper (reserve slot)

On Kill;Damage SniperRifle;

If %server_sl_total[%ptk%]% >= %server_sniperlimit%;if %server_sl_sniper[%p%]% == 0;PlayerSay -;PlayerSay - %p% killed by SNIPER LIMIT max %server_sniperlimit%;PlayerSay -;Log Sniper Limit max %server_sniperlimit% snipers each team !!! (now Kill %p%);Kill

If %server_sl_sniper[%p%]% == 1;Log %ptk% %p% still a sniper, %server_sl_total[%ptk%]% snipers on team %ptk%

If %server_sl_sniper[%p%]% == 0;Incr %server_sl_total[%ptk%]%;Set %server_sl_sniper[%p%]% 1;Set %server_sl_x% %server_sl_total[%ptk%]%;Set %server_sl_snipername[%ptk%][%server_sl_x%]% %p%;PlayerSay -;PlayerSay - YOU HAVE A SNIPER SLOT !!! %server_sl_total[%ptk%]%/%server_sniperlimit%;PlayerSay -;Log %ptk% %p% is new sniper, %server_sl_total[%ptk%]%/%server_sniperlimit% snipers on team %ptk%

 

# FREE UP SNIPER SLOT IF SNIPER HAS NON-SNIPER KILL OR SNIPER LEAVES

On Kill;Not Damage SniperRifle;Not Damage Handgun;Not Damage Melee;Not Damage DMR;Not Damage Explosive;If %server_sl_sniper[%p%]% == 1;Set %server_sl_sniper[%p%]% 0;Decr %server_sl_total[%ptk%]%;TeamSay -;TeamSay - %p% gave up his SNIPER slot!!!;TeamSay -;Log Ex-sniper %p% used %d% %wk%, %server_sl_total[%ptk%]% snipers on team %ptk%

On Leave;If %server_sl_sniper[%p%]% == 1;Set %server_sl_sniper[%p%]% 0;Decr %server_sl_total[%ptk%]%;TeamSay -;TeamSay - %p% gave up his SNIPER slot !!!;TeamSay -;Log Sniper %pt% %p% left server. %server_sl_total[%ptk%]% snipers on team %ptk%

 

# !sniper / !sniperx INFO MESSAGES

On Say;Text !sniper;

PlayerSay Sniper limit: %server_sl_total[%ptk%]%/%server_sniperlimit%. Reserve slot with sniper kill, lose it with non-sniper/handgun kill.

If %server_sl_total[%ptk%]% == 0;PlayerSay 0/%server_sniperlimit% SNIPERS on team %pt%

If %server_sl_total[%ptk%]% > 0;PlayerSay %pt% SNIPER[1/%server_sniperlimit%] is %server_sl_snipername[%ptk%][1]%

If %server_sl_total[%ptk%]% > 1;PlayerSay %pt% SNIPER[2/%server_sniperlimit%] is %server_sl_snipername[%ptk%][2]%

If %server_sl_total[%ptk%]% > 2;PlayerSay %pt% SNIPER[3/%server_sniperlimit%] is %server_sl_snipername[%ptk%][3]%

If %server_sl_total[%ptk%]% > 3;PlayerSay %pt% SNIPER[4/%server_sniperlimit%] is %server_sl_snipername[%ptk%][4]%

If %server_sl_total[%ptk%]% > 4;PlayerSay %pt% SNIPER[5/%server_sniperlimit%] is %server_sl_snipername[%ptk%][5]%

 

On Say;Text !sniperx;

PlayerSay SNIPERS: Team 1: %server_sl_total[1]%/%server_sniperlimit%, Team 2: %server_sl_total[2]%/%server_sniperlimit%

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

Originally Posted by GroteSlurf*:

 

love the rules m8.. good job.

 

just a noob quetsion since i'm completely new to ProCon.. is there any way that i can filter out this 'playersay' from my chat window on the procon app? so my chat panel keeps clean and shows only the chat between players? or is that impossible.

 

thx!

 

Grote

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

Originally Posted by rimmy*:

 

Is it possible to set the rules so that the first 3 kills without a sniper rifle slot the players will get a warning message, the 4th kills will get them kicked?

 

Thanks.

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

Originally Posted by fzzybllz*:

 

@Anitchy you mixed up several variables. Best thing you can do is to load the original script and

  • replace every "sl" with "lmg"
  • replace every "Damage Sniper" by "Damage LMG"
  • change the !sniper commands to !lmg commands
* Restored post. It could be that the author is no longer active.
Link to comment

Archived

This topic is now archived and is closed to further replies.




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