Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by bambam*:

 

hello,

 

i want to yell something to the victim. could you integrate the command VictimYell please?

I'd be happy to provide this except the victim is, by definition, dead. Dead players do not see Yell messages.

 

You can give a Yell message to the dead player when they re-spawn:

 

On Kill;Set %server_yellmsg[%v%]% "Hey %v% you were killed by %p%"

On Spawn;If %server_yellmsg[%p%]% != 0;PlayerYell %server_yellmsg[%p%]%;Set %server_yellmsg[%p%]% 0

 

Example - If Pebbles kills Bambam:

 

The first rule: if Bambam is the victim, this sets a variable %server_yellmsg[bambam]% (%v% for this rule is Bambam) to "Hey Bambam you were killed by Pebbles"

 

The second rule: when Bambam next spawns, this On Spawn rule tests whether %server_yellmsg[bambam]% is non-zero (%p% for this rule is Bambam), and if so it PlayerYell's the value. (Note that un-assigned variables are ALL zero, so this does not need to be set up).

 

These two rulz make clever use of %v% (the victim) in the first On Kill rule, and %p% in the second On Spawn rule, to link an earlier victim to a later spawning player.

 

Simple but a powerful technique when you understand it.

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

Originally Posted by a928396*:

 

I'd be happy to provide this except the victim is, by definition, dead. Dead players do not see Yell messages.

 

You can give a Yell message to the dead player when they re-spawn:

i didn't thought on that but your suggestion was helpful to me. great, thank you again for your support!

 

have modified the punish rules but i need to try it first:

 

Code:

...
### Team Kill Notification Rules
On TeamKill;If %pcountrykey% != de;PlayerYell %p%: watch your fire! #%c%
On TeamKill;If %pcountrykey% == de;PlayerYell %p%: Pass auf wohin Du feuerst! #%c%
On TeamKill;If %vcountrykey% != de;Set %server_yellmsg[%v%]% "%v%: %p% team killed you - type !forgive or !punish"
On TeamKill;If %vcountrykey% == de;Set %server_yellmsg[%v%]% "%v%: %p% aus Deinem Team hat Dich getoetet - tippe !forgive oder !punish"
On Spawn;If %server_yellmsg[%p%]% != 0;PlayerYell %server_yellmsg[%p%]%;Set %server_yellmsg[%p%]% 0
...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bambam*:

 

i didn't thought on that but your suggestion was helpful to me. great, thank you again for your support!

 

have modified the punish rules but i need to try it first:

I think teamkills is a really good use of the idea...

 

if you haven't seen them, ty_ger wrote some neat !forgive/!punish rulz in ProconRulz* if you're not already using them.

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

Originally Posted by a928396*:

 

I think teamkills is a really good use of the idea...

 

if you haven't seen them, ty_ger wrote some neat !forgive/!punish rulz in ProconRulz* if you're not already using them.

yes, know it. these rules I have used as template for doing some modifications :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BenchZowner*:

 

Any ideas on how to make procon yell or say any pb kick from my custom md5tool checks ?

Since EvenBalance & DICE couldn't care less about hackers and the new stupid damage hacks, I created a few manual checks, but since punkbuster only kicks them for 5 minutes I need to have a way to track who gets kicked for these so I can manually ban them.

 

Any ideas ?

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

Originally Posted by ty_ger07*:

 

Any ideas on how to make procon yell or say any pb kick from my custom md5tool checks ?

Since EvenBalance & DICE couldn't care less about hackers and the new stupid damage hacks, I created a few manual checks, but since punkbuster only kicks them for 5 minutes I need to have a way to track who gets kicked for these so I can manually ban them.

 

Any ideas ?

Aren't the players who are kicked by PB listed in your sv_viol.log file on your game server?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bambam*:

 

cool thanks. No donations necessary - ProconRulz is all about creating a framework where players can create new server tools and freely share them, and seeing that succeed is the reward.

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

Originally Posted by Tomgun*:

 

can the no vehicle with small teams script be altered so it only works on the maps you want it to. What I mean is its active on grand bazaar but on the new AK map say bandar desert it would be turned off?

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

Originally Posted by Djiju*:

 

Hi everyone, Maybe I'm a noob or I don't look at the good topic but, I tried to install ProconRulz plugin in my Procon for a BF3 Server. I downloaded the 43d1 version from here, I extract all files but I jsut found ProconRulz.cs.

 

I put it in the ftp, in Plugins/Games/BF3 but it does'nt appear on Parent Layer Control. I also reboot the server and Procon console but I don't know what to do:

 

pluginscomp.PNG

 

I made some research on forum, on Phogue, on google, on verygames's forum but I don't find it. I think ProconRulz.dll is missing but I'm not sure.

 

Could you help me?

 

P.S: Sorry for grammar or vocabulary, i'm not good in english, I'm french and I hope no information is missing

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

Originally Posted by bambam*:

 

can the no vehicle with small teams script be altered so it only works on the maps you want it to. What I mean is its active on grand bazaar but on the new AK map say bandar desert it would be turned off?

yes, absolutely -this is what ProconRulz is for.

 

In each rule, add "Map baz;" after each "On ;" statement.

 

E,g, if you have a rule

 

On Kill;Weapon Death;Teamsize 4;Say no vehicles on small teams;Kill

 

change it to

 

On Kill;Map baz;Weapon Death;Teamsize 4;Say no vehicles on small teams;Kill

 

The "Map" condition (and most others) can take multiple parameters separated by commas (no spaces) allowing ANY of those options. So for the rulz to apply to multiple maps (say Bazaar, Seine Crossing) use "Map baz,cross;". See online docs for full description of the Map condition.

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

Originally Posted by bambam*:

 

Hi everyone, Maybe I'm a noob or I don't look at the good topic but, I tried to install ProconRulz plugin in my Procon for a BF3 Server. I downloaded the 43d1 version from here, I extract all files but I jsut found ProconRulz.cs.

 

I put it in the ftp, in Plugins/Games/BF3 but it does'nt appear on Parent Layer Control. I also reboot the server and Procon console but I don't know what to do:

 

pluginscomp.PNG

 

I made some research on forum, on Phogue, on google, on verygames's forum but I don't find it. I think ProconRulz.dll is missing but I'm not sure.

 

Could you help me?

 

P.S: Sorry for grammar or vocabulary, i'm not good in english, I'm french and I hope no information is missing

There's no 'Games' sub-folder. Should be Plugins\BF3\proconrulz.cs

 

You probably have that anyway, and a typo in your post.

 

You have to reload the plugins (it looks like you did that) - maybe you should just stop and restart procon.

 

When proconrulz.cs is found by Procon, then Procon will automatically create proconrulz.dll in the same folder. If this does not exist then post again here...

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

Originally Posted by Tomgun*:

 

yes, absolutely -this is what ProconRulz is for.

 

In each rule, add "Map baz;" after each "On ;" statement.

 

E,g, if you have a rule

 

On Kill;Weapon Death;Teamsize 4;Say no vehicles on small teams;Kill

 

change it to

 

On Kill;Map baz;Weapon Death;Teamsize 4;Say no vehicles on small teams;Kill

 

The "Map" condition (and most others) can take multiple parameters separated by commas (no spaces) allowing ANY of those options. So for the rulz to apply to multiple maps (say Bazaar, Seine Crossing) use "Map baz,cross;". See online docs for full description of the Map condition.

spot on cheers :smile:, I take it team size 4 is 4v4?

 

On Kill;Map baz,cross;Weapon Death;Teamsize 4;say %p% no vehicles allowed 8 players or below on this map please!!;Kill

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

Originally Posted by bambam*:

 

spot on cheers :smile:, I take it team size 4 is 4v4?

 

On Kill;Map baz,cross;Weapon Death;Teamsize 4;say %p% no vehicles allowed 8 players or below on this map please!!;Kill

"Teamsize X;" is a condition that succeeds if the smallest team has X or fewer players. It's actually more useful for most rules than the total # of players on the server (although all these values are available). Simply put, Teamsize 4 succeeds if teams are 4v4 or less, as you suggest. The subtlety is if the server is unbalanced, e.g. 6 v 4 - in most cases you would want to treat that the same as 4v4 if you're limiting vehicles (rather than 5v5 which the total 10 would suggest), i.e. you really mean don't use vehicles on a server if the smallest team is 4 or less and the Teamsize condition makes this easy.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by a928396*:

 

I've done a tiny report command with ProconRulz:

 

Code:

