Replies: 3 (Who?), Viewed: 334 times.
Mad Poster
Original Poster
#1 Old 30th May 2020 at 8:41 PM Last edited by Bulbizarre : 30th May 2020 at 9:23 PM.

This user has the following games installed:

Sims 2, University, Nightlife, Open for Business, Pets, Seasons, Bon Voyage, Free Time, Apartment Life
Default Fixing broken apartment controllers
Aside from evicting the household and moving them back in, has anybody found any way to fix the apartment controller once this error starts coming up?

Code:
name: Controller - Apartment
Stack size: 5
Error: Problem executing script (Apartment - Update Object Copies): Run-time:
(none):0: attempt to index a nil value
stack traceback:
(none): in function `ClearLotApartmentObjects'
(none): in function `Apartment - Update Object Copies


Even on a completely vanilla game, it inevitably happens at some point and continues until you hit "delete" on the error (which then borks the sublot). It's frustrating.

I'm secretly a Bulbasaur. | Formerly known as ihatemandatoryregister

Usually hanging out in Sim Crafters these days. | Looking for SimWardrobe's mods? | Or Dizzy's? | Faiuwle/rufio's too! | smorbie1's Chris Hatch archives | Welcome to Oakbrook.
Advertisement
Mad Poster
Original Poster
#2 Old 31st May 2020 at 7:49 PM
Update: I attempted using Chris Hatch's lot cleaner on one of my glitchy lots. After reloading, it began spamming this error until I deleted the apartment controller (which, predictably, borked the lot):

Code:
Object id: 198
name: Controller - Apartment
Stack size: 1
Error: Undefined Transition.
Iterations: 14
  Frame 0:
    Stack Object id: 0
    Node: 26
    Tree: id 4097 name 'Function - Main - Apartment' version -32669
    from Controller_Apartment
    Prim state: 0
    Params:    Locals: 0 0 0 0 0 0 0 0 0 


So I'd advise against it. (Unless @Chris Hatch has more info about whether the lot cleaner can safely be used on occupied apartment sublots, in which case it's something specific to my game setup.)

I'm secretly a Bulbasaur. | Formerly known as ihatemandatoryregister

Usually hanging out in Sim Crafters these days. | Looking for SimWardrobe's mods? | Or Dizzy's? | Faiuwle/rufio's too! | smorbie1's Chris Hatch archives | Welcome to Oakbrook.
Mad Poster
Original Poster
#3 Old 4th Jun 2020 at 7:07 PM
I should note that for the first error (ClearLotApartmentObjects), the lot is usable if you click Reset. But it comes up every time you save and load the lot.

I suppose I could disable the debug testing cheats, but I use it for a number of other things so that'd be annoying.

I'm secretly a Bulbasaur. | Formerly known as ihatemandatoryregister

Usually hanging out in Sim Crafters these days. | Looking for SimWardrobe's mods? | Or Dizzy's? | Faiuwle/rufio's too! | smorbie1's Chris Hatch archives | Welcome to Oakbrook.
Lab Assistant
#4 Old 25th Jun 2020 at 11:35 PM
I've been having the same issue
Back to top