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.
Note: Your post will require moderator approval before it will be visible.

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.

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