MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...

Fix for misplaced restocking signs in OFB? Probably NOT...

by Numenor Posted 17th Apr 2006 at 6:35 PM - Updated 3rd May 2006 at 7:26 PM by Numenor
62 Comments / replies (Who?) - 13 Feedback Posts
FIX FOR MISPLACED RESTOCK SIGNS?
Global Hack - OFB required
*** NOT NEEDED IF YOU HAVE THE FAMILY FUN PACK! ***


----------------------------------------------------------------------
IMPORTANT: THIS HACK IS STILL IN TESTING! USE WITH CAUTION!
***READ THE "EDIT TO ADD" AT THE END OF THIS POST ***

----------------------------------------------------------------------

First off, I take no credits for this fix: Maxis made it, not me.
Exploring the Family Fun Stuff pack (that actually looks much more like an EP than an add-on pack...), I've found that it contained a modification in the code related to the restocking sign and the restocking function.

Since I can't understand the meaning of the modifications made by Maxis (see below for details), I'm not sure 100% that this mod is intended to fix the misplaced restock signs bug: the only way to know is TEST IT

Anyway, I've just extracted the files (3 in total, see details below) and uploaded here.
I see no copyright infringment in that, because the three file are obviously intended to work with OFB, and they are supposed to fix some bug in the OFB code; therefore, if you own OFB and not the FFS pack, I see no reasons why you should not have these files.

INSTALLATION
Extract the package from the zip and put it in the Downloads folder. Remove it from the Downloads to restore the original game functionalities.
IMPORTANT: If you already have the Family Fun Stuff pack, you do NOT need this hack, because it is included in the FFS.

USAGE and TESTING METHOD
Preferably, in order for the test to be reliable, you should use this fix without any other hack related to the OFB shelves and restock signs: I'm referring in particular to my "More" and "Less" Hacks.
When reporting your experience with this fix, please tell me if you are using my hacks or not, if you are placing custom content on Maxis shelves and all the details that may help in making this test reliable.

TECHNICAL DETAILS
The attached package contains 2 BHAVs and 1 OBJD, all from the GroupID 0x7F905E60 (Restock Sign). All the three differ from the original included in OFB for the usage of a particular object property that I really don't know what it is for...
  • In the OBJD, the value in the field 0x0040 ("Unused - Dynamic sprites base id") has been changed from 0x0008 to 0x0001;
  • In the BHAV "Init" (Instance 0x1000), the last line has been removed ("Expression - My 0x0019 (lockout count) := Literal 0x0019")
  • In the BHAV "Restock - Replace Item", the last line has been removed ("Expression - Stack Object's 0x0019 (lockout count) := Literal 0x0005")


EDIT TO ADD:
After having double checked, I noticed that the lines in the BHAV removed with the FFS were added by the OFB patch recently released!
I'm absolutely clueless: why adding those lines in the patch, just to remove them in the FFS? Whas it made by mistake? :confused:

You must have the expansion or stuff packs listed below installed to use this custom content. Please see the post text for any exceptions.

Open for Business
Key: - File was updated after upload was posted
Filename - Tip: You can click the magnifying glass to see the archive contents Size Downloads Date
GlobalMod_FFS-Fix-for-restock-signs.zip

Size: 955 Bytes · Downloads: 2,582 · 17th Apr 2006
955 Bytes 2,582 17th Apr 2006
Don't forget to Thank the creator after downloading! Use the Thanks button located above the screenshots above.
Basic Download and Install Instructions:

1. Download: Click the download link to save the .rar or .zip file(s) to your computer.

2. Extract the zip, rar, or 7z file.

3. Place in Downloads Folder: Cut and paste the .package file(s) into your Downloads folder:
  • Origin (Ultimate Collection): Users\(Current User Account)\Documents\EA Games\The Sims™ 2 Ultimate Collection\Downloads\
  • Non-Origin, Windows Vista/7/8/10: Users\(Current User Account)\Documents\EA Games\The Sims 2\Downloads\
  • Non-Origin, Windows XP: Documents and Settings\(Current User Account)\My Documents\EA Games\The Sims 2\Downloads\
  • Mac: Users\(Current User Account)\Documents\EA Games\The Sims 2\Downloads
  • Mac x64: /Library/Containers/com.aspyr.sims2.appstore/Data/Library/Application Support/Aspyr/The Sims 2/Downloads
Need more information?
 
