Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by EMINENT-SEV*:

 

Hi!

My former option in BFBC2:

 

On Kill;Not Weapon Defib;Not Weapon ATM-00;Not Weapon HG-2;Not Weapon DTN-4;Not Weapon pwr-700;Not Weapon knv-1;Not Damage Handgun;Count 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 Defib;Not Weapon ATM-00;Not Weapon HG-2;Not Weapon DTN-4;Not Weapon pwr-700;Not Weapon knv-1;Not Damage Handgun;Count 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 Defib;Not Weapon ATM-00;Not Weapon HG-2;Not Weapon DTN-4;Not Weapon pwr-700;Not Weapon knv-1;Not Damage Handgun;Say %p% used weapon %w%! unallowed / Melee & Pistols only! (%c%/2);PlayerYell %p%, Melee/Pistols only! You used a %w% (%c%/2);Kill

 

You will need to edit the weapon under your BF3, BF4. )))

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

Originally Posted by HitchItch*:

 

HitchItch and Eminent Sev, look here:

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

 

Page 8

Thanks, But i have the manual downloaded and read through that part.

That page 8 talks about rules, I am trying to do, end of round stats.

Page 8 says to type test, Nothing happens when i do that, not sure it should for end of round stats

Also my rulz plugin looks a little different from the screenshot on page 8

the screenshot shows,,,

server rules message enable-Yes

server rules message limited to player say-Yes

 

I dont have those options on my plugin.

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

Originally Posted by ty_ger07*:

 

Thanks, But i have the manual downloaded and read through that part.

That page 8 talks about rules, I am trying to do, end of round stats.

Page 8 says to type test, Nothing happens when i do that, not sure it should for end of round stats

Also my rulz plugin looks a little different from the screenshot on page 8

the screenshot shows,,,

server rules message enable-Yes

server rules message limited to player say-Yes

 

I dont have those options on my plugin.

I will try to be more to the point.

 

1) Look at circled item 5 on page 8 of the documentation. Delete all the default rules that are there in Rules[...].

2) Paste the new rules into the now empty Rules[...].

 

Done

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

Originally Posted by HitchItch*:

 

I will try to be more to the point.

 

1) Look at circled item 5 on page 8 of the documentation. Delete all the default rules that are there in Rules[...].

2) Paste the new rules into the now empty Rules[...].

 

Done

Thank you

By mistake I had pasted the rules in the rules.text filenames instead of pasting them to the rules section.

I now have pasted the new rules in the rules section and deleted the rules I pasted in the rules.text section.

 

Hoping that will do the trick.

Thanks for your patience and help TY

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

Originally Posted by HitchItch*:

 

It works, thanks again

 

I did notice the stats come up very quick and quickly disappear because people are typing GG

 

Im thinking I can just add extra say- to add a delay and also add the rule again after the first set to repeat the message?

Im thinking this would add some delay as well as repeat it a second time?

It also would like to make each message be on its own line but Im not sure where to break the code up and add it to the next line.

 

This should repeat 3 times setup this way?

Say -

Say - First Blood: %server_firstblood%, Most Knives: %server_knivesplayer% %server_knives%

Say - Last Blood: %server_lastbloodplayer%, Most Kills: %server_mostkillsplayer% %server_mostkills%

Say - Most Deaths: %server_deadplayer% %server_dead%

Say -

Say -

Say - First Blood: %server_firstblood%, Most Knives: %server_knivesplayer% %server_knives%

Say - Last Blood: %server_lastbloodplayer%, Most Kills: %server_mostkillsplayer% %server_mostkills%

Say - Most Deaths: %server_deadplayer% %server_dead%

Say -

Say -

Say - First Blood: %server_firstblood%, Most Knives: %server_knivesplayer% %server_knives%

Say - Last Blood: %server_lastbloodplayer%, Most Kills: %server_mostkillsplayer% %server_mostkills%

Say - Most Deaths: %server_deadplayer% %server_dead%

%

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

Originally Posted by LjMjollnir*:

 

Im thinking I can just add extra say- to add a delay and also add the rule again after the first set to repeat the message?

Im thinking this would add some delay as well as repeat it a second time?

delays cant be added with Proconrulz sadly... easily done with a CS plugin... but thats a different beast altogether :ohmy:

 

you could add a delay by counting "on say" at round over but there is always the chance the count wouldnt reach its limit and fail to trigger the stats.. for example

 

Code:

On RoundOver;set %server_RO% 1
On Say;if %server_RO% == 1;Incr %server_ROMessages%
On Say;if %server_RO% == 1;if %server_ROMessages% > %n%
   Say Stat1
   Say Stat2
   Say Stat3
   Say Stat4
   set %server_RO% 0
ok to explain that code a bit.. firstly when the end of the round is detected it just flips a switch that allows it to count how many messages after that point (gets reset on next round automatically by the plugin)

 

