• Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
Welcome to OpenComputers

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more!

This message will be removed once you have signed in.

  • Announcements

    • Lizzy Trickster

      Latest Stable OpenComputers Version   11/26/16

      The latest released version of OpenComputers is version 1.6.1 for MC 1.7.10, 1.8.9, 1.9.4 & 1.10.2. See more information here! Beta/Dev builds can be found at the Jenkins Build Server (ci.cil.li)


  • Content count

  • Joined

  • Last visited

  • Days Won


About feldim2425

  • Rank
    Junior Member
  • Birthday 03/27/98

Contact Methods

  • Minecraft
  • GitHub

Profile Information

  • Gender
  • Location

Recent Profile Visitors

553 profile views
  1. A very simple webbrowser might be possible but one that supports videos, chrome plugins, javascript and styles not. Remember: OpenComputers can't draw pixel per pixel, only characters. And supporting videos would mean that you have to implement flash and html5. Even if it is possible it might take month or years to implement all that and i think the limited memory of oc wouldn't allow that.
  2. First. You can use an analyzer to see the error message Second. if you open the gui of the rack (not of the server itself) you can connect the component network to one of the 5 sides (front not counted). You have to make sure the Screen is connected to the corresponding side. EDIT: You can open the Rack gui if you click anywhere except the places on the from where you can see a server. In my case the first slot / row
  3. If you read the Item Tooltip of the network debugger, it says that it debuggs the internal network of OC. And is made for Devs. The Network debugger is not even craftable and will only output messages to the log. EDIT: I think this is the wrong Forum section for this. This thread should be in "Support" and not in "Tutorials"
  4. Hi. If you use a Server make sure that you configured the rack correctly. As you see in the screenshot below a server with a network card has two connections. One for the Component network and one for the Network Card itself, while a server without network card only has one connection. Also make sure that the cable is connected to the correct side.
  5. A simpe API to connect to a Websocket Server / Endpoint Forgot to mention: This API requires a Internet Card and Lua 5.3 Example Code: local ws = require("websocket_client"); local event = require("event"); local cl = ws.create(function(ev ,var1) print(ev .. "->" .. var1) end); cl:connect("localhost", 12345, "/"); while true do local ev = {event.pull()}; if ev[1] == "interrupted" then cl:disconnect(); return; elseif ev[1] == "touch" then cl:send("HI"); end end Full API documentation here: https://github.com/feldim2425/OC-Programs/blob/master/websocket_client/API.md To download and install the API simply run this command: pastebin run xnXssAtH
  6. Yeah. The "require" method is part of OpenOS. But there are some ways around that. 1) I think the component-Library is native (At least for eeproms in a computer case) so you don't have to require it. 2) component.filesystem is a link to the first filesystem found by OpenOS when it starts. So you can find it yourself local fs = component.list("filesystem", true)(); 3) Instead of using the filesystem-Library you should use the filesystem-Component (link to the docs)
  7. You can't download directories. I checked the Pastebin API and it doesn't look like they added directories to the API. And 'wget' uses the same download as your browser does and this method doesn't support downloading folders.
  8. Yes. If you look in the Wiki about signals (ocdoc.cil.li/component:signals) you can see, that the "key_down" event and the "touch" event gives you the playername.
  9. You return null in createEnvironment() but you have the return a ManagedEnvironment. The ManagedEnvironment also needs a Network Node with a component. public class TeslaUpgrade extends li.cil.oc.api.prefab.ManagedEnvironment{ public TeslaUpgrade(){ this.setNode( Network.newNode(this, Visibility.Neighbors).withComponent("teslaUpgrade").create() ); } } I do not know if you have seen the example on GitHub If the upgrade is only for robots you should check in worksWith() if the host class is li.cil.oc.common.tileentity.Robot because there are also upgrade slots in drones, microcontrollers and in the adapter block
  10. You have to get the inventory controller component not the component of the Jabba barrel. local component = require("component") local inv = component.inventory_controller local stack = inv.getInventorySize(sides.west) print(stack)
  11. Hello everybody! This is the official forum thread for OC-Minecarts. This addon mod adds computer carts and more to OpenComputers. Some features in this mod: Computer carts with an build-in engine and a break. Remote module for railcraft locomotives Network rail to send network messages and power to a computer cart. Interaction with Railcraft: Computer carts can take energy from electric rails. Carts are linkable. Signal for cart lockdown (holding tracks). Linking Upgrade for Computer Carts You can put railcraft emblems on Computer Carts Screenshot: Download and more informations on Curse. Please report any issues. Github
  12. I think Plan9k is Multiscreen compatible. If you want to use OpenOS remove the lines 31 to 36 in init.lua and replace them with: local screen = "<SCREEN ADDRESS HERE>"
  13. local fs = require("filesystem") function os.dateRL(format) if not fs.get("/").isReadOnly() then local time = io.open("/tmp/.time", "w") time:write() time:close() os.sleep(0.01) return os.date(format, fs.lastModified("/tmp/.time") / 1002.7) else return os.date(format) end end It works. Just require filesystem and "only" in isReadOnly starts with an uppercase letter
  14. You have to import/require the event library. local event = require("event") function touchsig(_, x, y, _, _) print("Xcord: " .. x .. "Ycord: " .. y) end while true do event.listen("touch", touchsig) end
  15. local component = require("component") local reactor = component.br_reactor local rods = reactor.getNumberOfControlRods() local level ={} for i=0,rods-1 do level = reactor.getControlRodLevel(i) end