XCOM 2
Configurable Birthdates
28 Comments
gravage 28 Apr, 2019 @ 5:33am 
@thegrimsqueaker72:

I got it to crash again. A folder with 4 files was auto-generated under C:\Users\Gravage\Documents\My Games\XCOM2\XComGame\Logs that I uploaded to my Google Drive:

https://drive.google.com/open?id=1JqVmB4OIIDGF-RFYxuqr8IDSiddtdI07

Afterwards I successfully loaded my game from the point of the crash using the "Save0" file that was included in that auto-generated folder. When I loaded it I got a warning:

SAVED IN A DIFFERENT LANGUAGE
This game was created in a different language, some localized content may contain missing characters. Load anyway? (I added that screenshot to the Google Drive File)

To the computer literate that probably refers to something entierly different but I confirmed that my character's names were still spelled with an "e-acute."
gravage 26 Apr, 2019 @ 4:31pm 
@thegrimsqueaker72 Re: Jan 24, 2017 @ 9:37am (CST)

New campaign and the monthly report are two of the places the mod expects characters are added to the game (not any other cutscenes though). Does it also crash on finishing a scanning site/mission, if they award a unit? Are you running any mods that mess with starting crew, recruits pool, and/or HQ store/Black Market?

I do get a crash "Pure virtual function being called while application was running. (GIsrunning == 1" at New campaign and monthly report when using your mod "Configurable Birthdays." I don't have any errant nationalities attributed to my characters, but I have a spelling of one character's name that uses an "e-acute" from the Latin alphabet which I do not have on my English keyboard. Given your knowledge, would it make sense to you that that may trigger such a crash.

I'd test it; however, I've long ago deleted my corrupt saves. I noticed this errant "e-acute" just today.
Dragon32 1 Apr, 2018 @ 6:28pm 
@The Dunkmeister:
Read the Description. See the "WOTC version" link?
Chev Chelios 1 Apr, 2018 @ 5:44pm 
+1 to crashing with WoTC
Dragon32 17 Sep, 2017 @ 10:40am 
Yeah, WoTC crashes on game load when this mod is enabled.

