ImportBot Posted November 28, 2013 Share Posted November 28, 2013 Originally Posted by B14ckwaterX*: Hey! First i want to say this plugin rulez but fo me that is a n00b i need some help Is there any chance to limit the recon class to 3 for each team or make them die for spawning with a sniper if our rule is set to just have 3 snipers each team ? instead of killing them when they kill someone else? Sry for the inconvenience Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 28, 2013 Share Posted November 28, 2013 Originally Posted by ixnorp*: Hi ixnorp 1st of all : if you want forbid ALL M320_HE , you don't need to get all weapons, with multiple lines i mean, you can use this line On kill;if %wk% contains M320_HE;kill but it's better to use permanent count registred with a variable like : "Incr %ini_M320HE_%p%%" by exemple (here a full code you can use , with same punish you want for all m320HE) : On Kill;if %wk% contains M320_HE;Incr %ini_M320HE_%p%% On Kill; if %ini_M320HE_%p%% > 1;Say %p% Ban for Killing with %w%;Log %p% banned for %w%;TempBan 500;set %ini_M320HE_%p%% 0 if %ini_M320HE_%p%% == 1;PlayerSay %p% No %w%;kill To only correct your last code ! try that (you don't need write playercount 0) #####SteyrAug##### On Kill;Weapon U_SteyrAug_M320_HE; PlayerCount 1;Say %p% Ban for Killing with AUG M320 HE;Log %p% banned for AUG M320 HE;TempBan 500 PlayerSay %p% No AUG M320 HE;kill hey, thanks man! i'm not getting any error on the console. gonna test it later. btw 1 more question On Join;TargetPlayer ;Say %t% is here! doesn't work? On Spawn;TargetPlayer ;say (whatever);kill 500 gave me errors. i can't figure out what did i type wrong? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 28, 2013 Share Posted November 28, 2013 Originally Posted by Kazaam1983*: Hello just to be sure, when you need to use map condition, you write On Kill;Map XXXXX; When XXXXX is the map name without "MP_" ? Thanks Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 28, 2013 Share Posted November 28, 2013 Originally Posted by tarreltje*: Hello just to be sure, when you need to use map condition, you write On Kill;Map XXXXX; When XXXXX is the map name without "MP_" _! Thanks Correct!! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 28, 2013 Share Posted November 28, 2013 Originally Posted by ixnorp*: On Join;TargetPlayer ;Say %t% is here! doesn't work? On Spawn;TargetPlayer ;say (whatever);kill 500 gave me errors. i can't figure out what did i type wrong? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 28, 2013 Share Posted November 28, 2013 Originally Posted by Gunslinger1973*: Why do get ppl killed when using G18, M1911 and not with PP226 # RULZ On Kill;Not Damage Handgun;PlayerCount 5;Log %p% banned (pistols only);Ban %p% pistols only On Kill;Not Damage Handgun;PlayerCount 3;Log %p% kicked (pistols only);Kick %p% pistols only On Kill;Not Damage Handgun;PlayerSay %p% pistols only;Kill 100 ON HC, 60 % player healt to start any1 any ideas__? Thanks Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 29, 2013 Share Posted November 29, 2013 Originally Posted by tarreltje*: Why do get ppl killed when using G18, M1911 and not with PP226 # RULZ On Kill;Not Damage Handgun;PlayerCount 5;Log %p% banned (pistols only);Ban %p% pistols only On Kill;Not Damage Handgun;PlayerCount 3;Log %p% kicked (pistols only);Kick %p% pistols only On Kill;Not Damage Handgun;PlayerSay %p% pistols only;Kill 100 ON HC, 60 % player healt to start any1 any ideas__? Thanks Is your BF4.DEF updated? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 29, 2013 Share Posted November 29, 2013 Originally Posted by Gunslinger1973*: OK, I checked it.. Server R12 is in there I got all the lines like procon.protected.weapons.add None "U_CZ75" Auxiliary Handgun procon.protected.weapons.add None "U_M1911" Auxiliary Handgun procon.protected.weapons.add None "U_M9" Auxiliary Handgun procon.protected.weapons.add None "U_M93R" Auxiliary Handgun and so on... Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 29, 2013 Share Posted November 29, 2013 Originally Posted by wdfstryfe*: Would anyone have a good On Damage script for flashbangs? I got it set now to kick anyone that uses anything besides melee and handguns but still getting damage from flashbangs causing deaths which does kick but I want to slay them for trying to flash. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 29, 2013 Share Posted November 29, 2013 Originally Posted by bambam*: In proconrulz_sniperlimit there is this Line............... On Kill;ServerFirst;Set %server_sniperlimit% 3 On Say;ServerFirst;Set %server_sniperlimit% 3 mean this i have to change the Number 3 to 1 if i want only 1 sniper each team_! Its not working if i change this to On Kill;ServerFirst;Set %server_sniperlimit% 1 On Say;ServerFirst;Set %server_sniperlimit% 1 Other Players can join as Sniper I want only 1 Sniper for 1 Team how to setup this_! Regards You are correct - just edit those two numbers. Snipers in BF3 and BF3 can only be detected when they KILL with a sniper weapon. BF3/4 provide NO data when the player spawns. So the sniper limit has to be more complicated, there is no way around this with any admin tool. A sniper KILL reserves a slot for that player. A kill with any non-sniper weapon releases the slot. Command !snipers tells you how many snipers & what's the limit & who has current slots on your team. It's all fucking clever. But tricky to do with BF3/4. BFBC2 was easy because you got the kit info on spawn. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 29, 2013 Share Posted November 29, 2013 Originally Posted by bambam*: i cant seem to figure out whats wrong? whats with the error_? #####SteyrAug##### On Kill;Weapon U_SteyrAug_M320_HE; PlayerCount 1;TempBan 500;Say %p% Ban for Killing with AUG M320 HE;Log %p% banned for AUG M320 HE PlayerCount 0;kill;PlayerSay %p% No AUG M320 HE, [04:57:55 62] ProconRulz: Exception occurred parsing your rules [04:57:55 62] ProconRulz: Rule was "" [04:57:55 62] ProconRulz: Part that failed was "PlayerCount 0:kill" [04:57:55 62] ProconRulz: System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at PRoConEvents.ProconRulz.parse_count(ParsedRule& parsed_rule, String[] fragments, Boolean negated) at PRoConEvents.ProconRulz.parse_part(ParsedRule& parsed_rule, String part, Boolean target_action) [04:57:55 62] ProconRulz: 141 rules loaded PlayerCount 0:kill has a ":" in it which should be ";" Anyway PlayerCount 0 is completely redundant, thats the same as saying ALWAYS. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 29, 2013 Share Posted November 29, 2013 Originally Posted by bambam*: Is there a no rockets on infantry rule?I don't think BF4 tells you when a player was killed inside a tank or standing in a field... it just says "Fred killed with RPG-7". So you're probably shit-out-of-luck unless you can confirm a rocket kill inside/outside a tank gives a difference weapon key or something. This applies to ALL software looking at BF4 data streaming from the server. It's not a limitation of ProconRulz. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 29, 2013 Share Posted November 29, 2013 Originally Posted by bambam*: Hey! First i want to say this plugin rulez but fo me that is a n00b i need some help Is there any chance to limit the recon class to 3 for each team or make them die for spawning with a sniper if our rule is set to just have 3 snipers each team ? instead of killing them when they kill someone else? Sry for the inconvenience You can't detect a sniper at spawn time because BF4 (& BF3) just says (Fred spawned on US Army). It does NOT say what kit/weapons the player has spawned with. You have to wait until the player does a kill. So proconrulz_sniperlimit.txt has to be a LOT cleverer than the one-line-rule possible in BFBC2 - it keeps track of all players and what weapons they've killed with, to keep track of who has the sniper slots. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 29, 2013 Share Posted November 29, 2013 Originally Posted by bambam*: On Join;TargetPlayer ;Say %t% is here! doesn't work? On Spawn;TargetPlayer ;say (whatever);kill 500 gave me errors. i can't figure out what did i type wrong? eh? that's a wierd rule. WHat are you trying to do? "TargetPlayer xyz" looks for a player called xyz on the server and *if* found then it sets the %t% to that player name and continues. The list of players on the server is only refreshed every 30 seconds, NOT in real time on each player join event, so there could be a problem for you there. (Maybe I should have worked around this with ProconRulz but I didn't...) Instead, you could use On Join;If %p% == Slartibartfast;Kill That'll do the same thing... Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 29, 2013 Share Posted November 29, 2013 Originally Posted by bambam*: OK, I checked it.. Server R12 is in there I got all the lines like procon.protected.weapons.add None "U_CZ75" Auxiliary Handgun procon.protected.weapons.add None "U_M1911" Auxiliary Handgun procon.protected.weapons.add None "U_M9" Auxiliary Handgun procon.protected.weapons.add None "U_M93R" Auxiliary Handgun and so on... You're on the right track... specifically you have to find the entry for the PP226 - maybe it's missing. You need the exact weapon key. If BF4.def has a bug and it's not in there, then you need to add a rule for just that weapon as in On Kill;Weapon PP226;..... (I haven't checked the BF4.def or the weapon key, so you check) Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 29, 2013 Share Posted November 29, 2013 Originally Posted by bambam*: Would anyone have a good On Damage script for flashbangs? I got it set now to kick anyone that uses anything besides melee and handguns but still getting damage from flashbangs causing deaths which does kick but I want to slay them for trying to flash.What's the weapon key for flashbangs? If you have that you use the weapon limit rulz from the example in the 1st post of this thread with that key... Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 29, 2013 Share Posted November 29, 2013 Originally Posted by wdfstryfe*: This should work, right? On Kill;if %wk% contains Flashbang;Kill %p% 100 Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 29, 2013 Share Posted November 29, 2013 Originally Posted by wdfstryfe*: This should work, right? On Kill;if %wk% contains Flashbang;Kill %p% 100 OK this is what I got configuredOn Kill;Damage Auxiliary Explosive;Kill 100 Says Bad "Damage" clause in your rule Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 29, 2013 Share Posted November 29, 2013 Originally Posted by Gunslinger1973*: You're on the right track... specifically you have to find the entry for the PP226 - maybe it's missing. You need the exact weapon key. If BF4.def has a bug and it's not in there, then you need to add a rule for just that weapon as in On Kill;Weapon PP226;..... (I haven't checked the BF4.def or the weapon key, so you check) OK - got it... found out that my Server Provider was still on 1.4.1.1 of ProCon Layer. I FORCED him to update and now it is running smoothly... If you have other ppl having similar issues, it could be the Procon Layer... (it was missleading because my ProCon was 1.4.1.2) Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 29, 2013 Share Posted November 29, 2013 Originally Posted by ixnorp*: eh? that's a wierd rule. WHat are you trying to do? "TargetPlayer xyz" looks for a player called xyz on the server and *if* found then it sets the %t% to that player name and continues. The list of players on the server is only refreshed every 30 seconds, NOT in real time on each player join event, so there could be a problem for you there. (Maybe I should have worked around this with ProconRulz but I didn't...) Instead, you could use On Join;If %p% == Slartibartfast;Kill That'll do the same thing... thanks bambam, it worked! its a weird rule to mess with my friend. =)and thanks to C-4-N too! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 29, 2013 Share Posted November 29, 2013 Originally Posted by rbtmarshall*: OK this is what I got configured On Kill;Damage Auxiliary Explosive;Kill 100 Says Bad "Damage" clause in your rule You gotta read the manual. also. U_Flashbang Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 29, 2013 Share Posted November 29, 2013 Originally Posted by ixnorp*: OK this is what I got configured On Kill;Damage Auxiliary Explosive;Kill 100 Says Bad "Damage" clause in your rule On Kill;Damage Explosive;Kill Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 29, 2013 Share Posted November 29, 2013 Originally Posted by AerOx*: http://www.forsterlewis.com/proconrulz.pdfi haved try to understand that, but i cant sucssed it, i dont know what im doing wrong Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 29, 2013 Share Posted November 29, 2013 Originally Posted by Voltstriker9*: Hey guys im getting this error whenever i try to save a value to my variable %ini_restartCount%: (Sorry its an image, procon wouldnt let me copy and paste) The code I am executing is as follows: Code: On Say;Text !save;Set %ini_test% %text%Does anyone have any suggestions as to how I can fix this or a reason why this isn't working. If it helps, I am trying to execute this on a BF4 server. Many thanks, Voltstriker. Edit: just did a little testing and found that it returned this error with other instances of code such as: Code: On Spawn;Incr %ini_spawns% Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 29, 2013 Share Posted November 29, 2013 Originally Posted by wdfstryfe*: On Kill;Damage Explosive;KillI'm guessing it's not picking up the damage then because I still see people throwing them. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 30, 2013 Share Posted November 30, 2013 Originally Posted by JohnyDoo*: Hello, I have a funny problem, I cannot Incr any variable (stupid example) On Kill; Damage AssaultRifle; Incr %arKill%; PlayerSay AR_kills: %arKill% it stays on 0 ... never increases while replacing with: On Kill; Damage AssaultRifle; Set %arKill% 1 + %arKill%; PlayerSay AR_kills: %arKill% works fine ... anyone same issue? Just annoying - not a drama. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 30, 2013 Share Posted November 30, 2013 Originally Posted by LjMjollnir*: Any chance of having the option to enable and disable different rulz.txt files from within the procon ui.. i manage most of the addons for the server but a few of the admins would need to be able to quickly switch off certain rule sets as needed and it would be very nice to just be able to toggle a couple on an off as needed so while the addition of the rules.txt list is great if we could have a few seperate ones with the ability to toggle them on and off (ingame would be even better) so say i wanted to run Pistol/Knife for a few rounds it would be great to just type !enable pistolrule or some other command.. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 30, 2013 Share Posted November 30, 2013 Originally Posted by lordicon*: Any chance of having the option to enable and disable different rulz.txt files from within the procon ui.. i manage most of the addons for the server but a few of the admins would need to be able to quickly switch off certain rule sets as needed and it would be very nice to just be able to toggle a couple on an off as needed so while the addition of the rules.txt list is great if we could have a few seperate ones with the ability to toggle them on and off (ingame would be even better) so say i wanted to run Pistol/Knife for a few rounds it would be great to just type !enable pistolrule or some other command.. Would make it a bit better to organize the options instead of having just .txt files, I don't see why the .txt files can not be placed into their own dir then have the plugin scan that dir on load of the procon client so all the .txt files in that folder are added to the plugin as check mark boxs with the file name as the text beside it so you can decide which you want on or off.Really not a bad idea and you wont have to add the .txt filenames to the array anymore because it will always be there. However enable and disable would be a whole new ball game, not sure how the plugin would be able to detect which .txt files to enable even with check boxs, it might end up enabling everything in that dir. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 30, 2013 Share Posted November 30, 2013 Originally Posted by LjMjollnir*: Would make it a bit better to organize the options instead of having just .txt files, I don't see why the .txt files can not be placed into their own dir then have the plugin scan that dir on load of the procon client so all the .txt files in that folder are added to the plugin as check mark boxs with the file name as the text beside it so you can decide which you want on or off.Really not a bad idea and you wont have to add the .txt filenames to the array anymore because it will always be there. However enable and disable would be a whole new ball game, not sure how the plugin would be able to detect which .txt files to enable even with check boxs, it might end up enabling everything in that dir. I love that idea .. however for the other one i did think about that problem after i wrote that.. just something simple like enable rule1 rule 2 etc.. then using the rulez thing itself you could then make an easy to use alias for example On Say;Admin;Text !Pistolrules; EnableRuleSet 2 #assuming the pistol.txt is in the number 2 slot for txt files Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 30, 2013 Share Posted November 30, 2013 Originally Posted by kycu*: ok i Ask again... plugin is awesome but we have one problem, we put .txt files with plugin in the same folder but when we type command in chat bf4 ex. !rules, they dont show up like plugin don't see files inside directory. we use procon layer on linux debian. THANKS for answer! 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.