Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by bambam*:

 

This is something Procon does when it gets confused about an edit of your plugin settings, I'm not exactly sure what user action causes it to happen but I've seen it myself - it's something to do with Procon doing the kind of encoding you see on 'URL' strings (e.g. where 'space' characters are changed to '%20' in a web address). ProconRulz is using variables called things like %myvariable% and if an edit gets fuxed up then there's a risk Procon converts the '%m' (or whatever) to something else. It only happens when something unusual has happened to the plugin settings edit but I'm sorry I don't know when.

 

Personally I either fix up the rulz again (at least the wierd chars are easily visible), but also I ALWAYS have a backup copy of the settings file 'Configs/.cfg' becuase a Procon or plugin fux up can quite easily trash this file for ALL plugins...

 

 

BAMBAM what is the problem causin this:

 

On Round;Set %server_sniperlimit% 3

On Spawn;if �ingsniper% == 1;Decr �ingsniper%;Decr %team_recontotal%;log we have %team_recontotal% snipers on team %pt%

On Spawn;Set �ingsniper% 0

On kill;Damage sniperRifle;

if %team_recontotal% == 3;if �ingsniper% == 0;PlayerYell Only 3 Snipers on each team, choose a different weapon!;Kill 5000

if �ingsniper% == 1;End;log %p% is still a sniper, %team_recontotal% snipers on team %pt%

incr %team_recontotal%;set �ingsniper% 1;log %p% is a sniper, %team_recontotal% snipers on team %pt%

On Leave;if �ingsniper% == 1;Decr %team_recontotal%

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

Originally Posted by bambam*:

 

procon chat tab, all of the proconrulz spam goes here... is there a way to disable it? I use your killstreak rulz for example

 

Code:

[15:53:42] fiddle50sym ENDED JonnyBiohazard's 5-KILL STREAK with M416 Assault Rifle
[15:54:17] (PlayerSay AthleticAnchovie) Killing Spree! AthleticAnchovie 5-KILL STREAK
[15:54:26] Dudenell ENDED AthleticAnchovie's 5-KILL STREAK with DAO-12 Striker Shotgun
[15:54:27] Dudenell ENDED mtresd's 6-KILL STREAK with DAO-12 Striker Shotgun
[15:54:39] fiddle50sym ENDED BabyFarkMcGeezak's 7-KILL STREAK with M416 Assault Rifle
hehe Dude - ProconRulz is generating this 'spam' purely because you have rulz saying you *do* want this spam in your chat...

 

Do you mean you want a way of looking in your chat log but *only* see the chat between players excluding the plugin-generated chat? I don't think Procon can be configured to show player-chat only, but if you're looking at the chat log in a text editor there's a useful technique you could know:

 

* get Notepad++ and use that to look at your chat logs

 

* find a line of user-chat, and select the ' > ' text after the player name (i.e. space-greaterthan-space)

 

* hit ctrl-C to copy the ' > '

 

* Use the Notepad++ 'TextFX' -> 'TextFX Viz' -> 'Hide lines without (Clipboard) text'

 

and hey presto, the text editor wil just display the user text lines. Incidentally, Notepad++ is good for the exact same technique but you have an exact PLAYERNAME on the clipboard - then all your ProconRulz spawn/kill/warning messages for a given player (e.g. a suspected hacker) will appear in a page with all the other stuff hidden.

 

Given that Procon is logging to the chat file in real-time, you can have Notepad++ look at the chat log directly, and not rely entirely on the Procon chat window...

 

This advice comes to you at a specially discounted price of $0.00.

 

Bambam

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

Originally Posted by Steini*:

 

Hy

 

I'am new here and my English isnt very good, and i think my problem was asked before.

 

I will not allowe RPG on my Server with this text

 

# RPG Rule

On Kill;Weapon RPG-7;PlayerCount 2;Log %p% kicked for RPG;Kick %p% RPG-7 use

On Kill;Weapon RPG-7;Say %p% no RPG;Kill 100

# .

 

but i have on problem with it.

RPG should not be allowed on Infantery but it should be allowed in Tanks.

Killing a person in a Tank should not be killed by Admin.

Is this possilbe?

 

MfG

Steini

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

Originally Posted by Bl1ndy*:

 

Hy

 

I'am new here and my English isnt very good, and i think my problem was asked before.

 

