Jump to content

Latency Manager (1.0.1.16) January 2017


ImportBot

Recommended Posts

Originally Posted by Zaeed*:

 

Basic information:

 

This plugin has two parts, a country based kicker, and a ping based kicker. The country kicker works as described here*.

 

The ping kicker has two methods of kicking, an instant kick, and an average kick. The average kick allows for you to define both the number of samples to use, and the minimum samples before acting on the average.

 

The plugin also has a trial version of a update notification system built in. If you decide to use it, you must first disable the sandbox mode. Messages will appear in the chat box, notifying you of an update to the plugin.

 

Ping wildcard for ping kick message is %ping%

Country wildcard for country kick message is %country%

 

 

Requirements:

Sandbox mode disabled for version control to work. If sandbox mode is enabled, the plugin will disable the version control.

 

Future Development:

- This is just in the drawing board phase, so input is more than welcomed. I envisage the plugin somehow handling the case when the server becomes laggy, and there are no more players to remove in an attempt to fix it. Perhaps something along the lines of triggering a server reboot when all players leave.

 

- Whitelist based on clan tag and reserved slots and country

 

- Disable kicking between two times

 

Installation:

- Extract CLatencyManager.cs into BF3 directory.

- Extract CLatencyManager.inc into Plugins folder

 

Current version:

1.0.1.16

 

Changelog:

1.0.1.16

- Fixed BF3 ping kicker

- Changed missing ping kicker with extra setting: start checking missing ping after x seconds:

 

Sometimes it takes a while for the players ping to appear, kicking them too soon (even during loading of the game.) With this setting you can control how long a player has to be in the server before the "missing ping check" starts. Players without ping will get several warning messages in ingame chat.

 

1.0.1.15

- Speeded up country kicker task

1.0.1.14

- Added option to disregard whitelist & player threshold for the country kicker.

 

1.0.1.13

- "No Ping" Kicker now checks the whitelist

 

1.0.1.11 -> 1.0.1.12

- Uncommented out kick function

1.0.1.10 -> 1.0.1.11

- Bug fixes

1.0.1.9 -> 1.0.1.10

- Fixed yell

- Switched to named kicks for BF4

1.0.1.7 -> 1.0.1.9

- Minor bug fix for issue with AdKats

1.0.1.6 -> 1.0.1.7

- Minor bug fix for poor BF4 leave logging

1.0.1.5 -> 1.0.1.6

- Minor bug fix for poor BF4 join logging

1.0.1.4 -> 1.0.1.5

- Added support for BF4

1.0.1.3 -> 1.0.1.4

- Added ability to kick players with no ping

1.0.1.2 -> 1.0.1.3

- Small bug fix

 

1.0.1.1 -> 1.0.1.2

- Small bug fix

 

1.0.1.0 -> 1.0.1.1

- Small bug fix

- Sorted Country List

 

1.0.0.1 -> 1.0.1.0

-Small performance gains

- Added Ingame messages

 

1.0.0.0 -> 1.0.0.1

Changed method of determining current player count

 

Download:

LatencyManager(1.0.1.16).zip

Attachment 4034

Attachment 3931

LatencyManager(1.0.1.13).zip

Download 1.0.1.12

 

Donations:

Donations for my work are more than welcome.

 

Posted Image

 

Thankyou to the following donators

ParaEXE

Yupster

IAF SDS

HexaCanon

kcuestag

xFaNtASyGiRLx

Blackis and clan =BF30=

GAZGAZ (www.big-team.ru)

jking54

_gp?

tonnic

EBassie

SnotGoblin

ixnorp

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

Originally Posted by kcuestag*:

 

Amazing, glad to be the first one to post here, thank you very much Zaeed!

 

Edit:

 

I love the "Minimum players before rule enforced", this allows me to set it to something like 35 so it doesn't kick people from America after midnight as those are the ones who normally keep my server alive at night!

 

This is great, will be testing the plugin tonight, thanks a lot, I will definitely donate for this.

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

