Jump to content

ProconRulz - Sniper limiter v2.7 by Tarreltje


ImportBot

Recommended Posts

Originally Posted by tarreltje*:

 

Sniper Limit for TDM/RUSH/CONQUEST

 

This is the new updated Sniper Limit for BF3/BF4. You will need the lastest version proconRulz v44

 

With these rulz you can limit snipers by an x amount for each team.

 

- Make sure you use the latest proconrulz

- Make sure you have updated your BF4.DEF

 

Below are 2 versions, 1 with bolt and dmr, and 1 version without dmr's

 

##### SNIPER LIMIT V2.7 BOLT AND DMR #####

 

# SET THE MAX # OF SNIPERS HERE:

On Kill;ServerFirst;Set %server_sniperlimit% 3

On Say;ServerFirst;Set %server_sniperlimit% 3

 

# 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%

 

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

On Kill;Damage DMR;

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%

 

# !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%

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

 

# SET THE MAX # OF SNIPERS HERE:

On Kill;ServerFirst;Set %server_sniperlimit% 3

On Say;ServerFirst;Set %server_sniperlimit% 3

 

# 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%

 

# !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%

------

 

21-12-2013 Changelog version 2.7;

- Made 2 versions , 1 with both bolt an dmr weapons, and 1 with only bolt action weapons

 

8-12-2013 Changelog version 2.6;

- Added Grenades, C4 and Claymore to the accepted kills for a sniper

 

3-12-2013 Changelog version 2.5;

- Added DMR sniper rifles. As of the new update DMR's are used as Damage DMR

 

1-12-2013 Changelog version 2.4;

- Removed most log messages, so less spam in the log screen

- Removed a lot of chat spam

 

27-11-2013 Changelog version 2.3;

Removed old rules. New rules will work with BF3/BF4 needed ProconRulz v44

 

20-5-2012 Changelog version 2.2;

Changed On Round;Set %server_sniperlimit% 2 into On Spawn;ServerFirst;Set %server_sniperlimit% 2 due limit gets bugged when proconRulz was shutdown

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

Originally Posted by YouPilA*:

 

Well thank you for this rule but i need this method can you whrite it for me please.

 

  • 3 snipers per team
  • server say yell how many players are sniper and how many snipers kits still free
  • server say yell if a player is being sniper and how many snipers kits still free
  • If a sniper change kit to an other or leave, the server say "yell" player has changed kit and it still "x" free snipers kit.
  • auto kill if a player use sniper rifle when the max number of sniper is done, délay 5000 with say yell "sorry 3 snipers max per side change kit please"

Sorry for my poor english, i don't know if you will understand me

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

Originally Posted by 0mni*:

 

Well thank you for this rule but i need this method can you whrite it for me please.

 

  • 3 snipers per team
  • server say yell how many players are sniper and how many snipers kits still free
  • server say yell if a player is being sniper and how many snipers kits still free
  • If a sniper change kit to an other or leave, the server say "yell" player has changed kit and it still "x" free snipers kit.
  • auto kill if a player use sniper rifle when the max number of sniper is done, délay 5000 with say yell "sorry 3 snipers max per side change kit please"

Sorry for my poor english, i don't know if you will understand me

To change to 3 snipers per team, read his first post, tells you how.

 

The rules already kill when someone uses a sniper when they shouldn't.

 

+1 to these 3 if possible :smile:

 

•server say yell how many players are sniper and how many snipers kits still free

•server say yell if a player is being sniper and how many snipers kits still free

•If a sniper change kit to an other or leave, the server say "yell" player has changed kit and it still "x" free snipers kit.

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

Originally Posted by tarreltje*:

 

•server say yell how many players are sniper and how many snipers kits still free

•server say yell if a player is being sniper and how many snipers kits still free

•If a sniper change kit to an other or leave, the server say "yell" player has changed kit and it still "x" free snipers kit.

 

 

On kill;Not Damage sniperRifle;Not Damage Handgun;if %beingsniper% == 1;decr %beingsniper%;decr %team_recontotal%;Say Player %p% is no sniper anymore, there are %team_recontotal% on team %pt%;log %p% is no sniper anymore, %team_recontotal% snipers on team %pt%

If the sniper uses an other gun besides a handgun, it will free a place in the sniper limit. It will announce that it is no sniper anymore and it will show how many snipers you have on the team

