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

Search the Community

Showing results for tags 'robot'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • OpenComputers
    • Announcements
    • Feedback
    • IRC
  • Code Central
    • Support
    • Showcase
    • Tutorials
  • Addons & More
    • Addons Mods
    • Architectures
    • OpenEngineering Task Force
  • General
    • Lounge
    • Forum Games
    • Showcase
    • Servers
  • Archives
    • Public Archives

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Minecraft


GitHub


IRC


Fediverse ID


Location


Interests

  1. Hello, I am using a script that is not mine, as I have no idea how to write one yet, and it does everything that it is suppose to do except for cutting the full grown trees down. I am trying to figure out why but am very unsuccessfully doing so. here is the code i am using, any help would be appreciated. local W, H = 7, 11 local INTERVAL = 30 local DROPTOOL = false local com = require("component") local robot = require("robot") local term = require("term") local comp = require("computer") local magnet = com.tractor_beam local inv =
  2. Today i was writing a program for my Mystical Agriculture Farm. The program is supposed to steer the Robot in random directions and check the Robot's energy after each cycle. After a certain threshold (now 10%) is reached, it sends the robot to a charger. The energy check and recharging works like a charm, but as soon as i add the while-loop and the random movements, i get a "too long without yielding" error (the full error is pasted at the end of the github file). github: The Code
  3. I was wondering if there was a way to connect a computer to a robot. What I want to do is have a program within the robot getting parameters from user input from the computer. I don't want the computer to run multiple programs to control the robot. For example, have a robot ask for direct user input into a function, in which it would be entered from a computer. I noticed there are multiple forms of connection cards, can I use one of them. If so how do I set them up to connect? Thanks
  4. I've been writing an all-purpose farming program and wanted to account for all three possible power sources: the coal generator, solar panel, and just using charger blocks. The generator has an API, so a simple if statement with the component library can check for it; however there is no function to detect certain upgrades such as the solar panel. Is there a way to tell if one is installed, even at night?
  5. jhagrid77

    Quarry Program

    Description: I would like a quarry that can be given variable sizes for: Length, Width, and Height. I would of course like it to return to original position when inventory is full and when it needs to be refueled (unless there is a way for it to burn planks and coal for fuel), and can switch between three tools depending on the block (I want to use this program to mine an area that has cobwebs, stone, obsidian, ores, planks, and logs if that information is needed). Function: To mine in a specified area. Features requested: 1. Variabl
  6. hello, I have been having some issues with creating a functional tree farm using a robot, and i was wondering if anyone was able to lend me a hand and help me try to work this out or create a program for me. i want it to place a sapling then detect when the tree has grown and start to remove the logs once it gets to the top place a sapling since there is no longer one there and wait for the tree to grow again. there is no need for it to remove all the leaves as i have a collection method in place already for this and large trees wont happen as i have blocks above it to prevent huge
  7. 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.dr
  8. In my Sky Factory 3 world, I would like to fully automate a farm for the Pam's Harvestcraft crops and trees. The problem became how to automate harvesting the nuts/fruits (since EnderIO and similar mods just break the trees). I didn't want to line an orchard with mechanical users, so I turned to OpenComputers after noticing I can program a robot to do it for me. I've spent the past few days trying to learn how to build/program a robot, and finally managed to harvest vanilla at all (by jamming a bunch of move and use commands in one .lua ). The next step was suppose to make it react to a r
  9. I'm trying to move items from inside my robot down into a TechReborn Matter Fabricator. It seems that the Block i would like to automate needs items but can only be manually put in. How would i have an infinite loop of all items in robots inventory always be dropped down into the machine? Thank you in advance.
  10. I was just looking in the wrong place. Please delete.
  11. I've just created my first OpenComputers robot, and instead of the robot's proper name in the label above it, I get what you see in the image. In fact, it's worse than that because the characters are constantly shifting randomly. I've tried renaming the robot on an anvil, using the `/bin/label` program to change the computer's label, but to no avail. Can anyone advise me on how to fix or just remove that label?
  12. Hello, I am attempting to create a program which will mimic the functionality of a bucket by placing the equivalent amount of fluid into the world from the internal tank of the robot. However, I am having an issue when attempting to do this within the program when importing the Robot API. The functionality I am attempting to achieve is possible using the lua console. When I use the "robot.fill()" command within the lua interpreter and the robot is not facing a block it places the fluid into the world without issue. I have attempted to reproduce this functionality using a program on t
  13. The robot dig program, when finished, goes back to start and tosses out all items. How to fix this?
  14. Hello. When I try to use robot.swing() at server it don't work, and return {nil, "block"}, but it works normal in singleplayer with same mods. I try give robots different tools and break different blocks, result doesn't change. OpenComputers-MC1.7.10-1.6.0.7-rc.1 Forge Mod Loader version 7.99.4.1614 Thanks.
  15. Hello readers, I need some help whit my code so it can detect if the robot actually moved so it wont mess up its orginal route. I tried some stuff already but im learning lua and i cant figure out how to do this, Thanks! Mob pusher.txt
  16. CptTom

    Robot.move

    I really search for this, and nothing, can someone show me one exemple of robot.move() function? i dont want use loops and ifs for my robot thanks and sorry for the bad english!
  17. I'm writing a program where the robot needs to use two tools (one to break the previous block, one to configure the new block after it's placed), but I can't seem to equip tools using code. I checked the documentation here, but I didn't see any functions that did what I needed. Thanks in advance for any help you can provide.
  18. Hi!(again) My program for robot(flashed in eeprom) dont work and causes error i typed in topic title. Here is the code: robot = component.proxy(component.list("robot")()) rs = component.proxy(component.list("redstone")()) function getBatteryPercent () local percent = computer.energy() * 100 / computer.maxEnergy() return percent end function wait(seconds) local begin = os.time() repeat computer.pullSignal(0.05) until os.time() - begin >= seconds end while true do robot.turn(true) robot.turn(true) robot.move(1) while robot.compare() ~= true do robot.move(3) i
  19. so first time programming in lua so I'm trying to start with something simple but usefull my first pass at it http://pastebin.com/U391YknW here is a quick video of how far i have gotten thus far the video has gone wonky and i have no idea why =3=
  20. This thought came to my mind and well I would like to share it since I think its really useful suggestion. Here goes: by using 3d printer, you could enable the creation of custom shells for robot. Imagine personalizing the robots by their duties. A mining robot with the skin of cobblestone and farming robot would go with the appearance of tilled dirt or leaves for timber robot. I dont know how hard to make this but it would enhance the use of 3d printer for robots (perhaps drone to, not sure.) The assembler could have one more slot as shell/skin slot where you can insert 3d printed blo
  21. How to refuel a robot? I can't find any api about refuel it
  22. Heeeerrreee's Gangsiry! I've made a robot program to automatically harvest sugarcane. The program can be found at my github, or wget fetched. https://github.com/NoahNMorton/Gangsir_MC_LuaPrograms/blob/master/OpenComputers/SugarcaneHarvester.lua wget https://raw.githubusercontent.com/NoahNMorton/Gangsir_MC_LuaPrograms/master/OpenComputers/SugarcaneHarvester.lua harvester.lua To set it up, place 2 columns of sugarcane right next to each other, and set the robot down on top of a chest or similar container on the right column. The robot uses the blocks under it to determine how far to go,
  23. Wanted a good subject to learn more about OpenComputer programming, this definitely worked. CompressCobble Uses a minimal Robot to continually compress Cobblestone, up to Octouple Compressed Cobblestone. Uses about 83 cobblestone per second, or 7.2 million per day. (If you want more, put four Robots around a Charger, each with its own cobblegen.) Stores over 225 Octouple Compressed Cobblestone internally before quitting. May optionally be put in chest above Robot for extend run time. Cheap in power, up to 3 RF per tick. A couple of Solar Panel Upgrades may be enough. You can us
  24. Hello I use on my server and client: "OpenComputers-MC1.8-1.5.3.8-universal.jar" "forge-1.8-11.14.1.1334-universal.jar" or "forge-1.8-11.14.1.1339-universal.jar" In my program does not perform the function of "robot.turn ... ()". It does not work only on the server, if you test a program on a local world is OK. My program: local r = require("robot") local slot = 1 local xmax = 11 local ymax = 11 local x = 1 local y = 1 local turn = 0 r.select(slot) while true do if r.count(slot) == 0 then slot = slot + 1 if slot == r.inventorySize() + 1 then print("Koniec materiału!") os.e
  25. XCodersTeam going back to minecraft modding....... Now we made small mod that adds some useful robot components Embadded Tesseracts...[ThermalExpansion] Yes, we added upgrade for robot. It's Tesseract upgrade and Energy Tesseract Upgrade It's a Tesseract upgrade, it can be installed to Slot Tier 3 in robot When it installed, there is new component available component.tesseract It has some methods to allow you work with it. --Work with activate and frequncy component.tesseract.setFrequency(freq:number):boolean,string(failreason) -- Sets the frequency of Tesseract and activating
×
×
  • Create New...

Important Information

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