Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by Moggy_UK*:

 

Hi there guys, Im looking for some help, I run a mixed mode server and want to limit Snipers, Mortars and UCAVS on RUSH only.

I want to limit Snipers to 6 per team.

Mortars and UCAVS to 3 per team.

 

The answer is probably already in this thread but there are hundreds of pages and it was hurting my brain reading through them, so any help would be greatly appriciated.

 

Many Thanks

Moggy_UK

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

Originally Posted by DarkZerO_AT*:

 

heya everyone, im fairly good at making Rulz but i do have a problem which i dont understand

i wanted to make a "cheater troll" rule which kills cheaters every time they kill someone until they leave and get automatically banned

 

this is what i have so far

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

# Cheater Troll v0.3 (proof of concept)

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

 

On Say;Admin;Text /marked;

AdminSay %cheater_%p%% is marked as cheater!

 

On Say;Not Admin;Text /markas;Say Sorry you are not an Admin!

 

On Say;Admin;Text /unmark;TargetPlayer;

If %cheater_%p%% == %t%;AdminSay %t% has been unmarked as a cheater!;Set %cheater_%p%% 0;

 

On Say;Admin;Text /markas;TargetPlayer;

If %cheater_%p%% == 0;AdminSay %t% has been marked as a cheater!;Set %cheater_%p%% %t%;

 

On Kill;If %cheater_%p%% == %p%;Say /kill %p% trololololo - DIE CHEATER!;

On Leave;If %cheater_%p%% == %p%;

Say /ban %p% Cheater/Hacker - appeal on [email protected];Log %p% has been banned for cheating!

it should work but it isnt, i dont know why

whats wrong? what am i missing?

 

thx in advance

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

Originally Posted by Grovax*:

 

heya everyone, im fairly good at making Rulz but i do have a problem which i dont understand

i wanted to make a "cheater troll" rule which kills cheaters every time they kill someone until they leave and get automatically banned

 

this is what i have so far

 

 

it should work but it isnt, i dont know why

whats wrong? what am i missing?

 

thx in advance

test this script

 

Code:

####################
# Cheater Troll v0.3 (proof of concept)
####################

On Say;Admin;Text /mark;TargetPlayer;Set %cheater[%t%]% %t%;PlayerSay %t% is marked as a cheater!

On Say;Not Admin;Text /mark;TargetPlayer;PlayerSay Sorry you are not an Admin, you cant mark %t% as a cheater!

On Say;Admin;Text /unmark;TargetPlayer;If %cheater[%t%]% == %t%;Set %cheater[%t%]% 0;PlayerSay %t% has been unmarked as a cheater!

On Say;Not Admin;Text /unmark;TargetPlayer;PlayerSay Sorry you are not an Admin, you cant unmark %t% as a cheater!

On Kill;If %cheater[%p%]% == %p%;PlayerSay trololololo - DIE CHEATER!;Kill 100

On Leave;If %cheater[%p%]% == %p%;Say %p% banned for cheating/hacking;Log %p% has been banned for cheating!;Ban Cheater/Hacker - appeal on [email protected]
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by DarkZerO_AT*:

 

test this script

 

Code:

####################
# Cheater Troll v0.3 (proof of concept)
####################

On Say;Admin;Text /mark;TargetPlayer;Set %cheater[%t%]% %t%;PlayerSay %t% is marked as a cheater!

On Say;Not Admin;Text /mark;TargetPlayer;PlayerSay Sorry you are not an Admin, you cant mark %t% as a cheater!

On Say;Admin;Text /unmark;TargetPlayer;If %cheater[%t%]% == %t%;Set %cheater[%p%]% 0;PlayerSay %t% has been unmarked as a cheater!

On Say;Not Admin;Text /unmark;TargetPlayer;PlayerSay Sorry you are not an Admin, you cant unmark %t% as a cheater!

On Kill;If %cheater[%p%]% == %p%;PlayerSay trololololo - DIE CHEATER!;Kill 100

On Leave;If %cheater[%p%]% == %p%;Say %p% banned for cheating/hacking;Log %p% has been banned for cheating!;Ban Cheater/Hacker - appeal on [email protected]
thanks will try and tell if it works
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Prime-Meridian*:

 

Hello. Please tell me whether to work this code for Battlefield bad company 2 ?

If so,what values should be set for correct operation ? Please write them here or to me in PM.

Tnx.

 

My version PRocon - 1.5.1.1 / My version of the plugin PRoconRulz - 44j1

 

Code:

on spawn;serverfirst;set %kills% 0;set %hs% 0
on kill;Not Damage SniperRifle;incr %kills%
on kill;Not Damage SniperRifle;Headshot;incr %hs%
on kill;Set %proc.1% %hs% / %kills% * 100
on kill;If %proc.1% >= 60;If %kills% > 30;Log %p%;Ban %p% Impossible stats Hs/K %proc.1% %
on say;Admin;Text @kills;TargetPlayer;TargetAction Say kills %kills% HS %hs% and %proc.1% %
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by CoE_sD*:

 

Hy guys i have a problem, how can i put a delay to each of this lines

 

On Say;Text @rules;

Say ##########################;

Say Rule 1;

Say Rule 2;

Say Rule 3;

Say Rule 4;

Say Rule 5;

Say Rule 6;

Say ##########################;

 

i want to post each line every 2sec now i only can do 5 lines because the cat is only 5 lines big at the request post all insant please help.

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

Originally Posted by Crawfy2D*:

 

I Have a Problem ... i need a delay between the Messages, My code is This

 

### rules

 

On Say;Text !rules;If %pcountrykey% != de;

PlayerYell NOT ALLOWED: BASERAPING, BASE OR SPWANKILLING

PlayerYell IN CASE OF VIOLATION: #1 WARNING, #2 KICK/BAN

PlayerYell SERVER LANGUAGE IS GERMAN OR ENGLISH.

PlayerYell PLAY FAIR & SUPPORT YOUR TEAM !

On Say;Text !rules;If %pcountrykey% == de;

PlayerYell NICHT ERLAUBT: BASERAPING, BASE OR SPWANKILLING

PlayerYell BEI MISSACHTUNG: #1 VERWARNUNG, #2 KICK/BAN

PlayerYell IM CHAT BITTE NUR DEUTSCH ODER ENGLISCH SCHREIBEN.

PlayerYell SPIELT FAIR UND UNTERSTUETZT EUER TEAM!

 

each line has to show 3 seconds please

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

Originally Posted by ty_ger07*:

 

I Have a Problem ... i need a delay between the Messages, My code is This

 

### rules

 

On Say;Text !rules;If %pcountrykey% != de;

PlayerYell NOT ALLOWED: BASERAPING, BASE OR SPWANKILLING

PlayerYell IN CASE OF VIOLATION: #1 WARNING, #2 KICK/BAN

PlayerYell SERVER LANGUAGE IS GERMAN OR ENGLISH.

PlayerYell PLAY FAIR & SUPPORT YOUR TEAM !

On Say;Text !rules;If %pcountrykey% == de;

PlayerYell NICHT ERLAUBT: BASERAPING, BASE OR SPWANKILLING

PlayerYell BEI MISSACHTUNG: #1 VERWARNUNG, #2 KICK/BAN

PlayerYell IM CHAT BITTE NUR DEUTSCH ODER ENGLISCH SCHREIBEN.

PlayerYell SPIELT FAIR UND UNTERSTUETZT EUER TEAM!

 

each line has to show 3 seconds please

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

Originally Posted by machinchose*:

 

hello,

 

I created a text file for "!rules" : I put the file "proconrulz_rules.txt" in "plugin\Bf4" (ftp) but in procon layer when the plugin loads :

 

"proconrulz_rules.txt NOT FOUND".

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

Originally Posted by thunderje*:

 

patrick, i have the same isue.

but when i check the log file that is written, the counter in it, goes up..

cutted out useless stuff.

 

-update-

patrick.

try this, remove all content with CAPITAL LETTERS to lower case.

this worked for me.

 

############### extended claimore kill ###############

On Kill;Weapon Weapons/Gadgets/Claymore/Claymore

Incr %ini_kill_claymore[%p%]%

If %ini_kill_claymore[%p%]% >= 8;Set %ini_kill_claymore[%p%]% 0

If %ini_kill_claymore[%p%]% == 0;Yell 4 %v% found the claymore that %p% placed

If %ini_kill_claymore[%p%]% == 1;Yell 4 %v% is singing jingle bells, jingle bells ,where are my balls

If %ini_kill_claymore[%p%]% == 2;Yell 4 %v% can be scratched of the wall, a claymore did it all

If %ini_kill_claymore[%p%]% == 3;Yell 4 %v% has found the easteregg from %p%

If %ini_kill_claymore[%p%]% == 4;Yell 4 %v% loves hugging %p% 's claymore

If %ini_kill_claymore[%p%]% == 5;Yell 4 %v% need glasses, he keeps tripping over the claymore from %p%

