XCOM 2
Configurable Birthdates
28 kommentarer
gravage 28. apr. 2019 kl. 5:33 
@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 kl. 16:31 
@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 kl. 18:28 
@The Dunkmeister:
Read the Description. See the "WOTC version" link?
Chev Chelios 1. apr. 2018 kl. 17:44 
+1 to crashing with WoTC
Dragon32 17. sep. 2017 kl. 10:40 
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 kl. 1:50 
needs to be updated for WOTC
Dragon32 15. juli 2017 kl. 14:19 
@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  [ophavsmand] 9. juli 2017 kl. 16:03 
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. juli 2017 kl. 16:52 
Hey, thanks for replying. At least I know it's an issue to watch out for now.
thegrimsqueaker72  [ophavsmand] 3. juli 2017 kl. 15:22 
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. juli 2017 kl. 12:57 
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 kl. 20:01 
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 kl. 19:05 
@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  [ophavsmand] 24. jan. 2017 kl. 7:37 
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 kl. 1:15 
@-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 kl. 20:26 
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. okt. 2016 kl. 18:18 
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. maj 2016 kl. 8:04 
@thegrimsqueaker72 Will do! I was going to recomend this anyways. :)
thegrimsqueaker72  [ophavsmand] 19. maj 2016 kl. 0:13 
@Gaming Geek Sure, just credit me. lmk if you need any help.
Gaming Geek 17. maj 2016 kl. 21:55 
@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  [ophavsmand] 17. maj 2016 kl. 12:18 
Long War Toolbox
Fantasy System 14. maj 2016 kl. 5:55 
What mod did you use for you roster menu?
PSY 11. maj 2016 kl. 19:40 
"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  [ophavsmand] 11. maj 2016 kl. 17:49 
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. maj 2016 kl. 16:46 
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. maj 2016 kl. 11:12 
Thank you for this. It always bothered me how the generated bios and birth dates didn't match up.
thegrimsqueaker72  [ophavsmand] 9. maj 2016 kl. 21:46 
Long War Toolbox
8feet 9. maj 2016 kl. 21:42 
Where did you get the mod that shows icons for your soldier's stats?