62 Comments / Replies (Who?) - 60 Feedback Posts
Page 3 of 3
The ModFather
retired moderator
Original Poster
#51 Old 18th Jun 2006 at 9:24 PM
I've come to the conclusion that this fix doesn't fix anything....

And as far as I know, there isn't any known solution for this bug, yet. I still haven't examined the new patch, but in any case no mention to this bug is found in the patch description.

I've finally started my Journal. Information only, no questions.

My latest activity: CEP 9.2.0! - AnyGameStarter 2.1.1 (UPD) - Scriptorium v.2.2f - Photo & Plaques hide with walls - Magazine Rack (UPD) - Animated Windows Hack (UPD) - Custom Instrument Hack (UPD) - Drivable Cars Without Nightlife (UPD) - Courtesy Lights (FIX) - Custom Fence-Arches - Painting-TV - Smarter Lights (UPD)


I *DON'T* accept requests, sorry.
Field Researcher
#52 Old 19th Jun 2006 at 10:27 AM
Quote:
Originally Posted by Numenor
I've come to the conclusion that this fix doesn't fix anything....

And as far as I know, there isn't any known solution for this bug, yet. I still haven't examined the new patch, but in any case no mention to this bug is found in the patch description.


Hrm... I just did a diff between the OFB package w/ 2nd patch vs. the FFS package w/2nd patch. I then scanned this package and the hackdiff tool reported the following:

Quote:
Numenor_GlobalMod_FFS-Fix-for-restock-signs.package: may require possible updates:
B 0x7F905E60 0x1000 Function - Init
B 0x7F905E60 0x1012 Restock - Replace Item
O 0x7F905E60 0x41A7 Shops - Restock Sign


Which is kind of odd, as this seems to indicate that a change was made for FFS that was not included in OFB?

When I scanned the hack after installing the 2nd OFB patch, it didn't report any changes. I just installed FFS and patched that, and now there is this change. *shrugs*

I don't know if this means they actually fixed it. I could have sworn I had read something about it in the list of fixes, but now I can't seem to find it. Oh well.

Ste
Lab Assistant
#53 Old 20th Jun 2006 at 5:24 PM
I got the missing signs yesterday. After I installed the patch, and in a buggy house with one of my sims's want slots keep appearing blank. It happened as I was moving the maxis dj boombox after I put it up for sale. I don't know if it's coincidence but at the same time 10 of the objects on shelves (non maxis) disappeared and I had to do a lot of deleting signs I'm gonna move that family out. See if it works better elsewhere.
Lab Assistant
#54 Old 9th Jul 2006 at 9:57 PM
Numenor, dunno if you're still tracking this thread, but I had removed this mod after installing the patch, and now I get misplaced signs ALL the time on all lots old and new. So I'm putting it back in, to see if it reduces these incidents to what it was before: a couple on random lots. I just get so mad having to replace everything manually, I had perfectly designed stores now with empty shelves and I have to delete every one of those signs. It just drives me nuts. So now I'll really see if this mod works or not, now I have the problem so regularly.
The ModFather
retired moderator
Original Poster
#55 Old 9th Jul 2006 at 10:07 PM
I'd like to know, too, though I frankly don't think that this "fix" actually fixes anything...

But this reminds me that I still haven't examined (nor installed) the latest patch: I'm curious to know if there are changes related to the restock signs.

I've finally started my Journal. Information only, no questions.

My latest activity: CEP 9.2.0! - AnyGameStarter 2.1.1 (UPD) - Scriptorium v.2.2f - Photo & Plaques hide with walls - Magazine Rack (UPD) - Animated Windows Hack (UPD) - Custom Instrument Hack (UPD) - Drivable Cars Without Nightlife (UPD) - Courtesy Lights (FIX) - Custom Fence-Arches - Painting-TV - Smarter Lights (UPD)


I *DON'T* accept requests, sorry.
Lab Assistant
#56 Old 10th Jul 2006 at 9:31 AM Last edited by blubug : 10th Jul 2006 at 9:32 AM. Reason: added something
Well I can absolutely say they haven't fixed it particularly, or accidentally. The shopping lots have gone haywire with missing signs But you might want to look at the code and see what I was unable to see
Test Subject
#57 Old 31st Jul 2006 at 12:59 AM
I have FFS installed, but I'm still getting the misplaced restock sign error. I assume I shouldn't bother downloading this as well, if it is just code from FFS. Are there any other ideas for getting rid of this restock bug? On the lot I'm currently playing (J'Adore Bakery), a sign ends up across the street for EVERY SINGLE item I sell and attempt to restock, whether Maxis-made or custom content. The lot is completely unplayable as a business because of this.
The ModFather
retired moderator
Original Poster
#58 Old 31st Jul 2006 at 8:58 AM
Yes, if you have FFS, there's no reason to download this fix; and - as said - even who does not have FFS can save his time and avoid downloading.
I didn't remove the attachment from this thread, so far, because I want to keep this thread alive for reports about the bug, but I admit that I've come to the conclusion that this fix is just useless...