%server_ROMessages% is how many messages have been sent after the roundover event..

%n% is just the number of players in the smallest team.. this could be changed to any number.. this is just an example.. so when basically half of your server has said something it would trigger the stats :ohmy:

 

Stat1,Stat2 etc you need to change to your custom messages... pretty simple stuff really...

 

i will mention it again... this CAN and WILL fail if not enough people type a message at the end of the round... to get around that just change the %n% to something small... i only used %n% because that number adjusts based on how many people are on the server :ohmy:

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

Originally Posted by ty_ger07*:

 

Yes, but if i forbid 'death', the rule will affect also when someone kills with barrel (with fire)

Well, you and a buddy should watch procon's kill feed when you purposely kill with it and verify that it is still death. Maybe dice fixed it and it is no longer death. But, if it is death, you are stuck with everything else which is also death.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Helskov*:

 

How to make following rule?

2 mortar slot pr team.

slot will be lost if no kill with mortar with x min.

If slot not available then first time punish, 3 kills and no available slot then kick.

 

Weaponcode: M224

Above works in Rcon. So must be possible in Procon rulz. :smile:

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

Originally Posted by LjMjollnir*:

 

How to make following rule?

2 mortar slot pr team.

slot will be lost if no kill with mortar with x min.

If slot not available then first time punish, 3 kills and no available slot then kick.

 

Weaponcode: M224

Above works in Rcon. So must be possible in Procon rulz. :smile:

yep no problem with the weapon being recognised.. however Proconrulz does NOT support time in an easy to use format... its there.. but you'l end up making a tonn of rules just to track the time and that can be a problem :ohmy:... check out Insane limits i think it can handle things like that better
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by m4gnet*:

 

On RoundOver;set %server_RO% 1

On Say;if %server_RO% == 1;Incr %server_ROMessages%

On Say;if %server_RO% == 1;if %server_ROMessages% > %n%

Say Stat1

Say Stat2

Say Stat3

Say Stat4

set %server_RO% 0

 

Hi LjMjollnir

