Page MenuHomeFeedback Tracker

Houseinventory broken since 1.04
New, UrgentPublic

Description

In 1.03 the house inventory worked fine. In the 1.04 exp version, there seems to still be an inventory for static buildings but it does not properly show up in the GUI.
Only attachments are shown, the cargo gui element is missing

The building has the class=house in the p3d and the following cargo config

class Cargo
{
    itemsCargoSize[] = { 10, 3 };
    allowOwnedCargoManipulation = 1;
    openable = 1; //also tried 0
};

Also it uses

	override bool IsInventoryVisible()
	{
		return true;
	}

	override bool CanUseConstruction()
	{
		return true;
	}

	override bool CanDisplayCargo()
	{
		return true;
	}

to make the inventory visible and fix the check in the vicinity item manager. The desired object is returned correctly as part of the showable_items array in the VicinityContainer and as far as I debugged - it is added with an AttachmentCategoriesContainer because I also have a GUIInventoryAttachmentsProps present in the config.

I could not see any difference in script or config compared to how other objects setup their inventory, cars for example, so I assume something broke in a different place.

Please check what is going on and or tell us what we need to do in order to have working building/house inventories again.

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General

Event Timeline

Arkensor updated the task description. (Show Details)
mov3ax added a subscriber: mov3ax.Jun 26 2019, 12:16 PM
rVn claimed this task.Jun 26 2019, 1:24 PM
Arkensor updated the task description. (Show Details)Jun 26 2019, 1:26 PM
Arkensor updated the task description. (Show Details)Jun 26 2019, 5:18 PM

Still not working in 1.04 stable :(

digiacomtech added a comment.EditedOct 6 2019, 5:20 PM

@rVn ... What is the status of this issue? Is this still a problem in v1.05? Airdrop users are wanting loot to spawn in the containers vs. scattered on the ground because we can't access the container inventory :(

digiacomtech added a subscriber: Geez.EditedOct 6 2019, 5:30 PM

@Geez ... Can you see if this is being looked into? I heard that rVn is no longer with BI.

DafixCz added a subscriber: DafixCz.Oct 6 2019, 5:56 PM

This has been addressed internally and will be part of the next stable patch. I will document how to add inventories to Buildings as soon as the fix is confirmed working.