Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by m4gnet*:

 

Hello!

If i want to reduce snipers on spawn in proconrulz(for example, 2 snipers per team and if > then a person will be killed after the spawn, not after the kill with sniper rifle) what will be the code? Thanks for help

 

P.S. i need something easier than this myrcon.net/.../proconrulz-sniper-limiter-v27-by-tarreltje, without kill after damage, free sniper slote and so on.

Hello!

On Spawn;Damage SniperRifle 2;Not Admin;PlayerSay %p%, already have 2 snipers per %pt%. You killed.;PlayerYell 3000 only 2 snipers allowed;Kill 3000

On Kill;Not Kit Recon;Damage SniperRifle;Not Admin;PlayerSay %p% - NO SNIPER PICKUP. You killed.;PlayerYell 3000 NO SNIPER PICKUP;Kill 3000

 

:biggrin:

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

Originally Posted by ty_ger07*:

 

Hello!

On Spawn;Damage SniperRifle 2;Not Admin;PlayerSay %p%, already have 2 snipers per %pt%. You killed.;PlayerYell 3000 only 2 snipers allowed;Kill 3000

On Kill;Not Kit Recon;Damage SniperRifle;Not Admin;PlayerSay %p% - NO SNIPER PICKUP. You killed.;PlayerYell 3000 NO SNIPER PICKUP;Kill 3000

 

:biggrin:

So admins don't have to follow the rules? That's a pretty easy way to upset your players and cause confrontations. Also, your code seems to not take into consideration how many recons are on each team. Instead, it seems to allow only 2 recons total in the whole server (1 per team or 2 on the same team and 0 on the other team).
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by mimimimi*:

 

Hello!

On Spawn;Damage SniperRifle 2;Not Admin;PlayerSay %p%, already have 2 snipers per %pt%. You killed.;PlayerYell 3000 only 2 snipers allowed;Kill 3000

On Kill;Not Kit Recon;Damage SniperRifle;Not Admin;PlayerSay %p% - NO SNIPER PICKUP. You killed.;PlayerYell 3000 NO SNIPER PICKUP;Kill 3000

 

:biggrin:

Yell for 3000 seconds______________?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Webrene*:

 

Is there a way to limit the rank for a game?

 

Example: Noob Only Server Max Rank 100 or something like that... Something which can check the rank and if the rank is higher then 100 people will be kicked with a message?

 

thx

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

Originally Posted by ty_ger07*:

 

Is there a way to limit the rank for a game?

 

Example: Noob Only Server Max Rank 100 or something like that... Something which can check the rank and if the rank is higher then 100 people will be kicked with a message?

 

thx

According to the Conditions listed on page 32 of the ProconRulz documentation, player rank is not something available to ProconRulz.

 

The Insane Limits plugin surely would be able to do what you want.

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

Originally Posted by RubenEsveld*:

 

Hi everyone,

 

I and a friend of mine are trying to make a weapon to count the kills, using proconrulz. in this case the a knife count that get reset every round.

The thing behind this is so you se a other message every time you knife. till 6 when its just saying how much you got a knife kill this round.

Procon is reading it. and it is making sense to us but it will not count or show the message. this is why I ask for help from you.

 

this is what we have done already:

 

First try.

#Knife counter

On Spawn;Set %playerknives% 0;Set %knife_incr% 0

On Kill;Weapon Melee;Incr %knife_incr%;Incr %playerknives%;If %knife_incr% == 1 Set %knife_incr% 0;Say %p% violated %v% giving them a permanenet smile

On Kill;Weapon Melee;Incr %knife_incr%;Incr %playerknives%;If %knife_incr% == 2 Set %knife_incr% 0;Say %p% stuck one right up %v%

On Kill;Weapon Melee;Incr %knife_incr%;Incr %playerknives%;If %knife_incr% == 3 Set %knife_incr% 0;Say %p% did %v% for 10 dollar!!!!!!!

On Kill;Weapon Melee;Incr %knife_incr%;Incr %playerknives%;If %knife_incr% == 4 Set %knife_incr% 0;Say %p% cut %v% a new arse hole!

On Kill;Weapon Melee;Incr %knife_incr%;Incr %playerknives%;If %knife_incr% == 5 Set %knife_incr% 0;Say %p% stuck one right up %v%

On Kill;Weapon Melee;Incr %knife_incr%;Incr %playerknives%;If %knife_incr% >= 6 Set %knife_incr% 0;Say %p% is tacking the piss with %knife_incr% kills

