[MOD] BasilMod::PingLimit - limit maximum allowed latency.

Place for sharing your game modifications for Life is Feudal: Your Own
User avatar
Custodian
Beta Tester
 
Posts: 579
Joined: 08 Jun 2015, 14:58
Location: Moscow

[MOD] BasilMod::PingLimit - limit maximum allowed latency.

Post by Custodian » 28 Aug 2015, 19:44

Greetings!

BasilMod::PingLimit allow server admin to limit maximum allowed player ping on the server.
This is server-side only mod.

LiF:YO is a network game, and peers with high latency can reduce joy of the game :evil:
This mod checks latency for player connection before character enters the world, once. It does not check or looks for network spikes during game session.
In general words, limit 1000+ms for players, and you are fine, you server will not stutter because of 'slow-internet-players'. :beer:

This mod is part of BasilMods pack.

Screenshots.
Spoiler

Installation and configuration
Spoiler
Last edited by Custodian on 21 Mar 2017, 16:12, edited 2 times in total.

User avatar
Malkom
Beta Tester
 
Posts: 50
Joined: 30 Sep 2014, 11:08

Re: [MOD] BasilMod::PingLimit - limit players ping.

Post by Malkom » 28 Aug 2015, 19:57

It would be helpful, thank you!


More mods for the God of mods :D
Image

User avatar
GruFF
Zealous Believer
 
Posts: 109
Joined: 20 Sep 2014, 02:06

Re: [MOD] BasilMod::PingLimit - limit maximum allowed latenc

Post by GruFF » 30 Aug 2015, 14:47

это супер


Qwetzalcoatl
 
Posts: 10
Joined: 31 Dec 2015, 18:34

Re: [MOD] BasilMod::PingLimit - limit maximum allowed latency.

Post by Qwetzalcoatl » 13 Jan 2016, 09:46

Hi,

Its possible if lot of player with bad ping, cause a latency server for all ?
And how to see the ping of the players?

User avatar
Custodian
Beta Tester
 
Posts: 579
Joined: 08 Jun 2015, 14:58
Location: Moscow

Re: [MOD] BasilMod::PingLimit - limit maximum allowed latency.

Post by Custodian » 12 Feb 2017, 16:23

BasilMod::PingLimit has been updated to v2 and now compatible with LiF 64bit.

User avatar
Ggarzelli
Zealous Believer
 
Posts: 88
Joined: 02 Jan 2016, 13:40

Re: [MOD] BasilMod::PingLimit - limit maximum allowed latency.

Post by Ggarzelli » 20 Mar 2017, 14:11

Would it kick out anyone using a lagswitch? If so it would be pretty awesome!
Technical GM of [ITA] Anno 1000 & [EU/FR/ITA] Legacyofblood

Image

User avatar
Custodian
Beta Tester
 
Posts: 579
Joined: 08 Jun 2015, 14:58
Location: Moscow

Re: [MOD] BasilMod::PingLimit - limit maximum allowed latency.

Post by Custodian » 21 Mar 2017, 09:48

Ggarzelli wrote:Would it kick out anyone using a lagswitch? If so it would be pretty awesome!

Mod does not control network spikes at this time, but such functionality can be added in next version.

User avatar
Ggarzelli
Zealous Believer
 
Posts: 88
Joined: 02 Jan 2016, 13:40

Re: [MOD] BasilMod::PingLimit - limit maximum allowed latency.

Post by Ggarzelli » 21 Mar 2017, 15:32

Thanks, we have issues with people using lagswitches during combat to gain advantages, being hit by 4 arrows in in nearly the same second is not fun.

I read up that this is not covered by the VAC Ban, so a tool that kicks anyone with a configurable lag (default 1000ms) would really be mana from heaven.

thanks again.
Technical GM of [ITA] Anno 1000 & [EU/FR/ITA] Legacyofblood

Image

User avatar
Custodian
Beta Tester
 
Posts: 579
Joined: 08 Jun 2015, 14:58
Location: Moscow

Re: [MOD] BasilMod::PingLimit - limit maximum allowed latency.

Post by Custodian » 21 Mar 2017, 16:09

BasilMod::PingLimit mod has been updated to v3.

Mod now can monitor average ping while player is connected to the server.
If ping exceeds allowed value for certain amount of checks in a row, player will be disconnected.

New configuration options:
Code: Select all
//Enable ping monitoring while player is connected to server
$BasilMod::pinglimit::monitorEnabled = true;
//Player ping monitoring interval. Value in ms.
$BasilMod::pinglimit::monitorInterval = 1000;
//Maximum ping value allowed by the server. Value in ms.
$BasilMod::pinglimit::monitorMaxPing = 800;
//If player ping exceeds monitorMaxPing for monitorCount times, player will be disconnected
$BasilMod::pinglimit::monitorCount = 2;

Return to LiF: YO Game mods