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
240 Thanks  Thanks     15 Favourited
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:



Download files

Filename Size Downloads Date
GlobalMod_FFS-Fix-for-restock-signs.zip

Size: 955 Bytes · Downloads: 2,581 · 17th Apr 2006
955 Bytes 2,581 17th Apr 2006

Key: - File was updated after upload was posted
Tip: You can click the magnifying glass to see the archive contents

Need help with downloading or installing content? Click here!
 
61 Comments / Replies (Who?)

Expansion/Stuff packs required:
Open for Business

61 Comments / replies (Who?)

277 Downloads

33,611 Views