Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by BuRockK*:

 

try this:

 

Code:

On Kill;Not Damage SniperRifle; Not Weapon dlSHTR; Weapon U_M82A3_CQB;Weapon U_SR338;
	if %c% == 3; log %p% kicked. 3rd trigger; kick "kicked for not following rules for the 3rd time"
	if %c% == 2; log %p% killed. 2nd trigger; PlayerSay %p% This is your 2nd time not following rules, next time you will be kicked;kill
	if %c% == 1; Log %p% killed. 1st trigger; PlayerSay %p% Only Bolt Sniper and Phantom Bow are allowed.; kill
This rule will trigger if anyone who kills another player with any weapon other than a sniper rifle or a bow.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by spatieman*:

 

try this:

 

Code:

On Kill;Not Damage SniperRifle; Not Weapon dlSHTR; Weapon U_M82A3_CQB;Weapon U_SR338;
	if %c% == 3; log %p% kicked. 3rd trigger; kick "kicked for not following rules for the 3rd time"
	if %c% == 2; log %p% killed. 2nd trigger; PlayerSay %p% This is your 2nd time not following rules, next time you will be kicked;kill
	if %c% == 1; Log %p% killed. 1st trigger; PlayerSay %p% Only Bolt Sniper and Phantom Bow are allowed.; kill
This rule will trigger if anyone who kills another player with any weapon other than a sniper rifle or a bow.
hmm, interesting.

only 1 question, where is that log written?

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

Originally Posted by spatieman*:

 

tirred that players kill them self the whole time with grenades,C4, m320 and other stuff just becouse they are to lame to use the suicide button in the menu ?

below the solution for it.

 

The reset params are used when a player joins ,so that his suicide counter is zero again.

on map changed, map reloads.

 

Code:

# reset parameters
on join;If %ini_punish_suicide[%p%]% >= 1;Set %ini_punish_suicide[%p%]% 0
on spawn;playerfirst;If %ini_punish_suicide[%p%]% >= 1;Set %ini_punish_suicide[%p%]% 0
the stuff below is self explaining....

Code:

############### extended punish kill ###############
On suicide;Weapon Weapons/Gadgets/C4/C4,m67,Weapons/Gadgets/Claymore/Claymore,m320,M15&AT&Mine,crossbow
Incr %ini_punish_suicide[%p%]%
If %ini_punish_suicide[%p%]% >= 7;Set %ini_punish_suicide[%p%]% 1
If %ini_punish_suicide[%p%]% == 1;yell 5 %p% killed him self for the 1st time (1/5);playersay warning 1/5 dont kill your self
If %ini_punish_suicide[%p%]% == 2;yell 5 %p% killed him self for the 2nd time (2/5);playersay warning 2/5 dont kill your self
If %ini_punish_suicide[%p%]% == 3;yell 5 %p% killed him self for the 3th time (3/5);playersay warning 3/5 dont kill your self,3 more and you get kicked
If %ini_punish_suicide[%p%]% == 4;yell 5 %p% killed him self for the 4th time (4/5);playersay warning 4/5 dont kill your self,2 more and you get kicked
If %ini_punish_suicide[%p%]% == 5;yell 5 %p% killed him self for the last time,next = kick (5/5);playersay warning 5/5 dont kill your self,1 more and you get kicked
If %ini_punish_suicide[%p%]% == 6;yell 5 %p% got kicked for being so stupid to kill him self for 6 times;kick this is not a suicide server
On suicide;damage projectileexplosive;not weapon m320
Incr %ini_punish_suicide[%p%]%
If %ini_punish_suicide[%p%]% >= 7;Set %ini_punish_suicide[%p%]% 1
If %ini_punish_suicide[%p%]% == 1;yell 5 %p% killed him self for the 1st time (1/5);playersay warning 1/5 dont kill your self
If %ini_punish_suicide[%p%]% == 2;yell 5 %p% killed him self for the 2nd time (2/5);playersay warning 2/5 dont kill your self
If %ini_punish_suicide[%p%]% == 3;yell 5 %p% killed him self for the 3th time (3/5);playersay warning 3/5 dont kill your self,3 more and you get kicked
If %ini_punish_suicide[%p%]% == 4;yell 5 %p% killed him self for the 4th time (4/5);playersay warning 4/5 dont kill your self,2 more and you get kicked
If %ini_punish_suicide[%p%]% == 5;yell 5 %p% killed him self for the last time,next = kick (5/5);playersay warning 5/5 dont kill your self,1 more and you get kicked
If %ini_punish_suicide[%p%]% == 6;yell 5 %p% got kicked for being so stupid to kill him self for 6 times;kick this is not a suicide server
### END OF LINE ###
a proconrulez restart set also the params back to zero.....

but normaly we dont restart it every 5 minutes, hehe..

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

Originally Posted by BuRockK*:

 

