Multiplayer lag in a LAN setup

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Kastro
Manual Inserter
Manual Inserter
Posts: 1
Joined: Thu Dec 08, 2016 6:59 pm
Contact:

Multiplayer lag in a LAN setup

Post by Kastro »

Hey all,
We've been trying to play some Factorio via LAN, but have had a surprising amount of problems with lag on the client computer. The lag is most noticeable when shooting; it kind of rubber bands the player around. My understanding from multiple searches in this forum is that this is a product of the latency compensation not being active for certain actions (like shooting), but it seems like quite a bit of lag considering we're on the same network and the client ping is usually <10.

Some of the issue I've had researching this problem is that a lot of the info appears to only be relevant to older builds of the game, like changing the latency compensation slider, so I'm kind of stuck on what to try next.

I set up port forwarding, but it seems like it had no effect. A question about that though, should the port forwarding always be pointed at the IP of the server host computer? Do I need to change ports on any of the client computers in the config file? I'm not knowledgable about networking, but I can follow instructions. Are there other things I can try ?



Additional info:
I have 3 computers and 2 copies of Factorio on separate Steam accounts. 2 of the computers are Macs, but both are new and can easily run the game. The PC is a gaming rig and has even fewer issues running it. I've tried changing the host to each of the 3 computers, with no improvement for the client. I've tried running a headless Windows server on the gaming PC, and connecting with the 2 other computers, with no improvement. I've also connected to public games online and had the same issue with each of the 3 computers.
*Edit: I currently have the 2 Macs running without firewalls for testing purposes, but have seen no improvement.

The whole system is wireless, but my router is a Netgear R6400 and seems like it should be fast enough (pings are excellent).

Appreciate any help.
Loewchen
Global Moderator
Global Moderator
Posts: 10262
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Multiplayer lag in a LAN setup

Post by Loewchen »

Upload the log after a session (see my signature).
Kastro wrote:... but it seems like quite a bit of lag considering we're on the same network and the client ping is usually <10.
How did you determine the latency? Is this the value of the ingame debug setting?
Post Reply

Return to “Technical Help”