Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by shadow2k1*:

 

You need just one rule, not multiple rules. The "%c%" automatically substitutes the number of times the rule has occurred.

 

On Kill;Weapon Melee;Yell %p% has taken %v% tags %c% times!

what would be the line to use if i want to make this the xbow?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by tarreltje*:

 

what would be the line to use if i want to make this the xbow?

On Kill;Weapon Crossbow;Yell %p% has taken %v% tags %c% times!

 

Also please read the link below, its the basic info for ProconRulz , also contains a pdf with all the info you need!!

 

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

Originally Posted by Psychemotion*:

 

is it impossible to compare different %ini_% variables that include %p% or %v% variables?

 

like for instance if i have a rule like this:

 

On Kill;Incr %ini_nemesis[%p%]_against[%v%]%;

If %ini_nemesis[%v%]_against[%p%]% >= 5;Say %p% ended %v%'s nemesis streak at %ini_nemesis[%v%]_against[%p%]%!;Set %ini_nemesis[%v%]_against[%p%]% 0

If %ini_nemesis[%v%]_against[%p%]%

If %ini_nemesis[%p%]_against[%v%]% >= 5;Say %p% nemesis streak on %v% is now %ini_nemesis[%p%]_against[%v%]%!

 

It doesn't seem to understand the first 2 equations, why is that?

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

Originally Posted by tarreltje*:

 

Try %ini_%p%_nemesis[%v%]%, What you are trying to do, i have similar with knives. Like PlayerA KNIFED PlayerB [ 10 vs 4 ]

 

So:

 

On Kill;Incr %ini_%p%_nemesis[%v%]%;

If %ini_%v%_nemesis[%p%]% >= 5;Say %p% ended %v%'s nemesis streak at %ini_%v%_nemesis[%p%]%!;Set %ini_%v%_nemesis[%p%]% 0

If %ini_%v%_nemesis[%p%]%

If %ini_%p%_nemesis[%v%]% >= 5;Say %p% nemesis streak on %v% is now %ini_%p%_nemesis[%v%]%!

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

Originally Posted by Psychemotion*:

 

Try %ini_%p%_nemesis[%v%]%, What you are trying to do, i have similar with knives. Like PlayerA KNIFED PlayerB [ 10 vs 4 ]

 

So:

 

On Kill;Incr %ini_%p%_nemesis[%v%]%;

If %ini_%v%_nemesis[%p%]% >= 5;Say %p% ended %v%'s nemesis streak at %ini_%v%_nemesis[%p%]%!;Set %ini_%v%_nemesis[%p%]% 0

If %ini_%v%_nemesis[%p%]%

If %ini_%p%_nemesis[%v%]% >= 5;Say %p% nemesis streak on %v% is now %ini_%p%_nemesis[%v%]%!

No i've tried a variety of things already, even just %ini?[%p%]%_%v%%, it all makes no difference. The only variable it seems to be acknowledging is the on kill: ini_nemesis[%p%]%_against[%v%]%, no matter what names you give it... when i turn %p% and %v% around its always false, unless I turn 'ini' into server, but that would mean it doesn't save it for next round or whenever.

So that's why I am asking if it is even possible to store name variables in a variable in ini files.

Because setting the value of a variable to a name in an ini file most definitely doesnt work

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

Originally Posted by ty_ger07*:

 

is there some ware an list whit all rules or events for the plugin ?

Yeah, read the documentation in the first post of this thread. It links to a PDF file which explains the rules and lists all possible events and commands.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Berndel*:

 

ah ok thanks for the info i found that but i have an small problem ? is there some wrong that don't work ?

 

On Say;Text fuck Say thanks %p%;Say for noticing this new notice ur noticing has been noted and will reported to the authorities

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

Originally Posted by bambam*:

 

No i've tried a variety of things already, even just %ini?[%p%]%_%v%%, it all makes no difference. The only variable it seems to be acknowledging is the on kill: ini_nemesis[%p%]%_against[%v%]%, no matter what names you give it... when i turn %p% and %v% around its always false, unless I turn 'ini' into server, but that would mean it doesn't save it for next round or whenever.

So that's why I am asking if it is even possible to store name variables in a variable in ini files.

Because setting the value of a variable to a name in an ini file most definitely doesnt work

Be careful here...

 

