Page 1 of 1

[1.1.5] show-active-entities-on-chunk-counts doesn't show red counts any more

Posted: Fri Dec 04, 2020 5:46 pm
by Stevetrov
What did you do?

turned on "show-active-entities-on-chunk-counts" debug option.

What happened?
I saw the blue and green counts (the ones for conditionally active entities) but the red count isn't visible

What did you expect to happen instead? It might be obvious to you, but do it anyway!
Expected to see counts of active entities in my factory in red.

Re: [1.1.5] show-active-entities-on-chunk-counts doesn't show red counts any more

Posted: Fri Dec 04, 2020 5:54 pm
by boskid
Thanks for the report. This is Not a bug. They were removed in 1.1.0 due to change:
Overall small entity update time reduction + statistics of how much update time is taken by individual entities.

Re: [1.1.5] show-active-entities-on-chunk-counts doesn't show red counts any more

Posted: Thu Mar 31, 2022 5:59 pm
by Icnivad
Can you elaborate on this change? I'm unclear why that would affect this debug feature and what other methods exist to find active entities in leu of this feature.

Re: [1.1.5] show-active-entities-on-chunk-counts doesn't show red counts any more

Posted: Thu Mar 31, 2022 6:10 pm
by disentius
If you remove something, remove it from the debug menu too, maybe? :)

Re: [1.1.5] show-active-entities-on-chunk-counts doesn't show red counts any more

Posted: Thu Mar 31, 2022 8:30 pm
by Rseding91
Icnivad wrote: Thu Mar 31, 2022 5:59 pm Can you elaborate on this change? I'm unclear why that would affect this debug feature and what other methods exist to find active entities in leu of this feature.
The entities are no longer registered per-chunk when they are active but instead per-map. So there is no easy way to count entities per chunk; the game would have to go over every single entity that is active, check what chunk it is on, and then draw that for a given chunk. It would be quite slow and doesn't really matter since the per-chunk part of it is irrelevant now; the chunk isn't forced to be active just because an entity on it is active.
disentius wrote: Thu Mar 31, 2022 6:10 pm If you remove something, remove it from the debug menu too, maybe? :)
There are still some entities which register per-chunk (mainly turrets). So it still has some utility. But at the end of the day the debug features are there for us to use and if a player gets some use out of it too then sure why not.

Re: [1.1.5] show-active-entities-on-chunk-counts doesn't show red counts any more

Posted: Mon Apr 04, 2022 12:24 pm
by Icnivad
That makes sense. Thanks for the reply.