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

darkrising

Members
  • Content Count

    7
  • Joined

  • Last visited

About darkrising

  • Rank
    Junior Member

Profile Information

  • Gender
    Not Telling
  • Location
    Scotland
  1. Hey, I'm running OpenComputers 1.6.0.3-rc for MC 1.10.2 and I've been messing around with most things in the mod. I have a computer hooked up to a relay which is then hooked up to a server in a server rack. The problem is, I can broadcast a packet from the server to the computer but not the other way around.. when I try and broadcast a packet from the computer, the server receives nothing. Internally in the rack, both servers are able to send and receive packets from each other so I'm not sure why packets externally are not reaching the servers in the racks. http://tzli.me/XQBb3 (A
  2. Hello, this may be a daft question but how do I use drones? I pulled the creative one out of my inventory and replaced the current EEPROM with a custom one I made, however when I place it down and try and turn it on, it just bleeps at me... (it has full power) I couldn't find any drone specific functions so I assumed that the robot ones would work? I really have no clue. I Just found the drone functions however the drone still bleeps at me... drone = require("drone") -- Assuming this works on drones? drone.setStatusText("Hello world!") What am I doing wrong? I asked in IRC a
  3. Hello, I'm trying to get a program to autorun on boot using an in-game server. If I put it in the /autorun.lua file the shell runs afterwards so I get this horrible mess of text on the remote display. What is the best way to autorun a program on boot after the shell has loaded?
  4. I understand Ah okay, that's cool, least it isn't a bug. I'll just have to design my network code with packet filtering like the 2 programs I attached.
  5. Hello, I've been experimenting with different switch setups between 2 computers. For some reason, if the wire and switch is going one way I get packet duplications but if the wire is setup a different way I don't. Here's some screenshots to explain what I mean: Setup 1 Setup 2 As you can see the 2nd setup has packet duplication where as the first does not... This is quite strange and I'm not really sure why this is happening. programs.zip
  6. I've got a step further: local component = require("component") local internet = require("internet") local term = require("term") local text = require("text") local event = require("event") local host = "gcomm.com:23" local gpu = component.gpu local w, h = gpu.getResolution() local hist = {} local sock, reason = internet.open(host) if not sock then io.stderr:write(reason .. "\n") return end sock:setTimeout(0.05) --Function from the built in IRC program local function print(message, overwrite) local w, h = component.gpu.getResolution() local line repeat line, message = text.wra
  7. Hi, I've been working on a small telnet program, ran into a few bumps along the way. Here's my code: local component = require("component") local internet = require("internet") local host = "gcomm.com:23" -- try to connect to server. local sock, reason = internet.open(host) if not sock then io.stderr:write(reason .. "\n") return end sock:setTimeout(0.05) repeat local ok, line = pcall(sock.read, sock) if ok then if not line then print("Connection lost.") sock:close() sock = nil return false end print(line) end until not sock As you can see it simp
×
×
  • Create New...

Important Information

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