The rules keep getting screwed up, most likely a bug with ProconRulez, the %'s are replaced with special characters. Have any thoughts ?

 

One in a while i have the same problems, maby take a screenshot and post it in the help section for procon?

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

Originally Posted by tarreltje*:

 

On kill;Not Damage sniperRifle;Not Damage Handgun;if %beingsniper% == 1;decr %beingsniper%;decr %team_recontotal%;Say Player %p% is no sniper anymore, there are %team_recontotal% on team %pt%;log %p% is no sniper anymore, %team_recontotal% snipers on team %pt%

Let me know if this workes, then i will update the above rules!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by 0mni*:

 

On Round;Set %server_sniperlimit% 3

On Spawn;if ?ingsniper% == 1;Decr ?ingsniper%;Decr %team_recontotal%;log we have %team_recontotal% snipers on team %pt%

On Spawn;Set ?ingsniper% 0

On kill;Damage sniperRifle;

if %team_recontotal% == 3;if ?ingsniper% == 0;PlayerYell Only 3 Snipers on each team, choose a different weapon!;Kill 5000

if ?ingsniper% == 1;End;log %p% is still a sniper, %team_recontotal% snipers on team %pt%

incr %team_recontotal%;set ?ingsniper% 1;log %p% is a sniper, %team_recontotal% snipers on team %pt%

On Leave;if ?ingsniper% == 1;Decr %team_recontotal%

Here's the special characters I am getting.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Drayu*:

 

Hey, thanks for the plugin rule! Using it on our server, testing is hard, because admins are whitelisted automatically...so they get the message, not the resulting kick/kill :smile:

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

Originally Posted by YouPilA*:

 

Hello,

Can you tell me why when i use this rule, a sniper who is killing with his handgun is not sniper anymore?

 

Code:

# set the max snipers per team here
On Round;Set %server_sniperlimit% 3

# sniper limit rulz
On Spawn;if %player_is_sniper% == 1;Decr %player_is_sniper%;Decr %team_recontotal%;log il y a %team_recontotal% snipers cote %pt%
On Spawn;Set %player_is_sniper% 0

On kill;Damage sniperRifle;
if %team_recontotal% == 3;if %player_is_sniper% == 0;Yell %p% - Trop de snipers, merci de changer de kit !!!;Kill 5000
if %player_is_sniper% == 1;End;log %p% is still a sniper, %team_recontotal% snipers cote %pt%
incr %team_recontotal%;set %player_is_sniper% 1;log %p% is a sniper, %team_recontotal% snipers cote %pt%
On kill;Not Damage sniperRifle;Not Damage Handgun;if %player_is_sniper% == 1;decr %player_is_sniper%;decr %team_recontotal%;Say Player %p% n'est plus sniper, ily a %team_recontotal% cote %pt%;log %p% n'est plus sniper, %team_recontotal% snipers cote %pt%
On Leave;if %player_is_sniper% == 1;Decr %team_recontotal%
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by tarreltje*:

 

When a sniper is killed he gets of the sniper list! Also if his first kill is with a handgun, he wont get on the sniper list, to get on the first kill has to be with an sniperrifle!

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

Originally Posted by tarreltje*:

 

hello,

 

can we do same with all machine guns ?

 

please tell me yes :smile:

if yes whats the rules ?

Basicly you can can use it for every weapon. Just change the weapon key!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by tarreltje*:

 

Can you make this so it actually says who is sniper and when they change ?

 

Thanks in advance :biggrin:

#sniper limit by tarreltje V2.1

 

# SET THE MAX # OF SNIPERS HERE:

On Round;Set %server_sniperlimit% 2

 

# sniper limit rulz

On Spawn;if %beingsniper% == 1;Decr %beingsniper%;Decr %team_recontotal%;log we have %team_recontotal% snipers on team %pt%

On Spawn;Set %beingsniper% 0

 

On kill;Damage sniperRifle;

if %team_recontotal% == %server_sniperlimit%;if %beingsniper% == 0;Say Sniper Limit max %server_sniperlimit% snipers each team !!!;Kill

if %beingsniper% == 1;End;log %p% is still a sniper, %team_recontotal% snipers on team %pt%

incr %team_recontotal%;set %beingsniper% 1;Say %p% is a sniper;log %p% is a sniper,we have %team_recontotal% snipers on team %pt%

