Jump to content

ProconRulz - Sniper limiter Hardline


ImportBot

Recommended Posts

Originally Posted by spanky0312*:

Based on Sniper limiter v2.7 by Tarreltje
Tarreltje made the original script, I am not taking any credits for creating this!
Basically this are just some edits for BFH & personal taste changes.



Features:
- Gain a sniper slot by killing an enemy with a sniper rifle.
- Lose a sniper slot by killing an enemy with weapons from another class.
- You can kill with handguns, nades, RPG, or even the zipline without losing your sniper slot.
- Vehicle kills will result in lose of your sniper slot.
- View snipers in current team with names.
- View snipers in both teams without names.
- Admin ability to set a player as sniper for the whole round.


Commands:

!snipers
View snipers in current team with names.

!sniperx
View snipers in both teams without names.

!setsniper
guarantee a sniper slot until round end (admin command)

Planned Features:
- None yet, any requests?


Install Guide:

1. Download the attachment..
2. Copy it to ur ftp "Plugins/BF4".
3. Go to ProconRulz on Procon.
4. Click on Rulz.txt filenames.
5. Once u selected it click on the ... on the right side.
6. Add proconrulz_sniperlimit.txt
7. Press ok
8. Enjoy


If you encounter any problems feel free to reply to this thread!


Changelog:

Version 1.4:
- Removed more unnecessary use of capital letters.
- Admin ability to set a player as sniper for the whole round.

Version 1.3:
- Give up sniper slot when changing class removed for now. (not working)

Version 1.2:
- !sniperx has team names now.

Version 1.1:
- Removed the dashes in alot of chat messages.
- Removed unnecessary use of capital letters.

Version 1.0:
- Plugin Enhancement Created




Attached Files:

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

Originally Posted by Talzac*:

 

nvm seems to be not working, cant figure it out. anyone can assist ?

Why not working, I am trying it on my server, I can not find anything that is not working?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by spanky0312*:

 

Working on respawn now, seems when I respawn as professional I still lose sniper spot. any ideas ?

I removed the code part that didnt work so I can provide a working script.

 

But this part doesnt work

 

On Spawn;Not Kit Recon;

 

I think battlefield hardline doesnt now how to handle this or whatever but rulz does not show errors.

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

Originally Posted by Talzac*:

 

Working on respawn now, seems when I respawn as professional I still lose sniper spot. any ideas ?

I removed the code part that didnt work so I can provide a working script.

 

But this part doesnt work

 

On Spawn;Not Kit Recon;

 

I think battlefield hardline doesnt now how to handle this or whatever but rulz does not show errors.

The last version worked better, this one is not working.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by spanky0312*:

 

The version I just uploaded is tested and works, but only changing class doesnt work thats why I removed this part.

 

last version is 1.3

 

 

Reserve slot and admins should be handled the same.

 

Personally I found out I had some problems with proconrulz_punish.txt enabled.

Try to disable it to see if this fix ur issues.

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

Originally Posted by Talzac*:

 

The version I just uploaded is tested and works, but only changing class doesnt work thats why I removed this part.

 

last version is 1.3

 

 

Reserve slot and admins should be handled the same.

 

Personally I found out I had some problems with proconrulz_punish.txt enabled.

Try to disable it to see if this fix ur issues.

I did not have that text file active and your version one was working this version is strange if I type !snipers it only gives me the snipers on my current team and it shows zero but have spawned as a sniper.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Talzac*:

 

Sorry I can not join the server but the address is aim.albireo.se

Time diffrence here and my wife is nagging me to go to sleep, but the script is on the server now set 4 snipers per team.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by spanky0312*:

 

Time diffrence here and my wife is nagging me to go to sleep, but the script is on the server now set 4 snipers per team.

Ok no worries mate, ill join u tommorow if u like :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Talzac*:

 

I have a problem,

when I copy this:

 

On Say;Text !sniperx;

Playersay Cops: %server_sl_total[1]%/%server_sniperlimit% | Criminals: %server_sl_total[2]%/%server_sniperlimit%

 

 

Then procon translate to this:

On Say;Text !sniperx;

Playersay Cops: %server_sl_total[1]%/%server_sniperlimit%

Criminals: %server_sl_total[2]%/%server_sniperlimit%

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

Originally Posted by Talzac*:

 

I have a problem,

when I copy this:

 

On Say;Text !sniperx;

Playersay Cops: %server_sl_total[1]%/%server_sniperlimit% | Criminals: %server_sl_total[2]%/%server_sniperlimit%

 

 

 

Then procon translate to this:

On Say;Text !sniperx;

Playersay Cops: %server_sl_total[1]%/%server_sniperlimit%

Criminals: %server_sl_total[2]%/%server_sniperlimit%

if I set this instead it seems to be sticking:

Playersay Cops: %server_sl_total[1]%/%server_sniperlimit% - Criminals: %server_sl_total[2]%/%server_sniperlimit%

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

Originally Posted by spanky0312*:

 

if I set this instead it seems to be sticking:

Playersay Cops: %server_sl_total[1]%/%server_sniperlimit% - Criminals: %server_sl_total[2]%/%server_sniperlimit%

If u compare I see u using an older part, my sentence is longer. I advice to select all text and replace all at once to make sure its all correct.

 

On Say;Text !sniperx;

Playersay Cops: %server_sl_total[1]%/%server_sniperlimit% | Criminals: %server_sl_total[2]%/%server_sniperlimit%

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

Originally Posted by spanky0312*:

 

From now on I also work with attachments, so there are no errors made when u copy text.

 

There is also an install guide now cuz I kinda have the feeling u dont fully understand let me know if u have problems.

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

Originally Posted by Phractal*:

 

First of all, thanks a lot for this spanky!!

I am a little confused though, is this Sniperlimit server wide or per team? If Serverwide, how do I set a limit per team?

 

Thanks in advance!

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

Originally Posted by Talzac*:

 

I have had problems with multiple random procon restarts and server crash with the sniper limit Active.

I think it might be because proconrulz is not fully BFHL compatible.

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

Originally Posted by spanky0312*:

 

This is not a problem with this script mate.

 

Yesterday I ran this script in a server 28-32 people were constantly in it, there were no problems what so ever.

I know this cuz things like player joining, leaving, multikills, killstreaks are shown in chat.

and procon was constantly on.

 

The only thing I can think of maybe u got other rulz that conflicting with this one, try to isolate the problem

For example only use the rulz plugin with the sniper limit (last version 1.4)

 

If there are no problems u can rule out the problem happens there.

 

 

Also make sure if u edit the code there is no problem there try to use the code unedited just so u know its not an edit mistake at ur end

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