Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by ChaosZecke*:

 

Hi,

I want to create a LastBlood message, like the FirstBlood.

That is what i have done:

 

On Kill;ServerFinal;Say %pt% %p% has LAST BLOOD by killing %v% with %w%

On Kill;ServerFinal;Say %p% brings FINAL VICTORY to %pt%

 

On Kill;ServerLast;Say %pt% %p% has LAST BLOOD by killing %v% with %w%

On Kill;ServerLast;Say %p% brings FINAL VICTORY to %pt%

 

but it doesn't work.

Can anybody help me?

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

Originally Posted by ixnorp*:

 

Hi,

I want to create a LastBlood message, like the FirstBlood.

That is what i have done:

 

On Kill;ServerFinal;Say %pt% %p% has LAST BLOOD by killing %v% with %w%

On Kill;ServerFinal;Say %p% brings FINAL VICTORY to %pt%

 

On Kill;ServerLast;Say %pt% %p% has LAST BLOOD by killing %v% with %w%

On Kill;ServerLast;Say %p% brings FINAL VICTORY to %pt%

 

but it doesn't work.

Can anybody help me?

You need to read the documentation again man, There is no ServerFinal and ServerLast, only ServerFirst and RoundOver.

 

see this thread by tarreltje.

 

showthread....nd-Round-stats*

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

Originally Posted by skibbad*:

 

sry for doublepost i saw i forget to put in the script... so lets start from beginning :biggrin:

 

hi together !!!

 

i just found the Adaptive Sniper Script i asked a few posts befor..

but i think its for BF3 only.. cause of the post was older then BF4 ...

may someone can tell me if it is possible to use in BF4

or maybe someone is intressted in rewrite the Script for BF4 ?

would be very cool to have it and i think im not the only one intressted on it...

 

here is the script

 

Code:

#sniper limit by tarreltje V2.1 with ADAPTIVE add-on by Nebiros v1.4beta
#
#ADAPTIVE add-on by NEBIROS:
#---------------------------------------------------------------
#Set values for Max # of snipers, Teamsize is smallest team in server
#---------------------------------------------------------------
On Round;
Set %server_TeamSize2_sniperlimit% 1
Set %server_TeamSize4_sniperlimit% 1
Set %server_TeamSize8_sniperlimit% 2
Set %server_TeamSize12_sniperlimit% 3
Set %server_TeamSize16_sniperlimit% 4
Set %server_TeamSize20_sniperlimit% 5
Set %server_TeamSize24_sniperlimit% 6
Set %server_TeamSize32_sniperlimit% 8
#----------------------------------------------------------------

On Spawn;
if %n% >= -1;if %n% <= 2;if %server_sniperlimit% <> %server_TeamSize2_sniperlimit%;Set %server_sniperlimit% %server_TeamSize2_sniperlimit%;ALL SniperLimit set to %server_sniperlimit% per team!!! (XXS teams)
if %n% >= 3;if %n% <= 4;if %server_sniperlimit% <> %server_TeamSize4_sniperlimit%;Set %server_sniperlimit% %server_TeamSize4_sniperlimit%;ALL SniperLimit set to %server_sniperlimit% per team!!! (XS small teams)
if %n% >= 5;if %n% <= 8;if %server_sniperlimit% <> %server_TeamSize8_sniperlimit%;Set %server_sniperlimit% %server_TeamSize8_sniperlimit%;ALL SniperLimit set to %server_sniperlimit% per team!!! (S teams)
if %n% >= 9;if %n% <= 12;if %server_sniperlimit% <> %server_TeamSize12_sniperlimit%;Set %server_sniperlimit% %server_TeamSize12_sniperlimit%;ALL SniperLimit set to %server_sniperlimit% per team!!! (M teams)
if %n% >= 13;if %n% <= 16;if %server_sniperlimit% <> %server_TeamSize16_sniperlimit%;Set %server_sniperlimit% %server_TeamSize16_sniperlimit%;ALL SniperLimit set to %server_sniperlimit% per team!!! (L teams)
if %n% >= 17;if %n% <= 20;if %server_sniperlimit% <> %server_TeamSize20_sniperlimit%;Set %server_sniperlimit% %server_TeamSize20_sniperlimit%;ALL SniperLimit set to %server_sniperlimit% per team!!! (XL teams)
if %n% >= 21;if %n% <= 24;if %server_sniperlimit% <> %server_TeamSize24_sniperlimit%;Set %server_sniperlimit% %server_TeamSize24_sniperlimit%;ALL SniperLimit set to %server_sniperlimit% per team!!! (XXL teams)
if %n% >= 25;if %server_sniperlimit% <> %server_TeamSize32_sniperlimit%;Set %server_sniperlimit% %server_TeamSize32_sniperlimit%;ALL SniperLimit set to %server_sniperlimit% per team!!! (XXXL teams)


