Everything posted by Log
I fixed it. Download the file again, please. The error was due to the computer.beep(), which is not compatible with the old versions OpenComputers. P. S. Instead of batteries, I advise you to use the experience upgrade or additional generator
Such objects are just tables, they must be processed in the correct sequence. players = component.debug.getPlayers() -- get a players list for i = 1, players.n do print(players[i]) -- display the name of the next player end player = component.debug.getPlayer(players) -- get player proxy by name from list world = player.getWorld() -- get the proxy of the world in which the player is located print(world.getDimensionName()) -- print the name of the world -- Or you can get everything at once players = component.debug.getPlayers() for i = 1, players.n do print(players[i], component.debug.getPlayer(players[i]).getWorld().getDimensionName()) end
There are variables in the code that can be customized chunks - how many chunks need to be processed min and max - the minimum and maximum hardness of mined blocks port - port for interaction with the robot (if a wireless card is installed)
I present you a program for a robot that allows you to mine ore without going down into the caves. Robot, using a geolyzer, can find and mine ore. All features are not yet implemented, so I ask you to test and inform me about a bugs. Requirements: Computer case (tier II or III) Inventory Upgrade (more the better) Inventory Controller Upgrade Hard Disk Drive EEPROM with Lua BIOS Geolyzer RAM (tier I or higher) CPU (any) Hover Upgrade (tier I) Diamond pickaxe or equivalent tool Optional: Crafting Upgrade Wireless Network Card or Linked Card Solar Generator Upgrade Battery Upgrade Experience Upgrade Chunkloader Upgrade Generator Upgrade Enderchest from EnderStorage mod Installing: Download and save the file as init.lua wget https://raw.githubusercontent.com/DOOBW/geominer/master/miner.lua init.lua Put this file in to root directory of the hard disc. Add the disk when crafting a robot. Place the robot on a solid blocks platform. Give the robot a pickaxe Place a container and the charger near the robot. Press the power button and enjoy a process.