[Mod] Pipeworks [git] [pipeworks]
So I just updated all my mods. Was really wanting to try this transport out. However, I followed the guide and the pictures.
The mese sorting tube just passes right on through and ignores what ever items I put next to the colours.
The recieving chest never gets the item. Just pops right out of the tube.
?????Help????
The mese sorting tube just passes right on through and ignores what ever items I put next to the colours.
The recieving chest never gets the item. Just pops right out of the tube.
?????Help????
- VanessaE
- Moderator
- Posts: 4655
- Joined: Sun Apr 01, 2012 12:38
- GitHub: VanessaE
- IRC: VanessaE
- In-game: VanessaE
- Location: Western NC
- Contact:
I am not sure why it's doing that, since it worked fine for me. Can you show me a screenshot of a non-working example?
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
- Likwid H-Craft
- Member
- Posts: 1113
- Joined: Sun Jan 06, 2013 14:20
- Location: Lost in Crypt
Nore wrote:It looks like the items are not lost when they go out of the loaded map, but that you need to reconnect to get them back (strange bug surely related to the engine).
I never lose items. They just pop out the last tube before the enter the chest. I have alos upgraded pipeworks. As far as the tubes go they transport items. Filter works. But sorting, teleporting, speed, recieving does not work.
Nore wrote:I have finally been able to reproduce the bug: I think you use technic. If so, can you comment the line that executes the file injector.lua (the bug come from there), and tell me if there is still a bug?
Yes technic is installed. I have tried uncommenting that line and just a quick test (chest)(filter)(tubes)(chest) now works....i will test the rest later.
I will explain the tube API for the ones who want to make their mods compatible...
You just have to add the tubedevice=1 if you want your node to connect to tubes, and tubedevice_reciver=1 if you want tubes to insert items in it.
Next, add a tube table to the nodedef. If the node is tubedevice_receiver, you should add two functions in it: insert_object(pos,node,stack,direction), which inserts the stack in the node (use direction to know which way the stack is coming from), and returns the leftover stack, and can_insert, which has the same arguments, and returns if insertion is possible.
If you want the filter to be able to take items from your node, add an input_inventory string, which is the name of the inventory from which the filter will take.
Finally, you can register tubes with the register_tube function: it takes as arguments the textures, and a nodedef table. If the tube has a table "tube", in which there is a function can_go, it will be called when an item gets to the center of the tube, to know which way it should go.
If this is not clear enough, look at the compat.lua and tubes.lua files for examples.
You just have to add the tubedevice=1 if you want your node to connect to tubes, and tubedevice_reciver=1 if you want tubes to insert items in it.
Next, add a tube table to the nodedef. If the node is tubedevice_receiver, you should add two functions in it: insert_object(pos,node,stack,direction), which inserts the stack in the node (use direction to know which way the stack is coming from), and returns the leftover stack, and can_insert, which has the same arguments, and returns if insertion is possible.
If you want the filter to be able to take items from your node, add an input_inventory string, which is the name of the inventory from which the filter will take.
Finally, you can register tubes with the register_tube function: it takes as arguments the textures, and a nodedef table. If the tube has a table "tube", in which there is a function can_go, it will be called when an item gets to the center of the tube, to know which way it should go.
If this is not clear enough, look at the compat.lua and tubes.lua files for examples.
- VanessaE
- Moderator
- Posts: 4655
- Joined: Sun Apr 01, 2012 12:38
- GitHub: VanessaE
- IRC: VanessaE
- In-game: VanessaE
- Location: Western NC
- Contact:
Done. Can you check to see if I missed anything?
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
- webdesigner97
- Member
- Posts: 1328
- Joined: Mon Jul 30, 2012 19:16
- GitHub: webD97
- IRC: webdesigner97
- In-game: webdesigner97
- Location: Cologne, Germany
- Contact:
I love this mod! It's cool to transport water
Visit me: webD97.de | @GitHub | @DeviantArt
Mods: StreetsMod | Vehicles
Featured from my blog: Dockerize the Minetest server
On my own behalf: Chameleon - A PHP image manipulation library built around GD
Mods: StreetsMod | Vehicles
Featured from my blog: Dockerize the Minetest server
On my own behalf: Chameleon - A PHP image manipulation library built around GD
- VanessaE
- Moderator
- Posts: 4655
- Joined: Sun Apr 01, 2012 12:38
- GitHub: VanessaE
- IRC: VanessaE
- In-game: VanessaE
- Location: Western NC
- Contact:
Ok, everything is documented now except the deployer - I don't understand how it works. :-)
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
No, what the deployer does it that it does the same as a player right_clicking with the items in his inventory. So it will place blocks or items depending on what they are, or it will do the same as if you right_clicked the node if it does something.
The mese pipe will prevent any item from leaving through that direction when off (the blocks in the line don't change anything).
The mese pipe will prevent any item from leaving through that direction when off (the blocks in the line don't change anything).
- VanessaE
- Moderator
- Posts: 4655
- Joined: Sun Apr 01, 2012 12:38
- GitHub: VanessaE
- IRC: VanessaE
- In-game: VanessaE
- Location: Western NC
- Contact:
Ok, I get it now. I think I spotted a bug though - If the deployer is set to place a node such as sand or wood, it does not subtract it from its inventory. That is, if I put say 5 wood blocks into the deployer and instruct it to place one, there are still 5 in the deployer's inventory. This doesn't happen with craft items like a steel ingot.
Also, suggestion: Change the deployer's inventory to 5x2 or 4x2 spaces instead of 3x3 - it looks like a crafting grid right now :-)
Also, accessing the deployer's inventory is very slow compared to elsewhere.
Also, suggestion: Change the deployer's inventory to 5x2 or 4x2 spaces instead of 3x3 - it looks like a crafting grid right now :-)
Also, accessing the deployer's inventory is very slow compared to elsewhere.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
Who is online
Users browsing this forum: Google [Bot] and 45 guests