This is a read-only snapshot of the ComputerCraft forums,
taken in April 2020.
[Discontinued] Linox.
Started by Zudo, 21 May 2013 - 10:56 AMPosted 21 May 2013 - 12:56 PM
This project is discontinued, but I am making an OS (IRL), also named Linox, but awesomer!
Posted 22 May 2013 - 02:19 AM
OK I have given more information, so bump!
Posted 22 May 2013 - 04:21 AM
Why did you make a post if we can't download or see the code?
Posted 22 May 2013 - 08:04 AM
Good job. This is how I started.
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.
Posted 25 June 2013 - 03:01 PM
Unlocked by request of OP so code may be posted.
Posted 26 June 2013 - 02:15 AM
Fixed several bugs!
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)
Posted 26 June 2013 - 12:37 PM
Nice fake loading screensleep(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.
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)
Posted 26 June 2013 - 05:46 PM
Mybe your Computer has a label?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)
Posted 27 June 2013 - 03:16 AM
Wait a second, fixing that bug!
It gives itself a label.
Mybe your Computer has a label?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)
It gives itself a label.
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
Ok! New pastebin: zQDRZBx5
Posted 27 June 2013 - 05:18 AM
Nice job!! Now I can make a linox distribution. XDXD :)/>/>
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)
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/>
Posted 28 June 2013 - 12:33 AM
Dude, cool OS but i can't login. HELP
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?)
Posted 08 July 2013 - 03:45 AM
Nice OS. :)/>
I like the login page and the main GUI. It's neat :)/>
I like the login page and the main GUI. It's neat :)/>
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 :)/>
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
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?
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:
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.")
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
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.
Nope still doesn't login. Even with the new link.
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)
Posted 13 July 2013 - 01:19 AM
I cant see what is wrong, I will try and find out what happens for you.
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!
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/>
Posted 18 July 2013 - 11:27 PM
Can you explian a bit on why this was discontinued???
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