Page 1 of 1

Re: [0.9.0]Small stutter every few seconds

Posted: Fri Feb 28, 2014 12:32 pm
by kovarex
By the way, the engine now generates one chunk of map around the player (up to distance of 20 chunks) every 10 seconds.
Couldn't this be related?

Re: [0.9.0]Small stutter every few seconds

Posted: Fri Feb 28, 2014 6:37 pm
by DRBLN
I think, that is related.
I had a similar issue in 0.8.0

Re: [0.9.0]Small stutter every few seconds

Posted: Fri Feb 28, 2014 7:01 pm
by kovarex
DRBLN wrote:I think, that is related.
I had a similar issue in 0.8.0
But this was introduced in 0.9.

Anyway, the way to test it would be to force the engine to generate the map with something like (copy paste to console)

Code: Select all

local radius = 21*32; local position = game.player.character.position; game.player.force.chart{{position.x - radius, position.y - radius}, {position.x + radius, position.y + radius}}
Open the map and wait until it charts the square.
When it is finished, the stutter should no longer be there if the reason was this.

Re: [0.9.0]Small stutter every few seconds

Posted: Fri Feb 28, 2014 8:40 pm
by AlexPhoenix
Gammro, can you please provide specs of your PC(RAM, 32/64 bit, GPU RAM, OS ver) and factorio version(did you try 0.9.2?), i will try to reproduce slutter via virtual machine.

Re: [0.9.0]Small stutter every few seconds

Posted: Fri Feb 28, 2014 11:04 pm
by james123212
my game stutters about every 11 seconds can someone help me?
(I actually used my ipods stopwatch to count the time between stutters)

Re: [0.9.0]Small stutter every few seconds

Posted: Sat Mar 01, 2014 8:00 am
by kovarex
james123212 wrote:my game stutters about every 11 seconds can someone help me?
(I actually used my ipods stopwatch to count the time between stutters)
That is definitelly the world generation (every second 1 chunk is generated).

Try this:
kovarex wrote: Anyway, the way to test it would be to force the engine to generate the map with something like (copy paste to console)

Code: Select all

local radius = 21*32; local position = game.player.character.position; game.player.force.chart{{position.x - radius, position.y - radius}, {position.x + radius, position.y + radius}}
Open the map and wait until it charts the square.
When it is finished, the stutter should no longer be there if the reason was this.

Re: [0.9.0]Small stutter every few seconds

Posted: Wed Mar 05, 2014 11:40 pm
by Marqee
AlexPhoenix wrote:Gammro, can you please provide specs of your PC(RAM, 32/64 bit, GPU RAM, OS ver) and factorio version(did you try 0.9.2?), i will try to reproduce slutter via virtual machine.
0.9.2 ?
Where ?

Re: [0.9.0]Small stutter every few seconds

Posted: Fri May 16, 2014 9:59 am
by slpwnd
Kovarex fixed this for the 0.10. The world will be generated in a different thread.