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

external input

Started by ebennett365, 15 December 2012 - 08:00 PM
ebennett365 #1
Posted 15 December 2012 - 09:00 PM
so i have a lock program in a text file on my desk top and i want to put on my computer in game how do i do that without having to type it out in game?
jag #2
Posted 16 December 2012 - 06:11 AM
Doing it manually:
  1. Locate your minecraft folder.
  2. Go into the folder called "saves".
  3. Open the folder with the world name.
  4. Open the folder called "computer".
  5. Open the folder with the name of the computer id. For example "1".
  6. (If you are unsure of what id your computer got, you can look in the file called "labels.txt".)
  7. Paste your text file with the code in inside that folder.
Doing it via pastebin:
  1. Goto pastebin.com.
  2. At that site you paste your code right in the big text field.
  3. Optional: Create an account first.
  4. Once you have your code there you go to the bottom and give it a name.
  5. Optional: Select lua in "Syntax Highlighting".
  6. Press "Submit".
  7. At your adress field you see the paste's id after the domain name.
  8. For example Adress field: http://pastebin.com/d69FBYcY Paste ID: d69FBYcY
  9. In-game on a computer you type:
  10. pastebin get d69FBYcY programName Warning: This requires you to have http enabled!

Btw this question is in the wrong category