# SNIPER LIMIT rulz by TARRELTJE
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 !!!;Yell %p% got killed for disobeying the SniperLimit!;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%
greetz and thanks for all replys
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by virusdead*:

 

I have wanted to add this script but I have the error console

help with this problem

 

On Kill;MapMode Domination0;Damage U_Claymore;PlayerCount 2; Say %p% :::::::::: AutoAdmin kicked for%w% using Explosive;Kick %p% %w% use

On Kill;MapMode Domination0;Damage U_Claymore;PlayerCount 1; Say %p% :::::::::: AutoAdmin killed for %w% Stop Explosive;Say %p% LAST WARNING NEXT TIME YOU WILL BE KICKED;Kill %p% %w% use

On Kill;MapMode Domination0;Damage U_Claymore;Say %p% :::::::::: AutoAdmin killed for %w% Stop Explosive;Kill %p% %w% use

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

Originally Posted by Sevendot*:

 

I'm sharing my Pistol & Melee script for ProconRulz. Patched together from existing scripts and some customization.

 

Details:

 

Allowed: Defibrillator, Repair Tool, Knife, Pistols

Kick on: third offense and fourth offense

Ban on: fifth offense (15m tban)

Misc:

On first spawn in the round the player gets notified this is a Pistol and Melee only server

Melee kills are announced in chat via the Announcer script

 

Code:

On Spawn;PlayerFirst;PlayerYell %p%, this server is Pistol and Melee only (Defib,Repair,Knife,Pistol)!;PlayerSay %p%, this server is Pistol and Melee only (Defib,Repair,Knife,Pistol)!

#########################################################
# Original script from example by Bambam
# 2x Kill, 1x Kick, 1x Kick after re-join and offense, 1x Tban (15m) after re-join and offense
# Allow: Defib, RepairT, Knife, Pistols
# Misc: Counter #/2 offenses (kill, then kick on 3)
#########################################################

On Kill;Not Weapon U_Defib; Not Weapon U_Repairtool;Not Weapon Melee;Not Damage Handgun;PlayerCount 4;Log %p% was banned for using a %w%;Say %p% was banned for using a %w%;TempBan 900 %p% (15min) Melee and Pistols only!
On Kill;Not Weapon U_Defib; Not Weapon U_Repairtool;Not Weapon Melee;Not Damage Handgun;PlayerCount 2;Log %p% was kicked for using a %w%;Say %p% was kicked for using a %w% ;Kick %p% Melee and Pistols only!
On Kill;Not Weapon U_Defib; Not Weapon U_Repairtool;Not Weapon Melee;Not Damage Handgun;PlayerSay %p%, Melee/Pistols only! You used a %w% (%c%/2);PlayerYell %p%, Melee/Pistols only! You used a %w% (%c%/2);Kill 100

##########################################
# Melee Kills Announcer from example by Bambam
##########################################

On Kill;Weapon Weapons/Knife/Knife;Say %p% slit the throat of %v%!!!
On Kill;Weapon Melee;Say %p% grabbed and stabbed %v%!!!
On Kill;If %wk% contains Defib;Say %p% zapped %v% with the Defib!!!
On Kill;If %wk% contains Repair;Say %p% killed %v% with the Repair Tool!!!

##### FIRSTBLOOD #####
On Kill;ServerFirst;Say %p% has FIRST BLOOD by killing %v% with %w%
Tested and working on Battlefield 4 TDM with Normal preset and Experience TDM0
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Wargazmus_27*:

 

Just insert not weapon u_serbushorty into your existing lines should do it

 

 

Sent from my iPhone using Tapatalk

Works like a Charm, Thanx! Would you also know how I can prevent the Saiga (the Battlepickup) as well? I can´t find the proper name of the Saiga which can be picked up on the Battlefield.... otherwise I would do it in the same way as for the Shorty =)

 

Actually I think its the USAS and NOT the Saiga....

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

Originally Posted by ixnorp*:

 

Works like a Charm, Thanx! Would you also know how I can prevent the Saiga (the Battlepickup) as well? I can´t find the proper name of the Saiga which can be picked up on the Battlefield.... otherwise I would do it in the same way as for the Shorty =)

 