### report command
On Say;Text !report;If %text% == "!report";
If %pcountrykey% != de;PlayerSay type !report <player> <reason> to report a player
If %pcountrykey% == de;PlayerSay tippe !report <Spieler> <Grund> um einen Spieler zu melden
On Say;Text !report;TargetPlayer;
If %targettext% != "";Log [^2%p%^0] ^8moechte %t% melden! Grund: %targettext%^0;Exec admin.yell "%p% (%pcountrykey%) moechte %t% wegen %targettext% melden!" 30
If %targettext% == "";Log [^2%p%^0] ^8moechte %t% melden!^0;Exec admin.yell "%p% (%pcountrykey%) moechte %t% melden!" 30
!report

shows the player a short hint for usage

 

 

!report playerXYZ trolling

will write a message to log and yells a notification to the admins

 

 

Any suggestions for some cleanup or improvements?

 

a928396

 

 

EDIT:

 

I see there is something wrong with the yell command. This rules yells the messages to all players - that wasn't my purpose. I want to yell only the admin users. Guess it's not possible so I have to put one admin name into this rule, right?

 

Code:

...
On Say;Text !report;TargetPlayer;
If %targettext% != "";
+Log [^2%p%^0] ^8moechte %t% melden! Grund: %targettext%^0;
+Exec admin.yell "%p% (%pcountrykey%) moechte %t% wegen %targettext% melden!" 30 [b]player a928396[/b]
...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by a928396*:

 

Hello bambam,

 

guess I have found a issue with proconrulz:

 

This is a part of my ruleset:

Code:

...
On Say;Text !report;TargetPlayer;
If %targettext% != "";Log "[^2%p%^0] ^8moechte %t% melden! Grund: %targettext%^0";Exec admin.yell "%p% (%pcountrykey%) moechte %t% wegen %targettext% melden!" 30 player vitaminb991
If %targettext% == "";Log "[^2%p%^0] ^8moechte %t% melden!^0";Exec admin.yell "%p% (%pcountrykey%) moechte %t% melden!" 30 player vitaminb991
### list admins
On Say;Text !admins,!admin,@admins,@admin;Say Admins: XYZ1, YXZ2, etc
...
So if I restart my server it will cut the ruleset:

Code:

...
On Say;Text !report;TargetPlayer;
If %targettext% != "\;Log
The rest of rules behind "!= "\;Log" are not loaded. In this line I want to check if the variable "targettext" is empty or not for sending a custom notification. Maybe it's possible to escape the quotation marks? It seems the use of two quotation marks side by side isn't currently supported.

 

If I copy all of my rules into the textbox it seems to work until I restart the gameserver/layer. Same Behavior on two different Hoster.

 

a928396

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

Originally Posted by fantasticplayer*:

 

Hello ive got little problem with one script, its weapon limiter. Ive set it on ProjectileExplosive but if someone kill another player by Mortar he doesnt been punished for that. Everything else work perfect without morta. Can U help me with that please:

 

My script:

##### WEAPON LIMITER #####

On Kill;Damage ProjectileExplosive;PlayerCount 2;Say M320/RPG-7, SMAW and MORTAR are not allowed!;Ban M320/RPG-7, SMAW and MORTAR are not allowed!

On Kill;Damage ProjectileExplosive;PlayerCount 1;Say M320/RPG-7, SMAW and MORTAR are not allowed!;Kick M320/RPG-7, SMAW and MORTAR are not allowed!

On Kill;Damage ProjectileExplosive;PlayerCount 0;Say M320/RPG-7, SMAW and MORTAR are not allowed!;Kill M320/RPG-7, SMAW and MORTAR are not allowed!

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

Originally Posted by bambam*:

 

Hello bambam,

 

guess I have found a issue with proconrulz:

thanks - I've looked into this. I think the issue is with Procon in saving "" in the plugin settings. In the meantime there's a workaround, use something like "Set %server_xx% %targettext%xx", then you can test "If %server_xx% == xx" for an empy value of %targettext%.

 

I'll wok something out better.

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

Originally Posted by bambam*:

 

Hello ive got little problem with one script, its weapon limiter. Ive set it on ProjectileExplosive but if someone kill another player by Mortar he doesnt been punished for that. Everything else work perfect without morta. Can U help me with that please:

 

My script:

Simple. A mortar kill is reported as "Weapon Death" - note that vehicle kills are reported by BF3 as Weapon Death also, so you CANNOT affect one without the other. You can debug scripts like this easily by logging events in the console, and taking a peek to see what happened when a mortar kill occurred. You can also have a simple rule "On Kill;Log %p% killed %v% with weapon %w% (weapon key %wk%)" and see what gets logged by ProconRulz.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by fantasticplayer*:

 

