Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by whocares0815*:

 

Sniperlimit works well.

 

[21:12:31 75] ProconRulz: Hamrner1505 is a sniper, 4 snipers on team US Army

[21:12:32 86] ProconRulz: we have 3 snipers on team US Army

[21:12:36 87] ProconRulz: Attila519 is a sniper, 1 snipers on team Chinese Army

[21:12:40 13] ProconRulz: Shazey123 is a sniper, 4 snipers on team US Army

[21:12:40 45] ProconRulz: Attila519 is still a sniper, 1 snipers on team Chinese Army

[21:12:47 72] ProconRulz: Player RayvenHell killed

But the chat dont work right.

 

Sniper Limit reached with max 4 snipers each team !!!

Only one Team has reached 4 Sniper.

Possible fix?

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

Originally Posted by Skixx*:

 

Hi Skixx,

 

the DamageExplosive and Damage ExplosiveProjectilej ust did not work for me, if you go to page 301 I think of this thread, I posted a slay/kick/ban you can edit to just have slays if you like for all explosive weapon types.

 

There is a claymore missing though, U_Claymore_Recon or U_Recon_claymore you will have to add manually to that code. Read the posts and you will find it, good luck =)

Thank you but its not working for me :sad:

 

Also I think we missunderstood each other.

I wanna kill/kick/ban for just using them. (1 Damage+)

So the spamming will stop. They allready get killed if they kill other Players with Explosions.

 

Greetings

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

Originally Posted by Kinkzor*:

 

Thank you but its not working for me :sad:

 

Also I think we missunderstood each other.

I wanna kill/kick/ban for just using them. (1 Damage+)

So the spamming will stop. They allready get killed if they kill other Players with Explosions.

 

Greetings

