[DW20 pack] Need help with automated quarry(with mining wells)

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

431und

New Member
Jul 29, 2019
8
0
0
Hello everyone, I built my automatic quarry with mining wells and force manipulators from MFFS which is the only way now as i understand it since there is no frames anymore.

Basically I can't figure out any way of having it both automatically move AND a remote on/off switch. When I use a computer+enderchest to activate force manipulators when there is something in the enderchest, my computer gets stuck on p.getStackInSlot(1) line in this startup program:

Code:
local p = peripheral.wrap("top")
while true do
        if p.getStackInSlot(1) then
                print("true")
                shell.run("mine")
        else
                print("false")
                sleep(5)
        end
end

I tried using a turtle with this startup program instead:

Code:
while true do
  if turtle.suckUp() == true then
        print("true")
        turtle.dropUp()
        shell.run("mine")
  else
        print("false")
        sleep(5) -- Wait 5 seconds
  end
end

but it had the same issue where it was getting stuck on turtle.suckUp() == true.
I can't use Wireless Redstone because it has a bug where receivers pop off after being moved by MFFS Force manipulators. Apparently same happens to Project Red redstone stuff like timers, NOT gates etc. AND it happens to vanilla comparators and repeaters too.

So to sum up all this: I can't use Project red, since it pops off after being moved by Force Manipulators. I can't use Wireless Redstone for the same reason. I can't use computercraft because it randomly can get stuck after rebooting if my startup program checks for something. I can just place a computer which will have something like this as it's startup program:
Code:
sleep(10)
redstone.setBundledOutput("left",1) -- activate force manipulator
but this will just run forever since every a computer will get moved it will reboot and repeat this again so i will have no remote off switch.

So does someone know how to fix at least one of this problems or suggest another way of doing what I need: automatic activation of one force manipulator+having an on/off switch?
 

Bentenmaru

New Member
Jul 29, 2019
13
0
0
Direwolf20 made a mining rig in the latest episodes he posted on youtube with mining wells and MFFS but he did discover that somehow its bad to move computers/turtles with MFFS he stated in episode 45
 

431und

New Member
Jul 29, 2019
8
0
0
Okay I messed around with this a bit more and discovered a solution! All i had to do is move all the checking to the "mine" program and just leave "shell.run("mine")" in the startup. Now it seems to behave as expected. I've left it running now for about 30 minutes and it haven't got stuck. here is my code if anyone's interested(although it's messy and not nice looking because I was frustrated and then finally got it working so i decided to leave it as it is): http://pastebin.com/Zn0AZ5kF
And the screenshot of the setup:
TfiM9PX.jpg


P.S In my case there is a turtle here, so if you want to use the same code in a computer, you might switch the side from right to left in redstone.setBundledOutput("right",1) because it's weird like this - turtles' and computers' left and right are switched if you look on the front part of both of them.
 

431und

New Member
Jul 29, 2019
8
0
0
Does yours remove the pipes properly?
Yes. All you have to do is set it up like this:
RNDg3YU.jpg

This way when your machine moves, conduits will move over the pipes and pipes will disappear since conduits are not a full block.