Jump to content

!punish and !forgive rules for PRoConRulz plugin.


ImportBot

Recommended Posts

Originally Posted by LumpyNutZ*:

 

Code:

[11:25:17 97] ProconRulz: Unrecognised rule [11:18:21 22] ProconRulz: Unrecognised rule On TeamKill;Set %server_lastteamkill[%p%]% %v%
[11:25:17 97] ProconRulz: Unrecognised rule [11:18:21 22] ProconRulz: Unrecognised rule On Kill;Set %server_lastteamkiller[%v%]% 0;Set %server_lastteamkiller[%p%]% 0
[11:25:17 97] ProconRulz: Unrecognised rule [11:18:21 22] ProconRulz: Unrecognised rule On TeamKill;Set %server_lastteamkiller[%v%]% %p%
[11:25:17 97] ProconRulz: Unrecognised rule [11:18:21 22] ProconRulz: Unrecognised rule 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
[11:25:17 97] ProconRulz: Unrecognised rule [11:18:21 22] ProconRulz: Unrecognised rule On Say;Text !punish;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to punish.
[11:25:17 97] ProconRulz: Unrecognised rule [11:18:21 22] ProconRulz: Unrecognised rule On Say;Text !forgive;If %server_lastteamkiller[%p%]% != 0;Set %server_lastteamkill[%server_lastteamkiller[%p%]%]% 0;Say %server_lastteamkiller[%p%]%
So, im getting this and im using version 43b.8

I think it has to have something to do with that im trying to use it with BC2.

But i just thought it should work with BC2 also as headline of this thread says.

Ideas?

* Restored post. It could be that the author is no longer active.
Link to comment
  • Replies 108
  • Created
  • Last Reply

Originally Posted by dyn*:

 

I'm trying adjust these rules to accomplish several things:

 

Problems / Situation:

We have a pretty low kick limit for TKs. I want to discourage players from throwing a random nade or spraying into friendly players. I do not want to prompt players to punish for individual TKs. I want a prompt for revenge TK if it's within the last 1 min only - or perhaps if the victim has made another kill the revenge TK is ignored.

 

1: Revenge TK punish prompt the victim if he wants to punish or not. Perhaps 1 min time out_.

-I'm seeing instances where the auto revenge slay is happening several mins after the initial TK... so it's not actually a revenge TK. The players are just near each other and one just happens to TK the other.

 

2: 2 in a row team kill prompt victim if he wants to punish or not on the 2nd one (and subsequent team kills).

- My feeling with this is that everyone team kills on a HC server. I only want to punish the players which grief.

 

Is it possible to modify the rules to accomplish these goals ?

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

Originally Posted by ty_ger07*:

 

Code:

[11:25:17 97] ProconRulz: Unrecognised rule [11:18:21 22] ProconRulz: Unrecognised rule On TeamKill;Set %server_lastteamkill[%p%]% %v%
[11:25:17 97] ProconRulz: Unrecognised rule [11:18:21 22] ProconRulz: Unrecognised rule On Kill;Set %server_lastteamkiller[%v%]% 0;Set %server_lastteamkiller[%p%]% 0
[11:25:17 97] ProconRulz: Unrecognised rule [11:18:21 22] ProconRulz: Unrecognised rule On TeamKill;Set %server_lastteamkiller[%v%]% %p%
[11:25:17 97] ProconRulz: Unrecognised rule [11:18:21 22] ProconRulz: Unrecognised rule 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
[11:25:17 97] ProconRulz: Unrecognised rule [11:18:21 22] ProconRulz: Unrecognised rule On Say;Text !punish;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to punish.
[11:25:17 97] ProconRulz: Unrecognised rule [11:18:21 22] ProconRulz: Unrecognised rule On Say;Text !forgive;If %server_lastteamkiller[%p%]% != 0;Set %server_lastteamkill[%server_lastteamkiller[%p%]%]% 0;Say %server_lastteamkiller[%p%]%
So, im getting this and im using version 43b.8