Second try:

#Knife counter

 

On Kill;Weapon Melee;Incr %knifeincr%;Incr %melee_streak[%p%]%;

 

On Join;If %melee_streak[%p%]% == 0;Set %knifeincr% 0

On Round;PlayerFirst; Set %melee_streak[%v%]% 0

On Kill;If %melee_streak[%p%]% == 1;Say %p% violated %v% giving them a permanenet smile

On Kill;If %melee_streak[%p%]% == 2;Say %p% stuck one right up %v%

On Kill;If %melee_streak[%p%]% == 3;Say %p% did %v% for 10 dollar!!!!!!!

On Kill;If %melee_streak[%p%]% == 4;Say %p% cut %v% a new arse hole!

On Kill;If %melee_streak[%p%]% == 5;Say %p% stuck one right up %v%

On Kill;If %melee_streak[%p%]% == 6;Say %p% is tacking the piss with %knife_incr% kills

and the third:

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

# Knife counter

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

 

#### Reset on kill

On Kill;Set %melee_streak[%v%]% 0

On TeamKill;Set %melee_streak[%v%]% 0

On Suicide;Set %melee_streak[%v%]% 0

 

#### Reset Meleeincr to 0 if server_streak is 0

On Kill;If %melee_streak[%p%]% == 0;Set %meleeincr% 0

 

#### Accumulate the kill count for each player in a var %server_streak[playername]%

On Kill;Incr %meleeincr%;Incr %melee_streak[%p%]%;

 

#### Say periodic killstreak messages

On Kill;Weapon Melee;If %melee_streak[%p%]% == 5;Say %p% is tacking the piss with %knife_incr% kills

On Kill;Weapon Melee;If %melee_streak[%p%]% == 4;Say %p% cut %v% a new arse hole!

On Kill;Weapon Melee;If %melee_streak[%p%]% == 3;Say %p% did %v% for 10 dollar!!!!!!!

On Kill;Weapon Melee;If %melee_streak[%p%]% == 2;Say %p% stuck one right up %v%

On Kill;Weapon Melee;If %melee_streak[%p%]% == 1;Say %p% violated %v% giving them a permanenet smile

I hope that by asking you for help we can get it working.

 

Greeting Ruben

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

Originally Posted by LjMjollnir*:

 

Hi everyone,

 

I and a friend of mine are trying to make a weapon to count the kills, using proconrulz. in this case the a knife count that get reset every round.

The thing behind this is so you se a other message every time you knife. till 6 when its just saying how much you got a knife kill this round.

Procon is reading it. and it is making sense to us but it will not count or show the message. this is why I ask for help from you.

 

this is what we have done already:

 

First try.

 

 

Second try:

 

 

and the third:

 

 

I hope that by asking you for help we can get it working.

 

Greeting Ruben

Ok First try... you are resetting the count to 0.. it will never get past 1 :ohmy:

 

Second try.

On Round;PlayerFirst; Set %melee_streak[%v%]% 0

On Round doesnt provide a Victim name..

%melee_streak[%p%]% is never increased.

 

3rd Try.

%melee_streak[%p%]%

Incorrect Variable naming .. %melee_streak% is a per user variable already.. adding [%p%] doesnt nothing but make the variable harder to use.. if you want to index variables like that you should be using %server? type variables

%server? and %ini_key? variables are accessible to all players where as others are generally only accessible to the player its assigned :ohmy: for example

 

Code:

On Kill;Incr %kills%;incr %server_kills%;incr %server_kills[%p%];incr %ini_stats_kills%
Player 1 gets 1 kill.. player 2 gets 2 kills the results of those variables

 

Player 1 %kills% = 1;Player 2 %kills% = 2

%server_kills% = 3

%server_kills[player 1]% = 1;%server_kills[player 2] = 2

 

{/Procon/Configs/Proconrulz.ini}

[stats]

kills = 3

 

your first try is pretty much the best one.. (second isnt too bad either)... just remove Set %knife_incr% 0 on each line.. (can fix the formatting a little)... and it will work

 

Actually stuff it.. im feeling in a good mood :ohmy: ill just rewrite yers for ya

 

Code:

