Jump to content

ProconRulz V44j1 - weapon limits and other event-triggered admin actions


ColColonCleaner

Recommended Posts

Originally Posted by KK-FooKaa*:

 

Hi,

 

I have read through loads of posts here but i cant see what im looking for. Sorry if this is the wrong plugin.

 

I was in a server yesterday and when i went to put down my mortar it was blocked, i could not put it down anywhere. How do i do this ?

 

From what im reading it's not possible ?

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

Originally Posted by bambam*:

 

Just tested in it and it still does the same. I loaded Bazarr and destroyed the Humvee, it didn't respawn and the 2nd destroy. Switche map to Board from the procon tool, destroyed a tank and helo and they didn't respawn.

 

Looks like it might be a lost cause :sad:

Just for a test, we could see if the var works as you want if you set it *before* the map loads. What about if you:

 

(1) Set vehicleSpawnDelay to 100000

(2) Load Bazaar

(3) Destroy the jeep

(4) see what happens to the jeeps as before - this bit should work I think although I think you should only get ONE

(5) Set vehicleSpawnDelay to 100 (or smaller, to test)

(6) Load Damavand Peak

(7) test the vehicles work normally there.

 

If that works then we just have to design rulz to set the spawn delay before the next map loads.

 

If it does NOT work then we could look at doing the same thing with vars.vehicleSpawnAllowed false|true - did you try that already? I KNOW that var is only read at map load time, so you would definitely need to set it one-map-before.

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

Originally Posted by Repoman*:

 

Code:

##TESTING vehicleSpawnDelay
On Round;Map baz;Exec vars.vehicleSpawnDelay 100000;Say %m% spawndelay 100K
On Round;Not Map baz;Exec vars.vehicleSpawnDelay 30;Say %m% spawndelay 30
On Say;Admin;Text vsd;Exec vars.vehicleSpawnDelay %targettext%;Say spawndelay %targettext%
Loaded Bazarr jeep spawned back twice, after that it didn't spawn back.

 

Loaded Peak destroyed vehicle never respawned delay was set to 30 for quick respawn.

 

:sad:

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

Originally Posted by Angry_AGAIN*:

 

Hey guys, thx for your help and your time and your codes.

Awsome work and i wanna give something back.

 

Here is our first version for country based welcome.

Hope its usefull for somebody

PS: DEACTIVATE vars.serverMessage if you use this welcome.

 

Code:

#Country Base Welcome
#BASETEXT: Welcome - YOUR TEXT - Please follow our rules
#Countrykeys only in small letters based on ISO3166 
# Only latin letters works propper

On Spawn;PlayerOnce;If %pcountrykey% == de;Yell 10 WILLKOMMEN %p% - RED EYES ONLY @ AMSTERDAM 420 SERVER - BITTE BEACHTE UNSERE REGELN
On Spawn;PlayerOnce;If %pcountrykey% == nl;Yell 10 Welkom %p% - RED EYES ONLY @ AMSTERDAM 420 SERVERS - check ff onze huisregels,enjoy
On Spawn;PlayerOnce;If %pcountrykey% == fr;Yell 10 BONJOUR %p% -YOUR SERVER TEXT HERE - VEUILLEZ SUIVRE NOS RÈGLES
On Spawn;PlayerOnce;If %pcountrykey% == uk;Yell 10 WELCOME %p% -YOUR SERVER TEXT HERE - PLEASE FOLLOW OUR RULES
On Spawn;PlayerOnce;If %pcountrykey% == us;Yell 10 WELCOME %p% -YOUR SERVER TEXT HERE - PLEASE FOLLOW OUR RULES
On Spawn;PlayerOnce;If %pcountrykey% == ru;Yell 10 Dobro pozhalovat %p% -YOUR SERVER TEXT HERE - pozhaluysta sleduy nashim pravilam
On Spawn;PlayerOnce;If %pcountrykey% == pt;Yell 10 Sangrado %p% -YOUR SERVER TEXT HERE - Por favor anote nosso Regimento
On Spawn;PlayerOnce;If %pcountrykey% == dk;Yell 10 Velkommen %p% -YOUR SERVER TEXT HERE - følg vores regler
On Spawn;PlayerOnce;If %pcountrykey% == it;Yell 10 Benvenuti %p% -YOUR SERVER TEXT HERE - SI PREGA DI SEGUIRE LE NOSTRE REGOLE
On Spawn;PlayerOnce;If %pcountrykey% == no;Yell 10 Velkommen %p% -YOUR SERVER TEXT HERE - KAN DU FØLGE VÅRE REGLER 
On Spawn;PlayerOnce;If %pcountrykey% == se;Yell 10 Välkommen %p% -YOUR SERVER TEXT HERE - följ VÅRA REGLER
On Spawn;PlayerOnce;If %pcountrykey% == es;Yell 10 Bienvenido %p% -YOUR SERVER TEXT HERE - por favor siga nuestro reglamento
On Spawn;PlayerOnce;If %pcountrykey% == fi;Yell 10 Suhtaudun myönteisesti %p% -YOUR SERVER TEXT HERE - huomaa työjärjestyksemme
On Spawn;PlayerOnce;If %pcountrykey% == pl;Yell 10 Mile widziane %p% -YOUR SERVER TEXT HERE - PROSIMY O PRZESTRZEGANIE NASZYCH ZASAD
We are still looking for translators
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Tomgun*:

 

