Jump to content

ProconRulz - Sniper limiter v2.7 by Tarreltje


ImportBot

Recommended Posts

  • Replies 299
  • Created
  • Last Reply

Originally Posted by Narf!*:

 

Mortar has, afaik, no weapon key. Like in BF3. The output is just "death". I think you can limit it by using "death" as weapon key for this, but I don't know if it's still working with BF4 and I don't know which other weapons may have the same output...

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

Originally Posted by jking54*:

 

A bug perhaps, every time I change the max snipers var, it reverts back to 3, why?

 

EDIT: NVM, got it to take finally, I was editing outside the list, but regarding the spam messages why was it giving the same 3 lines in a row anyhow?

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

Originally Posted by jking54*:

 

Added the DMR weapons in the sniper limit! As of now they have their own weapon class

Thank you tarreltje, first post updated to reflect this then? This has been working out well so far on both my servers.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by shmoo*:

 

Hi guys,

 

i have a simple question regarding procon rulz and the possibility to limit weapons on kill.

is "on spawn" still available for BF4?

i just want to know if there is a possibility to limit sniper rilfes and dmr's on spawn?

im totally retarded in things like that, so dont blame me :biggrin:

 

example: on spawn;weapon u_mk11;...

with a limitation and all this stuff.

 

greets

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

Originally Posted by tarreltje*:

 

Hi guys,

 

i have a simple question regarding procon rulz and the possibility to limit weapons on kill.

is "on spawn" still available for BF4?

i just want to know if there is a possibility to limit sniper rilfes and dmr's on spawn?

im totally retarded in things like that, so dont blame me :biggrin:

 

example: on spawn;weapon u_mk11;...

with a limitation and all this stuff.

 

greets

We cant limit weapons on spawn. BF4 doesnt give us kit information...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HyperWelsh*:

 

Hello

 

I need some help with add this sniper limit to me server its the first time i'v have a server and not sure how to go about adding the sniper limit

 

i have procon and have put the proconrulz plugin and i can see it in procon but i don't have a clue where to put the commands (if that what there called) from the first page can any one help me out please

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

Originally Posted by Sagittaire88*:

 

Hi , Sniper limit does not work with the rules in the first post, and it does not work with DMR .

 

so I'm used to this one for the moment :

################################################## ##

#sniper limit by tarreltje V2.3 - tweaked by Bambam

# Slot is reserved by SniperRifle kill

# Slot is lost by non-SniperRifle/Handgun kill

# Max # snipers is set in %server_sniperlimit% var

################################################## ##

 

# DEBUG

On Kill;Log %p% killed %v% with %d% %wk%

On Spawn;Log %p% spawned on %ptk%

 

# 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_setsniper[%p%]% == 0;if %server_sl_sniper[%p%]% == 0;TeamSay %p% killed by SNIPER LIMIT for %pt%;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 %p% has SNIPER slot on %pt% %server_sl_total[%ptk%]%/%server_sniperlimit%;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;Weapon U_Scout;Not Damage SniperRifle;

If %server_sl_total[%ptk%]% >= %server_sniperlimit%;If %server_sl_setsniper[%p%]% == 0;if %server_sl_sniper[%p%]% == 0;TeamSay %p% killed by SNIPER LIMIT for %pt%;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 %p% has SNIPER slot on %pt% %server_sl_total[%ptk%]%/%server_sniperlimit%;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 Weapon U_Scout;Not Weapon Melee;If %server_sl_sniper[%p%]% == 1;Set %server_sl_sniper[%p%]% 0;Decr %server_sl_total[%ptk%]%;TeamSay %pt% %p% gave up SNIPER slot (used %w%);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 %pt% %p% gave up SNIPER slot (left server);Log Sniper %pt% %p% left server. %server_sl_total[%ptk%]% snipers on team %ptk%

 

# !snipers / !sniperx / !setsniper INFO MESSAGES

 

#!snipers tells you the current count for your team and sniper player names

On Say;Text !snipers;

PlayerSay Sniper limit: Reserve slot with sniper kill, until non-sniper/handgun/knife kill.

If %server_sl_total[%ptk%]% == 0;PlayerSay %pt% 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]%

 

#!sniperx just gives the sniper counts for both teams

On Say;Text !sniperx;

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

 

#!setsniper is admin-only command to allocate a sniper slot to player. E.g. "!setsniper bam"