Actually I think its the USAS and NOT the Saiga....

showthread....5-Weapon-Codes*
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Wargazmus_27*:

 

Another question for you guys...

is there a way of setting the Melee Messages? I would like for the Melee messages to come randomly from a list, but I only saw this in Insane Limits... can I do this in the Rules.txt as well or is it limited to me using Insane Limits?

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

Originally Posted by ixnorp*:

 

Another question for you guys...

is there a way of setting the Melee Messages? I would like for the Melee messages to come randomly from a list, but I only saw this in Insane Limits... can I do this in the Rules.txt as well or is it limited to me using Insane Limits?

this one is beyond me, need other experts. But if insane limits has it, i would just use it. :biggrin:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ixnorp*:

 

Hello . I have a TDM BF4 server I need help I run procon rulz so I need the code fore kill if you use rpg and smaw .Please some can you post the code fore it

It is all at the 1st page of this thread man...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LjMjollnir*:

 

This is my 'random' Melee message script.. ##### Mr BAMBAM im still waiting for %random% :P #######

 

Code:

### Custom Knife messages ###

#On Say;Text !knife;Set %ini_test_knife[%p%]% %targettext%

On Kill;If %wk% contains Defib;Say %p% zapped %v% with the Defib Zap Zap motherfucker !!!
On Kill;If %wk% contains Repair;Say %p% burnt %v% to death with the Repair Tool !!!

On Kill;Weapon Melee
  If %p% == "Diseased-LJ";Say %p% grabbed %v% and sliced his head off with a Machete;Set %server_km% 1
  If %p% == "Iamweedeater";Say %p% stabbed %v% Knifey knifey mother fucker!!;Set %server_km% 1
  If %p% == "BURNIE_ZARZOFF";Say %v% has been cut like a fish on the end of %p%'s rusty knife;Set %server_km% 1
  If %p% == "MOJOKOTA";Say %v% was knifed as bro - %p%;Set %server_km% 1
  If %p% == "TokoIoshe";Say %p% sliced %v% open a new Vagina;Set %server_km% 1
  If %p% == "JustinFcknBieber";Say how was it possible that Justin Beiber knifed %v% and stole his tags!!;Set %server_km% 1
  If %p% == "Colonel_Stirling";Say %p% didnt give the admin a knife message so ended up with this.. %p% knifed %v%;Set %server_km% 1
  If %p% == "CoifStorm";Say %v%, %p% penetrated and infiltrated your axe wound.;Set %server_km% 1
  If %p% == "Stomppr";Say %v% said mummy da bad man %p% touched me in my special place!!!!!;Set %server_km% 1


On Kill;Weapon Melee;If %server_km% == 0
  Incr %ini_knife_kc%
  If %ini_knife_kc% >= 17;Set %ini_knife_kc% 0
  If %ini_knife_kc% == 0;Say %p% grabbed and stabbed %v%.
  If %ini_knife_kc% == 1;Say %p% slit the throat of %v%.
  If %ini_knife_kc% == 2;Say %p% shanked %v%, bitches love a good shanking.
  If %ini_knife_kc% == 3;Say %p% gave %v% a cuddle then stabbed him and the arse.
  If %ini_knife_kc% == 4;Say %p% was giving %v% a shave but slipped and sliced his neck open.
  If %ini_knife_kc% == 5;Say %p% tried to perform open heart surgery on %v% it didnt end well.
  If %ini_knife_kc% == 6;Say %p% was running with a knife he tripped and the knife landed in %v%'s chest.
  If %ini_knife_kc% == 7;Say %v% wasnt looking and got knifed by %p%.
  If %ini_knife_kc% == 8;Say %v% thought %p% was giving him a hug... the knife showed otherwise.
  If %ini_knife_kc% == 9;Say %v% thought %p%'s knife was small.. till it was in his chest.
  If %ini_knife_kc% == 10;Say %v% didnt hear %p% comming and got a knife in the chest.
  If %ini_knife_kc% == 11;Say %v% thought he was safe... %p% knifed %v% in the back.
  If %ini_knife_kc% == 12;Say %v% said %p% has a small dick.. so %p% knifed him.
  If %ini_knife_kc% == 13;Say %v% got his balls cut off by %p%.
  If %ini_knife_kc% == 14;Say %v% lost his lunch.. and his guts after %p% cut him open.
  If %ini_knife_kc% == 15;Say %v% is complaing about chest pains... after %p% knifed him.
  If %ini_knife_kc% == 16;Say %p% sliced and diced %v%.