I will not allowe RPG on my Server with this text

 

# RPG Rule

On Kill;Weapon RPG-7;PlayerCount 2;Log %p% kicked for RPG;Kick %p% RPG-7 use

On Kill;Weapon RPG-7;Say %p% no RPG;Kill 100

# .

 

but i have on problem with it.

RPG should not be allowed on Infantery but it should be allowed in Tanks.

Killing a person in a Tank should not be killed by Admin.

Is this possilbe?

 

MfG

Steini

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

Originally Posted by Angry_AGAIN*:

 

Okay i love procon rulez with the new yell funktion.

But i got some questions..

 

the "On Spawn;Ping 100;kill;Say "Sorry ping to high" seems not working on BF3 right_!

 

And

 

I make a yell bypass with

 

On Say;Admin;Text !yell;Exec admin.yell

 

Is there a way to set the time for the yell announce?

I try it with

On Say;Admin;Text !yell;Exec admin.yell 30 all

but this dosnt work

 

And i make an yell if a player calls in for a admin with notifyme

 

On Say;Text !calladmin;PlayerYell You Requested an Admin, stand by and watch the chat

 

But yells only visible while living, so i try to set a delay in the rule or set a On Spawn to avoiding loosing the message on loadout screen. Like this

 

On Say;Text !calladmin;On Spawn;PlayerYell You Requested an Admin, stand by and watch the chat

 

But this dosnt work. Any Solutions?

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

Originally Posted by ty_ger07*:

 

Okay i love procon rulez with the new yell funktion.

But i got some questions..

 

the "On Spawn;Ping 100;kill;Say "Sorry ping to high" seems not working on BF3 right_!

Ping is not transferred to PRoCon over Rcon from the game server for BF3. That is one of the functions we are still waiting for as well as kill coordinates and clan tags.

 

And

 

I make a yell bypass with

 

On Say;Admin;Text !yell;Exec admin.yell

 

Is there a way to set the time for the yell announce?

I try it with

On Say;Admin;Text !yell;Exec admin.yell 30 all

but this dosnt work

 

And i make an yell if a player calls in for a admin with notifyme

 

On Say;Text !calladmin;PlayerYell You Requested an Admin, stand by and watch the chat

 

But yells only visible while living, so i try to set a delay in the rule or set a On Spawn to avoiding loosing the message on loadout screen. Like this

 

On Say;Text !calladmin;On Spawn;PlayerYell You Requested an Admin, stand by and watch the chat

 

But this dosnt work. Any Solutions?

Why not just Yell and PlayerSay it at the same time. The dead person should be able to see the PlayerSay at some point and the alive person will see the Yell.

 

On Say;Text !calladmin;PlayerYell You Requested an Admin, stand by and watch the chat.;PlayerSay You Requested an Admin, stand by and watch the chat.

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

Originally Posted by Angry_AGAIN*:

 

thx for your answer.

 

"the dead person should be able..." yes, they "should" but many of this players are just brainfucked.

So they calladmin and dont reaction until we kill them. And iam a bit sick of ppl with a disabled chat.

 

But its maybe easier to follow your advice befor trying to make an idiot proof system

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

Originally Posted by marc1080*:

 

Is there a way to implement the GP-30 Underslung Grenadelauncher in my rulz? The Game says

"Player xxx GP-30 Player yyy" but Procon recognizes it as the abakan,

thats why people on our server get killed when the use the M320, but not if they use underslung.

Do I need a new BF3.def file?

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

Originally Posted by tarreltje*:

 

So %BE = 3/4 ASCII, so can we change %being_sniper% to %player_is_sniper% ?

 

Perhaps limit/prevent any variable starting with 0-9 and A-F.

basicly you can call it everything, but dont forget to change them all.

 

I personly had only problems with the rulz screwing on my TDM server, since im only using my Conquest i have seen the problem anymore. Maby its an other plugin that is causin the problem.

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

Originally Posted by bambam*:

 

basicly you can call it everything, but dont forget to change them all.

 

I personly had only problems with the rulz screwing on my TDM server, since im only using my Conquest i have seen the problem anymore. Maby its an other plugin that is causin the problem.

