ImportBot Posted December 28, 2011 Share Posted December 28, 2011 Originally Posted by CoMPaHoLiC*: The issue is that the rule doesn't work unless there is at least one more character in the text string typed by the player. If the player only says the word with no additional characters, the rule is not triggered.I spotted that same thing last night, my "!rules" one only works since i have "On Say; Text rules" as well. Maybe it has something to do with the matching of lines? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 28, 2011 Share Posted December 28, 2011 Originally Posted by bambam*: tyger/compaholic very good testing - thanks... I know exactly what caused that issue (and I've fixed it) - the "Text" condition was originally designed to be used for in-game admin (e.g. like "xkick bambam_ofc") and I'd left a check in there to (wrongly) make sure there was additional info in the player say text so the in-game command would make sense... The 1st post of this thread has a new v37e3 download, which fixes that issue. "Text abc,xyz" should succeed for the say text "xyz" (and the say text "abc", and the say text "abcde"). I recommend the v37e3 download for anyone that downloaded the prior version last night - 37e3 fixes a bug in the display of the %c% PlayerCount variable which would confuse users of prior versions I think - the bug was that %c% appears to count up from ZERO, not 1 as before, although the PlayerCount condition is unaffected so your rulz would all work the same. Plus as mentioned above, I've 'improved' the usability of the 'Text' condition from poor design in all prior versions... DevilsRonin please see BF3 limitations in 1st post of this thread. No VehicleHeavy etc... Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 28, 2011 Share Posted December 28, 2011 Originally Posted by C-4-N*: good new, thanks for new version can we have a exemple of variable for kill streak ? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 28, 2011 Share Posted December 28, 2011 Originally Posted by fabsen*: hi, first of all thanks for the great plugin. I got some problems concerning restrictionrules for weapons. All I tried is to copy/paste the rule for restricting RPG/SMAW/M320 on operation metro: On Kill;Map Subway;Damage ProjectileExplosive;PlayerCount 5;Log %p% banned for rockets on Metro;Ban %p% Metro rockets On Kill;Map Subway;Damage ProjectileExplosive;PlayerCount 3;Log %p% kicked for rockets on Metro;Kick %p% Metro rockets On Kill;Map Subway;Damage ProjectileExplosive;PlayerSay %p% no rockets on Metro;Kill 100 well this doesn't work. it does nothing. also I'm seeing a problem with the M320 underslug because it logs kills only for the main weapon. example: somebody is killed by m320 (undersluged under ak74) but the log says "killed by ak74". so the rule won't work, right? thanks and cheers. P.S.: I like procon and I hop that it'll run soon on some of my linux powered root servers Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 28, 2011 Share Posted December 28, 2011 Originally Posted by Mr_Funki*: hi, first of all thanks for the great plugin. I got some problems concerning restrictionrules for weapons. All I tried is to copy/paste the rule for restricting RPG/SMAW/M320 on operation metro: On Kill;Map Subway;Damage ProjectileExplosive;PlayerCount 5;Log %p% banned for rockets on Metro;Ban %p% Metro rockets On Kill;Map Subway;Damage ProjectileExplosive;PlayerCount 3;Log %p% kicked for rockets on Metro;Kick %p% Metro rockets On Kill;Map Subway;Damage ProjectileExplosive;PlayerSay %p% no rockets on Metro;Kill 100 Hi! try Map Mp_Subway for M320 try On Kill;Map Mp_Subway;Weapon M320;PlayerSay %p% no M320 on Metro;Kill 100 and so on... tell me if it works. (im not professional)^^ Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 28, 2011 Share Posted December 28, 2011 Originally Posted by bambam*: C-4-N It's certainly possible to write rulz that function as a "KillStreak Announcer" - there's an example in the announcement post for the v37 update*. If that looks like it's useful create another thread just for "Killstreak Announcer" instead of this thread just getting longer and longer. Let me know how it goes for you... fabsen it does nothing. Aw cmon, we'd have to start with "is your computer switched on"... the rulz are ok, so when you rocket someone in the face on map Operation Metro what does the chat log actually say? You are correct, a known bug in BF3 is an underslung nade launcher is reported by BF3 as a kill with the parent assault rifle - nothing we can do about that currently. But you should test the rule with smaw/rpg-7, I guess blocking those is better than nothing... Mr_Funki's (cool name) comments are with valid rulz, but actually the M320 weapon has Damage ProjectileExplosive so it's already caught in the original rulz, and "Map xxx" will check "xxx" appears as a substring in "map name + map file name" i.e. "Operation Metro + MP_Subway" so "Map Subway" or "Map Mp_Subway" (or even "Map tro") will all work... the advice here is use a substring of the filename (e.g. Subway) is more reliable, because map display names (Operation Metro) could contain non-English characters. Map match is case-insensitive. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 28, 2011 Share Posted December 28, 2011 Originally Posted by C-4-N*: i tried On Spawn;Set %streak% 0 On Kill;Incr %streak%;If %streak% >= 10;Say %p% %streak%-kill kill-streak (killed %v% with %w%) it's to much spamming chat ! it count 11,12,13 etc .... so i use On Kill;Incr %streak%;If %streak% == 20;Say OMG %p% as %streak% kill streak ! Kill Him On Kill;If %streak% == 10;Say %p% is Wanted with %streak% kill streak ! will see of working good i don't think it's possible but... could we have "on death;set %streak% 0" Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 28, 2011 Share Posted December 28, 2011 Originally Posted by Cedbru57*: Hi, I have some problemes with this plugins, this rules don't work on my procon: On Kill;Map 001;Damage VehicleHeavy;Say %p% : No Vehicules on Bazaar! Sorry for %v%;Kill 500 On Kill;Map 001;Damage VehicleLight;Say %p% : No Vehicules on Bazaar! Sorry for %v%;Kill 500 On Kill;Map 001;Damage VehicleWater;Say %p% : No Vehicules on Bazaar! Sorry for %v%;Kill 500 And for: On Kill;Map 001;Damage ProjectileExplosive;Say %p% : No Rockets/M320 On Bazaar! Sorry for %v%;Kill 500 If M320 is on primary weapon (with the rail), it doesn't work... Please help, thank. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 28, 2011 Share Posted December 28, 2011 Originally Posted by ty_ger07*: Where is the PayPal donate button? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 28, 2011 Share Posted December 28, 2011 Originally Posted by DevilsRonin*: So I cant use a rule to kill/kick a player if they have used a vehicle to kill? bambam you have an example rule of it in the plugin details tab, or was that a rule that only applies for BadCompany. If thats true, that sucks. Just wanted to make it possible to have an infantry only server that would show up as hardcore. Was hoping I could use a proconrulz rule to enforce no vehicles. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 28, 2011 Share Posted December 28, 2011 Originally Posted by ty_ger07*: So I cant use a rule to kill/kick a player if they have used a vehicle to kill? bambam you have an example rule of it in the plugin details tab, or was that a rule that only applies for BadCompany. If thats true, that sucks. Just wanted to make it possible to have an infantry only server that would show up as hardcore. Was hoping I could use a proconrulz rule to enforce no vehicles. I think you could use Weapon Death as the weapon trigger since all vehicle kills are classified as being killed by Death, but this would also restrict the use of mortars since mortars are also classified as Death. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 28, 2011 Share Posted December 28, 2011 Originally Posted by XxBeAsTxX*: Question: I remember reading in one of these plugins that if you exceeded 10 temp bans (in Procon at the same time) it would somehow mess up the program. Is that correct? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 28, 2011 Share Posted December 28, 2011 Originally Posted by ty_ger07*: Question: I remember reading in one of these plugins that if you exceeded 10 temp bans (in Procon at the same time) it would somehow mess up the program. Is that correct? I don't think that is true. What DICE said was that if your banlist.txt file on your game server increased to over 10kB, the server would crash. 10kB is quite a bit more than 10 bans since the text used by each ban creates only a small increase in file size. I think what you read was just a misguided exaggeration. But it is true that if you have too many bans (or temp bans) the game server may crash. The standard bans or temp bans in PRoCon get added to your banlist.txt on your game server. The reason temp bans are recommended over permanent bans is because they hope that the previous temp bans will be removed from the file at the same rate that new temp bans are added so that the file size never reaches this 10kB threshold limit. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 28, 2011 Share Posted December 28, 2011 Originally Posted by CoMPaHoLiC*: @BamBam/all Maybe good to note that the "Set %var% " is per player and can not contain text? (Or am I missing something). Was fooling around with it to count the number of noobtubes used and just seeing if I could build a 'wall of tubes' where all players that round using a tube would be returned. The counting works, but %var% is per user, adding text to a var doesn't seem to work (e.g. "Set %var% %p%%var%;Log %var%" logs "Player%var%" Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 28, 2011 Share Posted December 28, 2011 Originally Posted by DevilsRonin*: I think you could use Weapon Death as the weapon trigger since all vehicle kills are classified as being killed by Death, but this would also restrict the use of mortars since mortars are also classified as Death.Guess I could try that, This is what I was trying before: On Kill;Damage VehicleHeavy;PlayerSay Only use vehicles for transport;Kill On Kill;Damage VehicleLight;PlayerSay Only use vehicles for transport;Kill On Kill;Damage VehicleAir;PlayerSay Only use vehicles for transport;Kill How would the string look for the way your talking about? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 28, 2011 Share Posted December 28, 2011 Originally Posted by halli42*: Hello everybody! On my server, i want a player to be killed, if he kills anyone by using a ProjectileExplosive. What's the rule for that? Big Thanks in advance! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 28, 2011 Share Posted December 28, 2011 Originally Posted by ty_ger07*: Guess I could try that, This is what I was trying before: On Kill;Damage VehicleHeavy;PlayerSay Only use vehicles for transport;Kill On Kill;Damage VehicleLight;PlayerSay Only use vehicles for transport;Kill On Kill;Damage VehicleAir;PlayerSay Only use vehicles for transport;Kill How would the string look for the way your talking about? On Kill;Weapon Death;Say No vehicle or mortar kills allowed.;Kill Something like that I believe. I use Say instead of PlayerSay because it seems to inform the rest of the players in the server better. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 28, 2011 Share Posted December 28, 2011 Originally Posted by halli42*: Okay i found the right code. On Kill;Map Subway;Damage ProjectileExplosive;PlayerCount 5;Log %p% banned for rockets on Metro;Ban %p% Metro rockets On Kill;Map Subway;Damage ProjectileExplosive;PlayerCount 3;Log %p% kicked for rockets on Metro;Kick %p% Metro rockets On Kill;Map Subway;Damage ProjectileExplosive;PlayerSay %p% no rockets on Metro;Kill 100 BUT: I downloaded the ProconRulz.cs and put it in my plugins/bf3 folder. I restartet the Layer and connected, but the Plugin ist not listet in "LOADED PLUGINS". Can anyone help? THX !! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 28, 2011 Share Posted December 28, 2011 Originally Posted by Kilack*: Is there a way to comment out a rule temporarily? i tried putting a # at the start of the line but still says xx rules loaded.. I then tried // and it says rule unrecognised... is that good enough? or will it cause problems for other rules? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 28, 2011 Share Posted December 28, 2011 Originally Posted by bambam*: C-4-N on death;set %streak% 0 LOL have another look at the example KillStreak Announcer you started with... otherwise good job with the code... Cedbru75 See BF3 limitation #1 in the first post in this thread* => No Damage VehicleXXX rulz with BF3 R16. Re underslung M320, see BF3 limitation #8... ty_ger07 Where is the PayPal donate button? Dunno really - on the one hand it's good helping people and getting thanked for free software - and telling anyone to sod off if they don't like it. Maybe if some people paid they'd feel upset if a bug appeared in the code. Dunno, I'm thinking about it. DevilsRonin as Ty_Ger says - you could put a limit on "Weapon Death" and that will succeed on ALL vehicle kills, so you get what you want, the only complexity is that will also include Mortars (BF3 limitation #1). The usual issue is admins want to block Mortars, and you can't do that with a "Weapon Death" rule on a 'vehicles allowed' server because that will nail the vehicles also. As Ty_ger says, basically. See Example 1 in the 1st post in this thread, replace Weapon Siaga12k with Weapon Death. Halli42 did you make sure ProconRulz.cs in in Plugins\BF3 on the layer server ? Then use the right-most Parent Layer Control tab, sub-tab Plugins to reload your plugins. My guess is you're doing all that on your local desktop, not the Procon that is actually connecting to the BF3 server (i.e. the 'layer server' instance of Procon... Kilack If the first character in a rule is '#', then that line will be treated as a comment. I forget whether ProconRulz includes comments in the 'rule count' - maybe it does but that should not matter. When ProconRulz says 'Rule Unrecognized', it writes the rule it choked on into your Plugin Console at the same time - see what that is. If you're not sure, cut and paste the entire load sequence into this forum, with a cut-and-paste of your rulz if you want. Easiest is to look at the TEXT FILE version of the Plugin Console log (enable that in Procon Tools Options). Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 28, 2011 Share Posted December 28, 2011 Originally Posted by halli42*: Halli42 did you make sure ProconRulz.cs in in Plugins\BF3 on the layer server ? Then use the right-most Parent Layer Control tab, sub-tab Plugins to reload your plugins. My guess is you're doing all that on your local desktop, not the Procon that is actually connecting to the BF3 server (i.e. the 'layer server' instance of Procon...I copied the plugin to my Procon layer server via FTP. I restarted the layer and reconnected via Procon, but ProconRulz is not shown in "loaded plugins". Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 28, 2011 Share Posted December 28, 2011 Originally Posted by CoMPaHoLiC*: Someone any thoughts on #564 or #583 Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 28, 2011 Share Posted December 28, 2011 Originally Posted by C-4-N*: C-4-N LOL have another look at the example KillStreak Announcer you started with... otherwise good job with the code...ok ok it could be good, because of resurection with defib, could stop kill streak it think to , it's not possible to have an ended message (yet) ? killer has stop player kill streak ? whatever , i really congrats you , it may be a bit complicated for some of us , but i think you did the better plugins ever created at the moment ! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 29, 2011 Share Posted December 29, 2011 Originally Posted by Kilack*: Had 3 hackers that arrived on a server last night unfortuantely when I wasn't there. Looking at the event log, I see "death" was recorded as the weapontype and he was killing people every 2-3 seconds. Any ideas on what weapon they might have been using? and will something like this take care of it? On Kill;Death;Rate 5 15;Kick %p% cheating/hacking Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 29, 2011 Share Posted December 29, 2011 Originally Posted by C-4-N*: it s large condition ,you can change them but ever catch some hacker like this one (record man) http://battlelog.battlefield.com/bf3...ats/356836357/ i use that : # HACKER kill rate limits On Kill;Not Admins;Not Damage Explosive;Not Damage ProjectileExplosive;Rate 70 200;Log HACKER Rate limit [%p%] 70 200 BANNED;Ban You were auto-banned - appeal at www. On Kill;Not Admins;Not Damage Explosive;Not Damage ProjectileExplosive;Rate 25 50;Log HACKER Rate limit [%p%] 25 50 BANNED;Ban You were auto-banned - appeal at www. On Kill;Not Admins;Headshot;Rate 13 25;Log HACKER Rate limit [%p%] headshots 13 25 BANNED;Ban You were auto-banned - appeal at www. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 29, 2011 Share Posted December 29, 2011 Originally Posted by mefhisto*: Hi, for those not working the lines to block the rpg-7 and M32 I leave here the code I use on my server. The next line is the first warning and kills, the second time and finally kicks temporarily bans. # Restrinciones en Metro On Kill;Map Subway;Weapon M320;PlayerCount 3;Say %p% ban por usar M320 en Metro 30 Min;TempBan %p% 1800 No M320 en Metro [ban 30 Min] On Kill;Map Subway;Weapon M320;PlayerCount 2;Say %p% kick por usar M320 en Metro;Kick %p% No RPG en Metro On Kill;Map Subway;Weapon M320;Say %p% asesinado por usar M320 en Metro;Kill 100 On Kill;Map Subway;Damage ProjectileExplosive;PlayerCount 3;Say %p% TempBan por usar RPG en Metro 30 Min;TempBan %p% 1800 No RPG en Metro [ban 30 Min] On Kill;Map Subway;Damage ProjectileExplosive;PlayerCount 2;Say %p% Kick por usar RPG en Metro;Kick %p% No RPG en Metro On Kill;Map Subway;Damage ProjectileExplosive;Say %p% asesinado por usar RPG en Metro;Kill 100 Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 29, 2011 Share Posted December 29, 2011 Originally Posted by GerWonder*: Hello, can someone please tell me the mapmode name for team / squad deathmatch? I tried this but this doesnt work ... On Kill;MapMode tdm;Weapon RPG-7;Say %p%, no RPG on TDM! You got killed. ;Kill Thanks a lot for your help Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 29, 2011 Share Posted December 29, 2011 Originally Posted by Kilack*: Added this rule On Kill;Rate 30 60;Log %p% banned for too many kills limit;PBBan hacking/cheating. Then got this in the chat log [14:21:19] ProconRulz: GGC-Anticheat banned for too many kills limit [14:21:19] ProconRulz: Player GGC-Anticheat banned via Punkbuster [14:21:19] ProconRulz: GGC-Anticheat banned for too many kills limit [14:21:19] ProconRulz: Player GGC-Anticheat banned via Punkbuster [14:21:19] ProconRulz: GGC-Anticheat banned for too many kills limit [14:21:19] ProconRulz: Player GGC-Anticheat banned via Punkbuster [14:21:20] ProconRulz: GGC-Anticheat banned for too many kills limit [14:21:20] ProconRulz: Player GGC-Anticheat banned via Punkbuster [14:21:20] ProconRulz: GGC-Anticheat banned for too many kills limit [14:21:20] ProconRulz: Player GGC-Anticheat banned via Punkbuster [14:21:22] ProconRulz: GGC-Anticheat banned for too many kills limit [14:21:22] ProconRulz: Player GGC-Anticheat banned via Punkbuster [14:21:23] ProconRulz: GGC-Anticheat banned for too many kills limit [14:21:23] ProconRulz: Player GGC-Anticheat banned via Punkbuster [14:21:24] ProconRulz: GGC-Anticheat banned for too many kills limit [14:21:24] ProconRulz: Player GGC-Anticheat banned via Punkbuster This in the PB log [12.29.2011 12:22:39] Ban Added to Ban List [12.29.2011 12:22:39] Ban Failed [12.29.2011 12:22:40] Ban Failed [12.29.2011 12:22:40] Ban Failed [12.29.2011 12:22:41] Ban Failed [12.29.2011 12:22:42] Ban Failed [12.29.2011 12:22:44] Ban Failed [12.29.2011 12:22:44] Ban Failed [12.29.2011 12:22:46] Kick/Ban Command Issued (Prior Kick/Ban) for (slot#46) 1xxxxxxxxxxxxx GGC-Anticheat So it seems that proconrulez obviously just keeps trying to ban, even though the first ban succeeded bit it just takes pb a bit of time to actually do the kick.. in the meantime he killed a few more which triggers the rule again and again... any way to avoid the repetition? as I want to add a say to everyone that he has been banned but don't want to spam everyone etc A workaround is fine? maybe a normal ban and a pb ban? if the normal ban is instant? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 29, 2011 Share Posted December 29, 2011 Originally Posted by DevilsRonin*: On Kill;Weapon Death;Say No vehicle or mortar kills allowed.;Kill Something like that I believe. I use Say instead of PlayerSay because it seems to inform the rest of the players in the server better. Thanks Ty_ger07 and bambam, worked like a charm. You're right about it also applying to mortars, but thats no big deal. Now I just need to fill my server. Trying the quick match trick. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 29, 2011 Share Posted December 29, 2011 Originally Posted by scorpionfr59*: I would create a rule against killing infantry RPG after 2 seconds and void if it is a vehicle that was destroyed in, so does this rule is good? On Kill;Damage ProjectileExplosive; PlayerSay %p% no RPG infantery %p%;Kill On Kill;Damage VehicleLight; playercount %p%; TargetCancel 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.