Page 1 of 1

[0.11.16] Large map or forces.player.chart low performance.

Posted: Mon Mar 09, 2015 1:11 pm
by DRE
I explored some part of map manually and later typed
"/c game.forces.player.chart({lefttop = {x = -3024, y = -3024}, rightbottom = {x = 3024, y = 3024}})" In console.

This really slowed down the frame rate.
I have powerful CPU and GPU, so the problem is not about PC performance.
I don`t know, is this "game.forces.player.chart()" function bug, or it is the result of the size of explored area.

Looked at debug info - the is some work of map generator, but fps remains low even after map generator completed it`s job,
seems that "Chart update" consumes the most of time.

Task manager shows one CPU core fully loaded.

[Added after]
As always after I post the problem - I figure out more about it.
It is the endless work of game.forces.player.chart function, I doesn`t open required area fully, and just comsumes CPU.

Re: [0.11.16] Large map or forces.player.chart low performance.

Posted: Mon Mar 09, 2015 5:55 pm
by kovarex
Yes, I knew about the problem, as I encountered it myself, but I said to myself, I will not bother fixing it until someone asks for it :)

So it is fixed for 0.11.18

Re: [0.11.16] Large map or forces.player.chart low performance.

Posted: Mon Mar 09, 2015 8:34 pm
by DRE
Thank you 8-)

Re: [0.11.16] Large map or forces.player.chart low performance.

Posted: Tue Mar 10, 2015 7:00 am
by Alekthefirst
kovarex wrote:So it is fixed for 0.11.18
You are my hero now!