Yeah I haven't worked out what causes this glitch. I've never chosen any different variable names though as the glitch hasn't affected me for several months. I don't think it's actually random - I think there's something you can do somewhere in Procon which causes e.g. "%be" to get converted to "¾" in the settings file, probably something 'unusual' (like crash Procon or a plugin during a settings edit). Phogue is aware of some limitations in the way settings are stored in Procon 1 (including them passing through a url filter) but it's way too late to change it as that'll break a ton of existing addons (we had a discussion about it on the developers thread).

 

But if you really want to proof your rulz from this potential glitch I guess the idea of not using vars beginning %[0-9a-f] is actually a neat workaround - it's never bothered me though.

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

Originally Posted by bambam*:

 

Is there a way to implement the GP-30 Underslung Grenadelauncher in my rulz? The Game says

"Player xxx GP-30 Player yyy" but Procon recognizes it as the abakan,

thats why people on our server get killed when the use the M320, but not if they use underslung.

Do I need a new BF3.def file?

nah sorry marc but BF3 is NOT passing all the 'kill' information properly across the admin interface to Procon and the plugins so there's *nothing* any admin tool can do unless this changes. There are quite a few limitations in the 'kill' data transmitted, even though better information may still be displayed on screen. One example is exactly as you describe... it is the GAME SERVER that is transmitting kill data saying the kill was with an assault rifle (even though it was a nade, and even though the game server said it was a nade on the on-screen display). If Procon gets an event "marc1080 killed bambam with akaban" there is nothing Procon (or any other tool) can do but assume this data is correct. You *could* block all assault rifles that can carry an underslung nade launcher, and this would prevent the issue occuring, but that's fairly drastic.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bambam*:

 

Unable to get the yell command to work. Trying to do two yells upon join!

Should be fine. If you want the joining player to see the Yell then you should do it on the first spawn of that player, not when they join, e.g.

 

On Spawn;PlayerOnce;Yell Welcome %p%

 

What do you mean two yells? Just copy your rule here so we can see.

 

For Yell to work properly with Bf3 your game server has to be at least R20 and ProconRulz at least version 38e.1 (2nd Apr 2012)

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

Originally Posted by pyroblood*:

 

Hi bambam.. is it possible to implement for example a command like %spawned time% or %player alive sincetime%...? this were awesaome ^^ and sry for my english and greets from germany !

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

Originally Posted by KiloSwiss*:

 

Should be fine. If you want the joining player to see the Yell then you should do it on the first spawn of that player, not when they join, e.g.

 

On Spawn;PlayerOnce;Yell Welcome %p%

Why make a Rule here?

Just use the built in welcome Message, which also appears as a Yell Message.

 

Open the startup.txt and add this Line:

vars.serverMessage "Welcome Soldier"

 

This will be displayed once the Player spawns after he joined the Server.

 

Greez KiloSwiss

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

Originally Posted by bambam*:

 

BamBam, i must ask again. There is no way to set a delay between the execute of an rule exept kill (n)

The basic mechanism you are asking for does not exist in ProconRulz.

 

The only thing to consider is whether your requirement could be met by triggering actions on multiple successive events e.g. kills or spawns. For example, the most common request for a delay is to delay a message on a player join so that they can see it when they're in the game - actually in that case it is better to use an an "On Spawn;PlayerOnce;.." rule which will trigger the action when they first spawn, rather then the (not possible but wrong anyway) "On Join;Delay 10 seconds;..."

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

Originally Posted by bambam*:

 

Hi bambam.. is it possible to implement for example a command like %spawned time% or %player alive sincetime%...? this were awesaome ^^ and sry for my english and greets from germany !

Thanks - it's possible - I'll consider it in future developments.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by TheMrApostel*:

 

Maybe one of you can help me.

I have two Questions.

 

1.

I want to yell a message on time at the first Spawn.

So i tried something like On Spawn;Playerfirst or On Spawn;PlayerOnce but on every spawn the Message appears.

Know anyone where my mistake is?

 

2.

I want to yell the Kills and the Deaths of a Player with:

On Kill;Incr %kills[%p%]%

On Kill;Incr %deaths[%v%]%

On TeamKill;Incr %deaths[%p%]%

On Suicide;Incr %deaths[%p%]%

On Spawn;PlayerYell [%p%] - Kills: %kills[%p%]% Deaths: %deaths[%p%]%

On Spawn;PlayerOnce;set %kills[%p%]% 0

