P-K-0 / HHS

8 stars 2 forks source link

HHS 1.8.5 on FO4 1.10.984 CTDs if AAF.esm is loaded but FO4HHS_AAF.esp is not #1

Open EgoBallistic opened 1 month ago

EgoBallistic commented 1 month ago

A number of users have reported that their game CTDs if they have AAF and HHS installed but AAF support is not enabled in the HHS FOMOD installer. This occurs only on 1.10.984. I reproduced this with AAF 1.0, FO4 1.10.984, and HHS 1.8.5.

Looking at the crash log and HHS plugin source, it seems the game crashed in HHS.dll during the SendCustomEvent() call that AAF makes to send its OnAAFReady custom event. If FO4HHS_AAF.esp is not loaded, the HHS dll hooks SendCustomEvent(), so I suspect something isn't right there. The crash doesn't occur if FO4HHS_AAF.esp is loaded because HHS.dll skips the hook in that case.

Link to Buffout4 crash log: https://pastebin.com/VjUQjwcT

I performed the same test on Fallout 4 1.10.163 and the problem does not occur there, the CTD does not occur regardless of whether FO4HHS_AAF.esp is loaded.

P-K-0 commented 1 month ago

Thanks for informing me, I checked and the hook is completely broken in the next gen version, for now if you play with next gen + AAF you have to use the version with esp file.