You should also consider using "set %ini_punish% 0" on an "On Round" event to reset params on every new round. Reason is because there will always be random players that will join your server, trigger this code maybe couple times, leave before round ends and never come back again.

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

Originally Posted by BuRockK*:

 

1st code resets the punish count to zero, so, when join, kill self, and leave, and rejoin, will reset it to zero again.

if that player never joins again, that ini variable for that specific player will stay forever.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BuRockK*:

 

so _, mij ini is huge anyway's ,and every 2 months i stop procon complete to make a database backup.

so, why not cleaning out the ini to..

Its your decision, you can leave it the way it is if you want
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Proteas*:

 

On Kill;Damage ProjectileExplosive,Shotgun,U_Claymore;PlayerCount 5;Log %p%banned (No Shotguns/M320/Claymores);Ban %p% No Shotguns/M320/Claymores

On Kill;Damage ProjectileExplosive,Shotgun,U_Claymore;PlayerCount 3;Log %p% kicked (No Shotguns/M320/Claymores);Kick %p% No Shotguns/M320/Claymores

On Kill;Damage ProjectileExplosive,Shotgun,U_Claymore;PlayerSay %p% No Shotguns/M320/Claymores;Kill 100

 

I take this back..

ProconRulz: Warning, damage U_Claymore not found in Procon (but you can still use the key in ProconRulz)

 

How I will remove the claymores from the server but not the grenades ?

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

Originally Posted by s1ngular1ty*:

 

On Kill;Damage ProjectileExplosive,Shotgun,U_Claymore;PlayerCount 5;Log %p%banned (No Shotguns/M320/Claymores);Ban %p% No Shotguns/M320/Claymores

On Kill;Damage ProjectileExplosive,Shotgun,U_Claymore;PlayerCount 3;Log %p% kicked (No Shotguns/M320/Claymores);Kick %p% No Shotguns/M320/Claymores

On Kill;Damage ProjectileExplosive,Shotgun,U_Claymore;PlayerSay %p% No Shotguns/M320/Claymores;Kill 100

 

I take this back..

ProconRulz: Warning, damage U_Claymore not found in Procon (but you can still use the key in ProconRulz)

 

How I will remove the claymores from the server but not the grenades ?

You could try my plugin. It is designed to limit weapons easily with no coding required.

 

myrcon.net/.../simple-weapon-limiter-v1000

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

Originally Posted by BuRockK*:

 

On Kill;Damage ProjectileExplosive,Shotgun,U_Claymore;PlayerCount 5;Log %p%banned (No Shotguns/M320/Claymores);Ban %p% No Shotguns/M320/Claymores

On Kill;Damage ProjectileExplosive,Shotgun,U_Claymore;PlayerCount 3;Log %p% kicked (No Shotguns/M320/Claymores);Kick %p% No Shotguns/M320/Claymores

On Kill;Damage ProjectileExplosive,Shotgun,U_Claymore;PlayerSay %p% No Shotguns/M320/Claymores;Kill 100

 

I take this back..

ProconRulz: Warning, damage U_Claymore not found in Procon (but you can still use the key in ProconRulz)

 

How I will remove the claymores from the server but not the grenades ?

You remove the "ProjectileExplosive" part. But you will also remove rocket launcher usage restrictions.

 

As an alternative and suggested, you can use s1ngular1ty's plugin with ease to make weapon restriction rules

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

Originally Posted by Hodor*:

 

Code:

On Spawn;PlayerFirst;Set %server_kills[%p%]% 0;Set %server_deaths[%p%]% 0
On Kill;Incr %server_kills[%p%]%
On Spawn;PlayerCount 1;Incr %server_deaths[%p%]%

On Say;Text !test;TargetPlayer
     PlayerSay ::: Kills: %server_kills[%t%]% | Deaths: %server_deaths[%t%]%
Hey guys, sometimes the numbers shown to player do not match the actual figures via the TAB/Scoreboard. I think this is because of the assistance in BF4. It is possible somehow get the data Kills/Deaths through Scoreboard(TAB)? Or somehow correct inaccuracies_:huh:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BuRockK*:

 

Code:

On Spawn;PlayerFirst;Set %server_kills[%p%]% 0;Set %server_deaths[%p%]% 0
On Kill;Incr %server_kills[%p%]%
On Spawn;PlayerCount 1;Incr %server_deaths[%p%]%

On Say;Text !test;TargetPlayer
     PlayerSay ::: Kills: %server_kills[%t%]% | Deaths: %server_deaths[%t%]%
Hey guys, sometimes the numbers shown to player do not match the actual figures via the TAB/Scoreboard. I think this is because of the assistance in BF4. It is possible somehow get the data Kills/Deaths through Scoreboard(TAB)? Or somehow correct inaccuracies_:huh:
"On Spawn;PlayerCount 1;Incr %server_deaths[%p%]%" this only increases the variable once on the second time player spawns.

 

