- ComputerCraft | Programmable Computers for Minecraft
- → odd_kid's Content
odd_kid's Content
There have been 34 items by odd_kid (Search limited from 10-February 22)
#25202 BlueMail [pc to pc email system]
Posted by
odd_kid
on 11 August 2012 - 02:05 PM
in
Programs
Bug 1: Cant exit out of rednet on/off menu.
Bug 2: Cant type when composing new letter
Bug 3: (more a suggestion) When you hit send and there isnt anything typed out, instead of the whole program crashing make it so it says something like "Error, fields not inputted"
Bug 4: Cant open inbox. Nil error on line 372 i belive?
Bug 2: Cant type when composing new letter
Bug 3: (more a suggestion) When you hit send and there isnt anything typed out, instead of the whole program crashing make it so it says something like "Error, fields not inputted"
Bug 4: Cant open inbox. Nil error on line 372 i belive?
#24719 BankOS
Posted by
odd_kid
on 09 August 2012 - 10:36 AM
in
Operating Systems
BigSHinyToys, on 09 August 2012 - 07:24 AM, said:
inventor2514, on 06 August 2012 - 07:23 PM, said:
While an ASCII art GUI may not meet modern standards, it still qualifies as a GUI if the user interacts with graphics. Also, my application is below:
IGN: inventor2514
Age: 17
Email: [email protected]
Applying for: UI Designer
Experience: GUI File Browser
Other: Skype name is also inventor2514
IGN: inventor2514
Age: 17
Email: [email protected]
Applying for: UI Designer
Experience: GUI File Browser
Other: Skype name is also inventor2514
Noodle, on 06 August 2012 - 02:24 PM, said:
It wouldn't make sense to use graphical since its all ascii art..
Relevant links
http://en.wikipedia...._user_interface
http://en.wikipedia....-line_interface
http://en.wikipedia...._user_interface
By the above classification your (GUI file browser) is actually a TUI file browser.
BAM.
#24148 Have The Option To Code The Rom For Each Computer in-Game
Posted by
odd_kid
on 06 August 2012 - 11:32 PM
in
Suggestions
Lol, i knew THAT! but like in-game so you can on servers and junk
#24143 Have The Option To Code The Rom For Each Computer in-Game
Posted by
odd_kid
on 06 August 2012 - 11:05 PM
in
Suggestions
This would be useful for not allowing diskdrives (which is what a lot of people want) and creating a custom OS and such.
#24137 BankOS
Posted by
odd_kid
on 06 August 2012 - 10:46 PM
in
Operating Systems
IGN: odd_kid
Age: 16
E-Mail: [email protected]
Applying for: Making a unhackable login system
Experience: I know how to make a unhackable login system :3
Age: 16
E-Mail: [email protected]
Applying for: Making a unhackable login system
Experience: I know how to make a unhackable login system :3
#24136 No Disk Drive Allowed!
Posted by
odd_kid
on 06 August 2012 - 10:43 PM
in
Ask a Pro
So tl;dr
Place Lockett signs around the computer so no one can break them.
Problem with that is, you can place a drive on the front and still boot from there. Call me wird but i really dont want a sign on my front.
Cant you rerout the startup to do something else when a boot disk is placed?
Place Lockett signs around the computer so no one can break them.
Problem with that is, you can place a drive on the front and still boot from there. Call me wird but i really dont want a sign on my front.
Cant you rerout the startup to do something else when a boot disk is placed?
#23821 [Lua] [Error] Simple Login System
Posted by
odd_kid
on 06 August 2012 - 01:01 AM
in
Ask a Pro
ALSO, i type in the password and says logging in, but it doesnt go to the normal shell, why? Code:
--prevent ctrl+t escape
os.pullEvent = os.pullEventRaw
--declare fail count
failcount = 0
tTrue = true
--startup display
function greet()
term.clear()
term.setCursorPos(1,1)
print(" odd Security v1.5 (beta) ")
print(" =========================")
print(" || UserName: yourname ||")
print(" || Password: ******** ||")
print(" =========================")
print(" ||Type options for opt.||")
print(" =========================")
write(" Password: ")
getInput()
end
function getInput()
while tTrue == true do --Im using this instead of recursion (ie using getInput() at the comment) so as to prevent any weird
--java exceptions stemming from the use of recursion
local options = "options" --decalare possible choices
local pass = "password"
input = read("*")
if input == (pass) then
print("Logging In..")
sleep(.25)
print("Login succesful: Welcome user!")
sleep(2) --probably reduce this sleep
term.clear()
term.setCurorPos(1,1)
print("Starting odd OS...")
sleep(1)
term.clear()
term.setCursorPos(1,1)
--shell.run() --default page of your OS here
print("odd OS v1.4.7") --delete this once you have the real homepage made
elseif input == options then
tTrue = false
optionsMenu()
else
print("Logging In...")
if failcount > 4 then --check to make sure you havent already failed 4 times
print("Failed to log in. Powering down.")
sleep(1)
os.shutdown()
else -- increase failcount to n+1
failcount = failcount + 1
term.scroll(-1)
print("Incorrect paswword")
term.scroll(1)
sleep(1)
term.scroll(-1)
term.clearLine()
term.scroll(1)
--its possible to use getInput() here instead
end
end
end
end
function optionsMenu()
local op1 = "1"
local op2 = "2"
local op3 = "3"
term.clear()
print(" =====================")
print(" || Options Menu ||")
print(" =====================")
print(" || 1 Reboot ||")
print(" || 2 Shutdown ||")
print(" || 3 Admin Mode ||")
print(" || 4 Back to login||")
print(" =====================")
write("-")
local event, input2 = os.pullEvent("char")
if input2 == "1" then
print("Rebooting...")
sleep(3)
os.reboot()
elseif input2 == "2" then
print("Powering down...")
sleep(3)
os.shutdown()
elseif input2 == "3" then
print("Admin Mode")
elseif input2 == "4" then
term.clear()
term.setCursorPos(1,1)
greet()
end
end
greet()
#23736 [Lua] [Error] Simple Login System
Posted by
odd_kid
on 05 August 2012 - 05:39 PM
in
Ask a Pro
Not working at all.
Sometimes I reboot, and it just doesnt do anything. Now its fucntion at line 89 end expected.
Sometimes I reboot, and it just doesnt do anything. Now its fucntion at line 89 end expected.
--prevent ctrl+t escape
os.pullEvent = os.pullEventRaw
--declare fail count
failcount = 0
--startup display
function greet()
term.clear()
term.setCursorPos(1,1)
print(" odd Security v1.5 (beta) ")
print(" =========================")
print(" || UserName: yourname ||")
print(" || Password: ******** ||")
print(" =========================")
print(" ||Type options for opt.||")
print(" =========================")
write(" Password: ")
getInput()
end
function getInput()
while true do --Im using this instead of recursion (ie using getInput() at the comment) so as to prevent any weird
--java exceptions stemming from the use of recursion
local options = "options" --decalare possible choices
local pass = "password"
input = read("*")
if input == (pass) then
print("Logging In..")
sleep(.25)
print("Login succesful: Welcome user!")
sleep(2) --probably reduce this sleep
term.clear()
print("Starting odd OS...")
sleep(1)
term.clear()
term.setCursorPos(1,1)
shell.run() --default page of your OS here
print("odd OS v1.4.7") --delete this once you have the real homepage made
elsif input == "options" then
optionsMenu()
else
print("Logging In...")
if failcount > 4 then --check to make sure you havent already failed 4 times
print("Failed to log in. Powering down.")
sleep(1)
os.shutdown()
else -- increase failcount to n+1
failcount = failcount + 1
term.scroll(-1)
print("Incorrect paswword")
term.scroll(1)
sleep(1)
term.scroll(-1)
term.clearLine()
term.scroll(1)
--its possible to use getInput() here instead
end
end
end
function optionsMenu()
print(" =====================")
print(" || Options Menu ||")
print(" =====================")
print(" || 1 Reboot ||")
print(" || 2 Shutdown ||")
print(" || 3 Admin Mode ||")
print(" || 4 Back to login||")
print(" =====================")
write("-")
local event, input2 = os.pullEvent("char")
if input2 == "1" then
print("Rebooting...")
sleep(3)
os.reboot()
elseif input2 == "2" then
print("Powering down...")
sleep(3)
os.shutdown()
elseif input2 == "3" then
print("Admin Mode")
elseif input2 == "4" then
term.clear()
term.setCursorPos(1,1)
greet()
end
end
- ComputerCraft | Programmable Computers for Minecraft
- → odd_kid's Content


