[0.11.3] lag/stutter when enemy attacks

Bugs that are actually features.
LoSboccacc
Filter Inserter
Filter Inserter
Posts: 253
Joined: Wed Feb 20, 2013 9:35 pm
Contact:

[0.11.3] lag/stutter when enemy attacks

Post by LoSboccacc »

I believe there is more than just synchronization going on when the enemy attacks.

I am playing with a friend over a not so fast internet connection, and we were observing some lag when enemy started to move toward our base.

at first I thought it was normal, we are kind of pushing the envelop here, playing across Europe over the bad internets.


However, today we got to tanks and we went to clean biter spawn, some small, some bigger with up to 20 spawners active throwing biters at us.

the fact is, when those masses of biters pathfind they do not cause any lag nor any decrease in performance

I find it very strange that when enemy move to the base they cause such a massive lag spike, especially because I remember one of past blog about them having group pathfinding and pathfinding should be deterministic enough that it can be calculated independently on each client.

reporting because maybe there is something lurking below in how pathfind is executed and synchronized across clients during an attack.
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.11.3] lag/stutter when enemy attacks

Post by kovarex »

The lag related to pathfinding most probably (99%) has nothing to do with the multiplayer connection rate, as it is really executed on all machines and no extra data is sent.

The problem probably is, that the other player just have low cpu and can't handle the computations as needed.
LoSboccacc
Filter Inserter
Filter Inserter
Posts: 253
Joined: Wed Feb 20, 2013 9:35 pm
Contact:

Re: [0.11.3] lag/stutter when enemy attacks

Post by LoSboccacc »

Please reconsider. I have a core i7 and he he has a desktop core i5, both of them very fast and there is zero lag on both our pc while playing single player.

As you say this shouldn't happen, and this is why it should be looked into. (Not demanind it to be top priority, just making a case against disregarding it completely)
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.11.3] lag/stutter when enemy attacks

Post by kovarex »

The question is, if the lag also occurs when you play alone (or in singlplayer), or just in multiplayer.
LoSboccacc
Filter Inserter
Filter Inserter
Posts: 253
Joined: Wed Feb 20, 2013 9:35 pm
Contact:

Re: [0.11.3] lag/stutter when enemy attacks

Post by LoSboccacc »

Just multiplayer, for both of us.


And it started from the beginning, it wasn't a late game condition.
Post Reply

Return to “Not a bug”