Jump to content
BFACP & ProCon Plugin Development Has Moved to Metabans ×

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


ColColonCleaner

Recommended Posts

Originally Posted by madem*:

 

No it is not. The goal is that the loadout enforcer not be used by many people, so there is a cost to use it to stop usage going rampant.

You can't detect which weapon they spawned with for most games. For BF3, BF4, or Hardline, ProconRulz can only punish when they killnwith the weapon. On Spawn Loadout Enforcer is the only plugin here which can detect the spawn weapon by connecting with Battlelog.

Proconrulz has partial support for hardline, confirm you have it in the right location.

I do not understand

Write What I am writing with Google translation?

How do I install?

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

Originally Posted by spatieman*:

 

hello.

strupid question (yes i know, they dont exist)

i know if i type !nextlevel in game it wil load the next map in maplist.

but..

is there a way to tell the server to load a other map, like, let say, we want to play kargh island ?

is that posible ?

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

Originally Posted by TheBleach*:

 

HI guys.

Completely new to all of this and I've been doing some searching and reading for writing rules. I've seen the rule for sniper limit but I'm unable to find anything on other weapons. My question is, is it possible to alter the sniper limit rule by replacing the sniper code with an other weapon? Such as assault rifle or lmg?

Sorry if I've missed the relevant information somewhere

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

Originally Posted by m4gnet*:

 

Hi guys! (private message PlayerYell)

On Kill;Say %p% killed %v%;PlayerYell %p% killed

........................................;PlayerYell %v% dead

how can I get a private message for the victim?

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

Originally Posted by LjMjollnir*:

 

Hi guys! (private message PlayerYell)

On Kill;Say %p% killed %v%;PlayerYell %p% killed

........................................;PlayerYell %v% dead

how can I get a private message for the victim?

TargetPlayer %v%;TargetAction PlayerSay (unless things have changed Yell does NOT work on dead people)

 

dont forget to read the docs next time...

http://www.forsterlewis.com/proconrulz.pdf

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

Originally Posted by rul3zz*:

 

hi all,sometimes i find this PermBan on my ban list "Hacking/Cheating - AutoTrigger - NICK"

I think is by proconrulz because i have find this line:

Code:

On Kill;if %multi% == 10;Say %p% got AUTObanned for hacks;Ban Hacking/Cheating - AutoTrigger - %p%
on the file "proconrulz_multikill.txt

 

I have try deleting this line but no effects (for what i see is only the message displayed in the chat)

where i can find the correct line to delete it?

 

my plugin have this rulz:

proconrulz_announcer.txt

proconrulz_best3players.txt

proconrulz_killstreak.txt

proconrulz_multikill.txt

 

 

Code:

On Spawn;AdminSay ^2%p%^0 has joined the server|On Leave;AdminSay ^4%p%^0 has left the server
Ingame chat is clean for the nornale players but all the admins have a lots of spam.. i want to see this events only from procon..is possible?

 

Another question,there's a way to show Join and Left Players ONLY in the main chat of procon?

i'm using this:

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

Originally Posted by m4gnet*:

 

TargetPlayer %v%;TargetAction PlayerSay (unless things have changed Yell does NOT work on dead people)

 

dont forget to read the docs next time...

http://www.forsterlewis.com/proconrulz.pdf

Please give an example of yelling at the victim in a private message! Namely PlayerYell screen.

Read the manual many times. It doesn't work in v.44j1

I read the whole forum, well there is no such "VictimYell". I need only the message to the victim "PlayerYell" !!!

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

Originally Posted by ty_ger07*:

 

Please give an example of yelling at the victim in a private message! Namely PlayerYell screen.

Read the manual many times. It doesn't work in v.44j1

I read the whole forum, well there is no such "VictimYell". I need only the message to the victim "PlayerYell" !!!

If dead people can't see a yelled message, victimyell is not available.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LjMjollnir*:

 

Please give an example of yelling at the victim in a private message! Namely PlayerYell screen.

Read the manual many times. It doesn't work in v.44j1

I read the whole forum, well there is no such "VictimYell". I need only the message to the victim "PlayerYell" !!!

Hmmm CCC says Yell works on dead players .. i dont remember that working but oh well :ohmy:

the example you are looking for is

 

On Kill;TargetPlayer %v%;TargetAction PlayerSay you where killed by %p%

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

Originally Posted by ColColonCleaner*:

 

Hmmm CCC says Yell works on dead players .. i dont remember that working but oh well :ohmy:

the example you are looking for is

 

On Kill;TargetPlayer %v%;TargetAction PlayerSay you where killed by %p%

It was a change I personally asked for, and they added it for BF4, that was relatively early after yells were added back too.

 