On Say;Admin;Text !setsniper;TargetPlayer;Set %server_sl_setsniper[%t%]% 1;PlayerSay %t% guaranteed a SNIPER slot until round end

Help me for the DMR ( i have Procon : 1.4.1.3 , and proconrules : 44f.1 ) Thx :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by tarreltje*:

 

Hi , Sniper limit does not work with the rules in the first post, and it does not work with DMR .

 

so I'm used to this one for the moment :

 

 

Help me for the DMR ( i have Procon : 1.4.1.3 , and proconrules : 44f.1 ) Thx :smile:

You need to use my rules, not the rules that come with the proconrulz plugin
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by tarreltje*:

 

Your rules ? first post , and past on proconrules ?

either you adjust you sniper.txt, or you paste them into proconrulz it self, be sure to disable the txt file then!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by tarreltje*:

 

its not working with sniper.txt file and not directly in the log proconrules.

 

I only have the rules of origin that works.

Have you added your new txt file to the rulz.txt filenames section? otherwise you wont load the new rules. The rules in first post are tested and running just fin on my server!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PHX_Big_Deal*:

 

Added grenades c4 and claymore to the accepted kills for a sniper!!

Hi

The sniper will loose his slot when do a roadkill, maybe you should add that too.

Thx for your work.

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

Originally Posted by migsun*:

 

You need to use my rules, not the rules that come with the proconrulz plugin

Thats be possible for you and maybe many other server admins. On our server the script from first post is not working proper.

If the script activated it prompt after "!snipers" the reserved slots and max limit of sniper. Thats all. After the first kill with sniper rifle nothing happens. No slot becomes reserved and all players can play with sniper rifle or DMR.

 

The edited script from Sagittaire88 works on our server. ProConRulz recognized the first sniper kill and reserved a slot for this player. After the limit is reached all other player will kill for using a sniper rifle. But the DMRs will not proper handled and all other player can use them.

 

We use the current versions of ProCon, ProConRulz and no external rulz.txt-files.

I hope that we find a complete working solution because we hate the masses of snipers on our server :ohmy:

....sorry for my suboptimal english.

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

Originally Posted by eisvogel*:

 

Thats be possible for you and maybe many other server admins. On our server the script from first post is not working proper.

If the script activated it prompt after "!snipers" the reserved slots and max limit of sniper. Thats all. After the first kill with sniper rifle nothing happens. No slot becomes reserved and all players can play with sniper rifle or DMR.

 

The edited script from Sagittaire88 works on our server. ProConRulz recognized the first sniper kill and reserved a slot for this player. After the limit is reached all other player will kill for using a sniper rifle. But the DMRs will not proper handled and all other player can use them.

 

We use the current versions of ProCon, ProConRulz and no external rulz.txt-files.

I hope that we find a complete working solution because we hate the masses of snipers on our server :ohmy:

....sorry for my suboptimal english.

have the same problem and we can´t get working the rulz same you.

 

We use the "old" sniper rulz:

#sniper limit by tarreltje V2.1

 

# SET THE MAX # OF SNIPERS HERE:

On Spawn;ServerFirst;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;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%

only this works, but nobody (players) can see how much snipers are current in use.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by tarreltje*:

 

have the same problem and we can´t get working the rulz same you.

 

We use the "old" sniper rulz:

 

 

only this works, but nobody (players) can see how much snipers are current in use.

Is your server procon layer updated to the last version? Otherwise your bf4.def isnt updated and the rules wont work!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by eisvogel*:

 

Is your server procon layer updated to the last version? Otherwise your bf4.def isnt updated and the rules wont work!

the layer is updated, but the bf4.def was not :huh:

i´ll update the bf4.def manually, restart the layer and test the rules again ... hope this will work ....

 

EDIT:

14:14:04 57] ProconRulz: Watched items are: sniperrifle, dmr, u_scout, handgun, melee

[14:19:12] (TeamSay[Chinese Army] xx25789) xx25789 killed by SNIPER LIMIT for Chinese Army

 

 

worked :biggrin:

 

but why did the bf4.def not auto updated with the layer? :huh:

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

Originally Posted by migsun*:

 

...we have the same situation :sad:

Procon and ProConRulz latest versions, BF4.def manually overwritten (it was the actuall one) but tarreltjes script wont run.

The older script from sagittaire88 works without the DMRs. If Tarreltjes script activated and trace rules switched on we see nearly the same actions. Can anybody (with working script) post the bf4.def? What entries must in there? Would it help to post a part from our rulz action for investigation?

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