| Search this Thread |
|
|
|
|
Buzzler
Original Poster
1978 gallons of pancake batter
|
A user brought up an issue with my Scribbling Pad. It gets purged from sim inventories on transition to vacation worlds. It doesn't re-appear on return. Right now, I have no idea what might be the cause of this issue. All sims get reset on transition, but that's not it. I guess it happens in Sims3.Gameplay.Core.Bin.ExportHouseholdForTravel() which calls Sims3.SimIFace.CustomContent.DownloadContent.ExportLotContentsToTravelBin(). There's no chance to figure out what this stuff does, though, as all calls go to methods in the unmanaged code. The Box Of Seeds doesn't get purged, so I looked for differences, but there are no striking differences. Of course, there are a few differences in the code, especially since the Scribbling Pad implements the ICarryable and IHasRouteRadius interfaces. Maybe it's something in the OBJD resource? I couldn't find any striking differences there, either. Any ideas on that? |
|
Robot Armed With Down Comforter Levels Apartment Building, Holds Mayor Hostage. |
|
|
|
|
|
|
#2 |
|
Kolipoki
The Attack Cat
|
I haven't heard any complaints for my wand disappearing as well so maybe it has to do with the note pad's original code being homework? Does the same thing happen to one's homework in the inventory of the traveling sim? If not maybe the homework code has some sort of fix for it. |
|
|
|
|
|
#3 | ||
|
Buzzler
Original Poster
1978 gallons of pancake batter
|
Quote:
Quote:
| ||
|
Robot Armed With Down Comforter Levels Apartment Building, Holds Mayor Hostage. |
|||
|
|
|
|
|
#4 | |
|
Kolipoki
The Attack Cat
|
Quote:
I didn't mean that but the actual object itself though. Ins't it the same mesh of that of homework? | |
|
|
|
|
|
#5 | |
|
Buzzler
Original Poster
1978 gallons of pancake batter
|
Quote:
| |
|
Robot Armed With Down Comforter Levels Apartment Building, Holds Mayor Hostage. |
||
|
|
|
|
|
#6 |
|
Buzzler
Original Poster
1978 gallons of pancake batter
|
Ok, I found it. I had code in the ItemComponent.CanAddToInventoryCallback method to check whether the inventory.Parent belongs to the same lot as the object. I was unaware that the callback gets called on world transition. All the lot information seems to get completely mangled on world transition and seems to be unreliable to begin with. Especially mOwnerLot gets overwritten every time an object gets added to an inventory, so on arrival that field still references the sim's HomeLot in the home world and afterwards it references the HomeLot of the TravellerHousehold. I wasn't able to completely resolve the issue until I removed all related checks. |
|
Robot Armed With Down Comforter Levels Apartment Building, Holds Mayor Hostage. |
|
|
|
|
![]() |




Twitter
del.icio.us
StumbleUpon
Google