This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Zudo's profile picture

[Discontinued] Linox.

Started by Zudo, 21 May 2013 - 10:56 AM
Zudo #1
Posted 21 May 2013 - 12:56 PM


This project is discontinued, but I am making an OS (IRL), also named Linox, but awesomer!
Zudo #2
Posted 22 May 2013 - 02:19 AM
OK I have given more information, so bump!
WhoAmI #3
Posted 22 May 2013 - 04:21 AM
Why did you make a post if we can't download or see the code?
nutcase84 #4
Posted 22 May 2013 - 08:04 AM
Good job. This is how I started.
Lyqyd #5
Posted 22 May 2013 - 10:26 AM
OS posts aren't allowed anywhere except the OS section. Incomplete OS posts aren't allowed at all. Locked and moved.
Lyqyd #6
Posted 25 June 2013 - 03:01 PM
Unlocked by request of OP so code may be posted.
Zudo #7
Posted 26 June 2013 - 02:15 AM
Fixed several bugs!
Imque #8
Posted 26 June 2013 - 03:39 AM
Nice fake loading screen


sleep(1)
bar:triggerUpdate("Accelerating to 88 kph")
fail = true
sleep(1)
bar:triggerUpdate("Changing the future")
sleep(0.5)
Zudo #9
Posted 26 June 2013 - 12:37 PM
Nice fake loading screen


sleep(1)
bar:triggerUpdate("Accelerating to 88 kph")
fail = true
sleep(1)
bar:triggerUpdate("Changing the future")
sleep(0.5)

Most of it is not fake, but for some reason the API didn't like it without that part… :(/> And it feels more natural because some parts take a lot longer than others.
jwtc2000 #10
Posted 26 June 2013 - 05:02 PM
Well now that I installed. it the username and password you gave us doesn't work, and it wont detete, By this i mean i break the computer and place it again Linox is still there. Help? (Im On A Server)
H4X0RZ #11
Posted 26 June 2013 - 05:46 PM
Well now that I installed. it the username and password you gave us doesn't work, and it wont detete, By this i mean i break the computer and place it again Linox is still there. Help? (Im On A Server)
Mybe your Computer has a label?
Zudo #12
Posted 27 June 2013 - 03:16 AM
Wait a second, fixing that bug!

Well now that I installed. it the username and password you gave us doesn't work, and it wont detete, By this i mean i break the computer and place it again Linox is still there. Help? (Im On A Server)
Mybe your Computer has a label?

It gives itself a label.
Zudo #13
Posted 27 June 2013 - 03:23 AM
Sorry, I am experiencing a massive bug which occured after fixing that other one. I'm trying to fix it now.

Ok! New pastebin: zQDRZBx5
thegreatstudio #14
Posted 27 June 2013 - 05:18 AM
Nice job!! Now I can make a linox distribution. XDXD :)/>/>
Zudo #15
Posted 27 June 2013 - 12:26 PM
Nice job!! Now I can make a linox distribution. XDXD :)/>/>

Thanks! (By the way, the link on the login page of your website is broken)
Dave-ee Jones #16
Posted 27 June 2013 - 06:17 PM
Looks good. Will try it out when I get on my computer later. I normally use CCDesk. Way too useful :P/>
Coolman115 #17
Posted 28 June 2013 - 12:33 AM
Dude, cool OS but i can't login. HELP
Zudo #18
Posted 28 June 2013 - 03:03 AM
Dude, cool OS but i can't login. HELP

You must have an older buggy version, try redownloading from this page again.

Tell me if it doesn't work. (What happens when you login? Does it crash?)
Dave-ee Jones #19
Posted 08 July 2013 - 03:45 AM
Nice OS. :)/>

I like the login page and the main GUI. It's neat :)/>
thegreatstudio #20
Posted 10 July 2013 - 10:52 AM
Nice job!! Now I can make a linox distribution. XDXD :)/>/>

Thanks! (By the way, the link on the login page of your website is broken)

Well dude. My link is working :)/>
PixelToast #21
Posted 11 July 2013 - 10:35 PM
this has to be the fanciest thing with this level of crappy coding, i mean just look at it:
Spoiler

