is there a way to filter players with high latency when hosting a server?
starting a Co-Op group, and want to keep it fairly local. (east coast/mid west US)
thanks
filter high ping/latency players? (0.14.7)
- impetus maximus
- Smart Inserter
- Posts: 1299
- Joined: Sat Aug 20, 2016 10:07 pm
- Contact:
Re: filter high ping/latency players? (0.14.7)
You could block IP addresses from outside that region in a firewall (iptables for example). There was a site capable of generating lists of IP ranges for countries, I don't remember where. You could also extract the data (or read it dynamically) from Maxmind's free geoip database.
Not knowing much about Factorio's mod system, that's the only way I can think of. I suppose if you can get the ping from the game for each player, you can also kick them automatically.
Not knowing much about Factorio's mod system, that's the only way I can think of. I suppose if you can get the ping from the game for each player, you can also kick them automatically.
- impetus maximus
- Smart Inserter
- Posts: 1299
- Joined: Sat Aug 20, 2016 10:07 pm
- Contact:
Re: filter high ping/latency players? (0.14.7)
damn, was hoping there was a setting i could change in vanilla.
thanks for the ideas. maybe i'll suggest it as a feature to the developers.
thanks for the ideas. maybe i'll suggest it as a feature to the developers.
Re: filter high ping/latency players? (0.14.7)
Factorio mods can't ban or kick players, or even get the ping of each player. Mods can only alter gameplay. (In Factorio 0.13.20)luc wrote:You could block IP addresses from outside that region in a firewall (iptables for example). There was a site capable of generating lists of IP ranges for countries, I don't remember where. You could also extract the data (or read it dynamically) from Maxmind's free geoip database.
Not knowing much about Factorio's mod system, that's the only way I can think of. I suppose if you can get the ping from the game for each player, you can also kick them automatically.
You can find the proof in your Factorio's root file\doc-html\LuaPlayer.html
It lists every way mods can interact with players.
Re: filter high ping/latency players? (0.14.7)
Okay, thanks for the info and link.
For the record, I'm kinda against geoblocking. Choosing a team in/around a specific timezone for coordination reasons (so that you're online around the same time) makes sense, but especially in 0.14 outright blocking of poor/distant connections is a bit unnecessary. If you choose to do so, at least include it in the tags or description so that people know (something like "US exclusive" or "US east only"). Then 1) people can see and 2) In case more servers start doing this, they can be hidden from people who wouldn't be able to connect anyway.
For the record, I'm kinda against geoblocking. Choosing a team in/around a specific timezone for coordination reasons (so that you're online around the same time) makes sense, but especially in 0.14 outright blocking of poor/distant connections is a bit unnecessary. If you choose to do so, at least include it in the tags or description so that people know (something like "US exclusive" or "US east only"). Then 1) people can see and 2) In case more servers start doing this, they can be hidden from people who wouldn't be able to connect anyway.
- impetus maximus
- Smart Inserter
- Posts: 1299
- Joined: Sat Aug 20, 2016 10:07 pm
- Contact:
Re: filter high ping/latency players? (0.14.7)
i have nothing against EU players, it's just packets jumping across oceans affects game play.
my server (if i can get it running) will say it's for US east coast/mid west players.
a message to players "you have been kicked for high ping" would be good.
my server (if i can get it running) will say it's for US east coast/mid west players.
a message to players "you have been kicked for high ping" would be good.
Re: filter high ping/latency players? (0.14.7)
I doubt that this board is read by the devs... you might write that into Suggestions board.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
- impetus maximus
- Smart Inserter
- Posts: 1299
- Joined: Sat Aug 20, 2016 10:07 pm
- Contact:
Re: filter high ping/latency players? (0.14.7)
donessilk wrote:I doubt that this board is read by the devs... you might write that into Suggestions board.