If %ini_kill_claymore[%p%]% == 6;Yell 4 %p% did a hail merry on %v% with some claymore

If %ini_kill_claymore[%p%]% == 7;Yell 4 %p% sliced %v% in 2 with a well placed claymore

If %ini_kill_claymore[%p%]% == 8;Yell 4 %v% tripped 8 times over %p% claymore.

 

 

only the on suicide;claymore isnt working here...:sad:

will this work on BF4 at all?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by maxdralle*:

 

will this work on BF4 at all?

try this code. it works on bf4

 

CODE FOR PROCONRULZ

Code:

############### extended claymore kill ###############
On Kill;Weapon U_Claymore,U_Claymore_Recon,U_SP_Claymore Explosive
    Incr %ini_kill_claymore[%p%]%
    If %ini_kill_claymore[%p%]% >= 8;Set %ini_kill_claymore[%p%]% 0
    If %ini_kill_claymore[%p%]% == 0;Yell %v% found the claymore that %p% placed
    If %ini_kill_claymore[%p%]% == 1;Yell %v% is singing jingle bells, jingle bells ,where are my balls
    If %ini_kill_claymore[%p%]% == 2;Yell %v% can be scratched of the wall, a claymore did it all
    If %ini_kill_claymore[%p%]% == 3;Yell %v% has found the easteregg from %p%
    If %ini_kill_claymore[%p%]% == 4;Yell %v% loves hugging %p% 's claymore
    If %ini_kill_claymore[%p%]% == 5;Yell %v% need glasses, he keeps tripping over the claymore from %p%
    If %ini_kill_claymore[%p%]% == 6;Yell %p% did a hail merry on %v% with some claymore
    If %ini_kill_claymore[%p%]% == 7;Yell %p% sliced %v% in 2 with a well placed claymore
    If %ini_kill_claymore[%p%]% == 8;Yell %v% tripped 8 times over %p% claymore.

On Suicide;Weapon U_Claymore,U_Claymore_Recon,U_SP_Claymore Explosive;Decr %ini_kill_claymore[%p%]%;Yell Haha - %p% ran into his own claymore!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by maxdralle*:

 

last week i was playing on a bf4 server and was killed by a ammobox. only cheater/hacker can do this a lot of times...

for this reason i wrote a little code to BAN the hackers when they make 3x kills with ammobox or medkit in on round. it keeps the own server clean. :biggrin:

 

CODE FOR PROCONRULZ (working code for bf4)

Code:

# SUSPECT GAMEPLAY DETECTOR - 3x AMMOBOX/MEDKIT KILLS = BAN PLAYER - LOG ALL AMMOBOX/MEDKIT KILLS
On Kill;Weapon U_Medkit,U_Ammobag,U_PortableMedicpack;if %pt% <> %vt%;
    PlayerCount 2;Say PROTECTION: %p% banned for suspect gameplay; Log DEBUG SUSPECT GAMEPLAY: %p% banned. 3x SUSPECT kills with weapon %w% (weaponkey: %wk%). EA GUID: %ea_guid%;Set %ini_AutoBanList_%ea_guid%% PERMA-BAN -- Date/Time: %ymd% %hms% -- Playername: %p% -- Reason: 3x SUSPECT kills with weapon %w% (weaponkey: %wk%);Ban %p% suspect gameplay (%w% kills) EA GUID: %ea_guid%;
    Log DEBUG SUSPECT GAMEPLAY: %p% made a SUSPECT kill with weapon %w% (weaponkey: %wk%). EA GUID: %ea_guid%;Set %ini_AutoBanList_%ea_guid%% SUSPECT GAMEPLAY (not banned jet) -- Date/Time: %ymd% %hms% -- Playername: %p% -- Reason: SUSPECT kill with weapon %w% (weaponkey: %wk%)
only tested for bf4 server (bfh and bf3 are not tested)
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Kal-El*:

 

last week i was playing on a bf4 server and was killed by a ammobox. only cheater/hacker can do this...

for this reason i wrote a little code to BAN the f... hackers instantly, when they make a kill with ammobox or medkit. it keeps the own server clean. :biggrin:

 

CODE FOR PROCONRULZ

Code:

# SUSPECT GAMEPLAY DETECTOR - BAN AFTER AMMOBOX KILL
On Kill;Weapon U_Medkit,U_Ammobag,U_PortableMedicpack;Say SUSPECT GAMEPLAY: %p% banned for suspect gameplay; Log DEBUG SUSPECT GAMEPLAY: %p% banned. IMPOSSIBLE kill with %wk% (%w%). EA GUID: %ea_guid%;Ban %p% suspect gameplay (%wk% kills) EA GUID: %ea_guid%;
ANYONE can kill with an ammo box or health pack if the pack lands on the person before they accept the revive.

