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

Search the Community

Showing results for tags 'Too long without yielding'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • OpenComputers
    • Announcements
    • Feedback
    • IRC
  • Code Central
    • Support
    • Showcase
    • Tutorials
  • Addons & More
    • Addons Mods
    • Architectures
    • OpenEngineering Task Force
  • General
    • Lounge
    • Forum Games
    • Showcase
    • Servers
  • Archives
    • Public Archives

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Minecraft


GitHub


IRC


Fediverse ID


Location


Interests

Found 1 result

  1. My code crashes with this reason:too long without yielding. How to fix this? Here is code: red = component.proxy(component.list("redstone")()) local bottom = 0 local back = 2 function wait(seconds) local start = os.time() repeat until os.time() > start + seconds end while true do if red.getInput(bottom) > 0 then wait(50) red.setOutput(back, 15) wait(5) else red.setOutput(back, 0) end end
×
×
  • Create New...

Important Information

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