I think it has to have something to do with that im trying to use it with BC2.

But i just thought it should work with BC2 also as headline of this thread says.

Ideas?

I have never tried it with BC2 so can't confirm the issue.

 

I was lead to believe that it should work with BC2 just fine though according to BamBam's ProConRulz documentation.

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

Originally Posted by ty_ger07*:

 

I'm trying adjust these rules to accomplish several things:

 

Problems / Situation:

We have a pretty low kick limit for TKs. I want to discourage players from throwing a random nade or spraying into friendly players. I do not want to prompt players to punish for individual TKs. I want a prompt for revenge TK if it's within the last 1 min only - or perhaps if the victim has made another kill the revenge TK is ignored.

 

1: Revenge TK punish prompt the victim if he wants to punish or not. Perhaps 1 min time out_.

-I'm seeing instances where the auto revenge slay is happening several mins after the initial TK... so it's not actually a revenge TK. The players are just near each other and one just happens to TK the other.

It isn't possible to count to 1 minute. There is no time capability.

 

Lets say that player X team kills player Y. As soon as player X kills ANYONE else, it forgets that player X team killed player Y and they will not get a two team kill in a row punishment. If player X hasn't gotten any kills after a minute and then accidentally team kills player Y again, in my opinion they deserve to be punished with an auto kill since they are a camper and haven't gotten any valuable kills for their team.

 

2: 2 in a row team kill prompt victim if he wants to punish or not on the 2nd one (and subsequent team kills).

- My feeling with this is that everyone team kills on a HC server. I only want to punish the players which grief.

 

Is it possible to modify the rules to accomplish these goals ?

I would have to think about how to accomplish the second request.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LumpyNutZ*:

 

I have never tried it with BC2 so can't confirm the issue.

 

I was lead to believe that it should work with BC2 just fine though according to BamBam's ProConRulz documentation.

Ok, thats fine. Anyway i cant get it to work with BC2.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

2: 2 in a row team kill prompt victim if he wants to punish or not on the 2nd one (and subsequent team kills).

- My feeling with this is that everyone team kills on a HC server. I only want to punish the players which grief.

 

Is it possible to modify the rules to accomplish these goals ?

Basically, you just want to remove the automatic punishing and make it all manual.

 

Ok:

Code:

# Team Kill Notification Rules
On TeamKill;PlayerSay %p%: watch your fire! #%c%
On TeamKill;Say %v%: !forgive or !punish
# Tracking Notification
On TeamKill;If %server_lastteamkill[%v%]% == %p%;Say %p%: payback team kill against %v%.
On TeamKill;If %server_lastteamkill[%p%]% == %v%;Say %p%: team killed %v% twice in a row.
# Team Kill Tracking Rules
On TeamKill;Set %server_lastteamkill[%p%]% %v%
On TeamKill;Set %server_lastteamkiller[%v%]% %p%
# Automatic Forget
On Kill;Set %server_lastteamkiller[%v%]% 0;Set %server_lastteamkill[%p%]% 0
# Team Kill Punish Rule
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 !punish;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to punish.
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

Originally Posted by dyn*:

 

Lets say that player X team kills player Y. As soon as player X kills ANYONE else, it forgets that player X team killed player Y and they will not get a two team kill in a row punishment.

I think you're right about the 1 min timeout in that it doesn't make sense. If the above is able to function properly it would be excellent... however...

 

I just tested the above on 43b.8 and it does not seem to be operating like this. Here's what I did:

 

I Killed teammate A.

I died 2 times and killed 2 enemies.

I killed teammate A again, I was auto slayed for "ME: killed for team killing Teammate A twice in a row."

 

 

On a new round:

I team killed Player B

Player B then went and killed an enemy.

Player b then team killed me. Player B was auto slayed with the message of: Player B: killed for payback team kill against ME.

 

 

 

The rules I'm using:

 

 

# Team Kill Notification Rules

On TeamKill;PlayerSay %p%: watch your fire! #%c%

# Team Kill Tracking Rules

