Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

User_OC

Members
  • Content Count

    10
  • Joined

  • Last visited

Posts posted by User_OC

  1. Actually, you can sneak-right-click with a robot, you just need to pass in true as the second argument. And it seems you can indeed shift-right-click (with an empty hand) to turn on computers  and robots, so glad I learned this!

    :D :D :D

     

    Thank you very much!

    The robot turns on.

    local robot = require("robot")
    robot.use(3, true)
    
    

    This command works.

    Now it will be possible to do fully automatic cycle for the production of robots.

    Some robots will make other robots, and they in turn will perform the necessary work in the automatic mode - miners, farmers, construction of buildings, etc ..

    ----------

    It remains only to solve the problem with the recording to hard disk needed robot programs. :rolleyes:

  2. Here we are talking about automating this process.
    If you use the right button [robot.use ()], to open the robot,
    and then the left button [robot.swing ()], to press the power button on the robot,
    the robot will not turn on, these commands do not work.

    local robot = require("robot")
    
    robot.use()
    robot.swing()
    
    
  3. I connected the computer to the assembler (set next).
    On the computer I ran this program:

    local assembler = require("assembler")
    
    assembler.start()
    

    On-screen error: this module is not found.
    I is difficult to figure out which classes and libraries exist in OpenComputers and how they are related to specific modules (eg with Assembler).
    So I suggested a version of the program with the operator [assembler.start()]

  4. I want to automate the production of robots.
    Robot-builder is coming to assembler and runs the program:
     

    local robot = require("robot")
    local c = require("component")
    local ic = c.inventory_controller
    
    
    robot.select(1)           
    ic.dropIntoSlot(3, 1, 1)
    robot.select(2)           
    ic.dropIntoSlot(3, 5, 1)
    robot.select(3)          
    ic.dropIntoSlot(3, 6, 1)
    robot.select(4)          
    ic.dropIntoSlot(3, 4, 1)
    robot.select(5)          
    ic.dropIntoSlot(3, 14, 1)
    robot.select(6)           
    ic.dropIntoSlot(3, 17, 1)
    robot.select(7)          
    ic.dropIntoSlot(3, 18, 1)
    robot.select(7)          
    ic.dropIntoSlot(3, 19, 1)
    robot.select(8)          
    ic.dropIntoSlot(3, 21, 1)
    robot.select(9)         
    ic.dropIntoSlot(3, 20, 1)
    robot.select(11)        
    ic.dropIntoSlot(3, 3, 1)
    robot.select(12)        
    ic.dropIntoSlot(3, 7, 1)
    robot.use() -- ??????????
    
    

    Location of components in the robot-builders:
    post-1857-0-23742700-1428156585_thumb.jpg

    After assembly, the components are arranged as follows:

    post-1857-0-39218700-1428157020_thumb.jpg

     

    I have a question: how can activate the button "Assemble"?
    Team "robot.use ()" does not include this button.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.