ImportBot Posted March 26, 2013 Author Share Posted March 26, 2013 Originally Posted by PapaCharlie9*: I didn't see why Cheat Detector can function effectively at 1 request per 30 seconds but not Insane Limits, especially when the only reason I would turn on stats fetching for IL is for the Bad TAG kicker. I figured if CD and TB are doing their job at 1 per 30, then I certainly didn't need IL to be at 7.5 per 30.Understandable assumptions which are, unfortunately, incorrect. It's apples and oranges. It's reasonable to compare IL with ProconRulz, since they are both meta-plugin platforms, but comparing IL to CD or TB just doesn't make sense. Single-function plugins don't need to meet the kinds of timing requirements that a plugin platform does. By analogy, if Procon itself updated all plugins only once in 30 seconds with new game server info, there wouldn't be many useful plugins. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 31, 2013 Author Share Posted March 31, 2013 Originally Posted by droopie*: ALL USERS OF INSANE LIMITS SHOULD UPGRADE TO THIS VERSION! Version 0.0.0.8 and earlier will no longer be supported. If you currently have the test version of patch 9.3 test revision 3 installed, you do not need to upgrade. That is the same version as the released version 0.0.9.3. HOW TO CLONE YOUR SETTINGS TO A NEW GAME SERVER If you add a new server or move your server to a new host (new IP address) and you don't want to re-enter all of your Insane Limits settings and long limits all over again, follow these steps. In all of the following, ip_port refers to the numbers in file names that correspond to your game server's IP address and port number, respectively. For example, if your game server's IP address is 65.122.92.255 and your port number is 48500, your ip_port would be 65.122.92.25_48500. The way Insane Limits works is that its general plugin settings are stored in procon/Configs/ip_port.cfg, like all other plugins. In those settings is a variable called "limits_file". That is the pointer to your limits and custom lists. By default, the name of that file is procon/Plugins/BF3/InsaneLimits?ip_port.conf. The general objective here is to copy and rename your old .conf file to a new .conf file and make the new .cfg file point at the new .conf file. 1) Make sure you have plugin logging enabled (Tools > Options > Basics tab > Logging: Enable plugin logging (checked)). Then quit Procon. 2) Navigate to your procon/Configs folder and make backup copies of all of your ip_port.cfg files. Personally, I just make a backup copy of the whole Configs folder. Navigate to your procon/Plugins/BF3 folder and make backup copies of all of your InsaneLimits?ip_port.conf files. Personally, I just make a backup copy of the whole Plugins folder. 3) Copy your old procon/Configs/OLDip_port.cfg file to a new procon/Configs/ip_port.cfg file for the new game server connnection. This will clone all of your settings for all plugins from the old server to the new. 4) Open your new (cloned) procon/Configs/ip_port.cfg file in Notepad (Vista or Server 2008 or later, must be a Unicode-aware text editor). 5) Find this line and delete it: Code: procon.protected.plugins.setVariable "InsaneLimits" "limits_file" "BASE64:UGx1Z2luc1xCRjNcSW5zYW5lTGltaXRzXzY3LjIxNS4yNDQuMTk4XzQ3MjAwLmNvbmY="Note: The value of the BASE64 will be different for you, that's fine. Note: it doesn't matter if you leave a blank line or not after deleting it, just make sure you don't accidentally delete anthing else. 6) Save the file and close Notepad. 7) Navigate back to procon/Plugins/BF3. Find the InsaneLimits?OLDip_port.conf file and copy it to a new file. Name the new file InsaneLimits?ip_port.conf of the new game server. If there is already a file with the new connection name, replace it with the copy. 10) Restart Procon. Now all your old limits and custom lists should appear in the new game server settings. If you get asked for the Privacy Policy at any step and you are sure you have already accepted it for that game server connection, disable Insane Limits, wait 60 seconds, enable it again. That should clear it. step 5.5 (if your on a layer) procon.protected.layer.enable True YOUR_LAYER_PORT "0.0.0.0" "%servername%" Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted March 31, 2013 Author Share Posted March 31, 2013 Originally Posted by droopie*: when using the log, i have something like this Log\server1\battlelogspm.txt what is the value to go by server ip so when im making backups i wont need to change it manually. so its always saved to each servers ip folder. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 2, 2013 Author Share Posted April 2, 2013 Originally Posted by PapaCharlie9*: when using the log, i have something like this Log\server1\battlelogspm.txt what is the value to go by server ip so when im making backups i wont need to change it manually. so its always saved to each servers ip folder.In limit code use server.Host and server.Port, e.g. Code: String path = "Log/" + server.Host + "_" + server.Port + "/battlelogspm.txt";In an Action, use %server_host% and %server_port%. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 4, 2013 Author Share Posted April 4, 2013 Originally Posted by p19blo*: i cant find out if its possible but ive just used meta bans on 2 of my servers but it only shows bans i do manually. is there any way for meta bans to show the bans my limits do ? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 4, 2013 Author Share Posted April 4, 2013 Originally Posted by PapaCharlie9*: i cant find out if its possible but ive just used meta bans on 2 of my servers but it only shows bans i do manually. is there any way for meta bans to show the bans my limits do ?Beats me. I don't know anything about Metabans. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 4, 2013 Author Share Posted April 4, 2013 Originally Posted by p19blo*: no worries. i'll scrap this idea then. shame the old plugin for this is obselete. will this showthread....ll=1#post41944* still work on this version of limits? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 4, 2013 Author Share Posted April 4, 2013 Originally Posted by PapaCharlie9*: no worries. i'll scrap this idea then. shame the old plugin for this is obselete. will this showthread....ll=1#post41944* still work on this version of limits? Yes, that should still work. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 8, 2013 Author Share Posted April 8, 2013 Originally Posted by llB00Nll*: Im new to running a BF3 server and am wondering if this plugin can also kick on a predefined skill level of say around 700-800 ? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 8, 2013 Author Share Posted April 8, 2013 Originally Posted by HexaCanon*: Im new to running a BF3 server and am wondering if this plugin can also kick on a predefined skill level of say around 700-800 ?yes it can. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 8, 2013 Author Share Posted April 8, 2013 Originally Posted by llB00Nll*: Thanks for the response, Im finding it a bit difficult to find the documentation on what that code or expression would be thou. I have managed to install the plugin and set up a new limit but lost on what code/expression to use and put where. Any advice/help would be greatly appreciated ,thanks. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 8, 2013 Author Share Posted April 8, 2013 Originally Posted by HexaCanon*: Thanks for the response, Im finding it a bit difficult to find the documentation on what that code or expression would be thou. I have managed to install the plugin and set up a new limit but lost on what code/expression to use and put where. Any advice/help would be greatly appreciated ,thanks. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 9, 2013 Author Share Posted April 9, 2013 Originally Posted by p19blo*: I use a limit that kicked/banned players once they reached an amount of kills. I've tried to remove the kick part and only use the ban once the limit is reached but it doesnt work. I'm not clever when it comes to making this code, does anyone have an example i could use so it banned for first warning instead of the kick for first warning. Thanks Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 9, 2013 Author Share Posted April 9, 2013 Originally Posted by HexaCanon*: I use a limit that kicked/banned players once they reached an amount of kills. I've tried to remove the kick part and only use the ban once the limit is reached but it doesnt work. I'm not clever when it comes to making this code, does anyone have an example i could use so it banned for first warning instead of the kick for first warning. Thanks all stuff related to creating a limit should be in Insane Limits - Requests *. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 9, 2013 Author Share Posted April 9, 2013 Originally Posted by p19blo*: all stuff related to creating a limit should be in Insane Limits - Requests *.realised that after i posted this. but didnt want to spam. anyways ive done as youve said,thanks Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 10, 2013 Author Share Posted April 10, 2013 Originally Posted by Largo*: Looked at the objects and in other people's example code and enhancements but I can't seem to find a way to display Flag details for CTF games. I want to print out something like team1.Flags / server.FlagsCount but can't find a way to do it. Tickets just returns NaN which is strange since I'm just printing it out, not using it as a number, unless that's something on the Plugin side throwiing it out as a Number instead of a string maybe? Just speculation. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 10, 2013 Author Share Posted April 10, 2013 Originally Posted by PapaCharlie9*: Looked at the objects and in other people's example code and enhancements but I can't seem to find a way to display Flag details for CTF games. I want to print out something like team1.Flags / server.FlagsCount but can't find a way to do it. Tickets just returns NaN which is strange since I'm just printing it out, not using it as a number, unless that's something on the Plugin side throwiing it out as a Number instead of a string maybe? Just speculation. It's a known game server issue for CTF. No information about flags, or tickets for that matter, is returned by the server. I can't really define properties for information that I'm not provided in the first place. Assuming the game server is updated to return the flag count as if they were tickets in TDM, you'll be able to get the flag counts with the various Ticket properties. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 18, 2013 Author Share Posted April 18, 2013 Originally Posted by TMiland*: Is it possible to make the plugin NOT delete everything everytime i restart my layer? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 18, 2013 Author Share Posted April 18, 2013 Originally Posted by PapaCharlie9*: Is it possible to make the plugin NOT delete everything everytime i restart my layer?Yes. Some diagnosis will be necessary to isolate the problem. Start here: myrcon.net/...insane-limits-requests#entry26448 And just to be clear, the plugin doesn't delete anything. Losing settings and/or limits is a symptom of another problem, as described in the linked post. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 23, 2013 Author Share Posted April 23, 2013 Originally Posted by TMiland*: Yes. Some diagnosis will be necessary to isolate the problem. Start here: myrcon.net/...insane-limits-requests#entry26448 And just to be clear, the plugin doesn't delete anything. Losing settings and/or limits is a symptom of another problem, as described in the linked post. Thanks for answering! Unfortunately none of what you linked to is my problem. I am renting the layers at gameservers.com, don't know if that is an issue? I restarted the layer yesterday, and the limits are gone again, and i have to accept the privacy_policy_agreement thing. Getting really tired of entering the limits everytime i restart the layer... What other things might this be? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 24, 2013 Author Share Posted April 24, 2013 Originally Posted by PapaCharlie9*: Thanks for answering! Unfortunately none of what you linked to is my problem. I am renting the layers at gameservers.com, don't know if that is an issue? I restarted the layer yesterday, and the limits are gone again, and i have to accept the privacy_policy_agreement thing. Getting really tired of entering the limits everytime i restart the layer... What other things might this be? Try this: when you restart and are asked the privacy policy again, don't answer it. Instead, disable Insane Limits, select another plugin so that different settings show in the tab, then select Insane Limits again and enable it. That might clear things up. After you've entered your limits, find your InsaneLimits_ip_port.conf file like the link explains. If you save a copy of the file away someplace safe, you'll never have to re-enter your limits again. The trick is to get Procon to find it again. That's what the other part of the linked instructions are about: delving into your Procon ip_port.cfg file and finding the line that references your limits file: Code: procon.protected.plugins.setVariable "InsaneLimits" "limits_file" ...Make sure all the ip_port parts of your file names match up, digit for digit. Any discrepancy between those names will cause your limits to disappear. Deleting the line in your .cfg file will regenerate the link to match your game server's ip_port, and then if your .conf file's name has the same ip_port, Procon should find it the next time you restart. If you change any of the files described above, you might get the privacy policy again. Do the same disable/select other/reselect/enable pattern again. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 26, 2013 Author Share Posted April 26, 2013 Originally Posted by TMiland*: Try this: when you restart and are asked the privacy policy again, don't answer it. Instead, disable Insane Limits, select another plugin so that different settings show in the tab, then select Insane Limits again and enable it. That might clear things up. After you've entered your limits, find your InsaneLimits_ip_port.conf file like the link explains. If you save a copy of the file away someplace safe, you'll never have to re-enter your limits again. The trick is to get Procon to find it again. That's what the other part of the linked instructions are about: delving into your Procon ip_port.cfg file and finding the line that references your limits file: Code: procon.protected.plugins.setVariable "InsaneLimits" "limits_file" ...Make sure all the ip_port parts of your file names match up, digit for digit. Any discrepancy between those names will cause your limits to disappear. Deleting the line in your .cfg file will regenerate the link to match your game server's ip_port, and then if your .conf file's name has the same ip_port, Procon should find it the next time you restart. If you change any of the files described above, you might get the privacy policy again. Do the same disable/select other/reselect/enable pattern again. Thank you for the answer! I think i found the problem, and that was the .cfg file, it was named as the layer ip : port not the server ip : port! Lets hope it works! Thanks! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 29, 2013 Author Share Posted April 29, 2013 Originally Posted by russel5*: Hi, i have a little problem with this plugin. I bought the procon layer on Gamed!de and they have this plug-in is not supported, because they have is limited to the plug-ins (all plugins in sandbox mode). allways have this messages when activated plugin Code: System.Security.SecurityException: Fehler bei der Anforderung des Berechtigungstyps "System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".is it possible to use this plug-in sandbox mode?Or advise the good provider that has a MySQL with Procon. Thank you. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 30, 2013 Author Share Posted April 30, 2013 Originally Posted by PapaCharlie9*: is it possible to use this plug-in sandbox mode?No, sorry. Insane Limits will not work in sandbox mode. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 30, 2013 Author Share Posted April 30, 2013 Originally Posted by russel5*: advise the good provider that has a MySQL with ProconPlease Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 30, 2013 Author Share Posted April 30, 2013 Originally Posted by M4thoTiX*: Hi guys I've written a limit and need ur help: Its triggered "OnRoundEnd" and first check is Code: List<PlayerInfoInterface> players = new List<PlayerInfoInterface>(); players.AddRange(team1.players); players.AddRange(team2.players); Dictionary<String,int> PlayerTimes = new Dictionary<String,int>(); StreamReader sr = new StreamReader("Logs/ActivityLog.txt"); while(sr.ReadLine() != null){ String[] player = sr.ReadLine().Split(' '); PlayerTimes.Add(player[0],int.Parse(player[1])); } sr.Close(); File.Delete("Logs/ActivityLog.txt"); List<String> pl = new List<String>(PlayerTimes.Keys); int Time; foreach(PlayerInfoInterface p in players){ foreach(String pp in pl){ if(p.FullName == pp){ Time = PlayerTimes[pp] + Convert.ToInt32(p.TimeRound); pl.Remove(pp); }else{ Time = Convert.ToInt32(p.TimeRound); } plugin.Log("Logs/ActivityLog.txt",Convert.ToString(Time)); } } foreach(String p in pl){ plugin.Log("Logs/ActivityLog.txt",p + " " + PlayerTimes[p]); }Can u please take a look on my code and tell me why it is not working. Thanks M4thoTiX Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted April 30, 2013 Author Share Posted April 30, 2013 Originally Posted by PapaCharlie9*: Can u please take a look on my code and tell me why it is not working. Thanks M4thoTiX What exactly doesn't work? Maybe your file path is wrong? The path used in plugin.Log probably won't work with StreamReader and File.Delete. The plugin.Log function adds "procon/" to the front. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 1, 2013 Author Share Posted May 1, 2013 Originally Posted by M4thoTiX*: What exactly doesn't workthe limit gets not activated at the end of the round Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 1, 2013 Author Share Posted May 1, 2013 Originally Posted by PapaCharlie9*: the limit gets not activated at the end of the roundAdd Code: plugin.ConsoleWrite("Updating activity log");before the first line of code, and change the last foreach loop to this: Code: foreach(String p in pl){ plugin.Log("Logs/ActivityLog.txt",p + " " + PlayerTimes[p]); plugin.ConsoleWrite(p + " " + PlayerTimes[p]); }If the limit it working/activating, you will write out the log information to plugin.log as well, so you can see if it is working or not. That should help you debug the problem. You can remove those lines after you fix it. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted May 1, 2013 Author Share Posted May 1, 2013 Originally Posted by M4thoTiX*: Add Code: plugin.ConsoleWrite("Updating activity log"); is the only thing what is happening 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.
Note: Your post will require moderator approval before it will be visible.