Flocke wrote: ↑Sat Apr 09, 2022 4:02 amThe alienInfo race status is only set weird for the Cardassians, all other races have a status of 0-2 (Independent, Subjugated, Member).
It is the last 4 bytes of first entry at 3Ch, and testing around in a single-player game it randomly is set to a shifted value of 08, 20 or 40.
This occures after having played a dozen turns, I however didn't identify any specific event. When I reload a previous save I again have to play another dozen turns for it to occure and it is set to another value.
It further doesn't seem to matter what race status is set. When I modify a vanilla game and set the status it doesn't seem to have any effect either.
Therefore I patched UE for now to handle that weird value.
Sorry I thought the info was clear enough:
1.) By default [alienInfo+3C] is a minor race only feature -> (for minors)
http://flocke.bplaced.net/botfwiki/inde ... #alienInfo
2.) My quoted patch (used in UDM3) relocates the
added monsters bitmask to the unused cardassian entry in [alienInfo+3C]
3.) Conclusion -> UE should ignore [alienInfo+3C] for empires (race IDs 0-4 i.e. for the first five entries) to avoid patch issues
Flocke wrote: ↑Sat Apr 09, 2022 4:02 amFile: ..\..\source\game\solarapi.c, Line: 5279, query != NULL
By that it seems to be a specific random event that corrupted that system.
It's somehow related to events causing destruction of manned buildings (and/or pop loss?).
I recall this UI / pop data glitch from vanilla. It caused phantom workers and even saved game corruptions.
In the worst case one needed to clear and re-assign ALL worker units in ALL systems and even then some corrupted saved games couldn't be fixed.
There was a similar UI glitch freezing the sliders of the two bottom science areas (construction and weapons). But this one corrupted no saved games and random clicking on different buttons in different screens solved it eventually.
Flocke wrote: ↑Sat Apr 09, 2022 6:53 amThat crash was caused by the systInfo updWrkr flag that's been set for that system:
0x314-0x317 updWrkr: update worker assignments marker (f.e. after pop loss) -> bugged!
I don't know anything about it, but unsetting that flag, I can select the system again and progressed another 50 turns without error.
I updated UE to report and unset that flag by the integrity checks
Nice one! Great you found a workaround to fix the issue in corrupted saved games.
I don't know how many bugs is too many but that point is reached somewhere before however many in BotF is.