Jump to content

Insane Limits (0.9.17.0 - 30-MAR-2015) + BFHL


ImportBot

Recommended Posts

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.
* Restored post. It could be that the author is no longer active.
Link to comment

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%"
* Restored post. It could be that the author is no longer active.
Link to comment

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.

* Restored post. It could be that the author is no longer active.
Link to comment

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%.
* Restored post. It could be that the author is no longer active.
Link to comment

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 ?

* Restored post. It could be that the author is no longer active.
Link to comment

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.
* Restored post. It could be that the author is no longer active.
Link to comment

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?

* Restored post. It could be that the author is no longer active.
Link to comment

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.
* Restored post. It could be that the author is no longer active.
Link to comment

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.

* Restored post. It could be that the author is no longer active.
Link to comment

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.

* Restored post. It could be that the author is no longer active.
Link to comment

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

* Restored post. It could be that the author is no longer active.
Link to comment

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 *.
* Restored post. It could be that the author is no longer active.
Link to comment

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
* Restored post. It could be that the author is no longer active.
Link to comment

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.

* Restored post. It could be that the author is no longer active.
Link to comment

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.

* Restored post. It could be that the author is no longer active.
Link to comment

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.

* Restored post. It could be that the author is no longer active.
Link to comment

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? :huh:

* Restored post. It could be that the author is no longer active.
Link to comment

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? :huh:

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.

* Restored post. It could be that the author is no longer active.
Link to comment

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! :biggrin:

 

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! :smile:

* Restored post. It could be that the author is no longer active.
Link to comment

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.

* Restored post. It could be that the author is no longer active.
Link to comment

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

* Restored post. It could be that the author is no longer active.
Link to comment

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.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

the limit gets not activated at the end of the round

Add

 

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.
* Restored post. It could be that the author is no longer active.
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Our picks

    • Game Server Hosting:

      We're happy to announce that EZRCON will branch out into the game server provider scene. This is a big step for us so please having patience if something doesn't go right in this area. Now, what makes us different compared to other providers? Well, we're going with the idea of having a scaleable server hosting and providing more control in how you set up your server. For example, in Minecraft, you have the ability to control how many CPU cores you wish your server to have access to, how much RAM you want to use, how much disk space you want to use. This type of control can't be offered in a single service package so you're able to configure a custom package the way you want it.

      You can see all the available games here. Currently, we have the following games available.

      Valheim (From $1.50 USD)


      Rust (From $3.20 USD)


      Minecraft (Basic) (From $4.00 USD)


      Call of Duty 4X (From $7.00 USD)


      OpenTTD (From $4.00 USD)


      Squad (From $9.00 USD)


      Insurgency: Sandstorm (From $6.40 USD)


      Changes to US-East:

      Starting in January 2022, we will be moving to a different provider that has better support, better infrastructure, and better connectivity. We've noticed that the connection/routes to this location are not ideal and it's been hard getting support to correct this. Our contract for our two servers ends in March/April respectively. If you currently have servers in this location you will be migrated over to the new provider. We'll have more details when the time comes closer to January. The new location for this change will be based out of Atlanta, GA. If you have any questions/concerns please open a ticket and we'll do our best to answer them.
      • 5 replies
    • Hello All,

      I wanted to give an update to how EZRCON is doing. As of today we have 56 active customers using the services offered. I'm glad its doing so well and it hasn't been 1 year yet. To those that have services with EZRCON, I hope the service is doing well and if not please let us know so that we can improve it where possible. We've done quite a few changes behind the scenes to improve the performance hopefully. 

      We'll be launching a new location for hosting procon layers in either Los Angeles, USA or Chicago, IL. Still being decided on where the placement should be but these two locations are not set in stone yet. We would like to get feedback on where we should have a new location for hosting the Procon Layers, which you can do by replying to this topic. A poll will be created where people can vote on which location they would like to see.

      We're also looking for some suggestions on what else you would like to see for hosting provider options. So please let us know your thoughts on this matter.
      • 4 replies
    • Added ability to disable the new API check for player country info


      Updated GeoIP database file


      Removed usage sending stats


      Added EZRCON ad banner



      If you are upgrading then you may need to add these two lines to your existing installation in the file procon.cfg. To enable these options just change False to True.

      procon.private.options.UseGeoIpFileOnly False
      procon.private.options.BlockRssFeedNews False



       
      • 2 replies
    • I wanted I let you know that I am starting to build out the foundation for the hosting services that I talked about here. The pricing model I was originally going for wasn't going to be suitable for how I want to build it. So instead I decided to offer each service as it's own product instead of a package deal. In the future, hopefully, I will be able to do this and offer discounts to those that choose it.

      Here is how the pricing is laid out for each service as well as information about each. This is as of 7/12/2020.

      Single MySQL database (up to 30 GB) is $10 USD per month.



      If you go over the 30 GB usage for the database then each additional gigabyte is charged at $0.10 USD each billing cycle. If you're under 30GB you don't need to worry about this.


      Databases are replicated across 3 zones (regions) for redundancy. One (1) on the east coast of the USA, One (1) in Frankfurt, and One (1) in Singapore. Depending on the demand, this would grow to more regions.


      Databases will also be backed up daily and retained for 7 days.




      Procon Layer will be $2 USD per month.


      Each layer will only allow one (1) game server connection. The reason behind this is for performance.


      Each layer will also come with all available plugins installed by default. This is to help facilitate faster deployments and get you up and running quickly.


      Each layer will automatically restart if Procon crashes. 


      Each layer will also automatically restart daily at midnight to make sure it stays in tip-top shape.


      Custom plugins can be installed by submitting a support ticket.




      Battlefield Admin Control Panel (BFACP) will be $5 USD per month


      As I am still working on building version 3 of the software, I will be installing the last version I did. Once I complete version 3 it will automatically be upgraded for you.





      All these services will be managed by me so you don't have to worry about the technical side of things to get up and going.

      If you would like to see how much it would cost for the services, I made a calculator that you can use. It can be found here https://ezrcon.com/calculator.html

       
      • 11 replies
    • I have pushed out a new minor release which updates the geodata pull (flags in the playerlisting). This should be way more accurate now. As always, please let me know if any problems show up.

       
      • 9 replies
×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.