This is a read-only snapshot of the ComputerCraft forums,
taken in April 2020.
Computer screen flickering
Started by ExDomino, 31 July 2015 - 08:54 PMPosted 31 July 2015 - 10:54 PM
On my server, my computer started to blink like the screen is cleared and rewrited again and again. It's the first time it does that. On my own program I made, all is fine, but it blinks when I'm using edit or even in the shell.
Posted 01 August 2015 - 12:20 AM
Maybe you got a bad ping causing minecraft to update the CC screen too slow?
Posted 01 August 2015 - 12:38 AM
My bet is that you're only seeing this when you're actually typing into edit/shell. Under CC 1.74, those scripts now clear and redraw the line whenever you enter a character, in a manner that'll indeed lead to flicker if your system's under load or if you're playing online. It's to do with the auto-complete functionality, though it could indeed be coded to work without blanking the line over and over.
Not that you bothered to mention your version, or the other details the "how to post a bug" thread calls for.
Not that you bothered to mention your version, or the other details the "how to post a bug" thread calls for.
Posted 01 August 2015 - 01:54 AM
its usually either the ram or something, causing cc to lag when you type. but with what bomb bloke said, it could also be the autocomplete.
does it happen if your typing some word it wouldn't autocomplete?
like… pneumonoultramicroscopicsilicovolcanoconiosis?
does it happen if your typing some word it wouldn't autocomplete?
like… pneumonoultramicroscopicsilicovolcanoconiosis?
Posted 01 August 2015 - 03:45 PM
I don't think it has to do with RAM. It is not autocomplete's fault, and it is not a bug.its usually either the ram or something, causing cc to lag when you type. but with what bomb bloke said, it could also be the autocomplete.
does it happen if your typing some word it wouldn't autocomplete?
like… pneumonoultramicroscopicsilicovolcanoconiosis?
It's just that the ComputerCraft update adding autocomplete changed the way the shell draws the command line.
Posted 01 August 2015 - 05:39 PM
its usually either the ram or something, causing cc to lag when you type. but with what bomb bloke said, it could also be the autocomplete.
does it happen if your typing some word it wouldn't autocomplete?
like… pneumonoultramicroscopicsilicovolcanoconiosis?
That's noT what Bomb said, the issue isn't caused by autocomplete iteself. It is caused by the shell clearing and redrawing the entire line whenever something changes, wich was needed to make autocompleting work. What you actually type is not relevant here.
Posted 01 August 2015 - 10:21 PM
It's most likely something to do with shell.clear and/or shell.clearLine being very frequently called, lag also can make it worst.
Posted 02 August 2015 - 12:51 AM
It is caused by the shell clearing and redrawing the entire line whenever something changes, wich was needed
Really not "needed", but otherwise yeah.