View Issue Details

IDProjectCategoryLast Update
0028193Heart Of The MachineBug - GameplayMay 18, 2024 4:16 pm
Reporterptarth Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version0.505 Investigation Exceptions 
Fixed in Version0.506 More Fixes 
Summary0028193: Small Caliber Armor-Piercing Rounds effect becomes permanent on reload
DescriptionHave a unit gain AP using Small Caliber Armor-Piercing Rounds, then save, and reload. The unit retains the AP bonus as a permanent bonus AND it is also shows up as a temp bonus. It looks like the temp bonus is being saved as both a temp bonus and as a permanent unit upgrade. In the save, Z126 should have 240 AP, 120 is permanent.
TagsNo tags attached.

Activities

ptarth

May 18, 2024 3:09 pm

reporter  

super ap.save (3,761,609 bytes)

Chris_McElligottPark

May 18, 2024 4:16 pm

administrator   ~0068205

Thanks!

* Fixed a gnarly bug where if a unit had an amount of an ActorData only from a status (like AP for player units), then saving and loading while that was true would double the amount on load, and then leave that amount as the new default for that unit until the game was then loaded again.
** Basically I had two-line mistakes with initializing the data to the status value, making it think that was its underlying maximum. This just never came up in my testing.
** This is automatically correct in existing savegames, since it wasn't actually bad data, it was bad application of good data, on load of saves in that specific context.

Issue History

Date Modified Username Field Change
May 18, 2024 3:09 pm ptarth New Issue
May 18, 2024 3:09 pm ptarth File Added: super ap.save
May 18, 2024 3:25 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
May 18, 2024 3:25 pm Chris_McElligottPark Status new => assigned
May 18, 2024 3:25 pm Chris_McElligottPark Status assigned => confirmed
May 18, 2024 4:16 pm Chris_McElligottPark Status confirmed => resolved
May 18, 2024 4:16 pm Chris_McElligottPark Resolution open => fixed
May 18, 2024 4:16 pm Chris_McElligottPark Fixed in Version => 0.506 More Fixes
May 18, 2024 4:16 pm Chris_McElligottPark Note Added: 0068205