Simple. A mortar kill is reported as "Weapon Death" - note that vehicle kills are reported by BF3 as Weapon Death also, so you CANNOT affect one without the other. You can debug scripts like this easily by logging events in the console, and taking a peek to see what happened when a mortar kill occurred. You can also have a simple rule "On Kill;Log %p% killed %v% with weapon %w% (weapon key %wk%)" and see what gets logged by ProconRulz.

Okey mate thanks for info but im little bit a newbie in procon and im trying to configure my server through trials and errors. Can U simple write me sentense about mortar which i can copy and put in to my procon please. I will be really grateful.

 

Ps: what sentense will be for admin informations like someone write !admin or !admins and he got in chat list of admins.

 

King Regards

FanTasticPlayer

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

Originally Posted by bambam*:

 

Can U simple write me sentense about mortar which i can copy and put in to my procon please. I will be really grateful.

You're not just a Procon/ProconRulz noobie - I think you're still learning about WTF a BF3 sends/receives during gameplay - there's no easy way to get up to speed quickly with that but the ProconRulz docs give an intro to the events a BF3 server sends and the interweb does have BF3 server documentation available that lists all the events and commands you can send. Procon is just a tool that allows you to listen to those and display info like the current list of players, and send commands via its console.

 

Adding Weapon Death to your rulz allows you to act on mortar kills:

 

##### WEAPON LIMITER #####

On Kill;Damage ProjectileExplosive;PlayerCount 2;Say M320/RPG-7, SMAW and MORTAR are not allowed!;Ban M320/RPG-7, SMAW and MORTAR are not allowed!

On Kill;Damage ProjectileExplosive;PlayerCount 1;Say M320/RPG-7, SMAW and MORTAR are not allowed!;Kick M320/RPG-7, SMAW and MORTAR are not allowed!

On Kill;Damage ProjectileExplosive;Say M320/RPG-7, SMAW and MORTAR are not allowed!;Kill M320/RPG-7, SMAW and MORTAR are not allowed!

 

On Kill;Weapon Death;PlayerCount 2;Say M320/RPG-7, SMAW and MORTAR are not allowed!;Ban M320/RPG-7, SMAW and MORTAR are not allowed!

On Kill;Weapon Death;PlayerCount 1;Say M320/RPG-7, SMAW and MORTAR are not allowed!;Kick M320/RPG-7, SMAW and MORTAR are not allowed!

On Kill;Weapon Death;Say M320/RPG-7, SMAW and MORTAR are not allowed!;Kill M320/RPG-7, SMAW and MORTAR are not allowed!

BUT!! If a player in a tank shoots and kills another player, BF3 will report that as Weapon Death also... so these rulz only work the way you want on an infantry-only server or map (e.g. Metro). You CANNOT block mortars on maps where you want to allow vehicles, because BF3 reports deaths from mortars and vehicles as the SAME weapon - if you don't understand this just say. The is a BF3 issue, nothing the plugin can change.

 

Also, it is not possible to limit M320 nades because BF3 does NOT report underslung nade kills properly - if the nade launcher is underslung an M416 rifle, BF3 reports the kills as an M416/AssaultRifle kill, just as if the victim had been shot. Blame DICE.

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

Originally Posted by WarGasimXD*:

 

Man I have gotten a serious question, I had to reformat my pc, I reinstalled procon before the reformat of my PC all my plugins worked fine, now that I had reinstalled procon and downloaded all my plugins again proconrulz, adaptive server size etc.... none of them are showing up in procon anymore, I unzipped them into the plugins bf3 folder and they are not showing up none of them are any suggestions?

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

Originally Posted by Hairyeagle*:

 

hey guys,

i wanted to try find a code that will:

display each players server stats (kills, knifes, headshots and server rank) when they join the server. i have been looking for a few days now and nothing. i know it is already out there just cant find it. can anyone help_?

 

thank you

-Hairyeagle

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

Originally Posted by ty_ger07*:

 

hey guys,

i wanted to try find a code that will:

display each players server stats (kills, knifes, headshots and server rank) when they join the server. i have been looking for a few days now and nothing. i know it is already out there just cant find it. can anyone help_?

 

thank you

-Hairyeagle

www.phogue.net/forumvb/showth...er-1-0-0-9-BF3*
* 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.