Page 1 of 1

Unknown source for wasted PPs

Posted: Mon Apr 24, 2017 7:49 am
by Oberlus
Hi,

In my current game I got some red PPs of unknown procedence. I mean, I checked every system, one by one. I only have one system blockaded, in frontline, in which I'm making some comsats for cannon fodder and 5 PPs are wasted in there. Rest of my systems are in one single supply group, each one showing 0.00 PPs wasted. Yet I get a total wasted points of 25.7. I examined the whole map looking for the contrasting colors in the supply lines and also I used the top-right button of the planets panel to scroll through all the systems, noting wasted PPs for each one. I can't find the source of those misterious 20.7 PPs.

I attach a save file just in case.

PS: after clicking on "next turn", the unknown wasted PPs are gone.

Re: Unknown source for wasted PPs

Posted: Mon Apr 24, 2017 9:05 am
by Dilvish
It's all wasted at that Schmidt system that you are brought to by clicking the wasted PP icon. The problem is in the summary of wasted points in the Production Queue top panel -- the "Points Available Here" and the "Wasted Points" [Here] won't update just by changing the selected planet, although when the system is blockaded like that each planet is a separate Resource Group. To get it to update, close and reopen the Production Window each time after selecting a new planet in the system. You'll see that Schmidt I is using all its 5 points, Schmidt II is wasting 20.7 and Schmidt III is wasting 5, for the total of 25.7.

Looking at the code a bit, it seems that the various PlanetSelectedSignal (s) are not sufficiently connected to take care of this to update that info panel when the planet selection changes. I'll see if I can figure out an expeditious connection to make to solve this problem.

Re: Unknown source for wasted PPs

Posted: Mon Apr 24, 2017 9:44 am
by Dilvish
I've now put up a PR with a fix.

Re: Unknown source for wasted PPs

Posted: Mon Apr 24, 2017 4:17 pm
by Oberlus
Well done :D