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

Belial

Members
  • Content Count

    4
  • Joined

  • Last visited

About Belial

  • Rank
    Junior Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi, I just tried to return simple info with transposer before I start to actually do something, and it returned nil. I'm sure about the direction of inventory. Also, I tried other directions as well. Am I misunderstanding a concept about this? Thanks in advance. Code: local comp = require("component") local sides = require("sides") local tp = comp.transposer local result = tp.getInventorySize(sides.south) print(result) EDIT Okay, I tried to reproduce the problem in another world and found out it was caused by minecolonies. It's caused by colony permission I suppose. Sorry for posting this without trying to reproduce in the first place.
  2. If you don't know how to do that, the best thing to do is trying to do that. Especially in programming. I suggest you try. It won't be easy at first, but you'll learn in the end. Good luck.
  3. Belial

    Detect Delay

    I believe it is, but strangely it doesn't work like that. I might made a mistake, but at the moment I can't see it. Can you configure and check it? This is an example configuration. It moves forward when below block is same with the 1st slot, moves right when it is same with the 2nd. Normally it shouldn't move when it detects any block in front. But strangely, it doesn't see the block then moves to the right. That's why I thought it happens before moving is complete. It might be synchronous, but I'm not sure about does it wait for the movement to finish. EDIT Okay, I got it fixed. I break the loop after checking the block below, so it doesn't overlap anymore. Thanks!
  4. Belial

    Detect Delay

    Can I delay robot.detect()? At the moment, my robot trying to detect a block in front of it, but as I understand, it does this before it moves. So it detects nothing, this causes bug. Is there any way to delay detecting so it can detect after it moves? Here is code btw: https://hastebin.com/itevasanij.lua Thanks in advance.
×
×
  • Create New...

Important Information

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