It only count kills, not damage. So I only kick on 1 kill, ban on 2. (I have a new config set up now). I can upload my currently used one which kicks on 1 kill, bans on the second if you like. But I have noticed since the patch on the 12th (maybe earlier), not everyone gets kicked, it might be that some of the weapon names were changed in a server update, but RL work is kicking my ass atm so I have no time to adjust it =((.

 

But the mod helped me get my server to rank 103, which is kinda impressive =) as I have 0 community and just bought a server with 1 friend who plays with me :ohmy:. Sorry, had to say that, I am amazed :ohmy:

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

Originally Posted by xZEUZYx*:

 

Just a quick question sort of unrelated, I have got my Proconrulez (Amazing nit of kit :smile:) set up as I wish however I have one problem, no matter what I do I can not find the weapon code for the Scout Elite Sniper. I have looked through the weapon codes and just can not find it (most likely right in front of my eyes lol :smile:). Has anyone got any ideas?

 

Thanks in advance.

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

Originally Posted by rbtmarshall*:

 

If we want to use the Log command to store data for accumulation leading up to bans, etc.. Do we need to have procon frostbite upload the information to a database, or is the LOG stored locally in the procon folder?

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

Originally Posted by ToM666*:

 

Kinkzor wrote some good rulz there but they could be streamlined by using "if %wk% contains _M320" and other similar tweaks.

 

But otherwise BF4 admin is really BF3.5

Hi BamBam

 

How would I use that in the existing code.

 

The current script doesn't always work with some of the 320 weapons?

 

On Kill;Weapon U_SCAR-H_M320_HE;PlayerCount 2;Say %p% was just banned for using Explosives, learn to shoot soldiers;Ban %p% Explosive weapon useage.

On Kill;Weapon U_SCAR-H_M320_HE;PlayerCount 1;Say %p% kicked for using explosive devices or weapons;Kick %p% explosive weapon useage.

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

Originally Posted by Scott*:

 

Code:

On Kill;Not Damage Melee;Not Damage Handgun;PlayerCount 5;Log %p%banned (knives / pistols only);Ban %p% knives only
On Kill;Not Damage Melee;Not Damage Handgun;PlayerCount 3;Log %p% kicked (knives / pistols only);Kick %p% knives only
On Kill;Not Damage Melee;Not Damage Handgun;PlayerSay %p% knives/pistols only;Kill 100
Not working for me. It's still kicking people who use pistols.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Nebiros*:

 

Looking forward to the BF4 release BAMBAM!

Thank you for all the hours spend in this fantastic plugin, which was awesome in BF3 and will probably be even better in BF4!

 

I will be using this plugin again on our server.

Probably for our kill messages, adaptive sniper limit & LAN-party countdown.

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

Originally Posted by teufel123*:

 

Hi BamBam

 

How would I use that in the existing code.

 

The current script doesn't always work with some of the 320 weapons?

 

On Kill;Weapon U_SCAR-H_M320_HE;PlayerCount 2;Say %p% was just banned for using Explosives, learn to shoot soldiers;Ban %p% Explosive weapon useage.

On Kill;Weapon U_SCAR-H_M320_HE;PlayerCount 1;Say %p% kicked for using explosive devices or weapons;Kick %p% explosive weapon useage.

It only works for the U_SCAR?

 

Use this

Code:

On Kill;if %wk% contains M320;PlayerSay ...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by FAQZY*:

 

For sniper only have i this!

 

On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerCount 5;Log %p%banned (BOLT SNIPER / KNIFE only);Ban %p% snipers only

On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerCount 3;Log %p% kicked (BOLT SNIPER / KNIFE only);Kick %p% snipers only

On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerSay %p% BOLT SNIPER / KNIFE only;Kill 100

 

But i want Bolt Sniper only how can i fix it!

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

Originally Posted by Kinkzor*:

 

It only works for the U_SCAR?

 

Use this

Code:

On Kill;if %wk% contains M320;PlayerSay ...
Btw, I have not been able to log in to my server for close to a week due to RL work, but wont this code also kick people for the different types of m320 ammos_And top 100 :ohmy: woo!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Scott*:

 

Is there anyway to limit the amount of players using a certain weapon? For example what if I only want 5 players per team using bolt action sniper rifles. Is there anyway to do this using this plugin or maybe another one?

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

Originally Posted by Athlon*:

 

Is there anyway to limit the amount of players using a certain weapon? For example what if I only want 5 players per team using bolt action sniper rifles. Is there anyway to do this using this plugin or maybe another one?

How about Example #13 on page 1 of this thread?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ToM666*:

 

Okay here's one for you scriptwriting gurus.

 

I've got things pretty well tied down now except when a player uses a banned weapon and teamkills which isn't being picked up by the script.

 

The biggest problem is claymores.

Can you do something like:

 

On Kill or teamkill;if %wk% contains M320;PlayerSay ...

 

I know the script is probably wrong but you get the idea of what I am after hopefully.

 

 

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

Originally Posted by FAQZY*:

 

For sniper only have i this!

 

On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerCount 5;Log %p%banned (BOLT SNIPER / KNIFE only);Ban %p% snipers only

On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerCount 3;Log %p% kicked (BOLT SNIPER / KNIFE only);Kick %p% snipers only

On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerSay %p% BOLT SNIPER / KNIFE only;Kill 100

 

But i want Bolt Sniper only how can i fix it!

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

Originally Posted by teufel123*:

 

Okay here's one for you scriptwriting gurus.

 

I've got things pretty well tied down now except when a player uses a banned weapon and teamkills which isn't being picked up by the script.

 

The biggest problem is claymores.

Can you do something like:

 

On Kill or teamkill;if %wk% contains M320;PlayerSay ...

 

I know the script is probably wrong but you get the idea of what I am after hopefully.

 

 

Do you even understand how the rule syntax is? Doesnt seem so...

On Kill;if %wk% contains Claymore;

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

Originally Posted by ToM666*:

 

Do you even understand how the rule syntax is? Doesnt seem so...

On Kill;if %wk% contains Claymore;

Yes of course I do LOL. God you must think I am real idiot.

 

I just copied and pasted that as an example. I understand you thinking that though :smile:

 

I'm more interested in this bit "On Kill;if"

 

Is it possible to do an "on kill" and a "on teamkill" on the same line as a condition?

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

Originally Posted by TheEpicWinrar*:

 

Btw, I have not been able to log in to my server for close to a week due to RL work, but wont this code also kick people for the different types of m320 ammos_And top 100 :ohmy: woo!

From what I can tell, if you wish to restrict M320 High Explosive ammo only, but leave the others OK, the following should work.

 

On Kill;if %wk% contains M320_HE;PlayerSay Words

 

 

This assumption is based on the fact that all instantces listed for the M320 when mounted on a weapon and using HE rounds have M320_HE at the end of the call out.

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

Originally Posted by C-4-N*:

 

tested and worked for no explosifs

command are just for detection test and logs: player - weapon - number of kills

 

Code:

On kill;damage ProjectileExplosive;incr %ini_ProjExplo_%p%=%w%%
On kill;damage Explosive;incr %ini_Explo_%p%=%w%%
On Kill;if %wk% contains M320_HE;incr %ini_wkM320_%p%%w%%
as you can see in categorie "damage" "projectile explosive" > different weapons are ok for detection :

Code:

LKG_eRaiyZen=U_M320_HE=1
Doudwarrior=U_M320_HE=1
TinMan8=U_XM25=1
DunPai=U_M320_HE=1
Le_Createur31=U_M320_HE=1
LKG_AzraeL=U_AEK971_M320_HE=1
Tiberium-FR=U_SMAW=1
Torwid=U_MGL=1
Skellyfrog=U_NLAW=1
here some damage explosifs (hand)

 

Code:

Danonino24=U_Grenade_RGO=1
InFamouS_Kremaaa=U_V40=1
ludz004=U_Claymore=1
RemaKe_HuGz=U_M67=1
Skellyfrog=U_C4=1
will try more soon^^
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Tangox*:

 

Well I have Try some Codes maybe a german Guy can me Post here showthread....4600#post84600* a Example how to Forbid the M320................

 

Its very hard to find here any working command with instant Kill and Message after the Kill Happend.

 

Best Greetz

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

Originally Posted by C-4-N*:

 

Well I have Try some Codes maybe a german Guy can me Post here showthread....4600#post84600* a Example how to Forbid the M320................

 

Its very hard to find here any working command with instant Kill and Message after the Kill Happend.

 

Best Greetz

On Kill;if %wk% contains M320_HE;say %p% STOP Use M320;kill

 

or if you want say comes after the kill^^ TRY THAT

On Kill;if %wk% contains M320_HE;set %ini_wkM320_%p%% 1

On spawn; if %ini_wkM320_%p%% == 1;playersay %p% STOP USE M320 !!!;set %ini_wkM320_%p%% 0

 

and don't forget m320_lvg

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

Originally Posted by Phantomstrk*:

 

Hi All,

 

Wondering how to just ban 2 weapons from being used on my server. I want to respect the spirit of our server and the MTAR and the LA96 should not be out yet so want to ban them from the server..

 

If anyone could give me the exact code to put in the rule that would be great. I want to either prevent it from even being selectable on our server, or insta kill with a message if someone spawns with it...

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

Originally Posted by madmuthamonk*:

 

Anyone get !punish and !forgive to work yet? I am using what I had for BF3 but it says there is no one to forgive or punish in BF4

Code:

#             TEAMKILL RULZ
On Spawn;ServerFirst;Set %ini_punish% 0
On TeamKill;PlayerSay %p%: watch your fire! This is your %c% victim.
On TeamKill;PlayerSay %p%: Say sorry, soz or sry to have your TK forgiven automatically
On TeamKill;VictimSay %v%: type !forgive to forgive teamkiller 
On TeamKill;PlayerCount 5;Say %p% Excessive Teamkills (%c%) (was %v% with %w%);Kick Excessive Teamkills
On TeamKill;PlayerCount 4;Say %p% SUICIDAL TEAMKILL #%c% on %v% with %w%;Kill 100
On TeamKill;Say %p% TEAMKILL #%c% (on %v% with %w%)
# Automatic Forget
On Kill;Set %server_lastteamkiller[%v%]% 0;Set %server_lastteamkill[%p%]% 0
On Say;Text sorry,soz,sry;Set %server_lastteamkiller[%server_lastteamkill[%p%]%]% 0;Set %server_lastteamkill[%p%]% 0
# Team Kill Punish Rule
On Say;Text !punish;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to punish.
On Say;Text !punish;If %server_lastteamkiller[%p%]% != 0;TargetPlayer %server_lastteamkiller[%p%]%;Say %server_lastteamkiller[%p%]% killed for team killing.;TargetAction Kill;TargetConfirm;Set %server_lastteamkiller[%p%]% 0
On Say;Text !forgive;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to forgive.
On Say;Text !forgive;If %server_lastteamkiller[%p%]% != 0;Set %server_lastteamkill[%server_lastteamkiller[%p%]%]% 0;Say %server_lastteamkiller[%p%]% was forgiven by %p%.;Set %server_lastteamkiller[%p%]% 0
* 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.

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