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


  • Content count

  • Joined

  • Last visited

  • Days Won


Fingercomp last won the day on January 17

Fingercomp had the most liked content!


About Fingercomp

  • Rank
    Junior Member

Contact Methods

  • GitHub
  • IRC

Profile Information

  • Gender

Recent Profile Visitors

1061 profile views
  1. Fingercomp

    Computronics Tape Drive

    Use a file storage that gives you a direct link to the file, not some webpage packed with JS scripts. For instance, https://mixtape.moe/, or any other site like this.
  2. Fingercomp

    Got a problem with reactor.setActive()

    No Lua built-in function, type name, primitive, library, etc. starts with a capital letter. So you should write true, not True.
  3. Fingercomp

    Simple Clock from Fingercomp

    If I remember correctly, the RT does not work on Lua 5.3. Try switching the processor to Lua 5.2 (shift-click while holding it).
  4. Fingercomp

    Problem with adapter using inventory controller upgrade

    See this comment on the issue you opened. It references a few issues that describe similar problems. You can't really say "I guess it's a bug" if you haven't tried solving the problem—without the assumption it's indeed a bug.
  5. Fingercomp

    How to check the filesystem is Hard Disk Drive?

    EEPROM does not have any file systems. It's not actually a file system. What is reported is most likely a tmpfs component. Use component.tmpAddress() == k to determine if it's a temporary file system.
  6. Fingercomp

    server listing previous value

    It is a problem with the code. event.pull returns the event name, which is put in the laddress, not its own variable, so the event parameters get shifted by 1. Replace the event.pull line with the following. local evt, laddress, saddress, distance, port, message = event.pull("modem_message")
  7. Fingercomp

    Energy Stored

    Well, this means the ic2_te_mfsu component doesn't have the getMaxEnergyStored method. The reason the crash occures after click is that you fetch the values after pulling a touch event (before the first update, the default value is used, i.e. 0). To get a list of available methods, run the following command in the OpenOS shell: components -l ic2_te_mfsu | less
  8. Fingercomp

    3D printer 'Empty block' error

    Look again at the coordinate system the printer uses. (source: http://computercraft.ru/blog/11/entry-349-3d-printer/) It's a Cartesian grid, meaning that coordinates determine the position of a vertex, not voxel. In your case, the Z-coordinate is 0 for both points, so you effectively ask the printer to print you a flat face. That's exactly why you're getting this error. Change the Z-coordinate of the second point from 0 to 1 to add a 1-voxel-high shape. component.printer3d.addShape(6, 6, 0, 9, 7, 1, 'hardened_clay_stained_lime')
  9. Fingercomp

    Hive Mind

    Enable the effect. Click on a bee hive. Use an impregnated stick to make the bees attack an entity. Keep the nanomachines charged if you don't want the bees to attack you.
  10. Fingercomp

    Development of scripts

  11. Fingercomp

    Need help with TCP socket

    Check if you can connect to your server from a remote host. A firewall might be blocking the connection. Keep in mind that your host may be blacklisted in the configuration file by default (if you're trying to connect to localhost, for instance). Wrap handle:write("1234") into print (like print(handle:write("1234"))) so that if there were any errors, they would be printed, not ignored. Also, try to os.sleep a while before writing to or reading from the socket. Perhaps the socket doesn't get enough time to establish the connection. Call handle.stream.socket.finishConnect() to check if the socket is connected.
  12. Fingercomp

    Robots cannot attack players, is this intended?

    No, you shouldn't. This is the default behaviour of OpenComputers. You can allow robots to attack players by setting canAttackPlayers to true in the OC configuration file.
  13. Fingercomp

    Sending PUT and DELETE requests [Solved]

    The internet card's request method doesn't allow to set a custom request method. No mod adds such feature, either. Though if you can't avoid the need to use methods different from GET and POST, there's a rough implementation of HTTP/1.1 I've written in Lua to test my TLS library. It may easily fail for some unusual responses (I didn't really test it much specifically), and is slow (like, really really slow) in comparsion to the internet card's built-in HTTP request method. Also, it lacks support for HTTP/2, obviously, which is the protocol that many websites start gradually switching to. So hacking your way around could be better than using this library, perhaps, unless you know what you're doing. But you can consider it an option if you just want to make a small request to some specific host that doesn't return huge responses.
  14. Fingercomp

    What algorithm is used to approximate colors?

    This page, though in Russian, may be useful to you. The code there contains functions to deflate a color into its palette index and vice versa. Generate a color palette and use palette:inflate(palette:deflate(color)).
  15. Fingercomp

    what am i doing wrong?

    You don't need to use component.invoke here. It's a quite rarely used function since there are better alternatives. First, component.<component type>.<method>. E.g., component.tile_defense_machine_launcherscreen_name.launch(). This is what you should use if you only have a single component of some type. local component = require("component") local launcher = component.tile_defense_machine_launcherscreen_name launcher.launch() Second, component.proxy(address). Use it if there are several components of the same time, and you need to operate with a specific one. An address of the component should be passed to the function. local component = require("component") -- the address of the component, use an analyzer to get it local componentAddress = "1234567890ab-1234-1234-1234-12345678" local launcher = component.proxy(componentAddress) launcher.launch()

Important Information

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