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.




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