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.




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