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

Computer for ingame store

Started by lewanator1, 05 March 2013 - 08:03 AM
lewanator1 #1
Posted 05 March 2013 - 09:03 AM
Hello,

I had a idea where some one could come into my store on minecraft type what they want into a computer.
somthing like
Order :
(Types order here)

this is then sent to another computer to be printed so i can see it

I am very bad at computer craft and do not know how i can do this if anyone can give me a starting point or have seen something like this before and know of a guide please
can you link me to this

Thanks in advance
Lewanator1
oeed #2
Posted 05 March 2013 - 09:44 AM
Does this just tell you what they ordered, or does it automatically give it to them?
lewanator1 #3
Posted 05 March 2013 - 09:58 AM
Does this just tell you what they ordered, or does it automatically give it to them?
this program tells me what they have orderd so i can manually get it, once i get better at programming i may make it automatic
JokerRH #4
Posted 05 March 2013 - 10:05 AM
So, I don't know much about the new rednet in the beta pre-release, but with the current version you could do it like this:

Sender:

rednet.open([Write side here])
while true do
  rednet.send([Put computer ID here], read())
end

receiver:

rednet.open([side])
while true do
  print(tostring({rednet.receive()}[2]))
end

[Not tested]
Engineer #5
Posted 05 March 2013 - 11:46 AM
Please look in your messenger
crudmunkey #6
Posted 28 March 2014 - 06:16 AM
i had the same idea, but a turtle gives the costomer the item. the extra mods you use woud be project red, build craft, and
Industrialcraft
awsmazinggenius #7
Posted 28 March 2014 - 05:10 PM
the extra mods you use woud be project red
Project: Red bundled cables are not supported. Use MFR for cables that work. There are also peripherals for Project: Red, but they still need to update to CC 1.6

Edit: there is a new bundled Redstone API for modders, so with luck, you could get PR to work.
Edited on 28 March 2014 - 04:24 PM
CometWolf #8
Posted 28 March 2014 - 05:23 PM
Using any of those would just be plain stupid anyways. Just use openP and AE.