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

Gorzoid

Members
  • Content Count

    111
  • Joined

  • Last visited

  • Days Won

    22

Gorzoid last won the day on May 4 2018

Gorzoid had the most liked content!

About Gorzoid

  • Rank
    Leading Member

Contact Methods

  • Minecraft
    Gorzoid
  • GitHub
    Gorzoid

Recent Profile Visitors

6154 profile views
  1. Hey Gorzoid, thanks for your code ;)

    I've been playing around with it, and it works well with sugar cane, however, when I change the height, either the drone goes on a different direction or breaks the first block of the plant, the farmland block and the waypoint. 

    And if it is not too much to ask, would it be possible to have the drone crop several lines with just one waypoint?

     

    Thanks in advance, Mosc on the Road

    https://oc.cil.li/topic/1219-drone-harvesting-program-request/

  2. Assuming you are using io and not filesystem, PIL shows how to read binary files https://www.lua.org/pil/21.2.2.html it works mostly the same as normal io
  3. So what your saying is we should use the torcherino mod to make our computers run at 1780 TPS?
  4. Note this is why indenting is incredibly useful, if you correctly indented that code you would clearly see where you are missing an end
  5. Open computers is not fast enough to do per tick redstone signals on multiple sources. For the actual problem you have there, os.time returns minecraft seconds. It's a pretty useless metric about 0.28 ticks, I'm pretty sure the most tick accurate clock is computer.uptime() which is seconds since computer was started.
  6. infoName isnt assigned, you forgot to call printInfos with a string, something like printInfos("stored")
  7. I would not recommend doing io.open():read() or write(), you are never closing the file so you can't guarantee the handle is released. Make a custom function to readall/writeall quickly if you need to. Also filesystem.concat might be better than just using "WH/db/"..LOC
  8. Think you might be on the wrong forum dude?
  9. I'd still recommend having OpenOS installed if possible, it adds alot to make robot API easier and allows robot to be used through terminal aswell.
  10. Navigation upgrade having the ability to magically share waypoints with eachother seems a bit weird, I like the idea of setting local waypoints that only the component itself can see but networked waypoints can be recreated with just a wireless card.
  11. I think fake player clicking was disabled on the regular sieve after the electric sieve was added to the mod. Isn't an electric sieve cheaper anyway?
  12. gpu.bind is exactly what you're looking for, it's first function in the docs http://ocdoc.cil.li/component:gpu I think you'll need to redraw the UI every time you bind though
  13. the first argument of computer.pullSignal is the max timeout. Use deadline - computer.uptime() instead of 0 and that should give a more desired output. The lua sleep function doesn't work because OpenComputers requires you to manually halt your code every.
  14. If you want it to work for all words/strings then use "1" instead of 1. In lua numbers and strings are not the same, ie 1 != "1". It seems that lua for some reason allows strings to be implicitly converted to numbers when using arithmetic operators(who do they think they are, JavaScript). So if your inputs aren't restricted to being numbers only then just compare with the number as a string(in quotes)
×
×
  • Create New...

Important Information

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