Page 1 of 1

[Rseding91] [0.15.30] Radar getting too weak on megabase

Posted: Sun Jul 23, 2017 7:30 pm
by gexxo
I have created a quite huge base, and now it seems that my radars cannot keep up with the visible area anymore. They scan too slowly, so my revealed area gets unrevealed from time to time, which is super annoying (I cannot see my own base in the map view then, when zooming in). Here is an image that aptly shows the problem, everything is only half revealed. The handrawn red circles show areas that should be fully revealed but are about to fade to black before being rescanned.
radar-too-weak.png
radar-too-weak.png (1.23 MiB) Viewed 5423 times

Re: [0.15.30] Radar getting too weak on megabase

Posted: Sun Jul 23, 2017 7:38 pm
by Bilka
Do the radars have enough power?

Re: [0.15.30] Radar getting too weak on megabase

Posted: Sun Jul 23, 2017 7:52 pm
by gexxo
Bilka wrote:Do the radars have enough power?
Yes, full power from over 130 nuclear reactors (see image below). I suspect that there are only X squares scanned per tick and once a square is not scanned for Y seconds, it starts to fade to black. Since I have some many revealed squares, it takes longer than Y seconds to scan them all. A fix would be to not fade squares to black, which are known to be under a fully-powered radar, I guess.
radar-too-weak-2.png
radar-too-weak-2.png (7.92 MiB) Viewed 5420 times

Re: [0.15.30] Radar getting too weak on megabase

Posted: Sun Jul 23, 2017 9:48 pm
by Rseding91
Thanks for the report. Can you upload your save file and all the mods you're using so I can look at it?

Re: [Rseding91] [0.15.30] Radar getting too weak on megabase

Posted: Wed Jul 26, 2017 6:16 am
by Killerbee
If my suspicion is correct you can reproduce this problem with commands. When you use a command to scan a large area and look at the map view you will see that the location where the player is standing will start to fade out, like he isn't there.
I'm on my phone so I can't test it but it was probably this command that showed the issue
/c game.forces.player.chart(game.player.surface, {lefttop = {x = -2048, y = -2048}, rightbottom = {x = 2048, y = 2048}})

Re: [Rseding91] [0.15.30] Radar getting too weak on megabase

Posted: Wed Jul 26, 2017 6:44 pm
by gexxo
The map and the zipped mods folder are attached. Thanks for investigating :).

I think what Killerbee is saying is correct, though I haven't tested it either.

Re: [Rseding91] [0.15.30] Radar getting too weak on megabase

Posted: Fri Jul 28, 2017 6:22 pm
by rorror
You are using the mod "Big Brother" that amplifies radars, maybe that is causing it?

Re: [Rseding91] [0.15.30] Radar getting too weak on megabase

Posted: Fri Jul 28, 2017 9:13 pm
by gexxo
rorror wrote:You are using the mod "Big Brother" that amplifies radars, maybe that is causing it?
Yes, but if I understand that mod correctly, all it does is to severely boost the stats of radars. It does not change the radar mechanics, so it may simply uncover a bug earlier, for which a vanilla game would take a lot more time to hit. Therefore, there seems to be some shortcoming in the radar logic when the amount of visible area is really huge. I never had this problem with a small base, it gradually built up the more radars I placed (and was not noticable until my base and the uncovered area reached quite huge dimensions). Note that this is a really huge base, my high end CPU/GPU setup is running with around 7-8 FPS and the uncovered area is huge. It really looks to me as if the radar mechanics came to their limits on this base and I think the only limits for a megabase should be the FPS :).

Re: [Rseding91] [0.15.30] Radar getting too weak on megabase

Posted: Tue Aug 01, 2017 7:28 pm
by Rseding91
Thanks for the save. I've changed it so the game scales up the number of chunks it processes per tick based off how many are in the queue to be refreshed.

Re: [Rseding91] [0.15.30] Radar getting too weak on megabase

Posted: Sun Nov 12, 2017 9:02 am
by Taoh
Not sure if you need more save files of the issue. I ran into this problem in current build with my current larger than average base.

https://drive.google.com/open?id=1UqJ0v ... 960obvJotz