use this to record kills and deaths:

 

On Kill; Incr %server_kills[%p%]%; Incr %server_deaths[%v%]%

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

Originally Posted by Hodor*:

 

"On Spawn;PlayerCount 1;Incr %server_deaths[%p%]%" this only increases the variable once on the second time player spawns.

 

use this to record kills and deaths:

 

On Kill; Incr %server_kills[%p%]%; Incr %server_deaths[%v%]%

What about assistance in BF4? You could not to kill a player, but just to inflict 75% damage, and the game will count you as kill assist and it is considered as kill. So in Scoreboard you will have 25 kills but in !test you will have 24 kills.

 

And about Code:

Incr %server_deaths[%v%]%
if you was revived after kill - the death will remain in the record :sad:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BuRockK*:

 

What about assistance in BF4? You could not to kill a player, but just to inflict 75% damage, and the game will count you as kill assist and it is considered as kill. So in Scoreboard you will have 25 kills but in !test you will have 24 kills.

 

And about Code:

Incr %server_deaths[%v%]%
if you was revived after kill - the death will remain in the record :sad:
First, im sorry for misleading before, "On Spawn;PlayerCount 1;Incr %server_deaths[%p%]%" will actually increase "%server_deaths[%p%]%" variable once every trigger. But the code ive given for replacing this will also work

 

For the BF4 kill counts, i dont think you can sync this script with actual kill/death numbers of a player. Certainly cant set plugin to "watch" for those "counted as kill" messages from server.

 

Maybe some other plugins can do this in a better way

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

Originally Posted by 66LOST99*:

 

could there be an option to have certain weapons unpublishable (in a whitelist), reason is I know claymores are a looked upon as stupid in hardcore but in my opinion if you just run around like a chicken and dont open your eyes then its your fault for running into an team mates claymore (go play softcore). The thing has a glowing icon and the amount of times I have layed a claymore to protect my back, someone just spawns on me and runs off right into it when it clear as day is countless. Then they punish you because they are blind!!!

Agreed! :cool:

hi every one.

this is something that I have been looking for.

is there any one who got something like this to work.

actually I think the person that runs/drives over friendly claymores, mines... should have the tk against them

that way they might learn to look where they go :ohmy:

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

Originally Posted by BuRockK*:

 

You cant "force" someone to be "smart" using plugins. The solutions you guys come up with is just gonna ruin the meaning of hardcore mode and you would lose players with a rule that punishes players who gets killed from a FF

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

Originally Posted by 66LOST99*:

 

rule that punishes players who gets killed from a FF

I don't really want to do that.

I just don't want players to be kicked for someone else's stupidity.

 

(but a scenario where I think it should be so is on a server with !p !f

I drive over your mine and then !punish you because I was stupid.

then I should be killed for being a......)

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

Originally Posted by BuRockK*:

 

I don't really want to do that.

I just don't want players to be kicked for someone else's stupidity.

 

(but a scenario where I think it should be so is on a server with !p !f

I drive over your mine and then !punish you because I was stupid.

then I should be killed for being a......)

Okay i meant having punishments on teamkill idea. Its what hardcore mode is about. You take damage from teammates. But thats just me.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by 66LOST99*:

 

Okay i meant having punishments on teamkill idea. Its what hardcore mode is about. You take damage from teammates. But thats just me.

thanx and yes I agree with you one hundred present. we don't have a punish system and don't want it either on our server. but as you know if 5 people run over or drive over strategically placed ordinance, then you are going to be kicked off the server.

 

the second part is for the other servers that do !punish (I hope they read it)

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

Originally Posted by spatieman*:

 

ok, i am confussed, i readed the manual, thought ,let see for some code optimizing..

 

THIS stuff is see'n as ONE rule entry. and does work properly

Code:

On Round;Set %server_rst% %seconds%
+On Say;Text !roundtime,!rt
+	Set %server_sec.0% %seconds% - %server_rst%
+	Set %server_min.0% %server_sec.0% / 60
+	Set %server_hour.0% %server_min.0% / 60
+	PlayerSay Round time: %hms% minutes
+	PlayerYell 5 Round time: %hms% minutes;
thats ok, saves rule line to process

 

 

But this stuff

Code:

On teamkill
+Incr %ini_teamkill_dead[%p%]%
+If %ini_teamkill_dead[%p%]% >= 7;Set %ini_teamkill_dead[%p%]% 1
+If %ini_teamkill_dead[%p%]% == 1;yell 5 %p% teamkilled for the 1st time (1/5);playersay warning 1/5 dont kill teammates
+If %ini_teamkill_dead[%p%]% == 2;yell 5 %p% teamkilled for the 2nd time (2/5);playersay warning 2/5 dont kill teammates
+If %ini_teamkill_dead[%p%]% == 3;yell 5 %p% teamkilled for the 3th time (3/5);playersay warning 3/5 dont kill teammates,3 more and you get kicked
+If %ini_teamkill_dead[%p%]% == 4;yell 5 %p% teamkilled for the 4th time (4/5);playersay warning 4/5 dont kill teammates,2 more and you get kicked
+If %ini_teamkill_dead[%p%]% == 5;yell 5 %p% teamkilled for the last time,next = kick (5/5);playersay warning 5/5 dont kill teammates,1 more and you get kicked
+If %ini_teamkill_dead[%p%]% == 6;yell 5 %p% got kicked for being so stupid to teamkill for 6 times;kick this is not a teamkill server;
is also see'n as 1 rule line, but does not work at all

unless i remove the +line in front of it..

 

so, what is going on here, what do i wrong.

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

Originally Posted by BuRockK*:

 

ok, i am confussed, i readed the manual, thought ,let see for some code optimizing..

 

THIS stuff is see'n as ONE rule entry. and does work properly

Code:

On Round;Set %server_rst% %seconds%
+On Say;Text !roundtime,!rt
+	Set %server_sec.0% %seconds% - %server_rst%
+	Set %server_min.0% %server_sec.0% / 60
+	Set %server_hour.0% %server_min.0% / 60
+	PlayerSay Round time: %hms% minutes
+	PlayerYell 5 Round time: %hms% minutes;
thats ok, saves rule line to process

 

 

But this stuff

Code:

On teamkill
+Incr %ini_teamkill_dead[%p%]%
+If %ini_teamkill_dead[%p%]% >= 7;Set %ini_teamkill_dead[%p%]% 1
+If %ini_teamkill_dead[%p%]% == 1;yell 5 %p% teamkilled for the 1st time (1/5);playersay warning 1/5 dont kill teammates
+If %ini_teamkill_dead[%p%]% == 2;yell 5 %p% teamkilled for the 2nd time (2/5);playersay warning 2/5 dont kill teammates
+If %ini_teamkill_dead[%p%]% == 3;yell 5 %p% teamkilled for the 3th time (3/5);playersay warning 3/5 dont kill teammates,3 more and you get kicked
+If %ini_teamkill_dead[%p%]% == 4;yell 5 %p% teamkilled for the 4th time (4/5);playersay warning 4/5 dont kill teammates,2 more and you get kicked
+If %ini_teamkill_dead[%p%]% == 5;yell 5 %p% teamkilled for the last time,next = kick (5/5);playersay warning 5/5 dont kill teammates,1 more and you get kicked
+If %ini_teamkill_dead[%p%]% == 6;yell 5 %p% got kicked for being so stupid to teamkill for 6 times;kick this is not a teamkill server;
is also see'n as 1 rule line, but does not work at all

unless i remove the +line in front of it..

 

so, what is going on here, what do i wrong.

This should not work because you cant trigger an On Say event inside an On Round event in proconrulez with an example like this. Im not sure how this code would be working

Code:

On Round;Set %server_rst% %seconds%
+On Say;Text !roundtime,!rt
+	Set %server_sec.0% %seconds% - %server_rst%
+	Set %server_min.0% %server_sec.0% / 60
+	Set %server_hour.0% %server_min.0% / 60
+	PlayerSay Round time: %hms% minutes
+	PlayerYell 5 Round time: %hms% minutes;
This should work:

Code:

On teamkill; Incr %ini_teamkill_dead[%p%]%
+    If %ini_teamkill_dead[%p%]% >= 7;Set %ini_teamkill_dead[%p%]% 1
+    If %ini_teamkill_dead[%p%]% == 1;yell 5 %p% teamkilled for the 1st time (1/5);playersay warning 1/5 dont kill teammates
+    If %ini_teamkill_dead[%p%]% == 2;yell 5 %p% teamkilled for the 2nd time (2/5);playersay warning 2/5 dont kill teammates
+    If %ini_teamkill_dead[%p%]% == 3;yell 5 %p% teamkilled for the 3th time (3/5);playersay warning 3/5 dont kill teammates,3 more and you get kicked
+    If %ini_teamkill_dead[%p%]% == 4;yell 5 %p% teamkilled for the 4th time (4/5);playersay warning 4/5 dont kill teammates,2 more and you get kicked
+    If %ini_teamkill_dead[%p%]% == 5;yell 5 %p% teamkilled for the last time,next = kick (5/5);playersay warning 5/5 dont kill teammates,1 more and you get kicked
+    If %ini_teamkill_dead[%p%]% == 6;yell 5 %p% got kicked for being so stupid to teamkill for 6 times;kick this is not a teamkill server;
Paste the errors you get in plugin console that show up when you load the rulez, so we can know more about the problem
* 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.