Title: Removing stickiness code Post by: dizzy on 2006 August 25, 23:34:34 Could someone who codes check this out? I think this should work, but not too sure:
Code: # kill stickiness Obviously, this would just be called every now and then to look for stuck things and unstick them. Title: Re: Removing stickiness code Post by: dizzy on 2006 August 26, 12:36:17 In retrospect, this obviously wouldn't work. :P Need to think a little deeper.
Title: Re: Removing stickiness code Post by: Theo on 2006 August 26, 14:57:28 Maybe it could try to find objects that are in use by sims no longer present on the lot.
Other that that, it's pretty much human observation that determines if a object is stuck :P Title: Re: Removing stickiness code Post by: dizzy on 2006 August 27, 01:13:35 No, I've thought about this and it's not that difficult. You simply need to exclude two classes of chair situations:
1) Chairs that contain sims (probably filling a slot). 2) Chairs that have a sim en route to them for some purpose. Given that you only have table and desk chairs for various purposes, that could simplify things. At this point, though, I'm just looking for the simplest possible routine. :P Title: Re: Removing stickiness code Post by: dizzy on 2006 August 28, 06:07:33 Here's a rough draft of some working code (using CBoy's portal monitor as the base):
Code: ### It's a little slow on the trigger but it seems to get the job done. Title: Re: Removing stickiness code Post by: jsalemi on 2006 August 28, 13:14:11 Will this fix the problem of dining room chairs getting stuck in dorms? I seem to have a rash of that lately, to the point where I play uni with the testing cheats on so I can force errors on them. I had one dorm were every chair in the dining hall got stuck, and that was something like 20 of them.
Title: Re: Removing stickiness code Post by: Gwill on 2006 August 28, 16:14:05 Will this fix the problem of dining room chairs getting stuck in dorms? I seem to have a rash of that lately, to the point where I play uni with the testing cheats on so I can force errors on them. I had one dorm were every chair in the dining hall got stuck, and that was something like 20 of them. I had a lot of trouble with that, but it conveniently disappeared when I removed noassignmentlitter, although Pescado claims that's not related. Title: Re: Removing stickiness code Post by: jsalemi on 2006 August 28, 16:34:50 Will this fix the problem of dining room chairs getting stuck in dorms? I seem to have a rash of that lately, to the point where I play uni with the testing cheats on so I can force errors on them. I had one dorm were every chair in the dining hall got stuck, and that was something like 20 of them. I had a lot of trouble with that, but it conveniently disappeared when I removed noassignmentlitter, although Pescado claims that's not related. Hmm. I don't currently have anyone in Uni in my test hood, but I'll have to disable that next time I do and see if it solves the problem. I did check with the hack conflict detector, and nothing shows up that conflicts with noassignmentlitter, so I know it's not a conflict causing it. Title: Re: Removing stickiness code Post by: dizzy on 2006 August 28, 18:11:09 I think noassignmentlitter is a good idea, but it needs to work a little differently IMHO.
Title: Re: Removing stickiness code Post by: J. M. Pescado on 2006 August 28, 18:23:10 I've seen it happen even in dormie-free dorms, so it's not directly related, although the dormie habit of repeatedly chain-dumping assignments may simply make it worse. Left to themselves, dormies will wallpaper your entire dorm in junk assignments abandoned everywhere.
Title: Re: Removing stickiness code Post by: Ominous on 2006 September 10, 21:02:36 I have also been having problems with dining chairs becoming unusable. "Force Error" does nothing to fix it. I was downtown at "The Hub" and eventually all of the chairs became unusable forcing sims to eat downstairs at the bar. Not sure if this is related or not.
Title: Re: Removing stickiness code Post by: dizzy on 2006 September 12, 02:24:53 I think I may have a partial solution to the assignment litter in the cafeteria. This makes the cafeteria server look for unguarded homework to dispose of.
EDIT: Changed so it waits for the homework's owner to leave the room. :P |