On kill;Not Damage sniperRifle;if %beingsniper% == 1;decr %beingsniper%;decr %team_recontotal%;log %p% is no sniper anymore, %team_recontotal% snipers on team %pt%

On Leave;if %beingsniper% == 1;Decr %team_recontotal%

 

When a sniper makes a kill, his names will be announced! You mean this?

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

Originally Posted by KK-FooKaa*:

 

#sniper limit by tarreltje V2.1

 

# SET THE MAX # OF SNIPERS HERE:

On Round;Set %server_sniperlimit% 2

 

# sniper limit rulz

On Spawn;if %beingsniper% == 1;Decr %beingsniper%;Decr %team_recontotal%;log we have %team_recontotal% snipers on team %pt%

On Spawn;Set %beingsniper% 0

 

On kill;Damage sniperRifle;

if %team_recontotal% == %server_sniperlimit%;if %beingsniper% == 0;Say Sniper Limit max %server_sniperlimit% snipers each team !!!;Kill

if %beingsniper% == 1;End;log %p% is still a sniper, %team_recontotal% snipers on team %pt%

incr %team_recontotal%;set %beingsniper% 1;Say %p% is a sniper;log %p% is a sniper,we have %team_recontotal% snipers on team %pt%

On kill;Not Damage sniperRifle;if %beingsniper% == 1;decr %beingsniper%;decr %team_recontotal%;log %p% is no sniper anymore, %team_recontotal% snipers on team %pt%

On Leave;if %beingsniper% == 1;Decr %team_recontotal%

 

When a sniper makes a kill, his names will be announced! You mean this?

Errm kinda...

 

Sorry for late reply forgot bout this...

 

I mean maybe have it so it says that blaaah and blaah are snipers please change class maybe ? And also when they stop using snipers it says there is a sniper space free ?

 

Prolly not possible....

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

Originally Posted by tarreltje*:

 

To tell who the snipers are is kinda hard i think!

 

#sniper limit by tarreltje V2.1

 

# SET THE MAX # OF SNIPERS HERE:

On Round;Set %server_sniperlimit% 2

 

# sniper limit rulz

On Spawn;if %beingsniper% == 1;Decr %beingsniper%;Decr %team_recontotal%;log we have %team_recontotal% snipers on team %pt%

On Spawn;Set %beingsniper% 0

 

On kill;Damage sniperRifle;

if %team_recontotal% == %server_sniperlimit%;if %beingsniper% == 0;Say Sniper Limit max %server_sniperlimit% snipers each team !!!;Kill

if %beingsniper% == 1;End;log %p% is still a sniper, %team_recontotal% snipers on team %pt%

incr %team_recontotal%;set %beingsniper% 1;Say %p% is a sniper;log %p% is a sniper,we have %team_recontotal% snipers on team %pt%

On kill;Not Damage sniperRifle;if %beingsniper% == 1;decr %beingsniper%;decr %team_recontotal%;Say we have %team_recontotal% sniper spots free on %pt%;log %p% is no sniper anymore, %team_recontotal% snipers on team %pt%

On Leave;if %beingsniper% == 1;Decr %team_recontotal%;Say we have %team_recontotal% sniper spots free on %pt%

 

Changed the last rules. It will Say, how much free spots there are on which team if a sniper leaves of get killed. This can cause a lot of spam though

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

Originally Posted by KK-FooKaa*:

 

To tell who the snipers are is kinda hard i think!

 

#sniper limit by tarreltje V2.1

 

# SET THE MAX # OF SNIPERS HERE:

On Round;Set %server_sniperlimit% 2

 

# sniper limit rulz

On Spawn;if %beingsniper% == 1;Decr %beingsniper%;Decr %team_recontotal%;log we have %team_recontotal% snipers on team %pt%

On Spawn;Set %beingsniper% 0

 

On kill;Damage sniperRifle;

if %team_recontotal% == %server_sniperlimit%;if %beingsniper% == 0;Say Sniper Limit max %server_sniperlimit% snipers each team !!!;Kill

if %beingsniper% == 1;End;log %p% is still a sniper, %team_recontotal% snipers on team %pt%

incr %team_recontotal%;set %beingsniper% 1;Say %p% is a sniper;log %p% is a sniper,we have %team_recontotal% snipers on team %pt%