I tried your idea to implement in BFBC2, but it does not want to work (

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

Originally Posted by LjMjollnir*:

 

hmmm not sure why... but then again i dont have a server to work with at the moment to test with...

 

change the line

On Say;if %server_RO% == 1;if %server_ROMessages% > %n%

to

On Say;if %server_RO% == 1;if %server_ROMessages% > 1

 

and see if it works then (you'l need to type 2 lines in game for the stats to pop up)

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

Originally Posted by m4gnet*:

 

hmmm not sure why... but then again i dont have a server to work with at the moment to test with...

 

change the line

On Say;if %server_RO% == 1;if %server_ROMessages% > %n%

to

On Say;if %server_RO% == 1;if %server_ROMessages% > 1

 

and see if it works then (you'l need to type 2 lines in game for the stats to pop up)

Perhaps you correctly wrote the rule, but there is one "BUT"! The round is over (stop game), and the result may not be overwritten, even if the rule is duplicated. It only can show "Say".
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LjMjollnir*:

 

Perhaps you correctly wrote the rule, but there is one "BUT"! The round is over (stop game), and the result may not be overwritten, even if the rule is duplicated. It only can show "Say".

Sorry not understanding your language at the moment 8(.. and i havent written anything for BC2 before so i dont know what its limits are.. it might just be it doesnt handle roundover events?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Prime-Meridian*:

 

Game: BFBC2

(Example 8. Basic Cheater Detector)

 

Code:

# Cheater Detector by ty_ger07
On Kill;Damage Melee;Rate 8 30;Say %p%: banned - kill rate;Ban %p% Auto-banned - hacking status 5
On Kill;Weapon Death;Rate 10 30;Say %p%: banned - nuke;Ban %p% Auto-banned - hacking status 6
On Kill;Not Damage Explosive;Not Damage ProjectileExplosive;Rate 20 50;Say %p%: banned - kill rate 1;Ban %p% Auto-banned - hacking status 1
On Kill;Not Damage Explosive;Not Damage ProjectileExplosive;Rate 40 200;Say %p%: banned - kill rate;Ban %p% Auto-banned - hacking status 2
On Kill;Headshot;Rate 6 15;Say %p%: banned - aimbot;Ban %p% Auto-banned - hacking status 3
On Kill;Headshot;Rate 8 25;Say %p%: banned - aimbot;Ban %p% Auto-banned - hacking status 4
Hello guys.

Please tell me, what is this error ?

Warning, weapon Death not found in Procon (but you can still use the key in ProconRulz)

Tell me how to configure this rule for BFBC2 ?

If You are not difficult please write the optimal settings for this rule.(BFBC2)

 

Thank you.

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

Originally Posted by m4gnet*:

 

Just uploaded Procon Rulz 44J1

I want to add end of round stats

From reading I think I need to add text in rules/string array

then I should be good to go?

 

I found the script from- Thread: [bF4] ProconRulz - End of Round stats v1.0

Is this what I want to paste in string array? Im not sure If I should have the first line in there?

 

###### End of round stats v1.0 by tarreltje #####

 

## Below different stats to count

 

# Most Deaths

On Spawn;Not Playerfirst;Incr %playerdead%

On Spawn;If %playerdead% > %server_dead%;Set %server_dead% %playerdead%;Set %server_deadplayer% %p%

 

# Most kills

On Kill;Incr %playerkills%

On Kill;If %playerkills% > %server_mostkills%;Set %server_mostkills% %playerkills%;Set %server_mostkillsplayer% %p%

 

# Firstblood

On kill;ServerFirst;Set %server_firstblood% %p%;Set %server_firstbloodtarget% %v%

 

# Lastblood

On Kill;Set %server_lastbloodplayer% %p%;Set %server_lastbloodtarget% %v%;

 

# Most knives

On kill;Damage Melee;Incr %playerknives%

On Kill;Damage Melee;If %playerknives% > %server_knives%;Set %server_knives% %playerknives%;Set %server_knivesplayer% %p%

 

# END ROUND MESSAGE

On RoundOver;

Say -

Say -

Say - First Blood: %server_firstblood%, Most Knives: %server_knivesplayer% %server_knives%

Say - Last Blood: %server_lastbloodplayer%, Most Kills: %server_mostkillsplayer% %server_mostkills%

Say - Most Deaths: %server_deadplayer% %server_dead%

My simple solution to the problem:

 

On Kill;Incr %squad_kills%

On Kill;If %squad_kills% == maximal number squad-kills for the round

 

In my case, it looks like this:

 

###### End of round stats v1.0 by tarreltje #####

On Kill;Incr %squad_kills%

## Below different stats to count

# Most Deaths

On Spawn;Not Playerfirst;Incr %playerdead%

On Spawn;If %playerdead% > %server_dead%;Set %server_dead% %playerdead%;Set %server_deadplayer% %p%

# Most kills

On Kill;Incr %playerkills%

On Kill;If %playerkills% > %server_mostkills%;Set %server_mostkills% %playerkills%;Set %server_mostkillsplayer% %p%

# Firstblood

On kill;ServerFirst;Set %server_firstblood% %p%;Set %server_firstbloodtarget% %v%

# Lastblood

On Kill;Set %server_lastbloodplayer% %p%;Set %server_lastbloodtarget% %v%;

# Most knives

On kill;Damage Melee;Incr %playerknives%

On Kill;Damage Melee;If %playerknives% > %server_knives%;Set %server_knives% %playerknives%;Set %server_knivesplayer% %p%

# END ROUND MESSAGE

On Kill;If %squad_kills% == 100

Say ~ END_OF_ROUND_STATS ~

Say - First Blood: %server_firstblood%, Most Knives: %server_knivesplayer% %server_knives%

Say - Last Blood: %server_lastbloodplayer%, Most Kills: %server_mostkillsplayer% %server_mostkills%

Say - Most Deaths: %server_deadplayer% %server_dead%

 

My nice) BFBC2

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

Originally Posted by Noo8ie*:

 

Hi All,

Im trying to write a basic script in BF4 which does the following:

 

Announces when a "Specific player" is killed

Announce who killed him

Announce what weapon was used.

YELL To ALL ppl on the server that the "Specific Player" has died

When Map changes/restarts. It resets the condition so will announce again when "Specific Player" dies again.

 

Basically, Im trying to set up a VIP Mode server where one team has to deliver a VIP from A to B. When the other team kill the VIP it needs to announce to everyone the VIP is dead.

 

Really hope you can help me out :smile:

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

Originally Posted by LjMjollnir*:

 

Hi All,

Im trying to write a basic script in BF4 which does the following:

 

Announces when a "Specific player" is killed

Announce who killed him

Announce what weapon was used.

YELL To ALL ppl on the server that the "Specific Player" has died

When Map changes/restarts. It resets the condition so will announce again when "Specific Player" dies again.

 

Basically, Im trying to set up a VIP Mode server where one team has to deliver a VIP from A to B. When the other team kill the VIP it needs to announce to everyone the VIP is dead.

 

Really hope you can help me out :smile:

Code:
On Kill;if %v% == "Specific Player";Both Specific player was killed by %p% using %w%
however i assume you want something more random :ohmy:... and dont want to hard code in a "specific player" each time you want to try this game mode :ohmy:... if that is what you are after ... got bad news for ya.. thats going to be alot harder to do... Proconrulz does not give us a list of active players nor is there any good way of picking out a random player from that list even if it existed..

 

you will probably want to run some sort of mini game to begin with... count a bunch of kills and on a certain number of kills keep the name of the killer or victim and use that name as the "specific player"

 

Code:

On Kill;Incr %server_count%;if %server_count% == 10;Both the Specific player is %v%;set %server_specificplayer% %v%;Both Let the VIP game begin
On Kill;if %v% == %server_specificplayer%;Both Specific player was killed by %p% using %w%
or instead of the mini game to begin with you could just assign a player using a command

 

Code:

On Say;Admin;text !setplayer;TargetPlayer;set %server_specificplayer% %t%;Both The Specific player is %t% let the VIP game mode begin.
On Kill;if %v% == %server_specificplayer%;Both Specific player was killed by %p% using %w%
!setplayer Noo8ie
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by m4gnet*:

 

All that is doing is counting to 100 kills.. which could be before the round is over.. or might not ever happen at all.. :ohmy:

Hi :smile:

 

I tested it a few days. It works 100%. Enable logic. In any case, will come 100 ticket which will coincide with the end of the round and will notify the result to everyone.

You say 100 tickets may not come. So this should occur, disconnect Procon at this point. I assure you, in this case, will fail all the variables, and not only.

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

Originally Posted by LjMjollnir*:

 

Hi :smile:

 

I tested it a few days. It works 100%. Enable logic. In any case, will come 100 ticket which will coincide with the end of the round and will notify the result to everyone.

ahh yeah didnt see the variable was %squad? ... and i was still on the mind track of helping the other guy who wanted the text delayed at the end of the round... Still that will only work for SQDM... for other game modes you will need to change the variable to something else.. i guess "On RoundOver" doesnt work in BFBC2?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Noo8ie*:

 

Cool, Thanks for the help.

I want to be able to actually choose the Specific Player. I'll give you an overview of what I'm doing. hopefully it will help explain what I'm looking for.

 

I am running a Clan event where I will be playing the part of a VIP. (No Random VIP is required as I know who will be VIP)

One team will be trying to kill me while the other team will be trying to escort me to the EVAC area.

The round ends when I have either been killed or I have been delivered to EVAC area.

When I am killed. I want procon to announce to EVERYONE on the server that the VIP is DEAD.

 

Would the below code work for this as long as I type in my player name before the round started?

 

Code:

On Say;Admin;text !setplayer;TargetPlayer;set %server_specificplayer% %t%;Both The VIP is %t% let the game begin.
On Kill;if %v% == %server_specificplayer%;Both The VIP was killed by %p% using %w%
Also, Do I need to add Clan Tag's to the specific player name? (In my case !setplayer =ENG= Noo8ie)

Thanks again for your help!!

 

Or can I simply use this?

 

Code:

On Kill;if %v% == "Noo8ie";Both Noo8ie was killed by %p% using %w%. The VIP is DEAD
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by m4gnet*:

 

ahh yeah didnt see the variable was %squad? ... and i was still on the mind track of helping the other guy who wanted the text delayed at the end of the round... Still that will only work for SQDM... for other game modes you will need to change the variable to something else.. i guess "On RoundOver" doesnt work in BFBC2?

You have rightly said, Yes SQDM. Sorry, my server up and running. But the plugin has access to free editing. You can use other versions of "variables": %team? and _tickets%.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LjMjollnir*:

 

Cool, Thanks for the help.

Would the below code work for this as long as I type in my player name before the round started?

 

Code:

On Say;Admin;text !setplayer;TargetPlayer;set %server_specificplayer% %t%;Both The VIP is %t% let the game begin.
On Kill;if %v% == %server_specificplayer%;Both The VIP was killed by %p% using %w%
Also, Do I need to add Clan Tag's to the specific player name? (In my case !setplayer =ENG= Noo8ie)

Thanks again for your help!!

 

Or can I simply use this?

 

Code:

On Kill;if %v% == "Noo8ie";Both Noo8ie was killed by %p% using %w%. The VIP is DEAD
No need to type Clan tags.. infact you dont even need to type the whole name... Proconrulz TargetPlayer will attempt to find the closest name to what you type :ohmy:... !setplayer Noo would probably work :ohmy:

 

and yes the second option would work fine :ohmy:

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

Originally Posted by ty_ger07*:

 

No need to type Clan tags.. infact you dont even need to type the whole name... Proconrulz TargetPlayer will attempt to find the closest name to what you type :ohmy:... !setplayer Noo would probably work :ohmy:

 

and yes the second option would work fine :ohmy:

Except, he is missing a say or yell before "Both".
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Both is Say and Yell at the same time :ohmy:

 

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

I am so out of touch. I haven't been an admin for .. years? and haven't played in half a year. I will just stay out of it. :smile:

 

Both? That's an awesome feature. I wish things were always so easy instead of having to track both players separately.

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