Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by taozhijie558*:

 

Why it does not work?

 

On Kill;Not Weapon Eod&Bot;PlayerCount 5;Log %p%banned (Eod&Bot);Ban %p% Repair&Eod&Bot only

On Kill;Not Weapon Eod&Bot;PlayerCount 3;Log %p% kicked (Eod&Bot);Kick %p% Repair&Eod&Bot only

On Kill;Not Weapon Defib;Not Weapon Repair&Tool;PlayerSay %p% Eod&Bot only;Kill 100

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

Originally Posted by HungarianBf3Fans*:

 

Hi all

We have some problems.

We could not see in procon admin program at chat surface at the kills, which vehicle was killed with.

Just only shows "death".

The other problem is we cant restrict mortars, its not in the list.

And we have another question. If someboby kill with M16A3 the procon shows M16A4.

What would be the problem?

 

Posted Image

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

Originally Posted by Athlon*:

 

Hi all

We have some problems.

We could not see in procon admin program at chat surface at the kills, which vehicle was killed with.

Just only shows "death".

The other problem is we cant restrict mortars, its not in the list.

And we have another question. If someboby kill with M16A3 the procon shows M16A4.

What would be the problem?

 

Posted Image

As has been said over and over throughout this thread, as well as on page one in the instructions, Procon BF3 does not report to the server player positioning or vehicle details. Therefore Procon cannot tell the difference between one vehicle kill or another. Nor does BF3 distinguish between vehicle kills, mortar kills. TOW kills or any fixed placement weapon kills. They are all reported by the server as 'Death' kills. What you are for asking is impossible to do.

 

The M16 issue is a known bug.

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

Originally Posted by RazorliteX*:

 

:huh: It worked for me.

 

Maybe you are using an old version of PRoConRulz or you are running the plugin from your local machine from an account which doesn't have permission to execute PunkBuster commands?

In the end I managed to get this working had to replace

 

On Kill;If %server_streak[%p%]% == 11;Exec punkBuster.pb_sv_getss "%p%";Log PBSS taken of %p%

 

with..

 

On Kill;If %server_streak[%p%]% == 11;Exec punkBuster.pb_sv_command pb_sv_getss "%p%";Log PBSS taken of %p%

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

Originally Posted by RazorliteX*:

 

Hmm. Maybe I typed incorrectly. Not sure. I don't remember and can't look now. I am glad you got it working.

No problem thanks - as it turns out both commands are well documented on the internet. It just turns out that the latter seems to work for me so all good. :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Athlon*:

 

Can I set up ProconRulz to kick player who kill by jet ?

:woot:

 

Your answer is just 5 posts above yours.

 

(and in dozens of other posts in this thread, btw. and on the first page in the instructions section.)

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

Originally Posted by RazorliteX*:

 

Apologies as I may have missed it but is it possible to set tickets at the start of a round for specific maps (I assume all maps will have to be set once in place otherwise it will just last ticket set).

 

Any help appreciated.

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

Originally Posted by ty_ger07*:

 

Apologies as I may have missed it but is it possible to set tickets at the start of a round for specific maps (I assume all maps will have to be set once in place otherwise it will just last ticket set).

 

Any help appreciated.

Yes, it is possible, but you need to have a fixed map rotation and know the next map ahead of time. The problem is that you need to set the tickets BEFORE the map loads. The most convenient time to set tickets is when the previous map loads.

 

For instance, let's say you have only two maps running on your server: Grand Bazaar and Metro. Let's say that you want Bazaar to have 150% tickets and Metro to have 200% tickets. You need to set the tickets to 150% tickets after Metro loads so that Bazaar will have 150% tickets and set the tickets to 200% when Bazaar loads so that Metro will have 200% tickets.

 

Example:

On Round;Map MP_Subway;Exec vars.gameModeCounter 150

On Round;Map MP_001;Exec vars.gameModeCounter 200

 

 

As you see, it is a little weird and not entirely intuitive.

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

Originally Posted by RazorliteX*:

 

Yes, it is possible, but you need to have a fixed map rotation and know the next map ahead of time. The problem is that you need to set the tickets BEFORE the map loads. The most convenient time to set tickets is when the previous map loads.

 

For instance, let's say you have only two maps running on your server: Grand Bazaar and Metro. Let's say that you want Bazaar to have 150% tickets and Metro to have 200% tickets. You need to set the tickets to 150% tickets after Metro loads so that Bazaar will have 150% tickets and set the tickets to 200% when Bazaar loads so that Metro will have 200% tickets.

 

Example:

On Round;Map MP_Subway;Exec vars.gameModeCounter 150

On Round;Map MP_001;Exec vars.gameModeCounter 200

 

 

As you see, it is a little weird and not entirely intuitive.

Thats a pretty cool answer and not bad as I only have two maps. Cheers!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

would this be correct to not let the knife in server

 

"On Kill;Weapon/Knife;Kill"

"On Kill;Weapon/Melee;Kill"

No.

 

On Kill;Damage Melee;Kill

 

Note: this would also ban Defibrillator and Repair Tool kills since those are also "Damage Melee".

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

Originally Posted by ty_ger07*:

 

If you want to specifically ban only knifes and not also limit defibrillator and repair tool, you need to be more specific and use the weapon names.

 

On Kill;Weapon Knife_RazorBlade;Kill

On Kill;Weapon Melee;Kill

On Kill;Weapon Weapons/Knife/Knife;Kill

 

In programming ProconRulz, it becomes necessary to learn the behaviour of the game you are

actually programming the rulz for… as a particular example, BF3 actually has multiple knife

weapons (as of July 2012):