Following the syntax....he could try this for yell:

 

On Kill;TargetPlayer %v%;TargetAction PlayerYell you where killed by %p%

 

Not sure if that's correct.

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

Originally Posted by m4gnet*:

 

[21:11:33 63] ProconRulz: process_part rule.unparsed_rule = [On Kill;TargetPlayer %v%;TargetAction PlayerYell 3000 you where killed by %p%]

[21:11:33 63] ProconRulz: process_part player_name = [~m4gnet~]

[21:11:33 64] ProconRulz: process_part p.part_type = TargetPlayer

[21:11:33 64] ProconRulz: process_part k.Killer.SoldierName = [~m4gnet~]

[21:11:33 64] ProconRulz: System.Collections.Generic.KeyNotFoundException: ?????? ???? ??????????? ? ???????.

? System.ThrowHelper.ThrowKeyNotFoundException()

? System.Collections.Generic.Dictionary`2.get_Item(T Key key)

? PRoConEvents.ProconRulz.process_part(ParsedRule rule, PartClass p, String player_name, Kill k, String msg, Dictionary`2& keywords)

[21:12:05 53] ProconRulz: recoverable exception in process_part (ProconRulz will continue...)

[21:12:05 53] ProconRulz: process_part rule.unparsed_rule = [On Kill;TargetPlayer %v%;TargetAction PlayerYell 3000 you where killed by %p%]

[21:12:05 53] ProconRulz: process_part player_name = [~m4gnet~]

[21:12:05 53] ProconRulz: process_part p.part_type = TargetPlayer

[21:12:05 53] ProconRulz: process_part k.Killer.SoldierName = [~m4gnet~]

[21:12:05 54] ProconRulz: System.Collections.Generic.KeyNotFoundException: ?????? ???? ??????????? ? ???????.

? System.ThrowHelper.ThrowKeyNotFoundException()

? System.Collections.Generic.Dictionary`2.get_Item(T Key key)

? PRoConEvents.ProconRulz.process_part(ParsedRule rule, PartClass p, String player_name, Kill k, String msg, Dictionary`2& keywords)

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

Originally Posted by LjMjollnir*:

 

It was a change I personally asked for, and they added it for BF4, that was relatively early after yells were added back too.

 

Following the syntax....he could try this for yell:

 

On Kill;TargetPlayer %v%;TargetAction PlayerYell you where killed by %p%

 

Not sure if that's correct.

Yeah that looks correct man.. but not sure about that error Magnet is getting...

this is the example directly from Bams docs

 

On TeamKill;Kill;TargetPlayer %v%;TargetAction PlayerSay Admin slayed %p% that TK'd you

 

only thing i can think of is that Magnet doesnt play BF4 from memory.. its one of the earlier ones.. not sure if that would make a difference tho (well atleast not throw that kind of error).. i dont have a way to test at all.. and not likely to have a one any time soon :ohmy: so im only working from memory here and that aint that good...

 

Translation (thanks google) "?????? ???? ??????????? ? ???????." = "This key is not in the dictionary"

i cant remember what exactly is being retrieved from a dictionary at that point but i assume it would be player names.. because i think Bam used a switch/case for command processing again not sure on that and i have no desire to go back into that code to see :ohmy:

makes me think perhaps PR haddnt made a dictionary of players then this was run.. but its happend a few times in that log and should have been added within the 30 seconds(server info) between those events

bit of a loss.. Magnet try with just PlayerSay :P

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

Originally Posted by m4gnet*:

 

Hi ty_ger07, LjMjollnir! Thanks for the support.

I still found yourself a solution to my problem.

Yelling at the victim automatically: On Kill;Exec admin.yell TEXT 3000 player %v%

where 3000 = 3 seconds the message on the screen in BFBC2

But there is one disadvantage. Thus it is possible to transmit only one word. Cannot be displayed, for example: "Victim Dead". Only: "Victim_Dead", or "Victim'Dead". In General, the text should not have gaps.

With your invaluable help, now everything works. ))) My ZOMBIE MODE SERVER

 

On Kill;Weapon knv-1;If %ptk% == 1

Exec admin.movePlayer %p% 2 1 true;PlayerSay -{Z}--%p% o==),:::::> Human-team [alpha squad];PlayerYell 3000 NEXT--->-HUMAN-TEAM

Exec admin.movePlayer %v% 1 0 true;VictimSay -{H}--%v% --> Zombie-team [none squad];Exec admin.yell NEXT--->-ZOMBIE-TEAM 3000 player %v%

 

Thanks)

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

Originally Posted by LjMjollnir*:

 