I tried examining the game code, in search of the root of the problem, but it's just too complex. This bug is something only Maxis can fix, and I'm worried (and frankly upset) by the fact that Maxis never acknowledged even the existance of the problem...
I'm afraid we have to live with this bug.

I've finally started my Journal. Information only, no questions.

My latest activity: CEP 9.2.0! - AnyGameStarter 2.1.1 (UPD) - Scriptorium v.2.2f - Photo & Plaques hide with walls - Magazine Rack (UPD) - Animated Windows Hack (UPD) - Custom Instrument Hack (UPD) - Drivable Cars Without Nightlife (UPD) - Courtesy Lights (FIX) - Custom Fence-Arches - Painting-TV - Smarter Lights (UPD)


I *DON'T* accept requests, sorry.
MTS2 Hot Pepper
#59 Old 25th Aug 2006 at 9:17 AM
I quited playing businesses right because of this bug
I cant use this hack and those related together so it is so frustrating to me.

Currently playing Sims 4 full collection. (and fixing my mods folder)
The ModFather
retired moderator
Original Poster
#60 Old 25th Aug 2006 at 9:23 AM
I've even asked MaxoidTom if - at least - Maxis was aware of the problem, but he didn't reply me; I feel frustrated, too...

I've finally started my Journal. Information only, no questions.

My latest activity: CEP 9.2.0! - AnyGameStarter 2.1.1 (UPD) - Scriptorium v.2.2f - Photo & Plaques hide with walls - Magazine Rack (UPD) - Animated Windows Hack (UPD) - Custom Instrument Hack (UPD) - Drivable Cars Without Nightlife (UPD) - Courtesy Lights (FIX) - Custom Fence-Arches - Painting-TV - Smarter Lights (UPD)


I *DON'T* accept requests, sorry.
Lab Assistant
#61 Old 14th Feb 2007 at 1:17 AM
I've just noticed this thread, and am having similar/related problems. The major problem is that none of my business shelves work any longer. It started with the restocking error. I used boolprop testingcheatsenabled true and I deleted out all of the restocking signs that had magically appeared somewhere else on the lot.

Then I tried to restock the missing items. No signs on shelves in those locations. I tried removing all the items and then moving the shelves to a different location. I also tried removing all the items and then deleting and repurchasing the shelves. The end result is that all the items are back in inventory. They can be eaten, they can be put down and price enabled on other surfaces. But NONE of the Maxis OFB shelving works. I can use standard kitchen counters and enable them for sale just fine. But the Maxis shelving is "broken". Even the ones that I hadn't purchased before.

I've tried all the varieties and none of them work. When I try to manually restock an item, it doesn't permit placement there. When I click the item, no restock signs show up. (Since there shouldn't be any restock signs on new shelves, this isn't surprising.)

Anybody got any thoughts?

Thanks!
Test Subject
#62 Old 10th Sep 2007 at 11:49 PM
I have a Chocolate store (using Cakes from the base game and Choco Bunnies by a mod from this site), and I only noticed this bug kicking in if I restocked a Bunny that had been restocked once before. When the missing Signs were "Restock"ed, a Bunny from Inventory appeared on the ground marked For Sale in a circle around the Signs, even though this was in the "Forbidden Zone". I was able (without using move_objects) to move the Chocolates back into the lot area, but they could not be replaced onto any Shelves.
The bug never messed with the Cakes.
Lab Assistant
#63 Old 2nd Nov 2007 at 12:55 AM
I had heard about this bug, and was really hoping they'd figure it out and patch it when one of the newer EPs came out. OFB is my *favorite* EP. I love being able to make stuff, sell stuff and own businesses. It appeals to my crafty, entrepreneurial spirit. (But not my spelling, since i misspelled "appeals" three times before i finally got it right. *sighs*)
Page 3 of 3