ImportBot Posted September 22, 2014 Share Posted September 22, 2014 Originally Posted by unconvincible*: Hello guys/girls I need some help/infos for BF3. 1. How can I check if my targetplayer is an admin? 2. TempBan -> How I get the seconds? 3. How get I the teamID of my targetplayer? I think this is all I hope you can anwser all my questions ^^ EDIT: Found a way for the third point: Code: On Spawn;Set %team_id[%p%]% %ptk%Or is there a better way? Sincerely, unconvincible Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 23, 2014 Share Posted September 23, 2014 Originally Posted by Prime-Meridian*: Procon is not able to detect whether a mcom is destroyed by C4 or artillery. No such mcom information is provided from the game server to procon. Therefore, this plugin cannot control mcom destruction. "It's in the game."for: BFBC2myrcon.net/...proconrulz-v44j1-weapon-limits-and-other-event-triggered-admin-actions#entry14229 ty_ger07, please help to write correctly is a rule that would have it worked. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 23, 2014 Share Posted September 23, 2014 Originally Posted by LjMjollnir*: 1. How can I check if my targetplayer is an admin? 2. TempBan -> How I get the seconds? 1) has been covered on here recently ... while i dont do mods for Bf3 i assume its very similar in regards for proconrulz Code: On Spawn;Admin;ServerFirst;Set %server_admins% %p%;End On Spawn;Admin;PlayerFirst;Set %server_admins% %p%,%server_admins%that will make a Variable %server_admins% that contains the names of all the admins as they spawn then its a simple matter of using "contains" for example Code: On Kill;if %server_admins% contains %v%;Say %p% killed Admin %v%!!!!2)Code: On Kill;if %server_admins% contains %v%;Say %p% killed Admin %v% and earnt a 5min ban!;TempBan 300 You killed an Admin!!!!That being said ive seen people have issues with the TempBan provided by Proconrulz.. there is another way around tho .. you can use the Exec command and send the server command to ban someone Im not going to look it up for Bf3... but here is the Bf4 version ... its probably very similar Code: On Kill;if %server_admins% contains %v%;Say %p% killed Admin %v% and earnt a 5min ban!;Exec banList.add name %p% seconds 300 "banned for killing an Admin 5 mins." Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 23, 2014 Share Posted September 23, 2014 Originally Posted by unconvincible*: 1) has been covered on here recently ... while i dont do mods for Bf3 i assume its very similar in regards for proconrulz Code: On Spawn;Admin;ServerFirst;Set %server_admins% %p%;End On Spawn;Admin;PlayerFirst;Set %server_admins% %p%,%server_admins%that will make a Variable %server_admins% that contains the names of all the admins as they spawn then its a simple matter of using "contains" for example Code: On Kill;if %server_admins% contains %v%;Say %p% killed Admin %v%!!!!2)Code: On Kill;if %server_admins% contains %v%;Say %p% killed Admin %v% and earnt a 5min ban!;TempBan 300 You killed an Admin!!!!That being said ive seen people have issues with the TempBan provided by Proconrulz.. there is another way around tho .. you can use the Exec command and send the server command to ban someone Im not going to look it up for Bf3... but here is the Bf4 version ... its probably very similar Code: On Kill;if %server_admins% contains %v%;Say %p% killed Admin %v% and earnt a 5min ban!;Exec banList.add name %p% seconds 300 "banned for killing an Admin 5 mins." thx.But for tempban, is it possible to do it like this? - !tban unconvincible 3600 reason or - !tban unconvincible 300 reason2 Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 23, 2014 Share Posted September 23, 2014 Originally Posted by LjMjollnir*: thx. But for tempban, is it possible to do it like this? - !tban unconvincible 3600 reason or - !tban unconvincible 300 reason2 Sure thing.. very very easy to do Code: On Say;Admin;!tban;TargetPlayer;TargetAction TempBan %TargetText%Now im not too sure if it will handle the time correctly.. the way things need to be send to the sever is kind of odd and i dont know for sure it will be able to seperate the time out from that command... its more likely you will need to hard code a time in Code: On Say;Admin;!tban;TargetPlayer;TargetAction TempBan 3600 %TargetText% Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 23, 2014 Share Posted September 23, 2014 Originally Posted by Prime-Meridian*: People, tell me please how correctly to write this is the rule? Code: On Kill;Damage VehicleHeavy;Say %p% use Tnak and Bradley you can only when the on server four player kills[autokill];Killwhere it is necessary to put the icon for what would algorithm worked properly? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 23, 2014 Share Posted September 23, 2014 Originally Posted by LjMjollnir*: People, tell me please how correctly to write this is the rule? Code: On Kill;Damage VehicleHeavy;Say %p% use Tnak and Bradley you can only when the on server four player kills[autokill];Killwhere it is necessary to put the icon for what would algorithm worked properly?Judging by your previous posts you want this to work for BFBC2? i dont know what works and doesnt for that game.. but your rule is almost there Code: On Kill;If %n% < 2;Damage VehicleHeavy;Say %p% use Tank and Bradley you can only when the on server four player kills[autokill];KillI added the Red section.. that checks to see if the smallest team has atleast 2 players (2 per side is 4 players if balancing is working correctly...) if it doesnt it will kill people using VehicleHeavy (which i am not sure is supported in BFBC2).. test it.. if it doesnt work its probably that BfBc2 doesnt support such a rule. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 23, 2014 Share Posted September 23, 2014 Originally Posted by unconvincible*: Me again ... Someone any idea how to make a nuke? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 24, 2014 Share Posted September 24, 2014 Originally Posted by Prime-Meridian*: Judging by your previous posts you want this to work for BFBC2? i dont know what works and doesnt for that game.. but your rule is almost there Code: On Kill;If %n% < 2;Damage VehicleHeavy;Say %p% use Tank and Bradley you can only when the on server four player kills[autokill];KillI added the Red section.. that checks to see if the smallest team has atleast 2 players (2 per side is 4 players if balancing is working correctly...) if it doesnt it will kill people using VehicleHeavy (which i am not sure is supported in BFBC2).. test it.. if it doesnt work its probably that BfBc2 doesnt support such a rule.Thank you LjMjollnir , tomorrow I will test your's version of the rules. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 24, 2014 Share Posted September 24, 2014 Originally Posted by LjMjollnir*: Me again ... Someone any idea how to make a nuke?There is already a votenuke around here someplace... check the Insane Limits plugin (it handles things alot better then Proconrulz.. but is a little bit harder to work with) Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 24, 2014 Share Posted September 24, 2014 Originally Posted by Mooseca*: Hey guys I'm having a problem with proconrulz and bc2. Code: ####Mooseca's Teamkilling Setup WIP On TeamKill; Incr %teamkills% On TeamKill; If %teamkills% == 1; PlayerSay No teamkilling this is your first warning. On TeamKill; If %teamkills% == 2; PlayerSay No teamkilling this is your second warning. On TeamKill; If %teamkills% == 3; PlayerSay No teamkilling this is your third warning. On TeamKill; If %teamkills% == 4; PlayerSay No teamkilling this is your fourth and final warning. On TeamKill; If %teamkills% == 5; Kick You were kicked for too many teamkills. On Teamkill; Rate 4 240; TempBan 604800 Banned for teamkilling. (4 teamkills, 4 minutes) - If you think this is wrong visit www.rblclan.com #Teamkill counter reset On Round; Set %teamkills% 0 On Leave; Set %teamkills% 0For some reason when they get temp banned it appears twice in log and it removes itself. Any idea why? Code: [22:23:59 51] ProconRulz: Player METEC001 temp banned for 604800 seconds [22:23:59 52] ProconRulz: Player METEC001 temp banned for 604800 secondsCode: Banlist 09/24/2014 22:30:22 SYSOP GUIDTimedBanned EA_2D8767A245CAFF9CFC7179E1732A1FB3 [ Banned for teamkilling. (4 teamkills, 4 minutes) - If you think this is wrong visit www.rblclan.com] was banned from the server for 10080 minutes Banlist 09/24/2014 22:30:23 SYSOP GUIDTimedBanned EA_2D8767A245CAFF9CFC7179E1732A1FB3 [ Banned for teamkilling. (4 teamkills, 4 minutes) - If you think this is wrong visit www.rblclan.com] was banned from the server for 10080 minutesHe has now come and gone multiple times and is a right pain. ANy help is appreciated Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 24, 2014 Share Posted September 24, 2014 Originally Posted by Prime-Meridian*: Judging by your previous posts you want this to work for BFBC2? i dont know what works and doesnt for that game.. but your rule is almost there Code: On Kill;If %n% < 2;Damage VehicleHeavy;Say %p% use Tank and Bradley you can only when the on server four player kills[autokill];KillI added the Red section.. that checks to see if the smallest team has atleast 2 players (2 per side is 4 players if balancing is working correctly...) if it doesnt it will kill people using VehicleHeavy (which i am not sure is supported in BFBC2).. test it.. if it doesnt work its probably that BfBc2 doesnt support such a rule.Once again, thank you LjMjollnir, the algorithm works well. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 25, 2014 Share Posted September 25, 2014 Originally Posted by Hodor*: I want to make up to 16 players "Join message", but does not work ;( Code: On Join;If %p% < 16;Say %p% joining to the serverWhy this code doesn't works? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 25, 2014 Share Posted September 25, 2014 Originally Posted by ty_ger07*: I want to make up to 16 players "Join message", but does not work ;( Code: On Join;If %p% < 16;Say %p% joining to the serverWhy this code doesn't works?%p% is THIS specific player. Is this specific player a number? Are you '16'? There is no "serversize" variable, but teamsize should work for you. If server size is 16, team size should be around 8 if there are two teams. Code: On Join;Teamsize 8;Say %p% joining to the serverThe documentation says: "Teamsize ": smallest team has N or fewer players Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 25, 2014 Share Posted September 25, 2014 Originally Posted by Gazovik83*: hi guys. I ask for your help in creating a rule for idle time, depending on the amount of players e.g.: if the amount players is within from 0 to 26, the idle time is set for 86400 seconds and if the amount players is within from 26 to 32 or more, the idle time is set for 300 seconds this ...* not work thanks for the help Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 25, 2014 Share Posted September 25, 2014 Originally Posted by Hodor*: %p% is THIS specific player. Is this specific player a number? Are you '16'? There is no "serversize" variable, but teamsize should work for you. If server size is 16, team size should be around 8 if there are two teams. Code: On Join;Teamsize 8;Say %p% joining to the serverThe documentation says: "Teamsize ": smallest team has N or fewer players Displays this message if the server is more than 16 players, and I need that a message did not show if the server is more than 16 players. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 25, 2014 Share Posted September 25, 2014 Originally Posted by ty_ger07*: Displays this message if the server is more than 16 players, and I need that a message did not show if the server is more than 16 players.Yes, I know. You can try to do a lot of manual counting and still count wrong. Or just accept that the smallest team is 8 or less and call it close enough. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 25, 2014 Share Posted September 25, 2014 Originally Posted by Gazovik83*: hi guys. I ask for your help in creating a rule for idle time, depending on the amount of players e.g.: if the amount players is within from 0 to 26, the idle time is set for 86400 seconds and if the amount players is within from 26 to 32 or more, the idle time is set for 300 seconds this ...* not work thanks for the help no one will help? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 25, 2014 Share Posted September 25, 2014 Originally Posted by Hodor*: no one will help? page1/index.html* Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 25, 2014 Share Posted September 25, 2014 Originally Posted by Gazovik83*: page1/index.html*this decision but saw pile of plugins is not the best variantI'm looking for a solution for ProconRulz Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 26, 2014 Share Posted September 26, 2014 Originally Posted by LjMjollnir*: no one will help? Well waiting a little always helps .. Ty_ger07 and myself are generally the ones that helps people around here these days and i was asleep when you posted Code: On Leave;if %n% < 13;Exec vars.idleTimeout 86400 On Join;if %n% > 13;Exec vars.idleTimeout 300I dont exactly like this code.. but give it a go.. Proconrulz doesnt give an easy way to see total players it does give us %ts1% and %ts2% but i believe it fails with SQDM.. just the smallest team this is why im checking for 13 players (2x13 = 26.. if your balancing plugin is working correctly) Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 26, 2014 Share Posted September 26, 2014 Originally Posted by trans-am*: hi guys. I ask for your help in creating a rule for idle time, depending on the amount of players e.g.: if the amount players is within from 0 to 26, the idle time is set for 86400 seconds and if the amount players is within from 26 to 32 or more, the idle time is set for 300 seconds this ...* not work thanks for the help That not working, i use ...* instead Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 26, 2014 Share Posted September 26, 2014 Originally Posted by Gazovik83*: Well waiting a little always helps .. Ty_ger07 and myself are generally the ones that helps people around here these days and i was asleep when you posted Code: On Leave;if %n% < 13;Exec vars.idleTimeout 86400 On Join;if %n% > 13;Exec vars.idleTimeout 300I dont exactly like this code.. but give it a go.. Proconrulz doesnt give an easy way to see total players it does give us %ts1% and %ts2% but i believe it fails with SQDM.. just the smallest team this is why im checking for 13 players (2x13 = 26.. if your balancing plugin is working correctly)thnx work fine! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 26, 2014 Share Posted September 26, 2014 Originally Posted by bakust*: Hi guys, there is a code to kill someone if he spawn with flashbangs? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 26, 2014 Share Posted September 26, 2014 Originally Posted by ColColonCleaner*: Hi guys, there is a code to kill someone if he spawn with flashbangs?No, loadouts cant be detected. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 27, 2014 Share Posted September 27, 2014 Originally Posted by BUG*: Using a couple of rules to limit certain weapons and it seems to doing it's job to give them a temporary ban if used to kill a player. But under my banlist it doesn't add player names under the name column that i rather have and not in the reason column like now. Code: # NO FIM-92 STINGER On Kill;Weapon U_FIM92;PlayerCount 1;Log %p% Banned 24h for using FIM-92 STINGER;TempBan 86400 %p% FIM-92 STINGER On Kill;Weapon U_FIM92;PlayerSay %p% FIM-92 STINGER not allowed, next time ban will be issued.;Kill 100 http://i59.tinypic.com/2ce2lxe.jpg Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 27, 2014 Share Posted September 27, 2014 Originally Posted by ty_ger07*: Using a couple of rules to limit certain weapons and it seems to doing it's job to give them a temporary ban if used to kill a player. But under my banlist it doesn't add player names under the name column that i rather have and not in the reason column like now. Code: # NO FIM-92 STINGER On Kill;Weapon U_FIM92;PlayerCount 1;Log %p% Banned 24h for using FIM-92 STINGER;TempBan 86400 %p% FIM-92 STINGER On Kill;Weapon U_FIM92;PlayerSay %p% FIM-92 STINGER not allowed, next time ban will be issued.;Kill 100 http://i59.tinypic.com/2ce2lxe.jpg This is not a limitation of this plugin. EA GUID or PB GUID bans do not have names. If you want the player's name to be in the name collumn, you would need to do a name ban. The bad thing abojt name bans is that the player just needs to change their origin soldier name. So, GUID bans are used and the name is included in the comment for convenience. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 27, 2014 Share Posted September 27, 2014 Originally Posted by BUG*: This is not a limitation of this plugin. EA GUID or PB GUID bans do not have names. If you want the player's name to be in the name collumn, you would need to do a name ban. The bad thing abojt name bans is that the player just needs to change their origin soldier name. So, GUID bans are used and the name is included in the comment for convenience.Ok thx for explanation. Guess we cant get everything wish it still would added name in a proper place, imo would make more sense and easy to read and find players. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted September 28, 2014 Share Posted September 28, 2014 Originally Posted by Helskov*: Need some help to setup procon rules for my server. I want to set up Mortar limit. 1 Slot pr team. 2 punish before kick if no slot... We have today this limit on RconNet, but we are moving to Procon. But i cant figure out how to set this up. Also i have a problem with procon rulez. My server is running procon as a service on a Server 2003 R2. All my plugins are installed on the server. But when i connect to the layer from my desktop all rules gets removed because they not are configured on my desktop. Do i really have to configure the rulez on every machine that connects to the layer? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 1, 2014 Share Posted October 1, 2014 Originally Posted by bakust*: Guys, with latest patch flashbang are braincracker, there is a way to kill or kick someone that use it (instead if he kill or not)? 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.