Yelling at the victim automatically: On Kill;Exec admin.yell TEXT 3000 player %v%

Change that to

On Kill;Exec admin.yell "Any text with spaces" 3000 player %v%

"'s are the key :ohmy:

 

If that doesnt work you could always setup a temp variable with the string

On Kill;set %temp% "Some string";exec admin.yell %temp% 3000 player %v%

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

Originally Posted by SmokeMyWeed*:

 

hi guys i have question is that working a time rule after the spawn on server?

My idea is a player have time after spawn 60-120 seconds to kill a player. after the time get killed or kicked.

Minimum teamsize is 2 per side.

I have tested the rate rule and many more.

But not working :-(.

Please help me when is working.

It is for my little bf4 16 slot pistol knife server.

 

You can answer me in german.

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

Originally Posted by m4gnet*:

 

Change that to

On Kill;Exec admin.yell "Any text with spaces" 3000 player %v%

"'s are the key :ohmy:

 

If that doesnt work you could always setup a temp variable with the string

On Kill;set %temp% "Some string";exec admin.yell %temp% 3000 player %v%

Nice) !!! It works. Thanks :biggrin:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Antares*:

 

I'm hoping somebody can provide a little guidance on here on how to modify this command so that it doesn't diplay ^2 and ^0 before and after the player name when they join/leave the server. For example, when they join, it says ^2John^0 joined the server. I tried removing the ^2 and ^0 but it still retains those symbols/numbers when a player joins/leaves.

 

What am I doing wrong?

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

Originally Posted by m4gnet*:

 

On Join;Not Protected;Say Player %p% - has joined ..

On Spawn;Admin;PlayerOnce;Say Admin %p% online and in-game

On Spawn;PlayerOnce;Protected;Not Admin;Say VIP-Player %p% has joined the server !

On Spawn;PlayerOnce;If %p% == [PlayerName];Say Our friend %p% has joined the game

On Leave;Say %p% - has left ..

 

You can choose any message.

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

Originally Posted by Antares*:

 

On Join;Not Protected;Say Player %p% - has joined ..

On Spawn;Admin;PlayerOnce;Say Admin %p% online and in-game

On Spawn;PlayerOnce;Protected;Not Admin;Say VIP-Player %p% has joined the server !

On Spawn;PlayerOnce;If %p% == [PlayerName];Say Our friend %p% has joined the game

On Leave;Say %p% - has left ..

 

You can choose any message.

Thanks for the help, I appreciate it!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by mated77*:

 

Hello. I hope someone can help me. With the rule i want as 1 st and 2nd Punish kill and as 3rd punish a 6h Timeban. But it only Kills and after 3 Rd punish it need some seconds and then it kills but no timeban, no Message etc. What is wrong? (its for a BF4 Server)

 

On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerCount 6;Log %p% banned (snipers / knife only);Ban %p% snipers only

On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerCount 3;Log %p% 6h Ban (snipers / knife only);TempBan 21600 %p% sniper & knife only

On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerCount 1;Log %p% killed (snipers / knife only);Kill %p% sniper & knife only

On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerYell %p% snipers/knife only;Kill 100

 

Thanks for your help.

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

Originally Posted by m4gnet*:

 

Hello. I hope someone can help me. With the rule i want as 1 st and 2nd Punish kill and as 3rd punish a 6h Timeban. But it only Kills and after 3 Rd punish it need some seconds and then it kills but no timeban, no Message etc. What is wrong? (its for a BF4 Server)

 

On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerCount 6;Log %p% banned (snipers / knife only);Ban %p% snipers only

On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerCount 3;Log %p% 6h Ban (snipers / knife only);TempBan 21600 %p% sniper & knife only

On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerCount 1;Log %p% killed (snipers / knife only);Kill %p% sniper & knife only

On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerYell %p% snipers/knife only;Kill 100

 

Thanks for your help.

As I understand "log" does not give a message in the game, only for the action in the rule.

Not sure that a permanent ban would work after a temporary. Rather, you need to choose one preferred option.

Try this:

 

On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerCount 3;TempBan 21600 only sniper rifle & knife (read the rule) --> ban 6h

On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerCount 2;Kick only sniper rifle & knife allowed

On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerYell Only Knife & SniperRifle allowed;Say %p% killed for %w% (only sniper rifle / knife);Kill

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

Originally Posted by mated77*:

 

Thank you for your help. It works. I only remove the "kick" line and set P.Count to 2, cause i don't want a kick just a TBan as 3rd punish. Where can i set the public Message for the T-Ban to all players?

Just like this?

On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerCount 3;TempBan 21600 only sniper rifle & knife (read the rule) --> ban 6h;Say %p% temporary Banned for %w%

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