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.




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