- Sky
- Blueberry
- Slate
- Blackcurrant
- Watermelon
- Strawberry
- Orange
- Banana
- Apple
- Emerald
- Chocolate
- Charcoal
Elektron72
Members-
Content Count
20 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Elektron72
-
Looks like it requires this graphics library to work properly: https://github.com/IgorTimofeev/GUI Also, from reading the installation instructions, it looks like you will need to modify the code so it accesses the correct sides of the computer.
-
There is a function called filesystem.exists(), which takes a path string and returns a boolean. You could use this to check whether the file exists.
-
noob questions about mounting drives automatically and autorun.lua
Elektron72 replied to purpleFinatic's question in Miscellaneous
Try rebooting the computer. If that doesn't work, craft an Analyzer (if you don't already have one) and Sneak+Click on the computer case. It should show the error. -
noob questions about mounting drives automatically and autorun.lua
Elektron72 replied to purpleFinatic's question in Miscellaneous
Can I see a screenshot of the computer case GUI to try and figure out why it isn't booting? -
noob questions about mounting drives automatically and autorun.lua
Elektron72 replied to purpleFinatic's question in Miscellaneous
Could I see a screenshot of a directory listing of the root directory after the drive is reinserted? I would like to see if the directory is gone. -
Vanilla mob spawners activate based on player distance instead of chunkloading. You have to be within 16 blocks to get a spawner to activate.
-
How to get the number of files in a directory?
Elektron72 replied to SpaceBeeGaming's question in Programming
You could use filesystem.list(), use the iterator to loop over every file and sub-directory, and add to a counter if filesystem.isDirectory() returns false. -
Cell - A graphical file manager for OpenComputers
Elektron72 replied to Elektron72's topic in Programs
Version 0.12 Released: Fixed installer Added rename -
Cell - A graphical file manager for OpenComputers
Elektron72 replied to Elektron72's topic in Programs
Version 0.11 Released: Added copy and paste for files -
Cell is a graphical file manager for OpenComputers that allows you to browse files and open them in other programs, such as the editor or simply running .lua files. You can also customize what programs can be used to open files through the programs.cfg file. Tutorials: Browsing files/directories Select files/directories by clicking on them in the panel on the right side of the screen If a directory contains a large amount of files or sub-directories, use the arrow buttons to scroll through pages To go up a sub-directory, click the up arrow
-
This operating system is already one of the best OpenComputers operating systems I have seen. When will there be a text editor/file creation?
-
The tint setting is used on line 84 of the example.3dm file that comes with the print3d examples
- 4 replies
-
- texture
- compatibility
-
(and 1 more)
Tagged with:
-
Flat Colored Blocks does not use different textures for every block. Instead, the same texture is recolored by the mod code. To recolor the texture in 3D models, use the tint setting.
- 4 replies
-
- texture
- compatibility
-
(and 1 more)
Tagged with:
-
local component = require("component") local sides = require("sides") local rs = component.redstone local dbg = component.debug local computer = component.computer local x = 0 local input = sides.left local output = sides.right while true do if rs.getInput(input) > 0 then x = #dbg.getPlayers() print("Players Updated!") end if x >= 500 then rs.setOutput(output, 15) os.sleep(5) computer.beep() computer.stop() end print(x) os.sleep(0.1) end Requires a redstone card and a debug card. Feel free to change the definitions of the sides input and
-
This means that the computer/server cannot find an operating system. Try adding a disk drive and inserting an operating system disk, such as the OpenOS floppy disk.
-
Try this command: /give @p opencomputers:storage 1 1 {"oc:data":{"oc:fs.label":"openos"},"oc:color":2,display:{Name:"OpenOS (Operating System)"},"oc:lootFactory":"opencomputers:openos"}
-
Here is a farm program I wrote that should work with most robots: local robot = require("robot") function moveToStart() -- modify this if the charger is in a different place end function moveToCharger() robot.turnAround() for i = 1, 25 do robot.forward() end robot.turnRight() for i = 1, 4 do robot.forward() end robot.turnRight() end function plant() robot.forward() robot.swingDown() robot.suckDown() robot.placeDown() end function plantRow() for i = 1, 25 do plant() end end function reverseRight() robot.forward() robot.turnRight() robo
-
Although this approach would work, the debug card is not necessary because the sensors can tell what player triggered them. The player's name is part of the signal that is sent to the connected computer.
-
Changing from io.input() to io.open() fixed the problem.
-
I am making a program where one of the functions is to open the editor. However, I noticed that part of the program's code seems to interfere with the editor. When the editor is opened by my program, it freezes immediately after displaying the file and will not accept any input. What part of the code is responsible for the issue? Here is a standalone version of the broken code (https://pastebin.com/CppRwXqh) : local filesystem = require("filesystem") local shell = require("shell") local process = require("process") local cellLocation local i local j local tempchar function createPro