reobf / Programmable-Hatches-Mod

An addon for GTNH modpack(2.5.1+)
MIT License
83 stars 3 forks source link

Bug assline #136

Closed evgengoldwar closed 1 month ago

evgengoldwar commented 2 months ago

image

image

image

Occasionally it happens that assline crashes and some of the items are left in the drovers

reobf commented 2 months ago

Still have the exact number of items left in drawers?

reobf commented 2 months ago

Better set the update interval of decoy bus to 1 ticks.

Not much clues for this... How many times has it happened so far?

evgengoldwar commented 2 months ago

Still have the exact number of items left in drawers?

Out of the weird stuff, it leaves x1 of one item randomly and everything else can be in drovers but their number will be 0

evgengoldwar commented 2 months ago

Better set the update interval of decoy bus to 1 ticks.

Not much clues for this... How many times has it happened so far?

Many times, most often it was if you were crafting an energy hatch and the bug left coolant cells in the drawers

evgengoldwar commented 2 months ago

image

image

Now out of 1000 сrafts this one has broken 1 time

reobf commented 2 months ago

Can you upload the savefile? And I might be slow in investigation of this bug this week, I will have more time after that.

reobf commented 2 months ago

Still have the exact number of items left in drawers?

Out of the weird stuff, it leaves x1 of one item randomly and everything else can be in drovers but their number will be 0

That is to say, the shutdown tends to happen on the last batch, is that correct? Or does it void almost anything even there are several batches left to do?

evgengoldwar commented 2 months ago

Can you upload the savefile? And I might be slow in investigation of this bug this week, I will have more time after that.

I can assume that only recipes with the same items in different slots are buggy, because only they remain in the drowers

reobf commented 2 months ago

Can you upload the savefile? And I might be slow in investigation of this bug this week, I will have more time after that.

I can assume that only recipes with the same items in different slots are buggy, because only they remain in the drowers

So does it only happens when there's only one group of materials for one single recipe?

evgengoldwar commented 2 months ago

Can you upload the savefile? And I might be slow in investigation of this bug this week, I will have more time after that.

I can assume that only recipes with the same items in different slots are buggy, because only they remain in the drowers

So does it only happens when there's only one group of materials for one single recipe?

image

This recipe has caused the bug many times before and now again and has 2 identical plates in it

evgengoldwar commented 2 months ago

image

Maybe there's something to adjust here? I tried changing the drowqers to super chest and it didn't work.

reobf commented 2 months ago

I can assume that only recipes with the same items in different slots are buggy,

I get it.

But I want to know that: has it ever happened when the amount is, like 10 40 40 40 40 10

You said that, after it shuts down, other drawers are empty, so the amount turns from 1 4 4 4 4 1 to 1 0 0 0 0 1

So have you ever encounterd shutdown when amount is 10 40 40 40 40 10 ?

Don't have to be 100% sure, just let me know if it's more possible to shutdown on the last batch.

I failed to reproduce, and it's painful because of randomness, so it would be nice to know exactly the same sutuation when this bug happens.

image

reobf commented 2 months ago

Maybe there's something to adjust here? I tried changing the drowqers to super chest and it didn't work.

Well, setting refresh tick to 1 should be better, but not 100% workaround the bug.

evgengoldwar commented 2 months ago

I can assume that only recipes with the same items in different slots are buggy,

I ordered 10 radiation proof and crafted fine

reobf commented 2 months ago

I might have figured it out. It's a bug of Priority Filter Bus, it only auto-marks the items in storage of same priority, but when auto-pull, it shows amount of this item from all storages.

For example, amount is 1 4 4 4 4 1 The first Priority Filter Bus shows 2 Radiation Plates. But when extracting items, there's only one available in the frirst storage, so it crashes. This might happen if Decoy Bus failed to update in time, and assline will try to find from the Priority Filter Bus.

reobf commented 2 months ago

try this https://github.com/reobf/Programmable-Hatches-Mod/releases/tag/v0.1.1p3-beta