ok coders I have a challenge, right now I use insane punisher on my server for TK which im fine with but the challenge I put to you guys is this:

 

Can you create a rule which auto kill you and eventually kicks you if you keep tk`ing a pilot so you can have the helicopter/plane if he gets there before you.

 

Basiclly im happy with the !punish option insane punisher gives you but I want auto TK if a player TK a person to use the helo/plane because im fed up with scum doing it...

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

Originally Posted by ty_ger07*:

 

ok coders I have a challenge, right now I use insane punisher on my server for TK which im fine with but the challenge I put to you guys is this:

 

Can you create a rule which auto kill you and eventually kicks you if you keep tk`ing a pilot so you can have the helicopter/plane if he gets there before you.

 

Basiclly im happy with the !punish option insane punisher gives you but I want auto TK if a player TK a person to use the helo/plane because im fed up with scum doing it...

At present, this is not possible with any BF3 plugin. Plugins have no way of knowing where in a map a player is nor do they know if a player is in a vehicle or not. Please read the first post.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by powerbits*:

 

i like to use this code to notify players that people are joining.. but from 40 peeps in server i like to drop this message.. how would i do that?

 

on join ;PLayerfirst; say Another player %p% is joining the server,note it can take about a minute for him to spawn!

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

Originally Posted by bambam*:

 

Just tested in it and it still does the same. I loaded Bazarr and destroyed the Humvee, it didn't respawn and the 2nd destroy. Switche map to Board from the procon tool, destroyed a tank and helo and they didn't respawn.

 

Looks like it might be a lost cause :sad:

Hey Repoman at least you've done good research of how the vehicleSpawnDelay actually works - it seems to behave as a fixed period from one vehicle spawn to the next regardless of map loads. And if you change the value, that will be a parameter of the NEXT vehicle to spawn - that's why it takes 2 vehicles for the effect to be seen.

 