1. Weapons/weapon/knife

2. Melee

3. Knife_RazorBlade

http://www.forsterlewis.com/proconrulz.pdf
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by FLirtY-3D*:

 

why wont the rule work ?

 

On Kill;Map subway;Weapon C4;PlayerCount 2;Log %p% TempBan 86400 for C4;TempBan 86400 %p% No C4 use

On Kill;Map subway;Weapon C4;PlayerCount 1;Log %p% kicked for C4;Kick %p% No C4 use

On Kill;Map subway;Weapon C4;Say {ATF}Rules %p% No C4;Kill 100

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

Originally Posted by tarreltje*:

 

why wont the rule work ?

 

On Kill;Map subway;Weapon C4;PlayerCount 2;Log %p% TempBan 86400 for C4;TempBan 86400 %p% No C4 use

On Kill;Map subway;Weapon C4;PlayerCount 1;Log %p% kicked for C4;Kick %p% No C4 use

On Kill;Map subway;Weapon C4;Say {ATF}Rules %p% No C4;Kill 100

Try this:

 

On Kill;Map subway;Weapon Weapons/Gadgets/C4/C4;PlayerCount 2;Log %p% TempBan 86400 for C4;TempBan 86400 %p% No C4 use

On Kill;Map subway;Weapon Weapons/Gadgets/C4/C4;PlayerCount 1;Log %p% kicked for C4;Kick %p% No C4 use

On Kill;Map subway;Weapon Weapons/Gadgets/C4/C4;Say {ATF}Rules %p% No C4;Kill 100

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

Originally Posted by cscott69*:

 

Does this plug in allow you to limit the primary weapon based on the in game KDR, say 3.0 kdr and restrict the player to only a pistol, knife or something else once the player exceeds a given KDR and once exceeded and the player continues to use the primary weapon is killed or kicked if they continue to use the primary weapon onces they have been told?

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

Originally Posted by ty_ger07*:

 

Does this plug in allow you to limit the primary weapon based on the in game KDR, say 3.0 kdr and restrict the player to only a pistol, knife or something else once the player exceeds a given KDR and once exceeded and the player continues to use the primary weapon is killed or kicked if they continue to use the primary weapon onces they have been told?

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

Originally Posted by ty_ger07*:

 

I know there is a server using a plugin that limits the the primary weapon once a certain KDR is exceeded, I just dont know what it is and how to set something like that up.

http://battlelog.battlefield.com/bf3...-High-Tickets/

It's not the simplest task because it requires multiple rules. I will try to respond with a useful list of rules, but right now I am using my phone and it isn't easy. In the meantime someone smarter than me may respond.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by cscott69*:

 

It's not the simplest task because it requires multiple rules. I will try to respond with a useful list of rules, but right now I am using my phone and it isn't easy. In the meantime someone smarter than me may respond.

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

Originally Posted by ty_ger07*:

 

Ok, first we need to count kills for each player. We will also increase the death count for each victim three times. This is so that we can use the three count later for comparison. In other words, the player will need to kill three times for every death to reach the 3 KDR threshold.

 

On Kill;Incr %kdrkills[%p%]%;Incr %kdrdeaths[%v%]%;Incr %kdrdeaths[%v%]%;Incr %kdrdeaths[%v%]%

 

Then we will do a comparison of KDR and then punish if their weapon is not a secondary weapon if their KDR is equal or greater than 3.

 

On Kill;If %kdrkills[%p%]% >= %kdrdeaths[%p%]%;Not Damage Handgun;Not Damage Melee;Not Damage Explosive;Not Damage ProjectileExplosive;Not Weapon Death;Playersay %p% you can not use primary weapon because your KDR is over 3;Kill

 

 

That should work. It should kill anyone who uses a primary weapon with a KDR over 3. But I have not tested it because I don't have a BF3 server any more. Let me know if it works or not.

 

So, in summary, all together without explanations:

 

On Kill;Incr %kdrkills[%p%]%;Incr %kdrdeaths[%v%]%;Incr %kdrdeaths[%v%]%;Incr %kdrdeaths[%v%]%

On Kill;If %kdrkills[%p%]% >= %kdrdeaths[%p%]%;Not Damage Handgun;Not Damage Melee;Not Damage Explosive;Not Damage ProjectileExplosive;Not Weapon Death;Playersay %p% you can not use primary weapon because your KDR is over 3;Kill

 

What about vehicle kills though? They could have an infinite KDR in a vehicle because that would be allowed. If your server has vehicles and you want to limit kills in vehicles by KDR, let me know.

 

Edit: what about a minimum kill limit? It wouldn't be very fair if someone joined the server and got punished for their first three kills, would it?

 

Here is an example where it doesn't punish you until you have at least 10 kills in the server and warns you below 10 kills that you are aproaching a punishable threshold.

 

On Kill;Incr %kdrkills[%p%]%;Incr %kdrdeaths[%v%]%;Incr %kdrdeaths[%v%]%;Incr %kdrdeaths[%v%]%

On Kill;If %kdrkills[%p%]% = %kdrdeaths[%p%]%;Not Damage Handgun;Not Damage Melee;Not Damage Explosive;Not Damage ProjectileExplosive;Not Weapon Death;Playersay %p% warning! Do not use primary weapon with KDR over 3.

On Kill;If %kdrkills[%p%]% >= 10;If %kdrkills[%p%]% >= %kdrdeaths[%p%]%;Not Damage Handgun;Not Damage Melee;Not Damage Explosive;Not Damage ProjectileExplosive;Not Weapon Death;Playersay %p% you can not use primary weapon because your KDR is over 3;Kill

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