On Kill;Weapon Melee
   Incr %knife%;Incr %knifekills%
   If %knife% == 1;Say %p% violated %v% giving them a permanenet smile
   If %knife% == 2;Say %p% stuck one right up %v%
   If %knife% == 3;Say %p% did %v% for 10 dollar!!!!!!!
   If %knife% == 4;Say %p% cut %v% a new arse hole!
   If %knife% == 5;Say %p% stuck one right up %v%
   If %knife% >= 6;Set %knife% 0;Say %p% is tacking the piss with %knifekills% kills
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bckrv*:

 

Hello guys,

 

I am looking to add a !voterestart on my BF4 server, this option must be available by the players (like !votekick) I searched on old post but I found anything. Is possible to add this option or not? If yes please can you help me?

 

Thanks!

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

Originally Posted by ty_ger07*:

 

Hello guys,

 

I am looking to add a !voterestart on my BF4 server, this option must be available by the players (like !votekick) I searched on old post but I found anything. Is possible to add this option or not? If yes please can you help me?

 

Thanks!

Sure!

 

The voterestart variable will need to be a server? variable so that everyone on any team can affect it.

You will need some threshold value to determine when "enough" people agree that it should be restarted. So, lets say that there are 6 people on one team and 9 people on another. If the smallest team number of players agrees, execute it. In other words, set the threshold to 6 people if there are 6 people on the smallest team. If there are 25 people on the smallest team, the threshold is 25 votes required. The number of votes required would change dynamically as the team sizes change.

 

# voterestart rulz for proconrulz

#

On Say;Text !voterestart;If %server_voterestartalreadytriggered% = 0;Set %server_voterestartalreadytriggered% 1;Say !voterestart started. Vote to restart this round by typing !voteyes.;Yell !voterestart started

#

On Say;Text !voterestart;If %server_voterestartalreadytriggered% = 1;PlayerSay !voterestart already started

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 1;If %voterestartalreadyvoted% = 0;Set %voterestartalreadyvoted% 1;Incr %server_voterestart%;PlayerSay You have voted to restart this round.;Say %server_voterestart% out of %n% votes to restart this round

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 1;If %voterestartalreadyvoted% = 1;PlayerSay You have already voted to restart this round.

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 0;PlayerSay No voterestart currently in progress.

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 1;If %server_voterestart% >= %n%;Yell !voterestart passed! Round will restart!

#

On Spawn;If %server_voterestart% >= %n%;Yell !voterestart passed! Round will restart!

#

On Spawn;If %server_voterestart% >= %n%;ServerCount 2;Exec mapList.restartRound

 

 

NOT TESTED! But I think that will work.

 

!voteno is not used since it doesn't make any difference. People can type !voteno but it doesn't matter. Not voting is the same thing as voting no. You just need greater than or equal to the smallest team number votes to pass the vote.

 

When a person votes, it lets them know whether or not a !voterestart is in progress. It will also let them know that they voted or have already voted.

 

When a !voterestart is successful, it will warn the whole server 4 times that the round will restart. 3 player spawns after the vote is successful will trigger the round restart.

 

EDIT: Fixes

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

Originally Posted by LjMjollnir*:

 

I am NOT sure if "Exec mapList.restartRound" is correct. I can never remember the protocol. Sometimes a prefix is needed before the command due to execution source. Maybe it should be "Exec admin.mapList.restartRound"? Does someone else know? I don't have a server to test with. :ohmy:

Exec mapList.restartRound is correct :ohmy:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bckrv*:

 

Sure!

 

The voterestart variable will need to be a server? variable so that everyone on any team can affect it.

You will need some threshold value to determine when "enough" people agree that it should be restarted. So, lets say that there are 6 people on one team and 9 people on another. If the smallest team number of players agrees, execute it. In other words, set the threshold to 6 people if there are 6 people on the smallest team. If there are 25 people on the smallest team, the threshold is 25 votes required. The number of votes required would change dynamically as the team sizes change.

 

# voterestart rulz for proconrulz

#

On Text;!voterestart;If %server_voterestartalreadytriggered% = 0;Set %server_voterestartalreadytriggered% 1;Say !voterestart started. Vote to restart this round by typing !voteyes.;Yell !voterestart started

#

On Text;!voterestart;If %server_voterestartalreadytriggered% = 1;PlayerSay !voterestart already started

#

On Text;!voteyes;If %server_voterestartalreadytriggered% = 1;If %voterestartalreadyvoted% = 0;Set %voterestartalreadyvoted% 1;Incr %server_voterestart%;PlayerSay You have voted to restart this round.;Say %server_voterestart% out of %n% votes to restart this round

#