[0016.72] Critical: appError called: Assertion failed: appErrorf [File:G:\BuildAgent\work\ce3b64a62966ccd1\branches\ShippingOzzy\XCOM2\Development\Src\Core\Src\UnObj.cpp] [Line: 2456]
Failed to find function IsASoldier in XComGameState_Unit Transient.XComEngine_0:XComGameStateHistory_0.XComGameState_122.XComGameState_Unit_140
vulchor 30 Aug, 2017 @ 1:50am 
needs to be updated for WOTC
Dragon32 15 Jul, 2017 @ 2:19pm 
@thegrimsqueaker72:
Thanks for that tip, thegrimsqueaker72. I looked through my character pool and found three troopers (imported from someone else's pool for VIPs) with nationalities I don't use (Welsh and Namibian, IIRC). I'll see what happens now I've changed them to UK and Nigeria.
thegrimsqueaker72  [author] 9 Jul, 2017 @ 4:03pm 
Correction: It's possible to get this error without the unit being a mission reward, if the unit is from the character pool and has a nationality that was removed from the game (i.e. disabling the mod that added it).
Dragon32 3 Jul, 2017 @ 4:52pm 
Hey, thanks for replying. At least I know it's an issue to watch out for now.
thegrimsqueaker72  [author] 3 Jul, 2017 @ 3:22pm 
Poking through the code, my guess is the mod is trying to access a nonexistent country (assuming this only happens with mission rewards, since they're the only ones who don't get edited immediately after being added to the game). Unfortunately I never got the SDK to work on the new computer I got last year, so I won't be able to fix it any time soon.
Dragon32 3 Jul, 2017 @ 12:57pm 
Not sure if you're still active in the parts, thegrimsqueaker72. If you are...

I've been getting a crash on evac occasionally in my current campaign. Definitely twice, possibly three times now. Each time I've been able to complete the evac by disabling this mod and reloading the autosave.

In the last crash-on-mission-evac I was extracting a VIP (and I'm 99% sure that happened in the prvious case, although it was a month or so back).

The end of my launch.log is (why I disabled this mod):
[0245.35] ScriptWarning: Accessed None 'kTemplate'
BioParser BetterAgeRange.Default__BioParser
Function BetterAgeRange.BioParser:IsRandomBackground:0053
[0264.21] Log: Dumping name table: (4496608)
[0264.21] Log: Dumping name table: 0x1f948000 (4496608)
[0279.50] Exit: Exiting.
[0279.53] Log: Log file closed, 07/03/17 20:37:28

Could the fact it was a VIP be messing with the amended BioParser.uc? The most recent VIP was from one of RealityMachina's "PR Tour" missions.
Blooest 1 Feb, 2017 @ 8:01pm 
Hmm.
I just suddenly started having the GSL crashes as well.
I've totally failed in narrowing it down beyond it being this mod, as I reverted to a previous good modlist and it's still crashing.
Might be a character in my pool that your code is getting hung up on?
-Sev- 24 Jan, 2017 @ 7:05pm 
@thegrimsqueaker72 No crashes when finishing mission/scanning, didnt get a unit as a reward so I dont know. Mods I have that involve adding characters are Character Pool Uniforms, ISky's Big LW2 Name Mod, and Random nickname generator. There may be more but I cannot find them at the moment.
thegrimsqueaker72  [author] 24 Jan, 2017 @ 7:37am 
New campaign and the monthly report are two of the places the mod expects characters are added to the game (not any other cutscenes though). Does it also crash on finishing a scanning site/mission, if they award a unit? Are you running any mods that mess with starting crew, recruits pool, and/or HQ store/Black Market?
Dragon32 24 Jan, 2017 @ 1:15am 
@-Sev-
Never had that in my last, completed, vanilla campaign with this mod enabled. Maybe a conflict with some other mod. Dunno. Perhaps those alien squad mates ones? Just trying to think of mods which add soldiers somewhat unusually.
-Sev- 23 Jan, 2017 @ 8:26pm 
Gotten crashing with this mod enabled anytime xcom2 has to play a video. Like when you start a new game or a monthly report comes in.
Cpt. Awesome 14 Oct, 2016 @ 6:18pm 
THANK you. It always bugged me so much that there would be, like, 8 year-olds in these pre-war "irregular militia outfits".
Gaming Geek 19 May, 2016 @ 8:04am 
@thegrimsqueaker72 Will do! I was going to recomend this anyways. :)
thegrimsqueaker72  [author] 19 May, 2016 @ 12:13am 
@Gaming Geek Sure, just credit me. lmk if you need any help.
Gaming Geek 17 May, 2016 @ 9:55pm 
@thegrimsqueaker72 Would you be willing to let me use your work as part of my More Random Backstories mod?

The birthdates not matching any of the random soldier's backgrounds has always annoyed the hell out of me, but I couldn't figure a way to fix it. I fear my coding experience is rusty from a decade of not being used.
thegrimsqueaker72  [author] 17 May, 2016 @ 12:18pm 
Long War Toolbox
Fantasy System 14 May, 2016 @ 5:55am 
What mod did you use for you roster menu?
PSY 11 May, 2016 @ 7:40pm 
"All war heroes are at least 38"
THIS BUGGED THE HELL OUT OF ME! I noticed the game didn't care at all about age once I got a veteran from the old XCOM who was apparently a high ranking officer at the age of 12
thegrimsqueaker72  [author] 11 May, 2016 @ 5:49pm 
Fixed. Thanks for pointing it out.

FYI if you want you could put the config for More Random Backstories with its own config:
https://steamhost.cn/steamcommunity_com/workshop/filedetails/discussion/650277509/364039531220315576/
Dragon32 11 May, 2016 @ 4:46pm 
Absolutely fantastic, thanks you for this. Just my kind of mod.

I've just been going through and amending XComBirthdays.ini to include those from More Random Backgrounds , have to see how that goes in my next campaign.

Think I spotted a typo in XComBirthdays.ini, a missing closing parenthesis:

; shadetree mechanic before the war
+EngineerAges=(BackgroundIndex=0, Min=38
Mister Maf 11 May, 2016 @ 11:12am 
Thank you for this. It always bothered me how the generated bios and birth dates didn't match up.
thegrimsqueaker72  [author] 9 May, 2016 @ 9:46pm 
Long War Toolbox
8feet 9 May, 2016 @ 9:42pm 
Where did you get the mod that shows icons for your soldier's stats?