Forum Discussion
I was able to fix this with a mod. I could not fix it by deleting all townies and residents of Brightchester. I think the problem was linked to my household sim and I couldn't delete her of course. There are 2 places in the code that I had to fix.
For some reason, the progress_stat returned is NoneType. This is probably due to an invalid assignment of an organization like I was describing in my how to reproduce post. Just setting the points_to_current_rank to 0 allows the function to complete. Since it's removing the organization, I don't see any side effects of this.
organizations.organization_tracker.
OrganizationTracker.leave_organization if progress_stat is None: tracker.set_value(progress_stat_type, 0) else: tracker.set_value(progress_stat_type,
progress_stat.points_to_current_rank())
Another problem was a sim was enrolled in university, but somehow had no courses. This creates the division by zero error. I just set the term gpa to 0 if there were no courses. This allowed the complete term function to run.
sims.university.degree_tracker.
DegreeTracker.complete_term if len(self._course_infos) == 0: term_gpa = 0.0 else: term_gpa = round(term_grade_point /
len(self._course_infos), 2)
After running this mod once, saving and deleting the mod, I am seeing no more LE's.
- CharityCodes5 years agoNew Veteran
My mod also fixed the issue for CiwayWong, so I will post it here in case others find it useful. You can download it from Google drive.
[Admin - Removed link]
EDIT: So apparently, you can't link mods here. PM me if you want to try my fix. It won't fix all issues and use at your own risk. I'm not going to check this thread constantly for requests.
@Ayanko @Salmonberry-Pie @XrazgarX @nicolehins71594 @Aetere
I had to leave the mod there because it kept happening with new sims. These sims were my dorm mates and auto generated townies, not from the catalog. I think this needs to be on the list of known issues. I'm not sure if this bug report is in the right place? Could we get an EA rep to weigh in on this please?
- 5 years ago
Many, many thanks! You're a saint.
So from what I understand, you install this once when the issue arises, run the game and then save, exit and then remove the mod?
This really should be looked into. This isn't the first time that it's happened to me. If you found a fix, then there's obviously something that needs to be fixed.
Thanks again.
- CharityCodes5 years agoNew Veteran
Yes, you can remove it after running it once and saving it. I had the issue reappear though as I kept playing at university, so you may have it pop up again. You can also leave it there without removing it if you like. It probably won't cause any issues unless there's a patch that comes out and it's incompatible with the functions I changed. It's best to play with as few mods as possible though. If you have any existing mods or cc that deal with university, it could possibly be incompatible.
- 5 years ago@CharityCodes Thank you so much!
- mcsupersport5 years agoHero+
Mods usually aren't the issue, it is the hosting that was an issue. It is easy to slip in bad code to harm people in personal info sites, such as google drive, and thus only more official sites such as nexus are usually allowed as long as no adult info is linked too. So while YOU may not be anything but helpful, EA has to deal with all the millions of people of which some may wish to get viruses or trojans in peoples systems using the same style of hosting you posted. Please keep up the good work helping people though and enjoy the game.
- CharityCodes5 years agoNew Veteran
I'm new to modding and didn't really know what sites to use for uploading. Some of the ones I looked at wanted to manually approve each one and were picky about content. Nexus seems like an easier solution. Is this link OK?
(Removed mod link - no mod links on the forum) - Atic
About The Sims 4 Mods & Custom Content
Community Highlights
Recent Discussions
- 7 hours ago