Is there any possibility of using the variable vars.vehicleSpawnAllowed true|false instead? (I'm fairly sure that is required before a map load to affect the map).

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

Originally Posted by bambam*:

 

Hey guys, thx for your help and your time and your codes.

Awsome work and i wanna give something back.

 

Here is our first version for country based welcome.

Hope its usefull for somebody

Thanks - I added this as an example on the 1st page.

 

cheers - Bambam

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

Originally Posted by Angry_AGAIN*:

 

is it possible to load maps or even force maps? if so, wich command?

try this

 

On Say;Admin;Text !setnextmap;Exec admin.setnextLevel

On Say;Admin;Text !nextmap;Exec admin.runNextLevel

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

Originally Posted by aduh*:

 

Is there any way to change time between rounds ?

45 seconds on TDM maps is to long ...

Also is there any chance to add waiting time for loading all players before round starts ?

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

Originally Posted by imminentsoldier*:

 

hi, i have been using extreme weapon limiter for a while now and have been very happy. now because of a new rull i want to add to the server, i need to start using procon rulez. i have made a list of rules and for some reason when i activate the plugin i get

 

[10:43:12 89] ProconRulz: plugin enabled, version 38d.2

[10:43:12 90] ProconRulz: 7 rules loaded

[10:43:12 95] W: UnknownCommand

[10:43:13 02] W: UnknownCommand

 

this is what i have done

 

On Kill;Damage Explosive;Rate 4 60;Yell %p% excessive nade spam;Kill

On Kill;Damage Explosive;Rate 4 60;Yell %p% you have reached your maximum allowed nade kills per minute;

On Kill;Damage Explosive;Rate 8 60;Say %p% excessive nade spam;Kick

 

On Kill;Map Subway;Damage ProjectileExplosive;PlayerCount 2;Log %p% banned for using a launcher;Ban %p% using launchers

On Kill;Map Subway;Damage ProjectileExplosive;PlayerSay %p% no launchers allowed;Kill 100

 

On kill;Map Subway;Kill Roadkill;PlayerSay %p% no road kills allowed;Kill %p% road kills

On kill;Map Subway;Kill Roadkilll;PlayerSay %p% no road kills allowed;Kick %p% road kills

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

Originally Posted by Repoman*:

 

Hey Repoman at least you've done good research of how the vehicleSpawnDelay actually works - it seems to behave as a fixed period from one vehicle spawn to the next regardless of map loads. And if you change the value, that will be a parameter of the NEXT vehicle to spawn - that's why it takes 2 vehicles for the effect to be seen.

 

Is there any possibility of using the variable vars.vehicleSpawnAllowed true|false instead? (I'm fairly sure that is required before a map load to affect the map).

HEy bambam, will try it in the morning, server is always full during the afternoon to late morning hours.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

also is it possible to add a time to how long the yell goes for? coz i tried yell,3 and [yell,3] niether 1 worked.

 

thx

With the latest version, I read yes.

 

Example:

 

On Kill;Weapon Melee;Yell 10 %p% took %v%'s dog tags!

 

The number after the Yell command is the length of time that the yell will be displayed for that one rule. Remember to pay attention to the spaces. I believe that you have to have a space after yell before the number and after the number.

 

Rule Syntax:

 

;;yell

 

Otherwise, I have heard that you can globally change PRoConRulz's default Yell duration for all PRoConRulz rules in the PRoConRulz plugin settings but I don't know for sure since I have not updated yet to the latest version. :sad:

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

Originally Posted by powerbits*:

 

try this

 

On Say;Admin;Text !setnextmap;Exec admin.setnextLevel

On Say;Admin;Text !nextmap;Exec admin.runNextLevel

i am thinking about something automatic, but that will do

 

how about setting the player limit of the server, how would i change that?

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

Originally Posted by powerbits*:

 

With the latest version, I read yes.

 

Example:

 

On Kill;Weapon Melee;Yell 10 %p% took %v%'s dog tags!

 

The number after the Yell command is the length of time that the yell will be displayed for that one rule. Remember to pay attention to the spaces. I believe that you have to have a space after yell before the number and after the number.

 

Rule Syntax:

 

;;yell

 

Otherwise, I have heard that you can globally change PRoConRulz's default Yell duration for all PRoConRulz rules in the PRoConRulz plugin settings but I don't know for sure since I have not updated yet to the latest version. :sad:

how do you adjust the time with playeryell?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bambam*:

 

hi, i have been using extreme weapon limiter for a while now and have been very happy. now because of a new rull i want to add to the server, i need to start using procon rulez. i have made a list of rules and for some reason when i activate the plugin i get

 

[10:43:12 89] ProconRulz: plugin enabled, version 38d.2

[10:43:12 90] ProconRulz: 7 rules loaded

[10:43:12 95] W: UnknownCommand

[10:43:13 02] W: UnknownCommand

 

this is what i have done

 

On Kill;Damage Explosive;Rate 4 60;Yell %p% excessive nade spam;Kill

On Kill;Damage Explosive;Rate 4 60;Yell %p% you have reached your maximum allowed nade kills per minute;

On Kill;Damage Explosive;Rate 8 60;Say %p% excessive nade spam;Kick

 

On Kill;Map Subway;Damage ProjectileExplosive;PlayerCount 2;Log %p% banned for using a launcher;Ban %p% using launchers

On Kill;Map Subway;Damage ProjectileExplosive;PlayerSay %p% no launchers allowed;Kill 100

 

On kill;Map Subway;Kill Roadkill;PlayerSay %p% no road kills allowed;Kill %p% road kills

On kill;Map Subway;Kill Roadkilll;PlayerSay %p% no road kills allowed;Kick %p% road kills

Those 'W's aren't coming from ProconRulz - some other plugin presumably
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bambam*:

 

how do you adjust the time with playeryell?

if you're going to use ProconRulz you need to at least pretend to look at the instructions once before asking basic questions like this. The link is in my sig.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Tomgun*:

 

At present, this is not possible with any BF3 plugin. Plugins have no way of knowing where in a map a player is nor do they know if a player is in a vehicle or not. Please read the first post.

it wont need to know where the person is (unless your saying it doesnt know the person is in the vehicle), actually would be better for anywhere on the map

 

im no good at coding but wouldnt it be something like this:

 

"if teamkill is in VehicleAir then kill"

 

On TeamKill VehicleAir;Say %p% teamkilled %v%;Kill 100;

On Teamkill;%p% Teamkill %v% VehicleAir;Say %p% teamkilled %v%;kill 100

 

something like this?

 

could we not put VehicleAir in there somewhere?

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

Originally Posted by Bl1ndy*:

 

How do I make a rule to limit BMP and LAV on the mode SQDM ?

 

 

On Kill;MapMode SquadDeathmatch;Damage VehicleHeavy..............?

Code:
On Kill;MapMode SquadDeathMatch;Weapon Death;Kill/Kick/PlayerCount 1/2/3/4/5....
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Repoman*:

 

BamBam I tried the following and got a different result.

 

Code:

##TESTING vehicleSpawnDelay
On Round;Map baz;Exec vars.vehicleSpawnAllowed false
On Round;Not Map baz;Exec vars.vehicleSpawnAllowed false
Vehicle on Bazarr only respawned once before not respawning anymore during the map. When it switched to Border all vehicles spawned but the tanks and Mobile AA and it appeared that the respawn worked because the helos and jeeps came back at least 3 times before i had to remove the rule and restart the map to fix it.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

And what does it work?

Have you checked?

No, it won't work as he typed it. He was giving you a general structure. Each Kill and Kick rule would have to be a separate rule and use different playercounts.

 

Example:

On Kill;MapMode SquadDeathMatch0;Weapon Death;PlayerCount 2;Kick don't use vehicles or mortar in squad deathmatch

On Kill;MapMode SquadDeathMatch0;Weapon Death;PlayerCount 1;Say %p% killed for using vehicle or mortar;Kill

On Kill;MapMode SquadDeathMatch0;Weapon Death;PlayerYell No vehicle or mortar kills in Squad Deathmatch!

 

Since Weapon Death is also mortar, you have to warn against it too. There is no "Vehicle" weapon key in BF3, so you have to use "Weapon Death".

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

Originally Posted by ty_ger07*:

 

it wont need to know where the person is (unless your saying it doesnt know the person is in the vehicle), actually would be better for anywhere on the map

There is no way of knowing anything about the player's position. You can't know where in the map the player is, nor can you know if the player is in a vehicle.

 

All Rcon (the event transmission system from the game server) tells PRoCon are simple things like this:

Player Joined, Player Spawned on X team, Player Killed with Y weapon (Y weapon isn't even always correct), Round started, Round Ended

 

That's about it.

 

You have to use your imagination to make more complex functions work off of this basic information. But, you will never find a way to punish killing a helicopter pilot.

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

Originally Posted by ty_ger07*:

 

how do you adjust the time with playeryell?

OMG! Really?

 

I gave you a 106 word explanation and then you ask this?

 

Sometimes you just have to help yourself. Good luck!

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

Originally Posted by Repoman*:

 

BamBam I tried the following and got a different result.

 

Code:

##TESTING vehicleSpawnDelay
On Round;Map baz;Exec vars.vehicleSpawnAllowed false
On Round;Not Map baz;Exec vars.vehicleSpawnAllowed false
Vehicle on Bazarr only respawned once before not respawning anymore during the map. When it switched to Border all vehicles spawned but the tanks and Mobile AA and it appeared that the respawn worked because the helos and jeeps came back at least 3 times before i had to remove the rule and restart the map to fix it.
Lol I forgot to paste the rule.
* Restored post. It could be that the author is no longer active.
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




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