ImportBot Posted January 24, 2017 Author Share Posted January 24, 2017 Originally Posted by BitterLooter*: These may be your problem. Plugins in Procon execute in alphabetical order, the delay set in the limit needs to be long enough to ensure that it executes after UMM & xVotemap.Ok, so as a test, I disabled those plugins, restarted the layer and put this command in the console to test it: plugin.ServerCommand("mapList.runNextRound"); Didn't do anything. Map didn't change on the server. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 19, 2017 Author Share Posted May 19, 2017 Originally Posted by m1o2u3s4*: I want to switch this code from kick To block All explosives NOT KICK OR KILLING OR ROUND BAN /* Version: V0.8/R1 */ String kCounter = killer.Name + "_TreatAsOne_Count"; TimeSpan time = TimeSpan.FromSeconds(5); // Activations within 5 seconds count as 1 int warnings = 0; if (server.Data.issetInt(kCounter)) warnings = server.Data.getInt(kCounter); /* The first time through, warnings is zero. Whether this is an isolated activation or the first of a sequence of activations in a short period of time, do something on this first time through. */ String msg = "none"; if (warnings == 0) { msg = plugin.R("Attention %k_n%! Do not use %w_n%!"); // First warning message plugin.SendGlobalMessage(msg); plugin.PRoConChat("ADMIN > " + msg); server.Data.setInt(kCounter, warnings+1); return false; } /* The second and subsequent times through, check to make sure we are not getting multiple activations in a short period of time. Ignore if less than the time span required. */ if (limit.Activations(killer.Name, time) > 1) return false; /* We get here only if there was exactly one activation in the time span */ if (warnings == 1) { msg = plugin.R("FINAL WARNING %k_n%! Do not use %w_n%!"); // Second warning message plugin.SendGlobalMessage(msg); plugin.PRoConChat("ADMIN > " + msg); } else if (warnings >= 2) { msg = plugin.R("Kicking %k_n% for ignoring warnings and killing with %w_n%!"); plugin.SendGlobalMessage(msg); plugin.PRoConChat("ADMIN > " + msg); plugin.PRoConEvent(msg, "Insane Limits"); plugin.KickPlayerWithMessage(killer.Name, msg); } server.Data.setInt(kCounter, warnings+1); return false; Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted August 5, 2017 Author Share Posted August 5, 2017 Originally Posted by Link4134*: Where do I find a list of weapon names to use when limiting them? Thanks! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted August 5, 2017 Author Share Posted August 5, 2017 Originally Posted by Link4134*: Ok, so as a test, I disabled those plugins, restarted the layer and put this command in the console to test it: plugin.ServerCommand("mapList.runNextRound"); Didn't do anything. Map didn't change on the server. If you type mapList.runNextRound in the console it works. plugin.ServerCommand("text_here") tells insane limits to put text_here in the console. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted August 5, 2017 Author Share Posted August 5, 2017 Originally Posted by Chilace*: Where do I find a list of weapon names to use when limiting them? Thanks! Open file "\Procon\Configs\BF4.def"Search section where strings starts with "procon.protected.weapons" There are weapons with names and categories or go there showthread....s-BF3-BF4-BFHL* Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 17, 2018 Author Share Posted April 17, 2018 Originally Posted by spatieman*: could use some help with a hacked code here. To be sure that only platoon members can join our BF4 server i modded a kick script so that only players in the lists are able to join the server. Works like a charm ^^ evaluation: on join. Code: String msg = "This is a private platoon server, invite only,Have a nice day"; if (!plugin.isInList(player.Name, "private_list")) { plugin.KickPlayerWithMessage(player.Name, msg); } return false;How ever...i am not in for editing the perm memberlist,i added a seconds list as show below. for guest players i made a seconds list, ehm, but if a member joins, he get kicked. i am not that good, so what am i doing wrong so that both lists works properly. list 1 for members list 2 for guest players Code: String msg = "This is a private platoon server, invite only,Have a nice day"; if ((!plugin.isInList(player.Name, "private_list")) || (!plugin.isInList(player.Name, "private_list_guest"))) { plugin.KickPlayerWithMessage(player.Name, msg); } return false; Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 17, 2018 Author Share Posted April 17, 2018 Originally Posted by maxdralle*: could use some help with a hacked code here. To be sure that only platoon members can join our BF4 server i modded a kick script so that only players in the lists are able to join the server. Works like a charm ^^ evaluation: on join. Code: String msg = "This is a private platoon server, invite only,Have a nice day"; if (!plugin.isInList(player.Name, "private_list")) { plugin.KickPlayerWithMessage(player.Name, msg); } return false;How ever...i am not in for editing the perm memberlist,i added a seconds list as show below. for guest players i made a seconds list, ehm, but if a member joins, he get kicked. i am not that good, so what am i doing wrong so that both lists works properly. list 1 for members list 2 for guest players Code: String msg = "This is a private platoon server, invite only,Have a nice day"; if ((!plugin.isInList(player.Name, "private_list")) || (!plugin.isInList(player.Name, "private_list_guest"))) { plugin.KickPlayerWithMessage(player.Name, msg); } return false; Code: String msg = "This is a private platoon server, invite only,Have a nice day"; if ((!plugin.isInList(player.Name, "private_list")) && (!plugin.isInList(player.Name, "private_list_guest"))) { plugin.KickPlayerWithMessage(player.Name, msg); } return false; Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 17, 2018 Author Share Posted April 17, 2018 Originally Posted by spatieman*: Code: String msg = "This is a private platoon server, invite only,Have a nice day"; if ((!plugin.isInList(player.Name, "private_list")) && (!plugin.isInList(player.Name, "private_list_guest"))) { plugin.KickPlayerWithMessage(player.Name, msg); } return false; offcourse..i had to know it, your the man Maxdralle ! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 23, 2018 Author Share Posted July 23, 2018 Originally Posted by spatieman*: so, i tried to pimp a working script so that it also logs action. i revamped below code Code: name: making only headshots evaluation: on kill first_check_expression ( kill.Headshot == true) second_check_code String aimbotmsg = "banned for aimbot 10 headshots < 30 sec"; if ( limit.Activations(player.Name, TimeSpan.FromSeconds(30)) > 10 ) return true; plugin.PBBanPlayerWithMessage(PBBanDuration.Permanent, player.Name, 0, aimbotmsg); plugin.SendGlobalMessage(plugin.R("player.Name " + aimbotmsg)); plugin.Log("Plugins/insanelimits-aimbot.log", plugin.R("[%date% %time%] [%server_host%] [server.Name] [player.PBGuid] [%k_cn%] player.Name " + aimbotmsg)); plugin.PRoConChat(player.Name + aimbotmsg); return false;well, the loging inc messaging works, but it bans players (in this case it me it banned) after making 3 normal killsi am not a guru, but i have the feeling i make somewhere a mistake but cant see it. any advice to point me in the right direction? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 4, 2019 Author Share Posted February 4, 2019 Originally Posted by Hodor*: Hi, please tell me why limit not work for me, nothing in chat after spawn (BF3): ff1a4245e8.jpg e1d4e73d5d.jpg It is just for test but still does not want to work, i have more than 1 K/D in battlelog Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 4, 2019 Author Share Posted February 4, 2019 Originally Posted by maxdralle*: @Hodor all your settings locking good. in bf4 it works. normally in bf3 also, but i can not test it. do you have the latest plugin version 0.9.17.0? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 4, 2019 Author Share Posted February 4, 2019 Originally Posted by Hodor*: Yeah 0.9.17.0 Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 4, 2019 Author Share Posted February 4, 2019 Originally Posted by Hodor*: Maybe i have broken Battlelog Cache mysql table? Can you upload a table for Battlelog Cache here? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 4, 2019 Author Share Posted February 4, 2019 Originally Posted by Hodor*: I probably found the problem. At all players in table BattlelogCache in overviewStats "kdRatio":null! Always null at all players. Any fix? Fix for K/D: Code: ( player.Kills/player.Deaths > 1 )SOLVED Quote * Restored post. It could be that the author is no longer active. Link to comment
Hodor Posted September 18, 2019 Share Posted September 18, 2019 (edited) Hi. Does anyone know why whitelist is not working on these guid? (player.EAGuid != "EA_0EE7A4E0D6B830A6FF05DC99CA224672, EA_127B4FEA77014984D0F6E5DE2F35C9ED, EA_25CFDEDEB3ACF8D47B24CF9443BFB588") && ( player.Kills/player.Deaths > 10 || player.Time > 36000000 || player.Accuracy > 50 || player.Kills > 10000000 || player.Deaths > 10000000 || player.Spm > 4000 ) Edited September 18, 2019 by Hodor Quote Link to comment
Plugin Developer maxdralle Posted September 18, 2019 Plugin Developer Share Posted September 18, 2019 @hodor you have to check each eaguid separately. ((player.EAGuid != "EA_0EE7A4E0D6B830A6FF05DC99CA224672" && player.EAGuid != "EA_127B4FEA77014984D0F6E5DE2F35C9ED" && player.EAGuid != "EA_25CFDEDEB3ACF8D47B24CF9443BFB588")) && ( player.Kills/player.Deaths > 10 || player.Time > 36000000 || player.Accuracy > 50 || player.Kills > 10000000 || player.Deaths > 10000000 || player.Spm > 4000 ) Quote Link to comment
Hodor Posted September 18, 2019 Share Posted September 18, 2019 (edited) @maxdralle The code is too long, can it be shortened? Well for example do the ea_guid check somehow through a comma or | or put them in a file? Edited September 18, 2019 by Hodor Quote Link to comment
Plugin Developer maxdralle Posted September 18, 2019 Plugin Developer Share Posted September 18, 2019 (edited) you can use the "custom list" feature from insane limits. create a new list with the name "eaguid_whitelist". put all eaguids into this list (separated by " , "). then create a limit with this "expression": (!plugin.isInList(player.EAGuid, "eaguid_whitelist")) && ( player.Kills/player.Deaths > 10 || player.Time > 36000000 || player.Accuracy > 50 || player.Kills > 10000000 || player.Deaths > 10000000 || player.Spm > 4000 ) OR just whitelist all vips: (!plugin.GetReservedSlotsList().Contains(player.Name)) && ( player.Kills/player.Deaths > 10 || player.Time > 36000000 || player.Accuracy > 50 || player.Kills > 10000000 || player.Deaths > 10000000 || player.Spm > 4000 ) Edited September 18, 2019 by maxdralle Quote Link to comment
Hodor Posted December 28, 2019 Share Posted December 28, 2019 (edited) Probably problems with IL on procon version 1.5.3.0 Code: OnAnyChat first_check_expression: player.LastChat.StartsWith("/go") second_check_code: plugin.SendGlobalMessage(plugin.R("Hello world")); return false; Error: Version: InsaneLimits 0.9.17.0 Date: 28.12.2019 15:22:48 Data: System.IO.FileNotFoundException: Не удалось загрузить файл или сборку "InsaneLimits.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" либо одну из их зависимостей. Не удается найти указанный файл. Stack Trace: в System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType) в System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) в System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) в PRoConEvents.InsaneLimits.executeLimitCheck(Limit limit, String method, PlayerInfoInterface player, PlayerInfoInterface killer, PlayerInfoInterface victim, KillInfoInterface kill) в PRoConEvents.InsaneLimits.evaluateLimitChecks(Limit limit, PlayerInfoInterface player, PlayerInfoInterface killer, PlayerInfoInterface victim, KillInfoInterface kill) MSIL Stack Trace: Void GetSignature(Void*, Int32, System.RuntimeFieldHandleInternal, System.IRuntimeMethodInfo, System.RuntimeType), IL: 0xFFFFFFFF System.Object[] InvokeArgumentsCheck(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo), IL: 0x0 System.Object Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo), IL: 0x0 Boolean executeLimitCheck(Limit, System.String, PRoConEvents.PlayerInfoInterface, PRoConEvents.PlayerInfoInterface, PRoConEvents.PlayerInfoInterface, PRoConEvents.KillInfoInterface), IL: 0x93 Boolean evaluateLimitChecks(Limit, PRoConEvents.PlayerInfoInterface, PRoConEvents.PlayerInfoInterface, PRoConEvents.PlayerInfoInterface, PRoConEvents.KillInfoInterface), IL: 0x79 Edited December 28, 2019 by Hodor Quote Link to comment
TheTomik Posted January 2, 2020 Share Posted January 2, 2020 I got Problem after installing new ProCon Insane Limits is working but it doesn't do something What i can do? Quote Link to comment
tomopcver Posted January 9, 2020 Share Posted January 9, 2020 same here looks like new procon(1.530) is incompatible with IL Quote Link to comment
iamadeadpixel Posted January 9, 2020 Share Posted January 9, 2020 i can confirm it. we had last night a procon upgrade on the hoster to 1531 insane limits is not working any more,tought first i made some code isue, but even the simplest spam limit doesnt work. Quote Link to comment
Administrators Prophet731 Posted January 9, 2020 Administrators Share Posted January 9, 2020 2 hours ago, tomopcver said: same here looks like new procon(1.530) is incompatible with IL 2 minutes ago, iamadeadpixel said: i can confirm it. we had last night a procon upgrade on the hoster to 1531 insane limits is not working any more,tought first i made some code isue, but even the simplest spam limit doesnt work. Please see that. It's a known issue now. Quote The developer of the Battlefield Admin Control Panel (BFACP) For BFACP support please post in the BFACP topic linked above. Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues. Link to comment
iamadeadpixel Posted January 9, 2020 Share Posted January 9, 2020 thank you Prophet. Yes, we dont get the dump message, as above, IL runs, but nothing is active,cheers. Quote Link to comment
Plugin Developer maxdralle Posted January 9, 2020 Plugin Developer Share Posted January 9, 2020 looks like the limit compiling is not working with the new procon 15311. thats realy bad because g-portal updated all layers with this buggy version of procon. hopefully colcol finds a solution because insane limits is to important. this line triggers the error: Quote Link to comment
iamadeadpixel Posted January 9, 2020 Share Posted January 9, 2020 i guess most hosters did the upgrade job, as sayd, lets wait till the coders have time to fix it, the IRL has priority, hehe. Quote Link to comment
Administrators Prophet731 Posted January 9, 2020 Administrators Share Posted January 9, 2020 So, only solution is to just run that last 3.5 NET version for insane limits. Something from framework switch caused it to not work anymore. Until we can figure out a solution. Quote The developer of the Battlefield Admin Control Panel (BFACP) For BFACP support please post in the BFACP topic linked above. Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues. Link to comment
tomopcver Posted January 10, 2020 Share Posted January 10, 2020 (edited) I found temporary solution about this issue 1. launch procon 1.531 2. turn on the insane limits plugin 3.then shut down the procon( I recommend kill the task completely from task manager since it tends to stuck) 4.go to the Plugin/BF4 and replace the Insane Limit.dll for attached one 5.restart the procon and thats it Important: once you enabled insane limit plugin at the step 2, please do not turn off it until all step will complete Make sure you put the InsaneLimit.cs in the correct folder before trying this InsaneLimits.dll Edited January 10, 2020 by tomopcver fix typo and add some line Quote Link to comment
Hodor Posted January 16, 2020 Share Posted January 16, 2020 How to execute command from IL? It wont work: ExecuteCommand("procon.plugin.enable", "MULTIbalancer", "false"); return; i got this error: [04:55:33 84] [Insane Limits] Compiling Limit #1 - Name1 - OnIntervalServer [04:55:33 87] [Insane Limits] ERROR: 2 errors compiling Code [04:55:33 87] [Insane Limits] ERROR: (CS0103, line: 27, column: 13): The name 'ExecuteCommand' does not exist in the current context [04:55:33 87] [Insane Limits] ERROR: (CS0126, line: 28, column: 13): An object of a type convertible to 'bool' is required Quote Link to comment
Plugin Developer maxdralle Posted January 16, 2020 Plugin Developer Share Posted January 16, 2020 (edited) @hodor usually it is: plugin.ServerCommand("procon.plugin.enable","MULTIbalancer", "false"); but its not working. its a bug in the plugin. you found a way for a working insane limits for procon 1531? Edited January 16, 2020 by maxdralle Quote 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.