Jump to content


odd_kid's Content

There have been 34 items by odd_kid (Search limited from 10-February 22)


By content type

See this member's


Sort by                Order  

#26757 LOL CODE funny commands and functions

Posted by odd_kid on 16 August 2012 - 10:08 PM in Programs

I lol'd. Thankyou Kind sir



#25215 BlueMail [pc to pc email system]

Posted by odd_kid on 11 August 2012 - 02:46 PM in Programs

Ok, then bug edit;

Bug 1: Cant open inbox. Lol.



#25206 Remote Lock v. 1.0

Posted by odd_kid on 11 August 2012 - 02:16 PM in Programs

do you have to have a separate server for each door?



#25205 BlueMail [pc to pc email system]

Posted by odd_kid on 11 August 2012 - 02:13 PM in Programs

Ok, edit of the bugs;

Bug 1: Cant open inbox

Bug 2: Cant type in the email fields



#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?



#25200 BlueMail [pc to pc email system]

Posted by odd_kid on 11 August 2012 - 02:01 PM in Programs

Awesome! Ill try it out.



#24719 BankOS

Posted by odd_kid on 09 August 2012 - 10:36 AM in Operating Systems

View PostBigSHinyToys, on 09 August 2012 - 07:24 AM, said:

View Postinventor2514, 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

View PostNoodle, on 06 August 2012 - 02:24 PM, said:

It wouldn't make sense to use graphical since its all ascii art..
you are both wrong. In CC all interfaces are A CLI (Command-line interface) or B (TUI Text-based user interface). as there is no way to display picutres a GUI is impossible in CC.

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.



#24201 Error

Posted by odd_kid on 07 August 2012 - 06:02 AM in Ask a Pro

Have it install the file auto with a floppy installer. If not, just create the new file. It looks like there isnt a file located thats why.



#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.



#24139 A quick guide through menu making

Posted by odd_kid on 06 August 2012 - 10:49 PM in Tutorials

Not sure if this is too improtant;

but this COULD be wrong, im not sure at all. Just posting this. If its not wrong, please tell me. I didnt know you could combine these...

term.clear() term.setCursorPos(1,1)



#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



#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?



#24135 [Lua] [Error] Simple Login System

Posted by odd_kid on 06 August 2012 - 10:39 PM in Ask a Pro

Well i wasnt planning on making a WHOLE os just yet, how can I make it so it just goes straight to the CraftOS shell?



#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()



#23815 [Lua] [Error] Simple Login System

Posted by odd_kid on 06 August 2012 - 12:16 AM in Ask a Pro

Great work on the code koto! and thankyou for the input xoph, Last question befor i realease 1.5, how do i make it so if they push any number but 1-5 it says something like "not a valid input" ?



#23814 No Disk Drive Allowed!

Posted by odd_kid on 06 August 2012 - 12:00 AM in Ask a Pro

Thankyou for the info, sad to know i cant.



#23744 Rednet Bomb

Posted by odd_kid on 05 August 2012 - 06:36 PM in Programs

Please put the code into a code box? I want to see this



#23743 No Disk Drive Allowed!

Posted by odd_kid on 05 August 2012 - 06:30 PM in Ask a Pro

Im writing code for logging in, and i need to know how to make it so you CANT boot from a floppy when a disk drive is placed.

Ive heard just place obbby around it, but it looks so ugly to me, id rather just program it in.



#23740 Im a noob :) I need help with a really simple program, kinda urgent as well :D

Posted by odd_kid on 05 August 2012 - 06:25 PM in Ask a Pro

nice! Good job getting back at those griefers!



#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.

--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



#23734 [Lua] [Error] Simple Login System

Posted by odd_kid on 05 August 2012 - 05:27 PM in Ask a Pro

line 85, end expected to close function at line 19



#23728 [Lua] [Error] Simple Login System

Posted by odd_kid on 05 August 2012 - 05:13 PM in Ask a Pro

OH i forgot about that



#23725 [Lua] [Error] Simple Login System

Posted by odd_kid on 05 August 2012 - 05:04 PM in Ask a Pro

Thanks! ill try that out!



#23718 [Lua] [Error] Simple Login System

Posted by odd_kid on 05 August 2012 - 04:33 PM in Ask a Pro

error on line 19 too, then expected