On Kill;Weapon Melee;Set %server_km% 0
I dont mind you using the code.. but change the messages atleast..
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Wargazmus_27*:

 

This is my 'random' Melee message script.. ##### Mr BAMBAM im still waiting for %random% :P #######

 

Code:

### Custom Knife messages ###

#On Say;Text !knife;Set %ini_test_knife[%p%]% %targettext%

On Kill;If %wk% contains Defib;Say %p% zapped %v% with the Defib Zap Zap motherfucker !!!
On Kill;If %wk% contains Repair;Say %p% burnt %v% to death with the Repair Tool !!!

On Kill;Weapon Melee
  If %p% == "Diseased-LJ";Say %p% grabbed %v% and sliced his head off with a Machete;Set %server_km% 1
  If %p% == "Iamweedeater";Say %p% stabbed %v% Knifey knifey mother fucker!!;Set %server_km% 1
  If %p% == "BURNIE_ZARZOFF";Say %v% has been cut like a fish on the end of %p%'s rusty knife;Set %server_km% 1
  If %p% == "MOJOKOTA";Say %v% was knifed as bro - %p%;Set %server_km% 1
  If %p% == "TokoIoshe";Say %p% sliced %v% open a new Vagina;Set %server_km% 1
  If %p% == "JustinFcknBieber";Say how was it possible that Justin Beiber knifed %v% and stole his tags!!;Set %server_km% 1
  If %p% == "Colonel_Stirling";Say %p% didnt give the admin a knife message so ended up with this.. %p% knifed %v%;Set %server_km% 1
  If %p% == "CoifStorm";Say %v%, %p% penetrated and infiltrated your axe wound.;Set %server_km% 1
  If %p% == "Stomppr";Say %v% said mummy da bad man %p% touched me in my special place!!!!!;Set %server_km% 1


On Kill;Weapon Melee;If %server_km% == 0
  Incr %ini_knife_kc%
  If %ini_knife_kc% >= 17;Set %ini_knife_kc% 0
  If %ini_knife_kc% == 0;Say %p% grabbed and stabbed %v%.
  If %ini_knife_kc% == 1;Say %p% slit the throat of %v%.
  If %ini_knife_kc% == 2;Say %p% shanked %v%, bitches love a good shanking.
  If %ini_knife_kc% == 3;Say %p% gave %v% a cuddle then stabbed him and the arse.
  If %ini_knife_kc% == 4;Say %p% was giving %v% a shave but slipped and sliced his neck open.
  If %ini_knife_kc% == 5;Say %p% tried to perform open heart surgery on %v% it didnt end well.
  If %ini_knife_kc% == 6;Say %p% was running with a knife he tripped and the knife landed in %v%'s chest.
  If %ini_knife_kc% == 7;Say %v% wasnt looking and got knifed by %p%.
  If %ini_knife_kc% == 8;Say %v% thought %p% was giving him a hug... the knife showed otherwise.
  If %ini_knife_kc% == 9;Say %v% thought %p%'s knife was small.. till it was in his chest.
  If %ini_knife_kc% == 10;Say %v% didnt hear %p% comming and got a knife in the chest.
  If %ini_knife_kc% == 11;Say %v% thought he was safe... %p% knifed %v% in the back.
  If %ini_knife_kc% == 12;Say %v% said %p% has a small dick.. so %p% knifed him.
  If %ini_knife_kc% == 13;Say %v% got his balls cut off by %p%.
  If %ini_knife_kc% == 14;Say %v% lost his lunch.. and his guts after %p% cut him open.
  If %ini_knife_kc% == 15;Say %v% is complaing about chest pains... after %p% knifed him.
  If %ini_knife_kc% == 16;Say %p% sliced and diced %v%.

On Kill;Weapon Melee;Set %server_km% 0
I dont mind you using the code.. but change the messages atleast..
Thankx dude, I hope this works! Don´t wanna install more than I have to on the Server (Insane Limits), and if this is working, I´m a happy knifer... uhhh... camper... forget it =)
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Wiggles*:

 

i tried the punisher in proconrulz today, and it didnt work as i thought it would. when typing !p or !f and even sometimes !punish nothing happened. i looked at the "online documentation" and as far as i can see its right in the code. is this a fault that i have done or a fault with proconrulz?

 

 

Code:

#########################################################
# Teamkill Punisher v1.2
# Original Author ty_ger07, tweak by bambam
# Enhancements by russel5
#########################################################

On Spawn;ServerFirst;Set %ini_punish% 0
On TeamKill;PlayerSay %p% you TEAMKILLED %v%. Watch your fire! This is your %c% victim.
On TeamKill;VictimSay %v%: !p or !f
# Team Kill Tracking Rulz
On TeamKill;Set %server_lastteamkill[%p%]% %v%
On TeamKill;Set %server_lastteamkiller[%v%]% %p%
# Team Kill Punish Rulz
On Say;Text !p,!punish;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to punish.
On Say;Text !p,!punish;If %server_lastteamkiller[%p%]% != 0
	Incr %ini_punish_count[%server_lastteamkiller[%p%]%]%
	If %ini_punish_count[%p%]% == 4;TempBan 7200 %p% TempBan 2 hours;Set %ini_punish_count[%p%]% 0
	TargetPlayer %server_lastteamkiller[%p%]%;TargetAction PlayerSay %t% killed for team killing.;TargetAction Kill;TargetConfirm;Set %server_lastteamkiller[%p%]% 0
# Team Kill Forgive Rulz
On Say;Text !f,!forgive;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to forgive.
On Say;Text !f,!forgive;If %server_lastteamkiller[%p%]% != 0;TargetPlayer %server_lastteamkiller[%p%]%;Set %server_lastteamkill[%server_lastteamkiller[%p%]%]% 0;TargetAction PlayerSay %t% was forgiven by %p%.;Set %server_lastteamkiller[%p%]% 0
#Leave
On Leave;Set %ini_punish_count[%p%]% 0
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by hauser1*:

 

Do you know if there is a code for ppl to see there rank on a server like !rank?

 

How would this code look if i whant 1 time kill 2 time kick 3 time ban?

 

On Kill;if %wk% contains M320_HE;Say Killed %p%, No M320 HE/LVG on this server;Kill 100

On Kill;if %wk% contains M320_LVG;Say Killed %p%, No M320 HE/LVG on this server;Kill 100

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

Originally Posted by Sevendot*:

 

Do you know if there is a code for ppl to see there rank on a server like !rank?

 

How would this code look if i whant 1 time kill 2 time kick 3 time ban?

 

On Kill;if %wk% contains M320_HE;Say Killed %p%, No M320 HE/LVG on this server;Kill 100

On Kill;if %wk% contains M320_LVG;Say Killed %p%, No M320 HE/LVG on this server;Kill 100

1. Use search: showthread....z-SERVER-STATS* , using this you should be able to figure it out.

 

2. Untested.

 

Code:

On Kill;Weapon U_M320_HE,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_HE,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_HE,U_M320_LVG;Say Killed %p%, No M320 HE/LVG on this server;Kill 100
I'm not sure of comma can function as an OR using the Weapon condition. If not, do this:

 

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
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Slayer*:

 

i tried the punisher in proconrulz today, and it didnt work as i thought it would. when typing !p or !f and even sometimes !punish nothing happened. i looked at the "online documentation" and as far as i can see its right in the code. is this a fault that i have done or a fault with proconrulz?

 

 

Code:

#########################################################
# Teamkill Punisher v1.2
# Original Author ty_ger07, tweak by bambam
# Enhancements by russel5
#########################################################

On Spawn;ServerFirst;Set %ini_punish% 0
On TeamKill;PlayerSay %p% you TEAMKILLED %v%. Watch your fire! This is your %c% victim.
On TeamKill;VictimSay %v%: !p or !f
# Team Kill Tracking Rulz
On TeamKill;Set %server_lastteamkill[%p%]% %v%
On TeamKill;Set %server_lastteamkiller[%v%]% %p%
# Team Kill Punish Rulz
On Say;Text !p,!punish;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to punish.
On Say;Text !p,!punish;If %server_lastteamkiller[%p%]% != 0
	Incr %ini_punish_count[%server_lastteamkiller[%p%]%]%
	If %ini_punish_count[%p%]% == 4;TempBan 7200 %p% TempBan 2 hours;Set %ini_punish_count[%p%]% 0
	TargetPlayer %server_lastteamkiller[%p%]%;TargetAction PlayerSay %t% killed for team killing.;TargetAction Kill;TargetConfirm;Set %server_lastteamkiller[%p%]% 0