On Text;!voteyes;If %server_voterestartalreadytriggered% = 1;If %voterestartalreadyvoted% = 1;PlayerSay You have already voted to restart this round.

#

On Text;!voteyes;If %server_voterestartalreadytriggered% = 0;PlayerSay No voterestart currently in progress.

#

On Text;!voteyes;If %server_voterestartalreadytriggered% = 1;If %server_voterestart% >= %n%;Yell !voterestart passed! Round will restart!

#

On Spawn;If %server_voterestart% >= %n%;Yell !voterestart passed! Round will restart!

#

On Spawn;If %server_voterestart% >= %n%;ServerCount 2;Exec mapList.restartRound

 

 

NOT TESTED! But I think that will work.

 

!voteno is not used since it doesn't make any difference. People can type !voteno but it doesn't matter. Not voting is the same thing as voting no. You just need greater than or equal to the smallest team number votes to pass the vote.

 

When a person votes, it lets them know whether or not a !voterestart is in progress. It will also let them know that they voted or have already voted.

 

When a !voterestart is successful, it will warn the whole server 4 times that the round will restart. 3 player spawns after the vote is successful will trigger the round restart.

 

 

I am NOT sure if "Exec mapList.restartRound" is correct. I can never remember the protocol. Sometimes a prefix is needed before the command due to execution source. Maybe it should be "Exec admin.mapList.restartRound"? Does someone else know? I don't have a server to test with. :ohmy:

Many thanks for your reply ty_ger07 :smile:

 

I added your code on ProconRulz but I have an error:

 

[09:24:21 28] ProconRulz SKIPPING RULE: Bad "On" clause in your rule ""

[09:24:21 28] ProconRulz SKIPPING RULE: Bad "On" clause in your rule ""

[09:24:21 28] ProconRulz SKIPPING RULE: Bad "On" clause in your rule ""

[09:24:21 28] ProconRulz SKIPPING RULE: Bad "On" clause in your rule ""

[09:24:21 28] ProconRulz SKIPPING RULE: Bad "On" clause in your rule ""

[09:24:21 28] ProconRulz SKIPPING RULE: Bad "On" clause in your rule ""

[09:24:21 28] ProconRulz: 17 rules loaded

Do you have an idea why this error appear?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by TheMrApostel*:

 

I think you also need to write "text" before your command like:

 

# voterestart rulz for proconrulz

#

On Say;Text !voterestart;If %server_voterestartalreadytriggered% = 0;Set %server_voterestartalreadytriggered% 1;Say !voterestart started. Vote to restart this round by typing !voteyes.;Yell !voterestart started

#

On Say;Text !voterestart;If %server_voterestartalreadytriggered% = 1;PlayerSay !voterestart already started

#

On Say;Text!voteyes;If %server_voterestartalreadytriggered% = 1;If %voterestartalreadyvoted% = 0;Set %voterestartalreadyvoted% 1;Incr %server_voterestart%;PlayerSay You have voted to restart this round.;Say %server_voterestart% out of %n% votes to restart this round

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 1;If %voterestartalreadyvoted% = 1;PlayerSay You have already voted to restart this round.

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 0;PlayerSay No voterestart currently in progress.

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 1;If %server_voterestart% >= %n%;Yell !voterestart passed! Round will restart!

#

On Spawn;If %server_voterestart% >= %n%;Yell !voterestart passed! Round will restart!

#

On Spawn;If %server_voterestart% >= %n%;ServerCount 2;Exec mapList.restartRound

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

Originally Posted by Webrene*:

 

Hi again.

 

Is there a easier and faster way to not allowed all M320 and XM25?

Right now i try to write each weapon in one seperate line. All U_AK12_M320_LVG, U_CZ805_M320_LVG....

Code:

#M320-HE
On Kill;Weapon U_M320_HE;PlayerCount 2;Say BANNED %p%, No M320 HE/LVG on this server!;TempBan 900 %p%, you were banned for using %w% (900s)
On Kill;Weapon U_M320_HE;PlayerCount 1;Say KICKED %p%, No M320 HE/LVG on this server!;Kick %p%, you were kicked for using %w%
On Kill;Weapon U_M320_HE;Say Killed %p%, No M320 HE/LVG on this server;Kill 100
#M320-LVG
On Kill;Weapon U_M320_LVG;PlayerCount 2;Say BANNED %p%, No M320 HE/LVG on this server!;TempBan 900 %p%, you were banned for using %w% (900s)
On Kill;Weapon U_M320_LVG;PlayerCount 1;Say KICKED %p%, No M320 HE/LVG on this server!;Kick %p%, you were kicked for using %w%
On Kill;Weapon U_M320_LVG;Say Killed %p%, No M320 HE/LVG on this server;Kill 100
#XM25 Airburst
On Kill;Weapon U_XM25;PlayerCount 2;Say BANNED %p%, No XM25 Airburst on this server!;TempBan 900 %p%, you were banned for using %w% (900s)
On Kill;Weapon U_XM25;PlayerCount 1;Say KICKED %p%, No XM25 Airburst on this server!;Kick %p%, you were kicked for using %w%
On Kill;Weapon U_XM25;Say Killed %p%, No XM25 Airburst on this server;Kill 100
#M320 Under AEK
On Kill;Weapon U_AEK971_M320_HE;PlayerCount 2;Say BANNED %p%, No M320 HE/LVG on this server!;TempBan 900 %p%, you were banned for using %w% (900s)
On Kill;Weapon U_AEK971_M320_HE;PlayerCount 1;Say KICKED %p%, No M320 HE/LVG on this server!;Kick %p%, you were kicked for using %w%
On Kill;Weapon U_AEK971_M320_HE;Say Killed %p%, No M320 HE/LVG on this server;Kill 100
...
...
...
Will be a very large script then... maybe someone knows a command like "M320" what includes all M320, no matter if under a weapon or standalone?

 

Thank you

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

Originally Posted by TheMrApostel*:

 

Hi again.

 

Is there a easier and faster way to not allowed all M320 and XM25?

Right now i try to write each weapon in one seperate line. All U_AK12_M320_LVG, U_CZ805_M320_LVG....

Code:

#M320-HE
On Kill;Weapon U_M320_HE;PlayerCount 2;Say BANNED %p%, No M320 HE/LVG on this server!;TempBan 900 %p%, you were banned for using %w% (900s)
On Kill;Weapon U_M320_HE;PlayerCount 1;Say KICKED %p%, No M320 HE/LVG on this server!;Kick %p%, you were kicked for using %w%
On Kill;Weapon U_M320_HE;Say Killed %p%, No M320 HE/LVG on this server;Kill 100
#M320-LVG
On Kill;Weapon U_M320_LVG;PlayerCount 2;Say BANNED %p%, No M320 HE/LVG on this server!;TempBan 900 %p%, you were banned for using %w% (900s)
On Kill;Weapon U_M320_LVG;PlayerCount 1;Say KICKED %p%, No M320 HE/LVG on this server!;Kick %p%, you were kicked for using %w%
On Kill;Weapon U_M320_LVG;Say Killed %p%, No M320 HE/LVG on this server;Kill 100
#XM25 Airburst
On Kill;Weapon U_XM25;PlayerCount 2;Say BANNED %p%, No XM25 Airburst on this server!;TempBan 900 %p%, you were banned for using %w% (900s)
On Kill;Weapon U_XM25;PlayerCount 1;Say KICKED %p%, No XM25 Airburst on this server!;Kick %p%, you were kicked for using %w%
On Kill;Weapon U_XM25;Say Killed %p%, No XM25 Airburst on this server;Kill 100
#M320 Under AEK
On Kill;Weapon U_AEK971_M320_HE;PlayerCount 2;Say BANNED %p%, No M320 HE/LVG on this server!;TempBan 900 %p%, you were banned for using %w% (900s)
On Kill;Weapon U_AEK971_M320_HE;PlayerCount 1;Say KICKED %p%, No M320 HE/LVG on this server!;Kick %p%, you were kicked for using %w%
On Kill;Weapon U_AEK971_M320_HE;Say Killed %p%, No M320 HE/LVG on this server;Kill 100
...
...
...
Will be a very large script then... maybe someone knows a command like "M320" what includes all M320, no matter if under a weapon or standalone?

 

Thank you

i think you can use one line with all weapons like:

On Kill;Weapon U_M320_HE,Weapon U_XM25;PlayerCount 2;...

 

so you need only 3 lines of code.

 

EDIT:

 

Maybe you should take a look on On Kill;Damage ProjectileExplosive;PlayerCount 2;...

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

Originally Posted by Webrene*:

 

so you can seperate each weapon with a ","? Okay... didn't knew... will test it.

 

ProjectileExplosive.... for me it would be too much restrict... i only want to ban xm25 and m320 HE/LVG. All the other weapons should be useable. But thank you for your hint :smile:

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