On Spawn;PlayerOnce;set %deaths[%p%]% 0

 

But when Someone kill Someone else the Deaths dont increase.

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

Originally Posted by Eurphuct*:

 

Should be fine. If you want the joining player to see the Yell then you should do it on the first spawn of that player, not when they join, e.g.

 

On Spawn;PlayerOnce;Yell Welcome %p%

 

What do you mean two yells? Just copy your rule here so we can see.

 

For Yell to work properly with Bf3 your game server has to be at least R20 and ProconRulz at least version 38e.1 (2nd Apr 2012)

#Yell Messages

On Spawn;PlayerOnce;Yell Welcome %p% to Low-Key Gaming.

On Spawn;PlayerOnce;Yell %p% Be Sure to read our Server Rules

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

Originally Posted by TheMrApostel*:

 

You dont unterstand me.

My Yell Messages are:

 

On Spawn;PlayerOnce;PlayerYell Welcome [%p%] to GermanCombatElite

On Spawn;PlayerOnce;PlayerYell Type !Commands into the Chat to see your options

 

But on every new Spawn this Message appears.

I only want to Yell this Message only one time and not every Spawn again and again.

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

Originally Posted by ty_ger07*:

 

...

 

I want to yell the Kills and the Deaths of a Player with:

On Kill;Incr %kills[%p%]%

On Kill;Incr %deaths[%v%]%

On TeamKill;Incr %deaths[%p%]%

On Suicide;Incr %deaths[%p%]%

On Spawn;PlayerYell [%p%] - Kills: %kills[%p%]% Deaths: %deaths[%p%]%

On Spawn;PlayerOnce;set %kills[%p%]% 0

On Spawn;PlayerOnce;set %deaths[%p%]% 0

 

But when Someone kill Someone else the Deaths dont increase.

1) I *think* that On TeamKill is when playerA teamkills playerB. I think you need to increase the deaths of the victim, not the deaths of the player.

 

2) You don't need to set the values on spawn to 0. When a player joins, those values are set at 0 automatically. Also, when a new round starts, those values are again automatically set to 0. I would remove those lines because they are unnecessary and may be causing a strang glitch of some sort.

 

Try this:

 

# Kills and Deaths announcer

On Kill;Incr %kills[%p%]%;Incr %deaths[%v%]%

On TeamKill;Incr %deaths[%v%]%

On Suicide;Incr %deaths[%p%]%

On Spawn;PlayerYell [%p%] - Kills: %kills[%p%]% Deaths: %deaths[%p%]%

 

 

Also remember that my most wanted rules use the %kills[%p%]% variable, so change the name to something else in one of them if you are using both rules, otherwise you will count up the value artificially fast.

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

Originally Posted by ty_ger07*:

 

anyone?

What isn't working or not happening which you want to happen? If you dont tell us what you want, how can we help you?

 

The first message will get hidden by the second. Why not just put them all in one rule in one message?

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

Originally Posted by Eurphuct*:

 

What isn't working or not happening which you want to happen? If you dont tell us what you want, how can we help you?

 

The first message will get hidden by the second. Why not just put them all in one rule in one message?

I got it to work just that the yell stays on your screen forever any way to stop this?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Angry_AGAIN*:

 

Hi, iam again

 

I try to setup a admin join/spawn announcement

 

#Admin Join

#On Join;Admin;Yell --== ADMIN %p% IS JOINING THE SERVER ==---

 

#Admin Spawn

#On Spawn;ServerFirst;Yell --== ADMIN %p% is in da house ==--

 

But this dosnt work right. Iam sure iam using the wrong vars, can somebody help pls

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

Originally Posted by Bl1ndy*:

 

Hi, iam again

 

I try to setup a admin join/spawn announcement

 

#Admin Join

#On Join;Admin;Yell --== ADMIN %p% IS JOINING THE SERVER ==---

 

#Admin Spawn

#On Spawn;ServerFirst;Yell --== ADMIN %p% is in da house ==--

 

But this dosnt work right. Iam sure iam using the wrong vars, can somebody help pls

Use this:

 

Code:

On Join;Admin;Yell --== ADMIN %p% IS JOINING THE SERVER ==---
On Spawn;Admin;PlayerOnce;Yell --== ADMIN %p% is in da house ==--
* 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.