They are on very low health and the box kills them.

Saying only hackers kill like that is a bit strange.

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

Originally Posted by maxdralle*:

 

ANYONE can kill with an ammo box or health pack if the pack lands on the person before they accept the revive.

They are on very low health and the box kills them.

Saying only hackers kill like that is a bit strange.

thanks for your information. but this is not true! a kill with ammo box its not possible! i tested in bf4 with your infos about very low health and revive waiting screen. but i can not kill because its impossible! but thanks for your infomation...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by DarkZerO_AT*:

 

thanks for your information. but this is not true! a kill with ammo box its not possible! i tested in bf4 with your infos about very low health and revive waiting screen. but i can not kill because its impossible! but thanks for your infomation...

true, ammo box kills are not possible

BUT the player who tries reviving someone and the revive is NOT accepted, he gets a "kill" with medkit (sometimes)

happened to me and my friends frequently and this IS A FACT :ohmy:

so be careful about that method of banning, it WILL ban innocent people who just try to revive and be nice

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

Originally Posted by maxdralle*:

 

@DarkZerO_AT

thanks for your feedback. that sounds very strange. but okay, i have changed the code (post #5390). nobody will ban a normal player! the new version logs all medkit/ammobox kills and bans only after 3x kills in on round. i think a normal player can not do this. on this way we ban only hackers...

the code runs on our 3 servers since a week and not one player was killed by ammobox/medkit...

 

@Kal-El

sorry for my last post. but i tested an it was not possible...

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

Originally Posted by spatieman*:

 

can some1 tell me what is wrong with this line ?

 

Code:

On Kill;Weapon Weapons/Knife/Knife;Weapon Knife_RazorBlade
i made a extended knife kill announcer, but it doesnt do any knife spamming.

i could go for melee, but melee kills are repairtool and defib also.

so, what am i doing wrong here.

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

Originally Posted by ty_ger07*:

 

can some1 tell me what is wrong with this line ?

 

Code:

On Kill;Weapon Weapons/Knife/Knife;Weapon Knife_RazorBlade
i made a extended knife kill announcer, but it doesnt do any knife spamming.

i could go for melee, but melee kills are repairtool and defib also.

so, what am i doing wrong here.

Weapons/Knife/Knife is not Knife_RazorBlade. They are two different identifiers triggered for different reasons. The semicolon (";") means AND. It can't be both. :ohmy:

 

Try this instead:

Code:

On Kill;Weapon Weapons/Knife/Knife,Knife_RazorBlade;
The comma means OR.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BuRockK*:

 

hey there.. where can i learn codings like these examples youve giveb in first page? like i would have never known "On kill;melle;say etc etc... where can i learn variables or to insert commands like i want !map command to change map to the first word used after the !map command...something like !map %map% %mode% but the thing is theres no !map command in any plugins i have in my server and how can i implement such coding if the simplist !map command isnt there to begin with?

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

Originally Posted by MoKko*:

 

Hello there, I´m trying to create a Rulz that allow me to notifify the victim when they get headshotted but I can´t get that throught and ProconRulz seems to accept it but it do nothing afterwards, Its a BTF3 server.

On Kill;Headshot;TargetPlayer %v%;TargetAction PlayerYell %v% %p% HEADSHOOTED you with %w%

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

Originally Posted by maxdralle*:

 

Hello there, I´m trying to create a Rulz that allow me to notifify the victim when they get headshotted but I can´t get that throught and ProconRulz seems to accept it but it do nothing afterwards, Its a BTF3 server.

On Kill;Headshot;TargetPlayer %v%;TargetAction PlayerYell %v% %p% HEADSHOOTED you with %w%

mmhh, bf3 and procon.

 

try this code:

Code:

On Kill; Headshot;Set %tmpsmg% %p% HEADSHOOTED you with %w%; TargetPlayer %v%; TargetAction PlayerYell %tmpsmg%
if its not working, try this "victimyell" on spawn...

Code:

On Kill; Headshot; Set %server_global_headshot[%v%][0]% %p% HEADSHOOTED you with %w%
On Spawn; if %server_global_headshot[%p%][0]% <> 0; PlayerYell %server_global_headshot[%p%][0]%; Set %server_global_headshot[%p%][0]% 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.