Originally Posted by ty_ger07*:

 

so you can seperate each weapon with a ","? Okay... didn't knew... will test it.

 

ProjectileExplosive.... for me it would be too much restrict... i only want to ban xm25 and m320 HE/LVG. All the other weapons should be useable. But thank you for your hint :smile:

You can do:

 

On Kill;If %wk% Contains "M320";

 

That will check every kill to see if the weapon key contains the text 'M320'. This way you don't have to specifically type out every type of M320 weapon.

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

Originally Posted by terrygollo*:

 

Hello all I just ask you for help, because I own a BF4 server, and we are a TEAM sniper, and would ban all weapons except DMR rifle precision and gadjet. And we would leave the helicopter and car and motorcycle and boat like vehicle. I did not really understand how was writing the text in Proconrulz. I'm not too good at is field. Could you guide me please

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

Originally Posted by bckrv*:

 

Hello friends,

 

Thanks for your help. I added this code:

 

# voterestart rulz for proconrulz

#

On Say;Text !voterestart;If %server_voterestartalreadytriggered% = 0;Set %server_voterestartalreadytriggered% 1;Say !voterestart started. Vote to restart this round by typing !voteyes.;Yell !voterestart started

#

On Say;Text !voterestart;If %server_voterestartalreadytriggered% = 1;PlayerSay !voterestart already started

#

On Say;Text!voteyes;If %server_voterestartalreadytriggered% = 1;If %voterestartalreadyvoted% = 0;Set %voterestartalreadyvoted% 1;Incr %server_voterestart%;PlayerSay You have voted to restart this round.;Say %server_voterestart% out of %n% votes to restart this round

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 1;If %voterestartalreadyvoted% = 1;PlayerSay You have already voted to restart this round.

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 0;PlayerSay No voterestart currently in progress.

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 1;If %server_voterestart% >= %n%;Yell !voterestart passed! Round will restart!

#

On Spawn;If %server_voterestart% >= %n%;Yell !voterestart passed! Round will restart!

#

On Spawn;If %server_voterestart% >= %n%;ServerCount 2;Exec mapList.restartRound

But I noticed this error:

 

[08:50:44 67] ProconRulz: Unrecognised rule

[08:50:44 67] ProconRulz: 17 rules loaded

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

Originally Posted by TheMrApostel*:

 

Hello friends,

 

Thanks for your help. I added this code:

 

 

 

But I noticed this error:

 

 

 

Any idea?

Take a look on line 8 :smile:

 

On Say;Text!voteyes;If %server_voterestartalreadytriggered% = 1;If %voterestartalreadyvoted% = 0;Set %voterestartalreadyvoted% 1;Incr %server_voterestart%;PlayerSay You have voted to restart this round.;Say %server_voterestart% out of %n% votes to restart this round

Theres no space between Text and !voteyes.

 

# voterestart rulz for proconrulz

#

On Say;Text !voterestart;If %server_voterestartalreadytriggered% = 0;Set %server_voterestartalreadytriggered% 1;Say !voterestart started. Vote to restart this round by typing !voteyes.;Yell !voterestart started

#

On Say;Text !voterestart;If %server_voterestartalreadytriggered% = 1;PlayerSay !voterestart already started

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 1;If %voterestartalreadyvoted% = 0;Set %voterestartalreadyvoted% 1;Incr %server_voterestart%;PlayerSay You have voted to restart this round.;Say %server_voterestart% out of %n% votes to restart this round

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 1;If %voterestartalreadyvoted% = 1;PlayerSay You have already voted to restart this round.

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 0;PlayerSay No voterestart currently in progress.

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 1;If %server_voterestart% >= %n%;Yell !voterestart passed! Round will restart!

#

On Spawn;If %server_voterestart% >= %n%;Yell !voterestart passed! Round will restart!

#

On Spawn;If %server_voterestart% >= %n%;ServerCount 2;Exec mapList.restartRound

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

Originally Posted by p19blo*:

 

Im new to proconrulz

 

how cna i set up a rule of only 3 mortar and 3 ucav a side ?

More on this

 

Ive been messing around and found a way to kill players for using the ucav and mortar, but what i cant figure out how to do a "slot" for these weapins to allow for 2 a team.

 

On Kill;If %wk% Contains "UCAV";;TeamCount 2;Say Killed %p%, Only 2 Mortars on each Team ;Kill 100

 

what im using for the ucav atm

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