Switch to using UIStatisticsWindow instead of UIProductionStatWindow - #119
Conversation
6a1726f to
f664ff9
Compare
|
I tested starfi5h's .dll and got the same error. Happened on 'Entire Star Cluster` set. Seems to persist through reloading various saves as well. The only way to be rid of the error I've found thus far is to exit DSP entirely (desktop) and reload it. |
|
One of the other changes in the patch that broke BetterStats was "Now the entries with both production and consumption of 0 are not displayed in the production statistics panel." I wonder if that might be the cause of the error starfi5h reported. Or cause other problems. |
|
I think it's because I was trying to use entry.Free() as a replacement for entry.Destroy(). I'm not really sure what entry.Destroy() actually did, though, so I'll just take it out and see what happens |
|
That seems to work, but I would like to know what Destroy() was actually doing. Here's the dll |
|
I fixed some display issues, and just made it so the the 'Theoretical max' stuff stays even in all time mode. Link to dll here |
|
Thanks, The NullReferenceException bug is fixed now.
|
|
Ok, the orbital collectors should calculate the max value correctly now. I also changed the version. Thanks for the help debugging @starfi5h Also updated BetterStats.dll |
|
@brokenmass, I think this is all working ok now, can we get it merged and cut a new version? |
|
@mattsemar will check and build today, thanks ! |
|
released 1.3.1 |


Looks like UIProductionStatWindow went away. I took a stab at switching to UIStatisticsWindow. It seems to work on my machine 😄