On TeamKill;If %server_lastteamkill[%v%]% == %p%;Say %p%: killed for payback team kill against %v%.;Kill

On TeamKill;If %server_lastteamkill[%p%]% == %v%;Say %p%: killed for team killing %v% twice in a row.;Kill

On TeamKill;Set %server_lastteamkill[%p%]% %v%

# Team Kill Punish Rule

On Kill;Set %server_lastteamkiller[%v%]% 0;Set %server_lastteamkiller[%p%]% 0

On TeamKill;Set %server_lastteamkiller[%v%]% %p%

I did remove the !punish / !forgive mentions as I don't want to give gamers the option to do either. Just auto punish the ones who are causing the problems.

 

Thoughts on how this could be fixed ?

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

Originally Posted by ty_ger07*:

 

I think you're right about the 1 min timeout in that it doesn't make sense. If the above is able to function properly it would be excellent... however...

 

I just tested the above on 43b.8 and it does not seem to be operating like this. Here's what I did:

 

I Killed teammate A.

I died 2 times and killed 2 enemies.

I killed teammate A again, I was auto slayed for "ME: killed for team killing Teammate A twice in a row."

 

 

On a new round:

I team killed Player B

Player B then went and killed an enemy.

Player b then team killed me. Player B was auto slayed with the message of: Player B: killed for payback team kill against ME.

 

 

 

The rules I'm using:

 

 

 

 

I did remove the !punish / !forgive mentions as I don't want to give gamers the option to do either. Just auto punish the ones who are causing the problems.

 

Thoughts on how this could be fixed ?

I redid the first post and changed the rules up a bit. My previous description was a bit wrong and did not quite match the way the rules worked.

 

I have now given code for with and without auto punishing and updated the rules and description.

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

Originally Posted by dyn*:

 

I have now given code for with and without auto punishing and updated the rules and description.

Hot damn - you sure did!

 

Just had an opportunity to test this out on an active server and it seems to be working great. Went through a couple of situations and it all worked as described in the OP.

 

Thank you so much for taking the time to do this. I sure as heck would have been lost and probably kicked half the server away while trying to set this up.

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

Originally Posted by saetta*:

 

Hello Guys, The source code is too advanced for me, i want a basic !punish command.

(i play Battlefield 3)

ex:

- A player Teamkill his friend > Message warning "carreful"

- Message Yell for Victime "type !punish"

- The Teamkiller is kill (with message)

 

Thanks for your help :smile:

 

Sorry for my english, i'm french

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

Originally Posted by ty_ger07*:

 

Hello Guys, The source code is too advanced for me, i want a basic !punish command.

(i play Battlefield 3)

ex:

- A player Teamkill his friend > Message warning "carreful"

- Message Yell for Victime "type !punish"

- The Teamkiller is kill (with message)

 

Thanks for your help :smile:

 

Sorry for my english, i'm french

What you desire is already listed in the first post.

 

This is what you want:

Code:

# Team Kill Notification Rules
On TeamKill;PlayerSay %p%: watch your fire! #%c%
On TeamKill;Say %v%: !forgive or !punish
# Tracking Notification
On TeamKill;If %server_lastteamkill[%v%]% == %p%;Say %p%: payback team kill against %v%.
On TeamKill;If %server_lastteamkill[%p%]% == %v%;Say %p%: team killed %v% twice in a row.
# Team Kill Tracking Rules
On TeamKill;Set %server_lastteamkill[%p%]% %v%
On TeamKill;Set %server_lastteamkiller[%v%]% %p%
# Automatic Forget
On Kill;Set %server_lastteamkiller[%v%]% 0;Set %server_lastteamkill[%p%]% 0;Set %server_lastteamkiller[%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
Insert that code into your PRoConRulz plugin and enjoy.
* Restored post. It could be that the author is no longer active.
Link to comment
  • 1 month later...

Originally Posted by ty_ger07*:

 

Here's a new idea (untested):

 

# Team Kill Rules by Ty_ger07

On TeamKill;PlayerSay %p%: watch your fire! #%c%

On TeamKill;Say %v%: !forgive or !punish

# Tracking Notification

On TeamKill;If %server_lastteamkill[%v%]% == %p%;Say %p%: payback team kill against %v%.

On TeamKill;If %server_lastteamkill[%p%]% == %v%;Say %p%: team killed %v% twice in a row.

# Team Kill Tracking Rules

On TeamKill;Set %server_lastteamkill[%p%]% %v%

On TeamKill;Set %server_lastteamkiller[%v%]% %p%

# 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%: player has already been automatically forgiven.

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%: player has already been automatically forgiven.

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

 

 

These rules are similar to the "No auto punishing" rules in the first post except they also add automatic player forgiving if they say 'sorry', 'soz', or 'sry'. This way, a player can't punish someone who said they were sorry.

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

Originally Posted by darkeingel*:

 

^ tested.

 

Works!

Hey where do I have to change Say with PlayerSay so that the !punish !forgive message to appear in the message box only for the team-killed players?

 

Also, I'm using ty_ger versions of the rules.

 

Thanks

Alex

"D4rKEingeL"

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

Originally Posted by russel5*:

 

I make my rules based on this, and i add this option 5 Teamkills = Kick, 3 Kicks = TempBan 1 Day. When peoples say !forgive count of Teamkills decreased. Tested - Worked!

Code:

# Team Kill Notification Rules
On Spawn;ServerFirst;Set %ini_timkil% 0;Set %ini_kick% 0
On TeamKill;Incr %ini_timkil_warn[%p%]%;PlayerSay %p%: watch your fire! This is your %ini_timkil_warn[%p%]% victim.
On TeamKill;Say %v%: !p - punish or !f - forgive
# Team Kill Tracking Rules
On TeamKill;If %ini_timkil_warn[%p%]% == 4;PlayerSay This is your last warning NO TEAMKILL!
On TeamKill;If %ini_timkil_warn[%p%]% == 5;Kick %p% NO TEAMKILL!;Incr %ini_kick_warn[%p%]%;Set %ini_timkil_warn[%p%]% 0
On TeamKill;If %ini_kick_warn[%p%]% == 3;tempban 86400 %p% NO TEAMKILL! TempBan 1 Day;Set %ini_timkil_warn[%p%]% 0;Set %ini_kick_warn[%p%]% 0
On TeamKill;Set %server_lastteamkill[%p%]% %v%
On TeamKill;Set %server_lastteamkiller[%v%]% %p%
# Team Kill Punish Rule
On Say;Text !p;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to punish.
On Say;Text !p;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 !f;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to forgive.
On Say;Text !f;If %server_lastteamkiller[%p%]% != 0;Decr %ini_timkil_warn[server_lastteamkiller[%p%]%]%;Set %server_lastteamkill[%server_lastteamkiller[%p%]%]% 0;Say %server_lastteamkiller[%p%]% was forgiven by %p%.;Set %server_lastteamkiller[%p%]% 0
#Leave
on leave;say Player -- %p% -- BbILLIEJI;Set %ini_timkil_warn[%p%]% 0
* Restored post. It could be that the author is no longer active.
Link to comment
  • 1 month later...

Originally Posted by russel5*:

 

Hi, this code is old.

New code

Code:

# Team Kill Notification Rules
On Spawn;ServerFirst;Set %ini_timkil% 0;Set %ini_kick% 0
On TeamKill;Incr %ini_timkil_warn[%p%]%;PlayerSay %p%: watch your fire! This is your %ini_timkil_warn[%p%]% victim.
On TeamKill;Say %v%: !p or !f
# Team Kill Tracking Rules
On TeamKill;If %ini_timkil_warn[%p%]% == 6;PlayerSay This is your last warning NO TEAMKILL!
On TeamKill;If %ini_timkil_warn[%p%]% == 7
	Incr %ini_kick_warn[%p%]%
	If %ini_kick_warn[%p%]% != 2;Kick %p% NO TEAMKILL!;Set %ini_timkil_warn[%p%]% 0
	If %ini_kick_warn[%p%]% == 2;tempban 86400 %p% NO TEAMKILL! TempBan 1 Day;Set %ini_timkil_warn[%p%]% 0;Set %ini_kick_warn[%p%]% 0
On TeamKill;Set %server_lastteamkill[%p%]% %v%
On TeamKill;Set %server_lastteamkiller[%v%]% %p%
# Team Kill Punish Rule
On Say;Text !p;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to punish.
On Say;Text !p;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 !f;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to forgive.
On Say;Text !f;If %server_lastteamkiller[%p%]% != 0;Decr %ini_timkil_warn[%server_lastteamkiller[%p%]%]%;Set %server_lastteamkill[%server_lastteamkiller[%p%]%]% 0;Say %server_lastteamkiller[%p%]% was forgiven by %p%.;Set %server_lastteamkiller[%p%]% 0
#Leave
On Leave;Say -- %p% -- BbILLIEJI (this mean - leave server on russian);Set %ini_timkil_warn[%p%]% 0
And this code work perfect, when forgive counter is decremented. I check on my server with friend.

 

Also, how would we properly change the "On TeamKill;Say %v%: !forgive or !punish" message so that it is only sent to the victim?

"VictimSay " : On Kill only, the player killed will see message.

See a document "Programming ProconRulz"

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

Originally Posted by dyn*:

 

Trying to set up the punisher so on the 4th punish the killer is automatically banned for 120 mins... just can't seem to get it correct. I have tried the rules listed earlier but haven't been able to get it.

 

Edit: In an effort to decrease server messages, is it possible to set all punish related messages sent to the victim and the teamkiller.

 

Suggestions ?

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

Originally Posted by russel5*:

 

Hi, try this code

Code:

# Team Kill Notification Rules
On Spawn;ServerFirst;Set %ini_punish% 0
On TeamKill;PlayerSay %p%: watch your fire! This is your %c% victim.
On TeamKill;VictimSay %v%: !p or !f
# Team Kill Tracking Rules
On TeamKill;If %ini_punish_count[%p%]% == 4;TempBan 7200 %p% TempBan 2 hours;Set %ini_punish_count[%p%]% 0
On TeamKill;Set %server_lastteamkill[%p%]% %v%
On TeamKill;Set %server_lastteamkiller[%v%]% %p%
# Team Kill Punish Rule
On Say;Text !p;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to punish.
On Say;Text !p;If %server_lastteamkiller[%p%]% != 0;Incr %ini_punish_count[%server_lastteamkiller[%p%]%]%;TargetPlayer %server_lastteamkiller[%p%]%;TargetAction PlayerSay %t% killed for team killing.;TargetAction Kill;TargetConfirm;Set %server_lastteamkiller[%p%]% 0
On Say;Text !f;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to forgive.
On Say;Text !f;If %server_lastteamkiller[%p%]% != 0;TargetPlayer %server_lastteamkiller[%p%]%;Set %server_lastteamkill[%server_lastteamkiller[%p%]%]% 0;TargetAction PlayerSay %t% was forgiven by %p%.;Set %server_lastteamkiller[%p%]% 0
#Leave
On Leave;Say -- %p% -- Leave Server;Set %ini_punish_count[%p%]% 0
All messages see only Killers and Victims

Tell me if not working

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

Originally Posted by dyn*:

 

Hi, try this code

All messages see only Killers and Victims

Tell me if not working

Tested.

 

  • Messages are only seen by the victim / killer!
  • On 4th punish teamkiller is NOT removed.
  • On 5th TK teamkiller is temp banned even if no punish is received, so it's not working exactly.

 

Will also be trying to make a few changes in regards to the messages and will post changes when they are finished.

 

THANKS SO MUCH FOR THE HELP!!

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

Originally Posted by russel5*:

 

Tested.

 

  • Messages are only seen by the victim / killer!
  • On 4th punish teamkiller is NOT removed.
  • On 5th TK teamkiller is temp banned even if no punish is received, so it's not working exactly.

 

Will also be trying to make a few changes in regards to the messages and will post changes when they are finished.

 

THANKS SO MUCH FOR THE HELP!!

Ok i found error

New Code

Code:

# Team Kill Notification Rules
On Spawn;ServerFirst;Set %ini_punish% 0
On TeamKill;PlayerSay %p%: watch your fire! This is your %c% victim.
On TeamKill;VictimSay %v%: !p or !f
# Team Kill Tracking Rules
On TeamKill;Set %server_lastteamkill[%p%]% %v%
On TeamKill;Set %server_lastteamkiller[%v%]% %p%
# Team Kill Punish Rule
On Say;Text !p;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to punish.
On Say;Text !p;If %server_lastteamkiller[%p%]% != 0
	Incr %ini_punish_count[%server_lastteamkiller[%p%]%]%
	If %ini_punish_count[%p%]% == 4;TempBan 7200 %p% TempBan 2 hours;Set %ini_punish_count[%p%]% 0
	TargetPlayer %server_lastteamkiller[%p%]%;TargetAction PlayerSay %t% killed for team killing.;TargetAction Kill;TargetConfirm;Set %server_lastteamkiller[%p%]% 0
On Say;Text !f;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to forgive.
On Say;Text !f;If %server_lastteamkiller[%p%]% != 0;TargetPlayer %server_lastteamkiller[%p%]%;Set %server_lastteamkill[%server_lastteamkiller[%p%]%]% 0;TargetAction PlayerSay %t% was forgiven by %p%.;Set %server_lastteamkiller[%p%]% 0
#Leave
On Leave;Say -- %p% -- Leave Server;Set %ini_punish_count[%p%]% 0
Should work how you want
* Restored post. It could be that the author is no longer active.
Link to comment
  • 3 months later...

Originally Posted by )RAG()N*:

 

