ImportBot Posted May 3, 2016 Share Posted May 3, 2016 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.; killThis rule will trigger if anyone who kills another player with any weapon other than a sniper rifle or a bow. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 4, 2016 Share Posted May 4, 2016 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.; killThis 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? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 4, 2016 Share Posted May 4, 2016 Originally Posted by BuRockK*: hmm, interesting. only 1 question, where is that log written? It logs to Chat section in Procon Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 4, 2016 Share Posted May 4, 2016 Originally Posted by spatieman*: It logs to Chat section in ProconAh, found !, thnxs Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 4, 2016 Share Posted May 4, 2016 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%]% 0the 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.. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 4, 2016 Share Posted May 4, 2016 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. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 5, 2016 Share Posted May 5, 2016 Originally Posted by spatieman*: 1st code resets the punish count to zero, so, when join, kill self, and leave, and rejoin, will reset it to zero again. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 5, 2016 Share Posted May 5, 2016 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. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 6, 2016 Share Posted May 6, 2016 Originally Posted by spatieman*: 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.. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 6, 2016 Share Posted May 6, 2016 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 Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 6, 2016 Share Posted May 6, 2016 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 ? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 6, 2016 Share Posted May 6, 2016 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 Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 6, 2016 Share Posted May 6, 2016 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 Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 6, 2016 Share Posted May 6, 2016 Originally Posted by Proteas*: ok i will try s1ngular1ty's plugin and coming to thread to say if this works. thx guys Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 8, 2016 Share Posted May 8, 2016 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_ Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 9, 2016 Share Posted May 9, 2016 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_ "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%]% Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 9, 2016 Share Posted May 9, 2016 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 Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 9, 2016 Share Posted May 9, 2016 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 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 Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 9, 2016 Share Posted May 9, 2016 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! 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 Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 9, 2016 Share Posted May 9, 2016 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 Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 9, 2016 Share Posted May 9, 2016 Originally Posted by 66LOST99*: ... Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 9, 2016 Share Posted May 9, 2016 Originally Posted by 66LOST99*: rule that punishes players who gets killed from a FFI 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......) Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 9, 2016 Share Posted May 9, 2016 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. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 9, 2016 Share Posted May 9, 2016 Originally Posted by Chilace*: I just don't want players to be kicked for someone else's stupidity.Check this out: myrcon.net/.../insane-limits-team-killing-manager-v01 Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 9, 2016 Share Posted May 9, 2016 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) Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 9, 2016 Share Posted May 9, 2016 Originally Posted by 66LOST99*: Check this out: myrcon.net/.../insane-limits-team-killing-manager-v01 there might be something in that, thanxmaybe replace the !punish !forgive with a random word that no one knows and set ignore for auto punish? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 9, 2016 Share Posted May 9, 2016 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 allunless i remove the +line in front of it.. so, what is going on here, what do i wrong. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 11, 2016 Share Posted May 11, 2016 Originally Posted by mambochambo*: Thx for your work, i will try it! looks promissing Best Regards Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 11, 2016 Share Posted May 11, 2016 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 allunless 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 workingCode: 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 Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 11, 2016 Share Posted May 11, 2016 Originally Posted by spatieman*: ah, lets try it,, ... hmm, cant test it, server is empty, so i tried it on my selfkill counter stuff.. what is a bit more complex, and didnt work... Quote * Restored post. It could be that the author is no longer active. Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.