McJtyMods / XNet

Advanced item/liquid/energy/... networking
MIT License
96 stars 53 forks source link

[questions/possible sugestion] how to use xnet with the builder with a chest in the middle. #254

Open winsrp opened 6 years ago

winsrp commented 6 years ago

So I was wondering if it is possible to hook up a connector or advanced connector and tell the builder to store the items you quarry directly into the network or the other way around, let the builder know all the items that are in the storage network for it to pick when building stuff?

Could be a good feature if there is currently no way to do it.

I was also thinking in the crafter and the way it crafts items, i would be better to not have a temporal storage for items, but to pick them from the network. (to be honest that temp storage the crafter has is kind of a pain to use), I would like to have something like crafting cards, where I store the whole crafting sequence, and on the gui that now is currently storing items, it would just display the base materials I need to craft my item (the unique ones that are not crafted by the sequence itself) so I know what I need to pump into the crafter (or could extract automatically from the network)

Sorry it turned out to the 2 suggestions instead of 1, and this second one probably belongs somewhere else.

McJty commented 6 years ago

Why is that temp storage a pain to use? What's your problem with it?

josephcsible commented 6 years ago

Hmm, how about something like the storage scanner that exposes other blocks' inventories as its own?

winsrp commented 6 years ago

@josephcsible that could be, but normally (and specially when building) I take the builder with me, if you think in terms of normal game progression you will use the space chamber to make buildings from a live blue print and you need to take the builder with you, if the structure is kind of large you need more materials than you can carry, and this could be improved by just putting a cable from xnet and plugging the builder to the network, since the storage scanner doesn't have the range (and if it had, it would scan a large area and would pick items from other players as well)

@McJty love how the other topic got your attention XD... allow me to elaborate a bit.

As a fellow programmer you know we normally take the hard approach when building stuff to make the users have the best experience with what ever we do, best experience normally means the easiest, less complicated, least amount of click, whatever you measure is,

I like playing minecraft in survival with my friends we have a little private server, and so things are balanced in order to have a certain progression, when checking out the different options we have for auto crafting within the mods we have installed, we only have 3 options so far, immersive engineering, rftools, and refined storage.

In terms of easy of construction your is the easiest one, but also the least powerful one, since it can do up to 8 recipes, doesn't takes liquids (only in buckets) and is kind of hard to use in comparison with the other 3, next is the immersive engineering, since even when it takes lots of materials and only takes 3 recipes it does accepts liquids pumped into the machine making it a little easier to handle (no need to manually fill buckets or use another of the immersive engineering machines to fill a bucket for you), and finally the one from refined storage which, takes tons of materials to setup the whole network but well... does everything in a single block, it stores like 10 recipes, you don't need to setup weird sequences, just single recipes, takes all your items and liquids from the inventory and is really fast and easy to use.

(if you haven't tried those mods, you should, in order to see what other mods are doing and improve your own machines in order to be even better, but still different from the rest)

But enough mumbo jumbo and lets get to the point, why is is a pain, let make an example, a tier 1 storage module card.

So based on the materials I need a chest, (which lets say I have), and gold nuggets which lets say I don't have I only have gold ingot... and the other normal things, gold, redstone, etc first thing a normal user does, is put on the first slot the recipe for the storage module card, and then he snaps and says duh, if the recipe is in order it should go second and there is no button to re-arrange the recipes... (flaw 1), now I start piping down items, and lets say I use a hopper since its early game stuff, it takes a while to load, but that is ok... I touch none of the options on the GUI, just the recipes and put them in their slots, I'm using a tier 1 crafter.

Everything is loaded now into the crafter... first thing is that bummm... nuggets to the output slot... dang!... so I start checking the options... and OHH... ok... output to the internal buffer, ok I put another 64 gold into the machine... and all the sudden I have 4 cards and TONS of nuggets.. like tons... why did it use all my gold into nuggets if it only could craft 4 items... (flaw 2, craft one full recipe cycle, and stop when you cannot continue, instead of looping just the first part over and over, it can ruin TONS of items, and fill the internal inventory), I check the "keep" option, nope, not what I needed. So what I try now is to remove all the nuggets from the internal inventory, but I leave 1 and hit remember items in internal inventory to see if it will at least not craft more than the remembered slots, pump another bunch of gold... bam... tons of nuggets again!

I'll stop here... since the more complicated the recipe is (more steps) the bigger this problem gets, and even when I know you wanted to make it powerful by allowing the user to have TONS of options, modes and so on, it makes it just too complicated and has some mayor flaws in it that make it just not that useful in real game.

Try the other 2 mods I told you about, and see how much less options allow better handling of items. =D

winsrp commented 6 years ago

wow now that I see the post, sorry for the HUGE wall of text!

josephcsible commented 6 years ago

since the storage scanner doesn't have the range (and if it had, it would scan a large area and would pick items from other players as well)

You can set the storage scanner to use XNet instead of being wireless with a given range. Would this do what you want?

winsrp commented 6 years ago

@josephcsible I will give it a try before saying it would, brb! XD

winsrp commented 6 years ago

@josephcsible well it seems to work to clear land, it will put all items into a storage scanner, but not for building... it will just not pull the items out for some reason, maybe I did something wrong, I'll keep playing with it to see if I make it work, but so far no luck.

winsrp commented 6 years ago

tried everything to make the builder take items from the storage scanner and it won't work (I did saw the video mcjty did about it) tested everything and still it doesn't take the items from the storage scanner, it's like the builder just doesn't see the items, but it does works to send items to the storage scanner when doing quarry, so that was kind of cool.