function loginScreen()
term.setBackgroundColor(colors.lightGray)
term.setTextColor(colors.black)
term.clear()
term.setCursorPos(1,1)
quit = "Hold CTRL-S to shutdown"
term.setBackgroundColor(colors.white)
write(string.rep(" ", w))
term.setCursorPos(1,1)
write(linox.getVerNo())
term.setCursorPos(w-#quit, 1)
write(quit)
term.setTextColor(colors.white)
term.setCursorPos(10, h/2-1)
write("					")
term.setCursorPos(10, h/2+1)
write("					")
term.setBackgroundColor(colors.lightGray)
term.setCursorPos(1, h/2-1)
write("Username: ")
term.setCursorPos(1, h/2+1)
write("Password: ")
term.setCursorPos(w-15, h/2-1)
write("You can create")
term.setCursorPos(w-15, h/2)
write("users when")
term.setCursorPos(w-15, h/2+1)
write("you log in.")
printc(motd[math.random(1,#motd)], h-1)
term.setBackgroundColor(colors.white)
term.setTextColor(colors.black)
term.setCursorPos(11, h/2-1)
un = read()
term.setCursorPos(11, h/2+1)
pw = read("*")
if linox.getLoginVerify(un, pw) then
spd.setData("login", un)
shell.setDir("/home")
shell.run("/bin/shell")
else
loginScreen()
end
end
loginScreen()
end
Zudo #22
Posted 12 July 2013 - 02:59 AM
this has to be the fanciest thing with this level of crappy coding, i mean just look at it:
Spoiler

function loginScreen()
term.setBackgroundColor(colors.lightGray)
term.setTextColor(colors.black)
term.clear()
term.setCursorPos(1,1)
quit = "Hold CTRL-S to shutdown"
term.setBackgroundColor(colors.white)
write(string.rep(" ", w))
term.setCursorPos(1,1)
write(linox.getVerNo())
term.setCursorPos(w-#quit, 1)
write(quit)
term.setTextColor(colors.white)
term.setCursorPos(10, h/2-1)
write("					")
term.setCursorPos(10, h/2+1)
write("					")
term.setBackgroundColor(colors.lightGray)
term.setCursorPos(1, h/2-1)
write("Username: ")
term.setCursorPos(1, h/2+1)
write("Password: ")
term.setCursorPos(w-15, h/2-1)
write("You can create")
term.setCursorPos(w-15, h/2)
write("users when")
term.setCursorPos(w-15, h/2+1)
write("you log in.")
printc(motd[math.random(1,#motd)], h-1)
term.setBackgroundColor(colors.white)
term.setTextColor(colors.black)
term.setCursorPos(11, h/2-1)
un = read()
term.setCursorPos(11, h/2+1)
pw = read("*")
if linox.getLoginVerify(un, pw) then
spd.setData("login", un)
shell.setDir("/home")
shell.run("/bin/shell")
else
loginScreen()
end
end
loginScreen()
end

How would you do it?
PixelToast #23
Posted 12 July 2013 - 11:46 AM
not recursively (ever heard of a "while true do"?)
tabbing it properly
clearing the username / pass lines instead of re rendering the entire thing
localizing
not do this:

term.setCursorPos(w-15, h/2-1)
write("You can create")
term.setCursorPos(w-15, h/2)
write("users when")
term.setCursorPos(w-15, h/2+1)
write("you log in.")
Zudo #24
Posted 12 July 2013 - 12:15 PM
not recursively (ever heard of a "while true do"?)
tabbing it properly
clearing the username / pass lines instead of re rendering the entire thing
localizing
not do this:

term.setCursorPos(w-15, h/2-1)
write("You can create")
term.setCursorPos(w-15, h/2)
write("users when")
term.setCursorPos(w-15, h/2+1)
write("you log in.")

:0 I probably would have done that
fundevin #25
Posted 12 July 2013 - 06:10 PM
I'm not sure if I'm doing something wrong but I followed the download instructions. Unfortunatly I used the default username and password and it doesn't do anything at the login screen. Any help?


Nope still doesn't login. Even with the new link.
PixelToast #26
Posted 12 July 2013 - 07:19 PM
same, i thought it was just CCDesk messing up the bit calculations in SHA256 (another thing i wouldnt have done)
Zudo #27
Posted 13 July 2013 - 01:19 AM
I cant see what is wrong, I will try and find out what happens for you.
Mandrake Fernflower #28
Posted 13 July 2013 - 01:25 PM
Zudo, I have provided a fix for the broken admin logon: set this as the hashed admin password: 9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08 this will change the password to the word test and it will work!
Zudo #29
Posted 14 July 2013 - 12:33 AM
Zudo, I have provided a fix for the broken admin logon: set this as the hashed admin password: 9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08 this will change the password to the word test and it will work!

The SHA256 gave me a different output :o/>
Mandrake Fernflower #30
Posted 18 July 2013 - 11:27 PM
Can you explian a bit on why this was discontinued???
Zudo #31
Posted 19 July 2013 - 03:05 AM
Can you explian a bit on why this was discontinued???

I got bored of it, so I decided to make a real Linux operating system based off the XFCE desktop environment