Jump to content


Krul__Tepes's Content

There have been 17 items by Krul__Tepes (Search limited from 10-February 22)


By content type

See this member's

Sort by                Order  

#268476 Buttons?

Posted by Krul__Tepes on 23 July 2017 - 05:24 PM in Ask a Pro

both these replies confuse me xD

well Danels makes sense but the 4th line



#268471 Buttons?

Posted by Krul__Tepes on 23 July 2017 - 11:27 AM in Ask a Pro

im trying to make buttons for my phone program to launch apps all i have for it is a border around the screen
how would i add buttons to launch programs to it?



#268459 How would I set up this

Posted by Krul__Tepes on 22 July 2017 - 04:01 PM in Ask a Pro

this is what i need to figure out to make my phone program more advance



#268426 Opinion on my pocket password

Posted by Krul__Tepes on 21 July 2017 - 04:15 AM in Ask a Pro

KingofGamesYami removing the term.clear() before os.reboot makes where i type the password go down a line

Dave-ee Jones i tried what you said and it broke the program or it made the typing go down a line



#268408 Opinion on my pocket password

Posted by Krul__Tepes on 20 July 2017 - 09:28 PM in Ask a Pro

please tell me if anything could be improved

Local color = colors.purple

oldPull = os.pullEventRaw
term.clear()
term.setCursorPos(1,1)
term.setTextColor(color)
print(“=========================”)
print(“=========Zphone 2=========”)
print(“=========================”)
print(“=== ===”)
print(“== ==”)
print(“== Username: Chronoa ==”)
print(“== Password: ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“=== ===”)
print(“==== ====”)
term.setCursorPos(16,6)
If read(“*”) == “password” then
sleep(1)
term.clear()
term.setCursorPos(1,1)
Else
term.setCursorPos(6,8)
print(“Incorrect Login “)
sleep()
term.setCursorPos(6,9)
print(“Rebooting…”)
sleep(1)
term.clear()
term.setCursorPos(16,6)
os.reboot()

end

it removed alot of the spaces :P



#268405 (request) Texting program

Posted by Krul__Tepes on 20 July 2017 - 06:12 PM in Ask a Pro

id much rather have something unique



#268404 (request) Texting program

Posted by Krul__Tepes on 20 July 2017 - 05:45 PM in Ask a Pro

id rather use something custom made i dont know how to use the preinstalled one plus id have to make a new host everytime i relog or the server restarts right?



#268402 (request) Texting program

Posted by Krul__Tepes on 20 July 2017 - 04:18 PM in Ask a Pro

can anyone make a texting program for the advance pocket computer im making a phone and i dont know how to code a chat program
(also has a quit button)



#268401 Need help with login program

Posted by Krul__Tepes on 20 July 2017 - 03:24 PM in Ask a Pro

again i fixed it xD



#268399 Need help with login program

Posted by Krul__Tepes on 20 July 2017 - 02:37 PM in Ask a Pro

figured that out too NOW i have another problem

when i get the password wrong i have it reboot but when it reboots where i type the password goes to where i have the user at



#268398 Need help with login program

Posted by Krul__Tepes on 20 July 2017 - 02:08 PM in Ask a Pro

i fixed it now i have another problem
im getting <eof> expected at line 34 i changed the code heres the new code for the ending

if read("*") == "password" then
print("Welcome")
sleep(1)
term.clear()
term.setCursorPos(1,1)
end
else
print("Incorrect Loging Details")
sleep()
print("Rebooting...")
sleep(1)
end

os.pullEvent = oldPull

nvm fixed that NOW i have a different problem xD

im trying to get it you type where i have write("Password: ")
but its typing at the bottom of the screen



#268394 Need help with login program

Posted by Krul__Tepes on 20 July 2017 - 12:22 PM in Ask a Pro

any suggestion on how to fix that?



#268392 Need help with login program

Posted by Krul__Tepes on 20 July 2017 - 11:04 AM in Ask a Pro

i added () after read but it says
bios:14: [string " .temp"]: 10: 'then' expected



#268388 Need help with login program

Posted by Krul__Tepes on 20 July 2017 - 10:57 AM in Ask a Pro

its suppost to be a computer lock like
username:
Password:



#268382 Need help with login program

Posted by Krul__Tepes on 20 July 2017 - 05:59 AM in Ask a Pro

this is basically my first try at programming and the program is based off another i found heres the code i cant seem to get it to work

local color = colors.red

while true do
oldPull = os.pullEventRaw
term.clear()
term.setCursorPos(1,1)
term.setTextColor(color)
print("Zphone")
write("Username: ")
if read = "username" then
write(Password: ")
read("*") = "password" then
sleep(1)
term.clear()
term.setCursorPos(1,1)
else
print("Incorrect Login Details")
sleep()
print("Rebooting...")
sleep(1)
end
end
os.pullEvent = oldPull

know me this is probably horrible



#268325 Writing and Storing Books

Posted by Krul__Tepes on 18 July 2017 - 06:31 AM in Suggestions

thats what i was looking for Lupus



#268279 Writing and Storing Books

Posted by Krul__Tepes on 16 July 2017 - 04:38 AM in Suggestions

For the longest time ive wanted a way to write books and store them on the computer