Page 1 of 1

[0.11.3] lag/stutter when enemy attacks

Posted: Mon Nov 17, 2014 11:26 pm
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.

Re: [0.11.3] lag/stutter when enemy attacks

Posted: Mon Nov 24, 2014 10:19 am
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.

Re: [0.11.3] lag/stutter when enemy attacks

Posted: Mon Nov 24, 2014 11:09 am
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)

Re: [0.11.3] lag/stutter when enemy attacks

Posted: Mon Nov 24, 2014 11:34 am
by kovarex
The question is, if the lag also occurs when you play alone (or in singlplayer), or just in multiplayer.

Re: [0.11.3] lag/stutter when enemy attacks

Posted: Mon Nov 24, 2014 11:52 am
by LoSboccacc
Just multiplayer, for both of us.


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