Jump to content


oasis9's Content

There have been 11 items by oasis9 (Search limited from 29-March 23)


By content type

See this member's

Sort by                Order  

#55079 Prevent Program Termination (Ctrl+T)

Posted by oasis9 on 28 November 2012 - 08:58 PM in Tutorials

I have a lockdown program that can be bypassed and my logging system will be run again when the computer is restarted, so you can skip the holdup, that is supposed to deter you from finding the code, all you have to do is ctrl+r or ctrl+s.



#50467 Bridge turtle doesn't know when inventory is empty...

Posted by oasis9 on 16 November 2012 - 07:52 PM in Ask a Pro

Man I don't like this turtle!!



#50466 Bridge turtle doesn't know when inventory is empty...

Posted by oasis9 on 16 November 2012 - 07:43 PM in Ask a Pro

My pic/info on this wiki says "clueless"!!! *_*
I am not clueless!

Plus, I am pretty good at code!



#50465 Bridge turtle doesn't know when inventory is empty...

Posted by oasis9 on 16 November 2012 - 07:41 PM in Ask a Pro

(Removed)



#50463 Bridge turtle doesn't know when inventory is empty...

Posted by oasis9 on 16 November 2012 - 07:35 PM in Ask a Pro

I want my turtle to check that every last drop of items are gone from its inventory, before it does ' shell.run("return") '!!!!!
HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1



#48890 Keycard Doorlock System

Posted by oasis9 on 10 November 2012 - 03:41 PM in Programs

Pls answer dude!!!
;( ::
---
PLS



#48881 Keycard Doorlock System

Posted by oasis9 on 10 November 2012 - 03:02 PM in Programs

I fixed that...
Now I need help with line 20!

error:
filename:20: attempt to index ? (a nil value)



#48880 Keycard Doorlock System

Posted by oasis9 on 10 November 2012 - 02:57 PM in Programs

(removed)



#48876 Keycard Doorlock System

Posted by oasis9 on 10 November 2012 - 02:34 PM in Programs

Just one thing - what is "config"?

I may have a few other questions...



#48874 Keycard Doorlock System

Posted by oasis9 on 10 November 2012 - 02:32 PM in Programs

Thanks!
--
I don't think you're too bad at explaining!



#45725 password app code

Posted by oasis9 on 30 October 2012 - 07:48 AM in Programs

This didn't work out.
In the forum.
The PC works great!


Code:

os.pullEvent = os.pullEventRaw
term.clear()
term.setCursorPos(1, 3)
print " OASIS9'S"
print " CINEMA"
print " SYSTEMS"
term.setCursorPos(10, 10)
print "******************************"
term.setCursorPos(10, 11)
print "* WARNING! *"
term.setCursorPos(10, 12)
print "* ---------- *"
term.setCursorPos(10, 13)
print "* HACKING THIS SYSTEM IS *"
term.setCursorPos(10, 14)
print "* PUNISHABLE BY DEATH AND *"
term.setCursorPos(10, 15)
print "* LOSS OF YOUR VALUABLES! *"
term.setCursorPos(10, 16)
print "******************************"
term.setCursorPos(15, 18)
write "Enter Password: "
local password = "kittens"
local input = read"*"
if input == password then
term.clear()
term.setCursorPos(1, 1)
print "Access Granted"
sleep(3)
term.clear()
term.setCursorPos(1, 1)
else
term.clear()
term.setCursorPos(1, 1)
print "Access Denied"
sleep(3)
print "Restarting..."
sleep(3)
os.reboot()
end


Output will be:




OASIS9'S
CINEMA
SYSTEMS


*******************************************************************
* WARNING! *
* --------------- *
* HACKING THIS SYSTEM IS *
* PUNISHABLE BY DEATH *
* AND LOSS OF YOUR *
* VALUABLES! *
********************************************************************

ENTER PASSWORD: _

***************************************
IF INPUT IS CORRECT THEN
***************************************
Access Granted

***************************************
WAITS THREE SECONDS THEN
***************************************
> _

***************************************
IF INPUT IS INCORRECT THEN
***************************************
Access Denied

***************************************
WAITS THREE SECONDS THEN
***************************************
Access Denied
Restarting...

***************************************
WAITS THREE SECONDS THEN
***************************************
*PC IS RESTARTED*