firstly, I think %ini__% should work fine whatever the values are - if you're not sure you MUST check by looking at the ProconRulz ini file that will be stored in Procon\Config\__proconrulz.ini BUT do NOT START the section or var with a '[' character. When you see how the data is stored in the ini file you'll understand - you will confuse the Microsoft library with sections vs. vars

 

e.g. here's a part of an example that gets stored:

 

Code:

[round]
2012_07_31_16:25:00=Noshahr Canals_TeamDeathMatch0
2012_07_31_16:28:15=Noshahr Canals_TeamDeathMatch0
[rounds]
loaded[Noshahr Canals]=2012_07_31_16:28:15
[spawned]
player[pooyan8957]=2012_07_31__16:53:58
[kills]
kills[LenniVec]=1
kills[cyborg98u-i]=35
kills[mahaveera]=3
kills[dehi1990]=1
kills[vivichevallier]=3
kills[Drarker]=9
kills[Rogorth]=5
kills[domonxx]=3
kills[ravage35170Z]=57
kills[NCDex]=1
kills[Dhasten]=12
So, you might want to be a bit more considered about the SECTION part of your variable name, when you see how the info is stored in the file, e.g. use

 

%ini_nemesis_killer[%p%]_victim[%v%]%

 

This should create values in the ini file something like:

 

[nemesis]

killer[bambam]_victim[pebbles]=5

killer[bambam]_victim[C-4-N]=6

killer[pebbles]_victim[bambam]=66

...

 

i.e. everything in the one [nemesis] section.

 

Possible bug in your rulz

Note that starting a rule without a trigger is the SAME as prepending the prior trigger rule to the front, e.g.

 

On Kill, Incr X

If X > 10...

If X > 20...

 

is the same as

 

On Kill;Incr X

On Kill;Incr X;If X > 10...

On Kill;Incr X;If X > 20...

 

I.e. the Incr is repeated which is not what you want and your rulz are:

 

On Kill;Incr %ini_nemesis[%p%]_against[%v%]%;

 

On Kill;Incr %ini_nemesis[%p%]_against[%v%]%;If %ini_nemesis[%v%]_against[%p%]% >= 5;Say %p% ended %v%'s nemesis streak at %ini_nemesis[%v%]_against[%p%]%!;Set %ini_nemesis[%v%]_against[%p%]% 0

 

On Kill;Incr %ini_nemesis[%p%]_against[%v%]%;If %ini_nemesis[%v%]_against[%p%]%

...

 

i.e. you are incrementing the kill var many times for the same kill.

 

My suggestion (fixes incr repeat bug, moves vars into a single [nemesis] section of ini file):

On Kill;Incr %ini_nemesis_killer[%p%]_against[%v%]%;

 

On Kill;If %ini_nemesis_killer[%v%]_against[%p%]% >= 5;Say %p% ended %v%'s nemesis streak at %ini_nemesis_killer[%v%]_against[%p%]%!;Set %ini_nemesis_killer[%v%]_against[%p%]% 0

 

On Kill;If %ini_nemesis_killer[%v%]_against[%p%]%

 

On Kill;If %ini_nemesis_killer[%p%]_against[%v%]% >= 5;Say %p% nemesis streak on %v% is now %ini_nemesis_killer[%p%]_against[%v%]%!

 

 

I haven't checked your actual logic, i.e. swapping the %v% and %p% around to check who's the nemesis of who...

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

Originally Posted by ty_ger07*:

 

ah ok thanks for the info i found that but i have an small problem ? is there some wrong that don't work ?

 

On Say;Text fuck Say thanks %p%;Say for noticing this new notice ur noticing has been noted and will reported to the authorities

Yes, you are missing a semicolon ( ; ) before the first Say. Can you have two Say actions in one rule? I suppose it should work.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by SgtGibsonM*:

 

Hello!

 

First of all, wonderful plugin. I really like it! I've just a few questions. I want to limit all weapons, and kick players who preform a kill with it. Now I have a rule for every single weapon in the game. That are alot of rules. Is there a way reduce this, by putting some rules together?

 

Second question: I was wondering if the 'player count' just 'count' for one visit, or for every time a player is visiting the server. I don't want people who visit my server regularly to get banned after a few weeks. my rule:

 

On Kill;Weapon 870MCS;PlayerCount 8;Say %p% is banned for killing %v%. No kills allowed!;Ban %p% No kills allowed!

On Kill;Weapon 870MCS;PlayerCount 5;Say %p% is temporary banned for killing %v%. No kills allowed!;Tempban 900 %p% No kills allowed!

On Kill;Weapon 870MCS;Say %p% is kicked for killing %v%. No kills allowed!;Kick %p% No kills allowed!

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

Originally Posted by tarreltje*:

 

Hello!

 

First of all, wonderful plugin. I really like it! I've just a few questions. I want to limit all weapons, and kick players who preform a kill with it. Now I have a rule for every single weapon in the game. That are alot of rules. Is there a way reduce this, by putting some rules together?

 

Second question: I was wondering if the 'player count' just 'count' for one visit, or for every time a player is visiting the server. I don't want people who visit my server regularly to get banned after a few weeks. my rule:

Limit all weapons_? So no kills allowed on your server?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by SgtGibsonM*:

 

Limit all weapons_? So no kills allowed on your server?

Exactly. I've now 80+ single rules to check for every single weapon. But I want to add another few lines to each weapon rule for Temp and permbans, which adds another 2 lines per rule(see my example). Is there a way to combine rules? For example to check in one rule for all assault weapons instead a rule for every single assault weapon?

 

And my second question. How the "Playercount", 'count' the amount for times the rule apply. Is this for as long as the player stays on the server, or does it keep counting after multiple visits. Like previously mentioned. I want to ban (and temporary ban) people who repeatly troll people by killing them, getting kicked and rejoining the server to repeat, instead of banning people who make this mistake once each match, but who are getting banned eventually after X matches played.

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

Originally Posted by tarreltje*:

 

Exactly. I've now 80+ single rules to check for every single weapon. But I want to add another few lines to each weapon rule for Temp and permbans, which adds another 2 lines per rule(see my example). Is there a way to combine rules? For example to check in one rule for all assault weapons instead a rule for every single assault weapon?

 

And my second question. How the "Playercount", 'count' the amount for times the rule apply. Is this for as long as the player stays on the server, or does it keep counting after multiple visits. Like previously mentioned. I want to ban (and temporary ban) people who repeatly troll people by killing them, getting kicked and rejoining the server to repeat, instead of banning people who make this mistake once each match, but who are getting banned eventually after X matches played.

Im not going to help you setup an statpadding server mate!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by tarreltje*:

 

Ok you never mentioned it if im right!

 

But if you take the rulz for sniper only servers:

 

 

On Kill;Not Damage SniperRifle;Not Damage Handgun;PlayerCount 5;Log %p%banned (snipers / pistols only);Ban %p% snipers only

On Kill;Not Damage SniperRifle;Not Damage Handgun;PlayerCount 3;Log %p% kicked (snipers / pistols only);Kick %p% snipers only

On Kill;Not Damage SniperRifle;Not Damage Handgun;PlayerSay %p% snipers/pistols only;Kill 100

 

Change it too:

 

 

On Kill;Not Damage Death;PlayerCount 5;Ban %p% Only kills with air vehicels allowed

On Kill;Not Damage Death;PlayerCount 3;Kick %p% Only kills with air vehicels allowed

On Kill;Not Damage Death;PlayerSay %p% Only kills with air vehicels allowed;Kill 100

 

This will kill the troller on first kill, after 3 kills he will be kicked and after making the 5th kill he will be banned.

 

Only downside of this is that ground vehicel kills are also allowed. Ground and air units have the same damage trigger, named Death.

 

So basicly this is the easyest thing to use.

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

Originally Posted by shadow2k1*:

 

You need just one rule, not multiple rules. The "%c%" automatically substitutes the number of times the rule has occurred.

 

On Kill;Weapon Melee;Yell %p% has taken %v% tags %c% times!

with this rule, if i have only taken the players tags 1 time, and someone else has taken this players tag 2 times, whoever the last to get that players tag it says that, that person has taken the players tags X amount of times. is there anyway to make it where it remembers who has taken the tags and adds up the count per player?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

with this rule, if i have only taken the players tags 1 time, and someone else has taken this players tag 2 times, whoever the last to get that players tag it says that, that person has taken the players tags X amount of times. is there anyway to make it where it remembers who has taken the tags and adds up the count per player?

Ok. I didn't think about that.

 

# Knife Nemesis Rules

# Count Knives

On Kill;Weapon Melee;Incr %knife_nem[%v%]%

# Show Knives

On Kill;Weapon Melee;Yell %p% has taken %v%'s tags %knife_nem[%v%]% times.

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

Originally Posted by SgtGibsonM*:

 

Ok you never mentioned it if im right!

 

But if you take the rulz for sniper only servers:

 

 

On Kill;Not Damage SniperRifle;Not Damage Handgun;PlayerCount 5;Log %p%banned (snipers / pistols only);Ban %p% snipers only

On Kill;Not Damage SniperRifle;Not Damage Handgun;PlayerCount 3;Log %p% kicked (snipers / pistols only);Kick %p% snipers only

On Kill;Not Damage SniperRifle;Not Damage Handgun;PlayerSay %p% snipers/pistols only;Kill 100

 

Change it too:

 

 

On Kill;Not Damage Death;PlayerCount 5;Ban %p% Only kills with air vehicels allowed

On Kill;Not Damage Death;PlayerCount 3;Kick %p% Only kills with air vehicels allowed

On Kill;Not Damage Death;PlayerSay %p% Only kills with air vehicels allowed;Kill 100

 

This will kill the troller on first kill, after 3 kills he will be kicked and after making the 5th kill he will be banned.

 

Only downside of this is that ground vehicel kills are also allowed. Ground and air units have the same damage trigger, named Death.

 

So basicly this is the easyest thing to use.

Thanks for your reply. I'm gonna test it out!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by shadow2k1*:

 

Ok. I didn't think about that.

 

# Knife Nemesis Rules

# Count Knives

On Kill;Weapon Melee;Incr %knife_nem[%v%]%

# Show Knives

On Kill;Weapon Melee;Yell %p% has taken %v%'s tags %knife_nem[%v%]% times.

thanks Ty.. one more thing, whats is knife_nem? if i want another for xbow would i change the knife_nem to xbow_nem?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

thanks Ty.. one more thing, whats is knife_nem? if i want another for xbow would i change the knife_nem to xbow_nem?

It's just a variable with a memorable name. If you wanted one for xbow, yes you would use a different variable name of your choice and would not use 'weapon melee'.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Helldon*:

 

Simple !rules command, without the use of !rules on request plugin.

 

Code:

# Public command for players.
On Say;Text !rules
PlayerSay ------- [YOUR TAG HERE] Server Rules ------- 
PlayerSay [1] Baserape/Camp[=KICK] Cheat & Glitch[=BAN]  
PlayerSay [2] No [YOUR CLAN NAME HERE] Clan member_ [NO Recruiting]     
PlayerSay [3] Play fair, have fun & respect all players!
PlayerSay [4] In offence: [1st] Warning [2nd] Kick/Ban
AdminSay !! [%p% requested the server rules] !!

# Admin only command.
On Say;Admin;Text @rules
Say --- [YOUR TAG HERE] Server Rules by Admin 2 all! --- 
Say [1] Baserape/Camp[=KICK] Cheat & Glitch[=BAN]  
Say [2] No [YOUR CLAN TAG HERE] Clan member_ [NO Recruiting]     
Say [3] Play fair, have fun & respect all players!
Say [4] In offence: [1st] Warning [2nd] Kick/Ban
Log Admin %p% send the rules to all players! [%hms%]
5 clear lines to use, so make your rules count.

But keep your eye on the chatwindow as it is limited in use.

 

TEST: inTheGame.nl [iTG #1] - 24/7 CQ Large - Firestorm & Caspian

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

Originally Posted by ty_ger07*:

 

This plugin already has the rules function built in. Just go to the plugin settings and add the rules there. Any time anyone says 'rules', the rules in the plugin settings are displayed automatically.

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

Originally Posted by tarreltje*:

 

This plugin already has the rules function built in. Just go to the plugin settings and add the rules there. Any time anyone says 'rules', the rules in the plugin settings are displayed automatically.

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

Originally Posted by Helldon*:

 

This plugin already has the rules function built in. Just go to the plugin settings and add the rules there. Any time anyone says 'rules', the rules in the plugin settings are displayed automatically.

Jip, you are correct.. but..

 

Every time someone said "rules" in chat the chatbox will be spammed with the rules because theres no "!"

Sometimes there are players talking about the rules, I dont want them to spam the chatbox, so I build-in the "!"

 

Thats the reason somehow..

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

Originally Posted by AntoniusBlock*:

 

Hello ppl,

i have one request pls

can you make string for this forbidden weapon : SMAW,RPG-7,C4,Claymore,M320 on TDM Kharg Island/Noshahar Canals

I would be grateful.

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

Originally Posted by ty_ger07*:

 

Hello ppl,

i have one request pls

can you make string for this forbidden weapon : SMAW,RPG-7,C4,Claymore,M320 on TDM Kharg Island/Noshahar Canals

I would be grateful.

Did you read the documentation and try yourself?

 

There are already 282 pages of this thread and most of them are from people asking others to do the work they could easily do themselves if they took the time to read.

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

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

Originally Posted by AntoniusBlock*:

 

Did you read the documentation and try yourself?

 

There are already 282 pages of this thread and most of them are from people asking others to do the work they could easily do themselves if they took the time to read.

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

49 pages !!!

 

joke,course :ohmy:

 

so... i go to read,thanks

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