Posts: 4,557
Thanks: 10882 in 48 Posts
13 Achievements
I think I've actually found a circumstance where reusing a lot that sims have lived on causes problems
There is a kind of existing mythology that lots that have had sims living on them and have then been packaged or moved into the lot bin and shared to another neighborhood are problematic in some way due to the existence of sim references. I've said at various points that I don't think this particular thing is really an issue, and that I don't think the game actually uses those references for anything and that they're just inert data. I haven't discovered otherwise, but I have discovered something that may cause issues if you reuse a lot for multiple families. However, principally, this doesn't have anything to do with sim references, doesn't require the lot to have been packaged or moved into the lot bin, and doesn't seem to be solved by existing lot-cleaning methods.
You know how if you go on a ton of dates using two sims that both live on the lot, and then one of them moves out, then the moved-out sim will show up and drop off a ton of date rewards and flowers? I believe this is related to that, except that it concerns Nightlife mail, although there may be similar issues with date rewards and flowers if they are handled in the same way. Basically, from what I can tell, when you earn Nighlife mail from a date, the actual physical letter that is used in the animations for putting it in the mailbox and retrieving it later is generated off-world, and then its ID is added to an array attached to the mailbox, which is called the "mail bag" in the code and represents what the contents of the mail carrier's bag should be the next time they deliver the mail. As far as I can tell, Nightlife mail is the only thing that's ever put into the mail bag in this way, and bills are handled in some other manner. Anyway, if your sims move out of the house in between the Nightlife mail being put into the mail bag and the mail carrier arriving to deliver the contents of the mail bag, and another family moves into the same house, all of the objects on the lot, including the off-world Nightlife mail letters, are given new IDs and now the ID recorded in the mail bag references some other random object on the lot, which probably won't be able to snap into the mail carrier's hand to do the mail delivery animation, and causes an error when the mail is delivered. There's another array on the mailbox for stuff that's actually in the mailbox waiting for the sim to retrieve it, so presumably if you get Nightlife mail delivered and then move out before retrieving it, the same thing can happen, but it's probably easier to avoid that.
I should note here that alfixes, which famously deletes Nightlife mail, does not fix this issue, since it was intended to fix an issue with the playable sims retrieving Nightlife mail, whereas this error as reported, occurred when the Nightlife mail was delivered by the mail carrier, and alfixes does not modify the functions involved in delivering mail. I've also seen people report that this can happen regardless of whether or not you used the stay things shrub on the lot before the sims moved out, and regardless of whether the lot became uninhabited due to moveout, or because the last resident died.
Ways to avoid this:
- If you're just playtesting a lot before uploading it, just don't go on any dates on the lot. This will prevent Nightlife mail from being generated at all.
- Only move out directly after mail has been delivered and retrieved from the mailbox. This won't help you if the last sim dies at an inopportune moment, though.
- Keep fresh copies of all lots you want to use in the lot bin, and if you want a family to reuse a lot that someone else lived in previously, bulldoze the lot and replace it with a fresh copy.
- Install some kind of mod that prevents Nightlife mail from being generated at all.
As far as I know, the only way to fix the issue after it has occurred is to delete the mailbox and replace it using a hack that makes the regular EA mailbox buyable. Note that if you fail to replace the mailbox, or replace it with a custom mailbox, the lot may not work correctly and you may get errors. I may at some point make a version of the batbox that has a Nuke.../Nightlife Mail option on it that deletes the contents of the mail bag and any Nightlife letters than may be lurking off-world, but I would have to do a little more research to find the GUIDs of the Nightlife letters.