Is there a way to stop the ProconRulz chat spaming in procon like below

 

ProconRulz: Joiner [player name] (min teamsize 5) (Not admin)

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

Originally Posted by ty_ger07*:

 

Is there a way to stop the ProconRulz chat spaming in procon like below

 

ProconRulz: Joiner [player name] (min teamsize 5) (Not admin)

Your question has nothing to do with these rules.

 

You should ask here instead:

myrcon.net/.../proconrulz-v44j1-weapon-limits-and-other-event-triggered-admin-actions

* Restored post. It could be that the author is no longer active.
Link to comment
  • 4 weeks later...
  • 2 months later...

Originally Posted by kunoichia*:

 

Here's a new idea (untested):

 

# Team Kill Rules by Ty_ger07

On TeamKill;PlayerSay %p%: watch your fire! #%c%

On TeamKill;Say %v%: !forgive or !punish

# Tracking Notification

On TeamKill;If %server_lastteamkill[%v%]% == %p%;Say %p%: payback team kill against %v%.

On TeamKill;If %server_lastteamkill[%p%]% == %v%;Say %p%: team killed %v% twice in a row.

# Team Kill Tracking Rules

On TeamKill;Set %server_lastteamkill[%p%]% %v%

On TeamKill;Set %server_lastteamkiller[%v%]% %p%

# 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%: player has already been automatically forgiven.

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%: player has already been automatically forgiven.

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

 

 

These rules are similar to the "No auto punishing" rules in the first post except they also add automatic player forgiving if they say 'sorry', 'soz', or 'sry'. This way, a player can't punish someone who said they were sorry.

Hey I just tried this code and it works.

 

I really like the idea of a person that says sorry not being punished (atm we dont use punisher because we believe in saying sorry on our servers).

 

Atm though with the code you provided if the person that gets teamkilled types !punish before the teamkiller says sorry still gets punished.

 

Is it possible to add a timer to this? So let's say the teamkiller has 20 seconds to get to a safe position and say sorry?

 

Thanks in advance, other suggestions or workarounds are welcome.

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

Archived

This topic is now archived and is closed to further replies.




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