View Issue Details

IDProjectCategoryLast Update
0023970AI War 2Bug - GameplayOct 15, 2020 10:49 am
ReporterArnaudB Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version2.614 AI Turrets, Reserves, And More 
Fixed in Version2.616 Stop Printing Money, AI! 
Summary0023970: Reinforcement spam every 0-2 seconds of neutered planet
DescriptionSo reinforcement still have issues. A mostly neutered planet went from 0 strength to 70+ in less than 3 min, and it keeps getting reinforcement every 0-2 seconds.

Here are before and after saves.

I was wondering why my Econ beside my homeworld got hammered by 50-70 strength just before and kept an eye out for it.
TagsNo tags attached.

Activities

ArnaudB

Oct 14, 2020 4:41 am

manager  

20201014100053_1.jpg (415,224 bytes)
20201014100202_1.jpg (347,830 bytes)

Chris_McElligottPark

Oct 14, 2020 11:10 am

administrator   ~0059221

That's an awesome set of saves, thank you! That will help out a lot.

BadgerBadger

Oct 14, 2020 3:10 pm

manager   ~0059224

I've seen some complaints on discord as well.

Crabby

Oct 14, 2020 6:31 pm

reporter   ~0059225

I've noticed this sort of issue when I only owned five planets and the AI reinforced the surrounding planets rapidly and intensely. I have attached two saves; the AI will keep piling reinforcements as time flies.
Issue 1.save (339,112 bytes)
Issue 2.save (340,959 bytes)

Chris_McElligottPark

Oct 14, 2020 8:06 pm

administrator   ~0059227

Yikes, thanks!

* The reinforcements seem to have a math bug in them, so we put in extra detail and formatting in how we export them.

* Fixed a math bug in reinforcements that was basically "printing money" once the game really got going, and would let planets of the AI reinforce almost infinitely.
** We're not sure if this is fully a new bug, but it has certainly found new expression in the new reinforcement logic.
** This may have been an older bug that was somewhat suppressed by the old reinforcement logic, or it's a brand new typo, but because of how much code has changed it's hard to be sure.

* For the first time, we now have a way for the budgets of the AI to dump their details to log files. What we found was a bit surprising and definitely horrifying.
** First of all, for quite a long time, apparently the logic for partially-neutered planets has been horribly wrong.
*** If a planet was neutered down to 1 reinforcement point, then the budget would be 5% of usual, no problem.
*** If a planet had not lost any reinforcement points, then the budget would be 100% of usual, no problem.
*** If a planet had lost some reinforcement points, then the budget would... be multiplied by whatever the number of reinforcement points are.
**** So, you killed reinforcement points down to 4 left out of 7 original? Congrats, the cap is UP by 400%.
**** The correct number should have been 57% of normal, and now that works properly.
** Then there was a really harsh AIP multiplier that was being applied. It was adding far too much based on whatever the budget was, and larger budgets were more affected.
*** Now it only adds budget for each AIP above 100, which is softer to begin with, and then it also only adds it based on 10% of the current running total, rather than on the entire running total.
** Finally, there was a portion that was added based on time (number of 10 minute increments).
*** This was also too harsh. This is now based not on the running total of budget, but 1/10th of it, instead. Making this also a much gentler slope.
** None of these were new errors, but they were showing up now more because the reinforcement logic calling these budgets was so much more effective.
** Without these in place, AND with the above actually-charge-me-the-budget fix in place, now reinforcements happen at a rate we would expect.

Issue History

Date Modified Username Field Change
Oct 14, 2020 4:06 am ArnaudB New Issue
Oct 14, 2020 4:41 am ArnaudB File Added: Hope 2 BeforReinforcement Explosion.save
Oct 14, 2020 4:41 am ArnaudB File Added: Hope 3 Reinforcement Explosion.save
Oct 14, 2020 4:41 am ArnaudB File Added: 20201014100053_1.jpg
Oct 14, 2020 4:41 am ArnaudB File Added: 20201014100202_1.jpg
Oct 14, 2020 11:10 am Chris_McElligottPark Note Added: 0059221
Oct 14, 2020 3:10 pm BadgerBadger Note Added: 0059224
Oct 14, 2020 6:31 pm Crabby File Added: Issue 1.save
Oct 14, 2020 6:31 pm Crabby File Added: Issue 2.save
Oct 14, 2020 6:31 pm Crabby Note Added: 0059225
Oct 14, 2020 8:06 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Oct 14, 2020 8:06 pm Chris_McElligottPark Status new => resolved
Oct 14, 2020 8:06 pm Chris_McElligottPark Resolution open => fixed
Oct 14, 2020 8:06 pm Chris_McElligottPark Fixed in Version => 2.616 Stop Printing Money, AI!
Oct 14, 2020 8:06 pm Chris_McElligottPark Note Added: 0059227