On kill;Not Damage sniperRifle;if %beingsniper% == 1;decr %beingsniper%;decr %team_recontotal%;Say we have %team_recontotal% sniper spots free on %pt%;log %p% is no sniper anymore, %team_recontotal% snipers on team %pt%

On Leave;if %beingsniper% == 1;Decr %team_recontotal%;Say we have %team_recontotal% sniper spots free on %pt%

 

Changed the last rules. It will Say, how much free spots there are on which team if a sniper leaves of get killed. This can cause a lot of spam though

ty ill check it out :biggrin:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by utopiate*:

 

Hey there, thanks for putting this out. I've never used proconrulz so it's pretty confusing. I have a 64 slot server which I'd like to limit the snipers to 5 on each team. Is the following correct and is this all I need in the proconrulz 'rules string'

 

# SET THE MAX # OF SNIPERS HERE:

On Round;Set %server_sniperlimit% 5

 

# sniper limit rulz

On Spawn;if %beingsniper% == 1;Decr %beingsniper%;Decr %team_recontotal%;log we have %team_recontotal% snipers on team %pt%

On Spawn;Set %beingsniper% 0

 

On kill;Damage sniperRifle;

if %team_recontotal% == %server_sniperlimit%;if %beingsniper% == 0;Say Sniper Limit max %server_sniperlimit% snipers each team !!!;Kill

if %beingsniper% == 1;End;log %p% is still a sniper, %team_recontotal% snipers on team %pt%

incr %team_recontotal%;set %beingsniper% 1;log %p% is a sniper, %team_recontotal% snipers on team %pt%

On kill;Not Damage sniperRifle;Not Damage Handgun;if %beingsniper% == 1;decr %beingsniper%;decr %team_recontotal%;log %p% is no sniper anymore, %team_recontotal% snipers on team %pt%

On Leave;if %beingsniper% == 1;Decr %team_recontotal%

 

 

Also, do these rules only use the .say _, I want to avoid spamming the server wide yell. Just to confirm, these rules would allow 5 snipers on each team but if they are using a weapon other than a sniper rifle they are not picked up by the rules? And all messages are through the chat as opposed to yell?

 

many thanks

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

Originally Posted by bambam*:

 

Utopiate assuming you've only updated the limit from 2 to 5, you should be fine.

 

My suggestion is that you actually cut-and-paste these rulz below, which are the same as you have except for a small bugfix related to an issue in Procon.

 

Yes, the slay message only appears in chat, and I've highlighted the 'Say' action that does that in the rulz below. FYI you can swap that 'Say' for 'PlayerSay' if you only want the chat message to go to the player concerned, or change it to 'PlayerYell' if you want just that player to see a Yell message. So you see you have options of reducing spam and still using Yell if you want.

 

# SET THE MAX # OF SNIPERS HERE:

On Round;Set %server_sniperlimit% 5

 

# sniper limit rulz

On Spawn;if %_beingsniper% == 1;Decr %_beingsniper%;Decr %team_recontotal%;log we have %team_recontotal% snipers on team %pt%

On Spawn;Set %_beingsniper% 0

 

On kill;Damage sniperRifle;

if %team_recontotal% == %server_sniperlimit%;if %_beingsniper% == 0;Say %p% Sniper Limit max %server_sniperlimit% snipers each team !!!;Kill

if %_beingsniper% == 1;End;log %p% is still a sniper, %team_recontotal% snipers on team %pt%

incr %team_recontotal%;set %_beingsniper% 1;log %p% is a sniper, %team_recontotal% snipers on team %pt%

On kill;Not Damage sniperRifle;Not Damage Handgun;if %_beingsniper% == 1;decr %_beingsniper%;decr %team_recontotal%;log %p% is no sniper anymore, %team_recontotal% snipers on team %pt%

On Leave;if %_beingsniper% == 1;Decr %team_recontotal%

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

Originally Posted by utopiate*:

 

hey bambam, perfect! thanks for that. I was having a mess around with it earlier on one of our small servers. Easier to understand when you see it in practice.

 

cheers uto

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

Originally Posted by MDV666*:

 

today this code to work incorrectly, on 5 snipers it ignored a limit and killed any sniper, the message that a limit of snipers 0 was thus deduced

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