# Team Kill Forgive Rulz
On Say;Text !f,!forgive;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to forgive.
On Say;Text !f,!forgive;If %server_lastteamkiller[%p%]% != 0;TargetPlayer %server_lastteamkiller[%p%]%;Set %server_lastteamkill[%server_lastteamkiller[%p%]%]% 0;TargetAction PlayerSay %t% was forgiven by %p%.;Set %server_lastteamkiller[%p%]% 0
#Leave
On Leave;Set %ini_punish_count[%p%]% 0
It will only trigger once someone teamkills then it will give a message about !p !f

 

Here is some from the chat in Procon.

 

[15:55:35] (PlayerSay bobby) bobby you TEAMKILLED jada. Watch your fire! This is your 1 victim.

[15:55:35] (VictimSay jada) jada: !p or !f

 

[15:58:52] jada - US Army > !p

[15:55:40] (PlayerSay bobby) bobby killed for team killing.

 

 

What version ProconRulz are you running if it's not the latest version I'd update to ProconRulz_44j1 on the first page, it's a lot cleaner being able to add text files instead of heaps of code.

 

Depending on the version are you entering the rules manually or if latest version are you doing it by text file name proconrulz_punish.txt after you stick the file into your plugins/BF4 folder copy this name proconrulz_punish.txt into your Rulz .txt filenames section.

 

Put a tick in procon rules and it should say,

 

[15:52:57 81] ProconRulz: plugin enabled, version 44j.1

[15:52:57 81] ProconRulz: Loading rulz from .txt files in Plugins\BF4\

[15:52:57 81] ProconRulz: Loading Plugins\BF4\proconrulz_punish.txt

[15:52:57 81] ProconRulz: loading 24 rulz

[15:52:57 81] ProconRulz: 23 rules loaded

 

I'm running this script on the HC servers and have had no problems with it.

 

edit: I'm guessing your asking for BF4, seeing I mentioned the BF4 plugin folder.

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

Originally Posted by DaBIGfisH*:

 

hi all,

 

i have some suggestions for ProconRulz in future versions:

 

1) i would like to have a multi-trigger: instead of writing

 

On Kill;Set %variable% 1

On Spawn;Set %variable% 1

On Teamkill;Set %variable% 1

On Say;Set %variable% 1

 

i would like to write something like that:

 

On Kill::On Teamkill::On Spawn::On Say;Set %variable% 1

 

is that possible to program in C#?

 

 

2) or the following, instead of writing

 

On Say;Text !voteban;TargetPlayer; ...

On Say;Text !banvote;TargetPlayer; ...

On Say;Text !vb;TargetPlayer; ...

On Say;Text !bv;TargetPlayer; ...

 

i would like to write

 

On Say;Text !voteban::!banvote::!vb::!bv;TargetPlayer; ...

 

is that possible to program in C#?

 

 

3) or that here:

 

On Kill;If %p% == "| player name |";Ban

 

so for now, it is impossible to detect playernames with an "|" symbol inside of the string. it would be usefull for banning assholes who quickly left the server, before admin could take action. but if admin remembers exact name of that player, then next time the player acts on server an successful ban can be made to him.

 

is that possible to program in C#?

 

 

 

4) and now my dream :-) is it possible to implement lists or dictionaries? so that on trigger these lists can be handled with for-slopes, like: "foreach row in list do", like in C, with checking if elemrent is already in list, or add an element, or sorting list, deleting elements, etc. ...

 

is that possible to program in C#? LOL :smile:

 

 

Ok, thats enough i think, thanks alot so far bambam and Co. !

 

 

Regards, DaBIGfisH

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

Originally Posted by LjMjollnir*:

 

is it possible to punish for UCAV and Mortar?

 

Thanks

Sure is.. but if you read the forums you'd know the answer is not what you wanted tho :ohmy:

 

Mortar is counted as Damage Death.. like all other Vehicles.. guess what else is too... UCAV...

you can punish for them but you will also punish for using vehicles..

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

Originally Posted by Slayer*:

 

On a TDM Server not so bad :ohmy:

 

Thanks

I was testing a script on our operation locker server, you can block mortars but it also blocks EodBots the mounted 50 Cal in the tower at C flag they also seem to be classed as a death kill code. nice one Dice grr
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ixnorp*:

 

I was testing a script on our operation locker server, you can block mortars but it also blocks EodBots the mounted 50 Cal in the tower at C flag they also seem to be classed as a death kill code. nice one Dice grr

Blocks those explosive barrels too

 

 

Sent from my iPhone using Tapatalk

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