This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
kingkingkingkg's profile picture

Ordering window program

Started by kingkingkingkg, 20 July 2012 - 09:06 PM
kingkingkingkg #1
Posted 20 July 2012 - 11:06 PM
Ordering Window v1.0
created by:Kingkingkingkg

CC Version:1.31

Description
This program allows the User to input their own orders and will show up on a monitor on the side or back of computer.
can only print to ONE monitor at this time.

Version Logs

7/20/12 - Version 1.0
-One Monitor
-one order per person
-monitor MUST be touching terminal

HELP WANTED

— 3 Beta Testers

— coders please!

— graphic designer

— Marketing committie

<<<Application On Website>>>

FUTURE ADDITIONS

1) MultiMonitor Support

2) More then one order per person at a time

3) Monitor NOT having to be touching the terminal

4) MultiTerminal to MultiScreen Capibility

5) GUI with menu and options

CODE:

print("What Would You Like To Order Today?:")
text=read()
yourmonitor = peripheral.wrap(yourside)  -- Yourside is the side of your monitor
term.redirect(yourmonitor) -- Your code like print or term.write()
print("Last order:  "..text)
term.restore()   -- Back to the main computer screen
print("Thank you for ordering: " text)


SPECIAL THANKS TO:

- Rocklandband- for helping test

Current Team:

Kingkingkingkg-Coder and Tester

Post all Questions and comments BELOW



Email:Programcraftinc@gmail.com


Post edit list:

[7/20/12]-added to post and added application.

[7/27/12]-Updated post and added website and email!



PLEASE DONT REPLY TO POST EMAIL ANY QUESTIONS OR COMMENTS TO ME THANK YOU!
Edited on 28 July 2012 - 12:15 AM
kingkingkingkg #2
Posted 20 July 2012 - 11:58 PM
APPLICATIONS NOW OPEN!
FlamingCacti #3
Posted 21 July 2012 - 01:12 AM
IGN: FlamingCacti
Job applying for: Beta tester
Age: 13
Past Experience: No lua experience, but a moderate Python user. (I don't code in CC's language, but I could learn easier)
Anything else you want me to know about you: We were talking on another thread of yours, about the warehouse. I also do Youtube videos and I have a small Tekkit server I run for these videos, Hamachi private network.
Exerro #4
Posted 21 July 2012 - 11:16 AM
ign: awsumben13
job applying for: coder
age: 13
past experience:bluetide os, blueville, and loads more www.bluetideos.weebly.com
anything else: just about to go on holiday so I won't be on much :L
Laserman34170 #5
Posted 25 July 2012 - 05:22 PM
ign: Laserman34170
job applying for: coder
age: 12.437654858234
past experience: im really into cc networking and am an experienced rednet coder

Very interesting idea. A multitude of possibilities, of which I'm interested in "online" ordering of products.
kingkingkingkg #6
Posted 27 July 2012 - 04:22 PM
laser aw and flamin imma pm you my skype so we can work i still need a server to test on :)/>/>
kingkingkingkg #7
Posted 27 July 2012 - 04:42 PM
Post UPDATED check it out!!!
kingkingkingkg #8
Posted 27 July 2012 - 05:25 PM
Apps are still Open by the way our site is almost complete

ign: Laserman34170
job applying for: coder
age: 12.437654858234
past experience: im really into cc networking and am an experienced rednet coder

Very interesting idea. A multitude of possibilities, of which I'm interested in "online" ordering of products.
ign: awsumben13
job applying for: coder
age: 13
past experience:bluetide os, blueville, and loads more www.bluetideos.weebly.com
anything else: just about to go on holiday so I won't be on much :L
IGN: FlamingCacti
Job applying for: Beta tester
Age: 13
Past Experience: No lua experience, but a moderate Python user. (I don't code in CC's language, but I could learn easier)
Anything else you want me to know about you: We were talking on another thread of yours, about the warehouse. I also do Youtube videos and I have a small Tekkit server I run for these videos, Hamachi private network.
Apps Accepted
kingkingkingkg #9
Posted 27 July 2012 - 07:00 PM
By the way feel free to email me at Programcraftinc@gmail.com
Mmmmmmmm #10
Posted 27 July 2012 - 07:00 PM
Application:

IGN: EternalFacepalm
Job applying for: Coder
Age: 14
Past Experience: I've done quite a bit of scripting for ComputerCraft, and think I can help with this project.Also, http://www.computerc...eless-programs/, although it's only one so far.

Other than the application, I have to say that the program right now does not seem to be in a working state at all. The code right now doesn't look like it'll ever be carried on later in the program, really. :/
kingkingkingkg #11
Posted 27 July 2012 - 07:33 PM
I have to say that the program right now does not seem to be in a working state at all. The code right now doesn't look like it'll ever be carried on later in the program, really. :/
Its only V 1.0 bc i need coders so
also there is an aplication forum on our site mind filling it in?
cant_delete_account #12
Posted 27 July 2012 - 08:10 PM
Applied on the website.
cant_delete_account #13
Posted 27 July 2012 - 08:23 PM
BTW I fixed your code and added some things:

write("What Would You Like To Order Today?: ")
local text = read()
local rSides = rs.getSides()
for sLoop, sPeripheral in ipairs(rSides) do
if peripheral.getType(sPeripheral) == "monitor" then
  local sMonitor = sPeripheral
  break
else
  print("No monitor!")
end
end
local mon = peripheral.wrap(sMonitor)
term.redirect(mon)
print("Last order: "..text)
term.restore()
print("Thank you for ordering: "..text)
(never tested)
But now it *should* automagically detect monitors attached and use them.
kingkingkingkg #14
Posted 28 July 2012 - 02:16 AM
All Replies from now on WONT BE READ PLEASE EMAIL ME WITH QUESTAINS COMMENTS AND SUCH!!!
kingkingkingkg #15
Posted 29 July 2012 - 03:19 PM
Please Send all Questions Comments and etc to Programcraftinc@gmail.com
Thank you
ReconTurtle #16
Posted 30 July 2012 - 06:01 PM
Applied on the site!