Create an account

Performance Commands / Get Relationship Metrics Error Fix (PCGRMFix)  

Upload: 29 Mar 2023, 17:11
Created by: LeRoiDeTout [X]
Uploaded by: Aqxaro

This mod fixes an error that occurs during the night when the game schedules its routine culling of Sims' relationships. When a Sim is having their relationships culled, telemetry data is sent to EA on how many relationships the Sim managed to have before those are completely wiped out, and while processing through those relationships, some of them are, go figure, pointing to Sim IDs that no longer exist.

What Does This Mod Fix?

This mod addresses the following error, which can be referenced on AHQ here. The error will appear as follows, if you use MCCC & BetterExceptions:

Last Module Called: performance_commands.py
Last Function Called: get_relationship_metrics
Error message: [BE Interceptor] BE intercepted this error from a separate mod log so that it can scan for the issue. (AttributeError: 'NoneType' object has no attribute 'sim_id'), CategoryID: performance_commands:742

How Does the Mod Work?

It is currently what is exactly causing the issue, but it may be directly related to the other relationship/Sim ID issue I also have a fix for. My fix simply ignores the Sims who cannot be found, thus preventing the error.

It will be up to EA to investigate further how the error manifests itself, as this was not a problem before the patch, for with the fix in, it at least won't matter.

Version & Mod Info

Version 1.0.0

Compatible with game version 1.96

Game requirements: Base Game

Installation

This is a simple script mod without a package file, so it can do directly inside of your /Mods folder. If you wish, you can put it in a subfolder, but remember scripts cannot go any deeper than ONE subfolder.

Comments
The minimum comment length is 10 characters.