25 posts
Posted 28 March 2013 - 06:41 AM
I have some code, how do I get it into one of my turtles programs
2088 posts
Location
South Africa
Posted 28 March 2013 - 06:46 AM
Put the code on
pastebin and when that's done, copy the last part of the url (
www.pastebin.com/tHiSPArt ) and in your CC type this:
pastebin get tHiSPArt programName
tHiSPArt is known as the 'code' of the pastebin url.
25 posts
Posted 28 March 2013 - 06:56 AM
cc?
8543 posts
Posted 28 March 2013 - 07:09 AM
"CC" is an abbreviation for "ComputerCraft". He means type it into your in-game computer's shell prompt. He's glossed over the fact that http is disabled by default.
2088 posts
Location
South Africa
Posted 28 March 2013 - 07:30 AM
"CC" is an abbreviation for "ComputerCraft". He means type it into your in-game computer's shell prompt. He's glossed over the fact that http is disabled by default.
Never think of that, woops.
To enable http, go into the config folder and open ComputerCraft.cfg (I think it's called that) and set http_api to true
259 posts
Posted 29 March 2013 - 01:50 PM
You could also navigate to your minecraft save file for that world, and open computercraft folder then put it in the correct file there (numbers correspond to ComputerID) I like to do this because I can use a more effective text editor like Notepad++.
15 posts
Posted 09 April 2013 - 02:59 AM
You could also navigate to your minecraft save file for that world, and open computercraft folder then put it in the correct file there (numbers correspond to ComputerID) I like to do this because I can use a more effective text editor like Notepad++.
Also possible: (so every turtle can use the same code)
- extract the computercraft.zip (located in minecraft/mods)
- remove/delete the zip.file
- store your code in lua/rom/programs/turtle –>> every turtle can access the code
- "… use a more effective text editor like Notepad++."
!! automatic update does not function for CC any more !!