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

Add a third mode of item distribution #556

Open
Leo781 opened this issue Sep 13, 2023 · 3 comments
Open

Add a third mode of item distribution #556

Leo781 opened this issue Sep 13, 2023 · 3 comments

Comments

@Leo781
Copy link

Leo781 commented Sep 13, 2023

Problem: uniform distribution across all mechanisms does not work.
It distributes either stack or custom value, but then the items are filled very unevenly, and the speed of the mechanisms is lost.

Video Demonstration: (At the end I chose сraft 256 (4 stacks) instead of 1000! I did a lot of editing and it's a mistake.)
https://thumbsnap.com/i/TaBJPciW.mp4

Here's a pseudo-code example of how it works now, and how I think it should work:
https://pastebin.com/Bxnb4H9E

One possible solution (thanks @Primitive-Human): in the extract connector specify extract 64/5tick, and specify the number of items in the "max amount" field, for example 1-2-4, then the items will be evenly distributed to any number of mechanisms, and due to the fact that xnet will support at least 1 item, there will always be a resource in the mechanism and it will be very fast for most mechanisms, with any number of speed upgrades.

For autocrafting AE2 it is more reasonable to use ME pattern providers, they distribute everything evenly, and they don't need to be customized because they don't clog mechanisms, when crafting 2+ items at the same time.
If you, like me, decide to autocraft via providers+chest, please give up, it's a terrible idea that will eat up a lot of time and you'll go back to providers+mechanisms anyway!

@McJty
Copy link
Collaborator

McJty commented Sep 15, 2023

This is pretty complicated to actually implement efficiently

@Leo781 Leo781 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 15, 2023
@McJty McJty reopened this Sep 15, 2023
@McJty
Copy link
Collaborator

McJty commented Sep 15, 2023

I said it was complicated. Not that it was impossible. I'm not sure when and if I'll do it but it's a useful option so I'm going to keep this option for whenever I feel that I'm up for the challenge

@Leo781 Leo781 changed the title [enhancement] Add a third mode of item distribution Add a third mode of item distribution Sep 15, 2023
@Primitive-Human
Copy link

Still not seeing the point

No, all those greyed out settings you're referring to do not matter.

All that matters is entering a small number in the #[_____] box on your INSERT menu. Try that before you write a book about why it doesn't work the way you want.

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

No branches or pull requests

3 participants