AE2-UEL / Applied-Energistics-2

AE2UEL, a Fork of a Minecraft Mod about Matter, Energy and using them to conquer the world.
https://legacy.curseforge.com/minecraft/mc-mods/ae2-extended-life
Other
74 stars 70 forks source link

Autocrafting items stuck/unable to simulate properly #250

Open BlakeTech opened 1 year ago

BlakeTech commented 1 year ago

Requesting for Naquadah coils, we have the recipes for the steps all plugged in. Come time to request for them, it only lets us make 16 coils, despite us having the materials to make 48 coils. The interface we get before pressing "Start", it would usually show a list of items it would reqquire, and if missing any, would highlight in red, which we do not see. The scrollbar, also does not show anything below, thus the page we see was all the parts it needed to accomplish the craft.

Describe the bug

Requesting for items to be autocrafted, it sometimes fails to detect that all the materials are available to craft, or it's stuck trying to simulate the process, despite it being relatively straightforward. We further tested this by requesting the 16 coils it allowed us to, before requesting a second batch of the same coils, which should undergo the exact same processes. The second simulation failed.

To Reproduce

Unsure how to set the environment up. Only information available is to set up the autocrafting recipes, and request for it to autocraft. Screenshot of the "error" attached, however helpful that would be.

Expected behavior

If the amount of items is there, if the processes to make the sub-components are there, then autocraft it,

Additional context

stuckautocrafting

Environment MP server, playing Nomifactory GTCEU edition v1.5.2. Ubuntu 22.02 host, 4c,4GB allocated.

BlakeTech commented 1 year ago

Further looking into indicates it could have something to do (and seems to react similar to) with how Drawers, specifically, compacting drawers show three times the items, and since the metals were stored in drawers, I tested by also removing a stack of the ingots out of the drawers, and put them in a storage crate connected via storage bus to verify, with a higher priority than the drawers, then requesting for coils totaling less than the required ingots taken out for the test. Issue still applies.

HungryDoctor commented 1 year ago

I have a similar issue. For example, I have a processing pattern 1:3. 2023-03-29_13 45 00

For relatively small values, it is able to craft requested items. I have requested 2000. 2023-03-29_13 45 19

But for bigger batches, it stuck (but visually calculations are correct). I have requested 10000, 2023-03-29_13 45 37

The last processing batch is not crafted. 2023-03-29_13 46 44

HungryDoctor commented 1 year ago

It worked on appliedenergistics2-rv6-stable-7-extended_life-v0.55.9 but after moving to appliedenergistics2-rv6-stable-7-extended_life-v0.55.11 it got broken. With ae2, only CraftTweaker was updated, so looks like it is an issue of ae2

IntegerLimit commented 1 year ago

What about v0.55.12?

HungryDoctor commented 1 year ago

It will take some to update ae2 on the server. Also, I haven't seen any related items in release notes

FakeDomi commented 1 year ago

Are you refreshing the crafting simulation by chance? .11 has a new feature that automatically refreshes the crafting plan if submitting it to the system fails. You should get a notification like https://user-images.githubusercontent.com/1492543/226205733-8b25ae03-1de8-44e0-be7b-67394c7e4f93.png when it happens, and you need to click the start button again.

Also @HungryDoctor I think you should open a separate issue since it's a different problem.

HungryDoctor commented 1 year ago

Ok, I will create a separate issue. #251

BlakeTech commented 1 year ago

What about v0.55.12?

Uncertain. I'm sticking with the modpack as it is released, so would have to either wait until the pack updates in, presumably, two weeks, or update it manuallly and ask other members to do so as well. Then would follow simulation testing to verify the issue is gone, though it now appears intermittent, so I would be unable to confirm if the issue is resolved, only deny.

BlakeTech commented 1 year ago

Nevermind, updated the server and client to use 55.12, issue still persists.

FakeDomi commented 1 year ago

Do you happen to have cyclic ingredients? Like item A requires a bit of B, and B requires a bit of A to make. AE can't handle that.

BlakeTech commented 1 year ago

No, it does not have cyclic ingredients.

BlakeTech commented 1 year ago

So, new/verifying information. Also, to prevent the issue from going stale. The network is seemingly misreporting the amount of stuff we have.

Interestingly, the storage is just a chest with a storage bus on it. So, it's not related to the compacting drawers tripling the reported items. it straight up is reporting an amount of items it never had available to craft with.

The recipe is as simple as they come. Nomifactory modpack. Extract plutonium 242 and curium 246 into stabilized forms to produce sunnarium. Literally 2 input items and one output item.