Posted 22 November 2014 - 03:12 PM
Hey there, me again :P/>
I'm having an issue with monitors. I've just finished my reactor/turbine control program to a level where I'm almost completely satisfied with it, with one exception. Whenever the monitor updates, sections of it occasionally blink black. I was wondering if this is because my code is badly optimised, or if it's just something that's unavoidable when refreshing monitors continuously in Computercraft.
Should I be avoiding completely refreshing the screen, and only write to it when something has changed (this would be extremely difficult I think due to the nature of the program)
Here's the pastebin for the source code if there's any kind soul out there that take a look at it and let me know if there's a better way (which undoubtedly there is) to do the display portion of the program.
http://pastebin.com/m0bxA5yi
If there's anyone that would like to see the program in action. I could make a void world with the reactor setup and computer/monitor setup available for download.
I'm having an issue with monitors. I've just finished my reactor/turbine control program to a level where I'm almost completely satisfied with it, with one exception. Whenever the monitor updates, sections of it occasionally blink black. I was wondering if this is because my code is badly optimised, or if it's just something that's unavoidable when refreshing monitors continuously in Computercraft.
Should I be avoiding completely refreshing the screen, and only write to it when something has changed (this would be extremely difficult I think due to the nature of the program)
Here's the pastebin for the source code if there's any kind soul out there that take a look at it and let me know if there's a better way (which undoubtedly there is) to do the display portion of the program.
http://pastebin.com/m0bxA5yi
If there's anyone that would like to see the program in action. I could make a void world with the reactor setup and computer/monitor setup available for download.