Originally Posted by kcuestag*:

 

Cheers for that. Hopefully nothing goes wrong, but you never know.

So far so good, I use the Average ping, as I think a simple ping spike is easy to occur for a few seconds with some connections, and so far it's worked good, we had a player with 320 ping on our server and it kicked him after less than 30 seconds, I kept it on default (20 pings to sample for average and 2 minimum pings before kicking, ping limit at 250).

 

If I keep it set at "20", how often does it ping players? Wondering if 20 by default is a good number.

 

Thank you!

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

Originally Posted by Zaeed*:

 

So far so good, I use the Average ping, as I think a simple ping spike is easy to occur for a few seconds with some connections, and so far it's worked good, we had a player with 320 ping on our server and it kicked him after less than 30 seconds, I kept it on default (20 pings to sample for average and 2 minimum pings before kicking, ping limit at 250).

 

If I keep it set at "20", how often does it ping players? Wondering if 20 by default is a good number.

 

Thank you!

It checks the pings 10 seconds after admin.listPlayers is fired. So every 30seconds.

 

The 20 samples means that at most, only 20 values are being used to determine the average ping.

45|34|54|34|23|54|56|76|45|42|34|33|42|23|34

 

The two samples is the minimum needed before it determines what the average is able to kick based on that.

 

So in the above case of 15 samples, the average ping is

(45+34+54+34+23+54+56+76+45+42+34+33+42+23+34)/15 = 42

 

The two minimum would be 45 and 34, so the player would be first able to be kicked after the second was taken, and their average at that time would have been (45+34)/2 = 40

 

When the number of samples reaches the maximum set, i.e. 20, the first sample gets removed, and the latest one added. So you're always looking at the 20 latest pings.

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

Originally Posted by kcuestag*:

 

It checks the pings 10 seconds after admin.listPlayers is fired. So every 30seconds.

 

The 20 samples means that at most, only 20 values are being used to determine the average ping.

45|34|54|34|23|54|56|76|45|42|34|33|42|23|34

 

The two samples is the minimum needed before it determines what the average is able to kick based on that.

 

So in the above case of 15 samples, the average ping is

(45+34+54+34+23+54+56+76+45+42+34+33+42+23+34)/15 = 42

 

The two minimum would be 45 and 34, so the player would be first able to be kicked after the second was taken, and their average at that time would have been (45+34)/2 = 40

 

When the number of samples reaches the maximum set, i.e. 20, the first sample gets removed, and the latest one added. So you're always looking at the 20 latest pings.

Thanks for explaining it, seems to be working quite well.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Jaythegreat1*:

 

Seems like it still kick players even though I have it set at 48.

 

These kicks occurred

 

[19:07:44 46] Latency Manager: High average ping kick MadDog21589 (406)

[19:07:44 46] Latency Manager: High average ping kick riinsey (293)

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

Originally Posted by Zaeed*:

 

I *think* there is a bug in the method I use to determine the current player count.. I've shifted where it gets that value, just testing it now. if no problems found by 5pm (currently 10:40am) i'll post an update.

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

Originally Posted by EBassie*:

 

I *think* there is a bug in the method I use to determine the current player count.. I've shifted where it gets that value, just testing it now. if no problems found by 5pm (currently 10:40am) i'll post an update.

Let's see if we are able to kick some innocent bystander again :ohmy:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by kcuestag*:

 

I *think* there is a bug in the method I use to determine the current player count.. I've shifted where it gets that value, just testing it now. if no problems found by 5pm (currently 10:40am) i'll post an update.

Yeah, it's definitely broken, my server is now running rush with 30-35 players at the moment, I set it to minimum of 40 players before it enforces de ping rule, but still kicks people with above 200 ping.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by kcuestag*:

 

Done, redownload the plugin and see how it goes

Done, let's see how it goes, I'll report back!

 

I lowered the limit to 150 ping as I see no one with 200 or above right now so I set it to 150 to test it right now and let you know if it works.

* 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.