Opencomputers adapter tutorial
Author: m | 2025-04-24
OpenComputers: Type: Component: The Interweb is a component added by OpenComputers. It is used to create the Waypoint, Adapter Cable Disk CompViewer Lua Tutorial
Using the Adapter to Read RailCraft Tanks - Tutorials - OpenComputers
OpenComputers ManualOpenComputers is a mod that adds persistent, modular, and highly configurable computers, servers, robots, and drones to the game. All devices can be programmed using Lua 5.2, allowing for systems with varying complexity depending on the usage.To learn about how to use the manual, check out the page about the manual (that green text is a link, you can click it).Table of ContentsDevicesComputersServersMicrocontrollersRobotsDronesSoftware and ProgrammingOpenOSLuaBlocks and ItemsItemsBlocksGuidesGetting StartedOverviewAs mentioned above, computers in OpenComputers feature persistence, which means that a running computer retains its state when the chunk it is in is unloaded. This means that if the player moves away from the computer, or logs off, the computer will remember its last known state and continue from that point on when the player goes near the computer. Persistence works for all devices except for tablets.All devices are modular and can be assembled with a wide range of components, just like computers in real life. Players who enjoy tinkering will be able to optimize devices to their heart's content. If desired, devices can be dismantled and rebuilt if the initial configuration wasn't satisfactory. For computers and servers, components can be swapped out on-the-fly simply by opening the corresponding GUI.OpenComputers devices are compatible with many different mods for manipulation of blocks and entities (through the adapter, or specific upgrades in a robot or drone). Power can be supplied using a large range of other mods, including, but not limited to, Redstone Flux, IndustrialCraft2 EU, Mekanism Joules, Applied Energistics 2 energy as well as Factorization Charge.Devices in OpenComputers have extra features as well as some limitations. Computers are the base-line, and are able to take a fair number of components, controlled by the CPU tier being used. Computers also have access to components on all six sides. Servers are able to connect to more components (internally or externally) than a computer, through the use of component buses; however, due to the rack, the server is only able to access components from a single side of the rack, as configured in the rack GUI. Microcontrollers are further limited (compared to computers) by their lack of hard drive and disk drive slot, which means OpenOS can not be installed on a microcontroller. Microcontrollers do have a slot for an EEPROM, and can be programmed with a more focused operating system for a limited set of tasks.Robots are moving computers, and are able to interact with the world (but cannot interact with external OpenComputers blocks). Unlike computers, once a robot is built, the components inside the robot cannot be removed. To circumvent this limitation, robots may be built with upgrade or card containers, allowing for on-the-fly swapping of cards or upgrades, if needed. OpenOS can
Coroutines! A Tutorial by Gangsir. - Tutorials - OpenComputers
Example of a connection between a NTM block and an OpenComputers system. NTM contains integration with another mod named "OpenComputers", which can be used to gather information about blocks, machines, and players. Below you can find instructions on how to connect machines to a network and the functions available to the computer. *You will need a general knowledge of Lua, file structure, and a basic intuition on how OpenComputers networks function. Setup[]Connecting a NTM machine/block to an OpenComputers system is extremely simple, all that's needed is a few cables. Use cables to connect the machine/block to the OpenComputers network. Getting the values from the components is not as easy as may seem. Every NTM compatible machine/block, when connected to an OpenComputers network, will be given a unique component address that can be used to address that component. These addresses can be seen by typing 'components' into the OpenOS terminal. Additionally, you can use an Analyzer to grab the addresses by ctrl-shift-clicking a component.All of the below machines have extra appended (added to the end) information about their position on every getInfo callback (unless specified otherwise). Ex. (First value, Second value, X-Coordinate, Y-Coordinate, Z-Coordinate)RBMK[]Normal/ReaSim Fuel Rod (rbmk_fuel_rod / rbmk_fuel_rod_reasim)[]Note: There is currently a bug when pulling from the flux value (fast or slow) of a MEP-239 fuel rod, as the values returned are incorrect by orders of magnitude. No apparent cause for the issue has been found yet.getHeat - Returns the current heat.getSkinHeat - Returns the current hull heat, if there's no rod, returns "N/A".getCoreHeat - Returns the current core heat, if there's no rod, returns "N/A".getFluxSlow - Returns the amount of slow flux entering the rod.getFluxFast - Returns the amount of fast flux entering the rod.getDepletion - Returns the depletion percent, if there's no rod, returns "N/A".getXenonPoison - Returns the xenon poisoning percent, if there's no rod, returns "N/A".getModerated - Returns true if the fuel column is moderated, else returns false.getInfo - Returns all fields mentioned above {Heat, Hull Heat, Core Heat, Slow Flux, Fast Flux, Enrichment, Xenon Poison, Moderated}.Control Rod (rbmk_control_rod)[]getHeat - Returns the current heat.getLevel - Returns the current level.getTargetLevel - Returns the current target level.getColor - Returns the set rod color.getInfo - Returns all fields mentioned above {Heat, Level, Target Level}setLevel - Sets the rod level in percent, maximum is 100%Steam Channel (rbmk_boiler)[]getHeat - Returns the current heat.getSteam - Returns the current amount of steam.getSteamMax - Returns the maximum amount of steam.getWater - Returns the current amount of water.getWaterMax - Returns the maximum amount of water.getSteamType - Returns the current steam type, (0 is steam, 1 is dense steam, 2 is super dense steam, 3 is ultra dense steam)setSteamType - Sets the current steam type using theGregTech Community Edition adapter for OpenComputers
KX Adapter is an innovative product which allows players to enjoy FPS games on different devices with USB keyboard and mouse. You can adjust the sensitivity and accuracy of the mouse. Simply plug and play. Compatible with PS4, Xbox One, PS3 and N-Switch consoles. Suitable for FPS, TPS, RPG and RTS games like Fortnite, PUBG, Battle field, Call of Duty games, etc. – Allows players to enjoy games on different devices with USB keyboard and mouse. – Allows to map the aiming, shooting, and moving camera functions in the FPS game (mouse has no function on the home screen). – Compatible with PS4 / PS4 Pro / PS4 Slim / Xbox One / Xbox One S / Xbox One X / Xbox 360 / Xbox 360 Slim / PS3 / PS3 Slim / Switch (NOT Switch Lite) – Compatible with most of the games. Support both standalone mode and network mode. – Simply three steps to set it up and enter the game to play directly (please refer to the detailed tutorial on the user manual). – Made of ABS material, small size and high quality. Equipped with 40cm USB Cable. Keyboard adapter Our Keyboard adapter Allow players to enjoy games on PS4/PS4 Pro/PS4 Slim/XBOXOne/XBOXOne S/XBOXOne X/PS3/PS3 Slim/Switch with wired keyboards and wired mice. Is there have simply three steps to set it up and enter the game to play directly (please refer to the detailed tutorial on the user manual).NOTE:Support only wired keyboard and mouse, NOT wireless. Keyboard with USB HUB is not supported.Support all keyboard and mouse made according to HID protocol, more than 90% mouse and keyboard are made according to HID protocol.PC/ Headset function / audio input are NOT supported.4. Support most of wired keyboard and mouse made according to HID protocol. NOT recommended to use gaming keyboard and mouse with LED lights because the power may not be able to support.Package Includes:1 x KX Keyboard Mouse Converter.1 x OTG Type-C Adapter.1 x Instruction Manual. For N-Switch Our Keyboard adapter Compatible with most of the games. Support both standalone mode and network mode. For Xbox One No delay for the wired mouse and the wired keyboard when playing games, and it feels like the real computer mouse and keyboard are working.Let you have a very pleasant and relaxing experience. For PS3 Shooting, and moving Function Our Keyboard and Mouse Adapter Allows to map the aiming, shooting,. OpenComputers: Type: Component: The Interweb is a component added by OpenComputers. It is used to create the Waypoint, Adapter Cable Disk CompViewer Lua Tutorial[1.12.2] Opencomputers Adapter with Computronics Reigsters
DescriptionocrsdriverOpenComputers + Refined Storage = ❤️Allows OpenComputers to access Refined Storage grid nodes via Adapters. This is for Minecraft 1.10.2. Refined Storage for 1.11.2 has this functionality included by default.Known IssuesThis is currently unrestricted, i.e. you can export items and fluids using just a cable - and fast.Available CommandsMethodDescriptionisConnected()Returns whether the grid node is connected to a networkgetEnergyUsage()Returns the energy usage of the whole network in RS/tickgetItems()Returns a list of all itemstacks stored in the networkgetItem(itemstack, cmpMeta, cmpNbt, cmpOre)Returns a stack in the network matching the given itemstackextractItem(itemstack, amount, side)Extracts the given amount of itemstack to the specified side and returns the number of transfered items.getFluids()Returns a list of all fluid stacks stored in the networkgetFluid(fluidstack)Returns a stack in the network matching the given fluidstackextractFluid(fluidstack, amount, side)Extracts the given amount of fluid to the specified side and returns the amount of millibuckets transfered.getTasks()Returns a list of crafting tasks the system has currently queuedgetPatterns()Returns a list of all crafting patterns in the networkhasPattern(itemstack)Returns true if the system has a pattern for the given itemstackgetMissingItems(itemstack, amount)Returns a list of all items missing to craft the given itemstack in the given amountcraftItem(itemstack, amount)Requests crafting of the specified item in the specified quantitycancelCrafting(itemstack)Cancels all crafting operations for the given itemstack and returns the number of cancelled tasksExamplesDrop all items you got more than 8192 ofPlace a Trash Can below an interface connected to an OpenComputers Adapter.local component = require("component")local sides = require("sides")local rs = component.block_refinedstorage_interfacelocal limit = 8192local side = sides.downfor i,stack in ipairs(rs.getItems()) do while(stack.size > limit) do local dropped = rs.extractItem(stack, stack.size - limit, side) stack.size = stack.size - dropped if(dropped 1) then break end endendKeep 64 torches and levers in your crafting systemDon't forget to teach a crafter the recipe for torches and leverslocal component = require("component")local sides = require("sides")local rs = component.block_refinedstorage_interfacelocal targetAmount = 64local items = { {name = "minecraft:torch"}, {name = "minecraft:lever"}}while(true) do for i,stack in ipairs(items) do if(rs.hasPattern(stack)) then local rsStack = rs.getItem(stack) local toCraft = targetAmount; if(rsStack ~= nil) then toCraft = toCraft - rsStack.size end if(toCraft > 0) then rs.craftItem(stack, toCraft) end else print("Missing patternTutorial: The Install Program [OpenComputers]
Blog Thread starter Thread starter Lutfij Start date Start date Apr 28, 2018 Tags Tags Random Shutdown tutorial You are using an out of date browser. It may not display this or other websites correctly.You should upgrade or use an alternative browser. How To Solve Random Shutdown Issues In Lenovo Laptops Thread starter Thread starter Lutfij Start date Start date Apr 28, 2018 Tags Tags Random Shutdown tutorial Lenovo is known to be a go-to brand when it comes to building reliable and well-priced laptops. They seem to have pretty much every segment of the market covered with their laptops. Sometimes you can come across a myriad of issues. Some complex others being simple. This tutorial will show you how to resolve random shutdown issues on your Lenovo laptop.1. Inspect if the AC adapter’s output plug as well as the input port on the laptop are not damaged. If the AC adapter’s input plug is damaged, replace the adapter and see if the issue persists.2. If the issue persists, remove the battery and try powering up the laptop and take heed if it shuts down while on AC power.3. If the issue persists, with the battery populated and the AC adapter disconnected, see if the laptop powers up and does not undergo a random shutdown.4. If the issue persists, disconnect from the AC power adapter, remove the laptop battery and press and hold down the power button for at least 30 seconds.5. Replace battery and try to power up andOpenComputers for ComputerCraft users - Tutorials
USB WiFi or Ethernet AdapterAs you may have seen in the WiFi Modes Tutorial, the EZ-B may be put into one of two available modes; AP or Client. Some cloud-based controls require an internet connection, such as PandoraBot, Microsoft Cognitive Emotion, Microsoft Cognitive Vision, or Bing Speech Recognition. Experienced users may be knowledgeable enough to connect the EZ-B v4 to their local network in Client Mode.However, some users may prefer to simply add a second Wi-Fi network adapter to their PC, which is the easiest solution. This will also be the preferred method of anyone with access restrictions on their router.Alternatively, some users may use an Ethernet cable plugged into their PC for internet access while also using a WiFi connection to the EZ-Robot. While this tutorial covers how to connect with dual WiFi antennas, Ethernet users may find the "Possible Network Conflict" section useful below for diagnosing connection problems.Adding a second WiFi adapter to the PC is great for people who travel with their EZ-Robot. Using a dedicated Wi-Fi adapter for the EZ-Robot makes direct connecting much easier than mucking about with client network passwords, etc.What Kind Of WiFi Adapter?The easiest secondary WiFi adapter connects via USB. They are simple USB dongles that, once connected, provide a second Wi-Fi network interface for your computer. This means you can connect to two WiFi networks at the same time... One to the internet via your router, and second directly to the EZ-Robot.How Does It Work?This is the easiest part - simply connect the WiFi adapter to your PC. Once the drivers are automatically installed by Windows Update, your computer will now have two wireless devices when the Wi-Fi icon is selected from the system tray. The first WiFi device in the list will be the local WiFi adapter within the computer. The second WiFi device in the list will be the newly inserted USB device. We recommend using the second WiFi device for connecting to the EZ-Robot.Possible Network ConflictThe EZ-B v4 uses the default network of 192.168.1.0. There may be a slight chance that your home network and the EZ-B v4 are both configured for the same TCP/IP Network. Without getting into too much technical detail about TCP/IP Networking, there cannot be the same network across two or more adapters. Imagine if there were two streets in your city with the same name and house number as yours. There would be. OpenComputers: Type: Component: The Interweb is a component added by OpenComputers. It is used to create the Waypoint, Adapter Cable Disk CompViewer Lua Tutorial OpenComputers v1.3 Tutorial Series, Part 1.We present the blocks and items that come along with OpenComputers.==================================OpenComputersComments
OpenComputers ManualOpenComputers is a mod that adds persistent, modular, and highly configurable computers, servers, robots, and drones to the game. All devices can be programmed using Lua 5.2, allowing for systems with varying complexity depending on the usage.To learn about how to use the manual, check out the page about the manual (that green text is a link, you can click it).Table of ContentsDevicesComputersServersMicrocontrollersRobotsDronesSoftware and ProgrammingOpenOSLuaBlocks and ItemsItemsBlocksGuidesGetting StartedOverviewAs mentioned above, computers in OpenComputers feature persistence, which means that a running computer retains its state when the chunk it is in is unloaded. This means that if the player moves away from the computer, or logs off, the computer will remember its last known state and continue from that point on when the player goes near the computer. Persistence works for all devices except for tablets.All devices are modular and can be assembled with a wide range of components, just like computers in real life. Players who enjoy tinkering will be able to optimize devices to their heart's content. If desired, devices can be dismantled and rebuilt if the initial configuration wasn't satisfactory. For computers and servers, components can be swapped out on-the-fly simply by opening the corresponding GUI.OpenComputers devices are compatible with many different mods for manipulation of blocks and entities (through the adapter, or specific upgrades in a robot or drone). Power can be supplied using a large range of other mods, including, but not limited to, Redstone Flux, IndustrialCraft2 EU, Mekanism Joules, Applied Energistics 2 energy as well as Factorization Charge.Devices in OpenComputers have extra features as well as some limitations. Computers are the base-line, and are able to take a fair number of components, controlled by the CPU tier being used. Computers also have access to components on all six sides. Servers are able to connect to more components (internally or externally) than a computer, through the use of component buses; however, due to the rack, the server is only able to access components from a single side of the rack, as configured in the rack GUI. Microcontrollers are further limited (compared to computers) by their lack of hard drive and disk drive slot, which means OpenOS can not be installed on a microcontroller. Microcontrollers do have a slot for an EEPROM, and can be programmed with a more focused operating system for a limited set of tasks.Robots are moving computers, and are able to interact with the world (but cannot interact with external OpenComputers blocks). Unlike computers, once a robot is built, the components inside the robot cannot be removed. To circumvent this limitation, robots may be built with upgrade or card containers, allowing for on-the-fly swapping of cards or upgrades, if needed. OpenOS can
2025-03-30Example of a connection between a NTM block and an OpenComputers system. NTM contains integration with another mod named "OpenComputers", which can be used to gather information about blocks, machines, and players. Below you can find instructions on how to connect machines to a network and the functions available to the computer. *You will need a general knowledge of Lua, file structure, and a basic intuition on how OpenComputers networks function. Setup[]Connecting a NTM machine/block to an OpenComputers system is extremely simple, all that's needed is a few cables. Use cables to connect the machine/block to the OpenComputers network. Getting the values from the components is not as easy as may seem. Every NTM compatible machine/block, when connected to an OpenComputers network, will be given a unique component address that can be used to address that component. These addresses can be seen by typing 'components' into the OpenOS terminal. Additionally, you can use an Analyzer to grab the addresses by ctrl-shift-clicking a component.All of the below machines have extra appended (added to the end) information about their position on every getInfo callback (unless specified otherwise). Ex. (First value, Second value, X-Coordinate, Y-Coordinate, Z-Coordinate)RBMK[]Normal/ReaSim Fuel Rod (rbmk_fuel_rod / rbmk_fuel_rod_reasim)[]Note: There is currently a bug when pulling from the flux value (fast or slow) of a MEP-239 fuel rod, as the values returned are incorrect by orders of magnitude. No apparent cause for the issue has been found yet.getHeat - Returns the current heat.getSkinHeat - Returns the current hull heat, if there's no rod, returns "N/A".getCoreHeat - Returns the current core heat, if there's no rod, returns "N/A".getFluxSlow - Returns the amount of slow flux entering the rod.getFluxFast - Returns the amount of fast flux entering the rod.getDepletion - Returns the depletion percent, if there's no rod, returns "N/A".getXenonPoison - Returns the xenon poisoning percent, if there's no rod, returns "N/A".getModerated - Returns true if the fuel column is moderated, else returns false.getInfo - Returns all fields mentioned above {Heat, Hull Heat, Core Heat, Slow Flux, Fast Flux, Enrichment, Xenon Poison, Moderated}.Control Rod (rbmk_control_rod)[]getHeat - Returns the current heat.getLevel - Returns the current level.getTargetLevel - Returns the current target level.getColor - Returns the set rod color.getInfo - Returns all fields mentioned above {Heat, Level, Target Level}setLevel - Sets the rod level in percent, maximum is 100%Steam Channel (rbmk_boiler)[]getHeat - Returns the current heat.getSteam - Returns the current amount of steam.getSteamMax - Returns the maximum amount of steam.getWater - Returns the current amount of water.getWaterMax - Returns the maximum amount of water.getSteamType - Returns the current steam type, (0 is steam, 1 is dense steam, 2 is super dense steam, 3 is ultra dense steam)setSteamType - Sets the current steam type using the
2025-04-09DescriptionocrsdriverOpenComputers + Refined Storage = ❤️Allows OpenComputers to access Refined Storage grid nodes via Adapters. This is for Minecraft 1.10.2. Refined Storage for 1.11.2 has this functionality included by default.Known IssuesThis is currently unrestricted, i.e. you can export items and fluids using just a cable - and fast.Available CommandsMethodDescriptionisConnected()Returns whether the grid node is connected to a networkgetEnergyUsage()Returns the energy usage of the whole network in RS/tickgetItems()Returns a list of all itemstacks stored in the networkgetItem(itemstack, cmpMeta, cmpNbt, cmpOre)Returns a stack in the network matching the given itemstackextractItem(itemstack, amount, side)Extracts the given amount of itemstack to the specified side and returns the number of transfered items.getFluids()Returns a list of all fluid stacks stored in the networkgetFluid(fluidstack)Returns a stack in the network matching the given fluidstackextractFluid(fluidstack, amount, side)Extracts the given amount of fluid to the specified side and returns the amount of millibuckets transfered.getTasks()Returns a list of crafting tasks the system has currently queuedgetPatterns()Returns a list of all crafting patterns in the networkhasPattern(itemstack)Returns true if the system has a pattern for the given itemstackgetMissingItems(itemstack, amount)Returns a list of all items missing to craft the given itemstack in the given amountcraftItem(itemstack, amount)Requests crafting of the specified item in the specified quantitycancelCrafting(itemstack)Cancels all crafting operations for the given itemstack and returns the number of cancelled tasksExamplesDrop all items you got more than 8192 ofPlace a Trash Can below an interface connected to an OpenComputers Adapter.local component = require("component")local sides = require("sides")local rs = component.block_refinedstorage_interfacelocal limit = 8192local side = sides.downfor i,stack in ipairs(rs.getItems()) do while(stack.size > limit) do local dropped = rs.extractItem(stack, stack.size - limit, side) stack.size = stack.size - dropped if(dropped 1) then break end endendKeep 64 torches and levers in your crafting systemDon't forget to teach a crafter the recipe for torches and leverslocal component = require("component")local sides = require("sides")local rs = component.block_refinedstorage_interfacelocal targetAmount = 64local items = { {name = "minecraft:torch"}, {name = "minecraft:lever"}}while(true) do for i,stack in ipairs(items) do if(rs.hasPattern(stack)) then local rsStack = rs.getItem(stack) local toCraft = targetAmount; if(rsStack ~= nil) then toCraft = toCraft - rsStack.size end if(toCraft > 0) then rs.craftItem(stack, toCraft) end else print("Missing pattern
2025-04-13