Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/same network multiple extract only storage buses #612

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

hiroscho
Copy link

@hiroscho hiroscho commented Nov 14, 2024

Closes GTNewHorizons/GT-New-Horizons-Modpack#17950

The available items in a network connected via a extract-only storage bus are only read once, a second attempt via another storage bus attempt will return early without checking the items since the network was already visited before.

This PR will make it so that the StorageBusInventoryHandler caches the items for the current iteration and from which network(s) it retrieved them.

@Dream-Master Dream-Master requested a review from a team November 15, 2024 11:58
@hiroscho hiroscho marked this pull request as draft November 23, 2024 00:13
@hiroscho
Copy link
Author

Drafted until I fix the issue with items in cyclic storage bus setups being attributed to the wrong network.

@hiroscho hiroscho marked this pull request as ready for review November 23, 2024 14:58
@hiroscho
Copy link
Author

hiroscho commented Nov 23, 2024

Created a new issue for GTNewHorizons/GT-New-Horizons-Modpack#18074. Currently I cannot see a solution for it without large changes to AE2. The cause for both issues is the same, that the network is only read once.

This PR however will still fix the issue of having multiple storage buses in extract-only reading from the same network and as such I reopened it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Subnet contents not visible through storage busses
3 participants