Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function s(...) return sleep(...) end
- local function aw(...) return write(...) end
- local function p(...) return print(...) end
- local function tw(...) return term.write(...) end
- local function scp(...) return term.setCursorPos(...) end
- local function sbc(...) return term.setBackgroundColor(...) end
- local function stc(...) return term.setTextColor(...) end
- local function tc(...) return term.clear(...) end
- local function tcl(...) return term.clearLine(...) end
- local function r(...) return shell.run(...) end
- local function sp(...) return textutils.slowPrint(...) end
- local function sw(...) return textutils.slowWrite(...) end
- local function fse(...) return fs.exists(...) end
- local function pul(...) return paintutils.loadImage(...) end
- local function pud(...) return paintutils.drawImage(...) end
- local function pfb(...) return paintutils.drawFilledBox(...) end
- local function su(...) return os.shutdown(...) end
- local function re(...) return os.reboot(...) end
- local function pdp(...) return paintutils.drawPixel(...) end
- local w, h = term.getSize()
- function bsodr()
- tc()
- sbc(colors.blue)
- tc()
- sbc(colors.blue)
- stc(colors.white)
- ac = w/2
- scp(ac-2,3)
- sbc(colors.white)
- stc(colors.blue)
- p("NextUI")
- sbc(colors.blue)
- stc(colors.white)
- scp(1,6)
- p("Microcraft MineCore napotkal blad i musial zostac zatrzymany. Jesli widzisz ten ekran po raz pierwszy, uruchom ponownie komputer, jednak jesli bedzie sie powtarzal mozliwe, ze konieczna bedzie naprawa systemu NextUI. Skontaktuj sie w tym celu z przedstawicielem Microcraft po wiecej informacji.")
- p("Kod bledu: 0x302525503149")
- p("Nazwa bledu: INV_RES")
- system = "NextUI"
- kernel = "MineCore"
- kod = "0x403535604159"
- nazwa = "INV_RES"
- p("Zapisywanie kodu i nazwy bledu w pliku /os/bsod/.bsodr")
- local a = fs.open("/os/bsod/.bsodr", "w")
- a.writeLine(system)
- a.writeLine(kernel)
- a.writeLine(kod)
- a.writeLine(nazwa)
- a.close()
- p("Twoj komputer uruchomi sie ponownie za 10 sekund")
- s(10)
- re()
- end
- if fse("s") then bsodr() end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement