2 posts
Posted 04 January 2013 - 03:49 PM
Ok, I am very new to programming and I'e been playing some FTB recently and at the moment, I'm trying to code a turtle. A friend has said that you can get a file from paste bin and place it in a turtle, however I am having trouble trying to get this to work. Now onto the questions.
1. Can you put paste bin files directly into a turtle? Does this work on a server aswell?
2. If you cannot do this, is there an easier way to implement a code into a turtle?
Thanks for taking the time to read this and thank you if you can help me.
2005 posts
Posted 04 January 2013 - 04:22 PM
You can do it if you have http enabled on the server. If you try to use pastebin and http isn't enabled, then it gives you a message letting you know.
If you are on a local game, then you can edit the files stored in any computer (including a turtle) directly, they are found in the world save folder under \computer\ID\ (where ID is the number ID of the computer).
If you are on a server that doesn't have http enabled, then you can use one of the utilities developed to make inputting programs relatively painless, such as
CC-copy.
2 posts
Posted 04 January 2013 - 05:12 PM
Ok, the server that I am currently playing on does not have http enabled, I have downloaded CC-copy, however now I do not understand how to use it. I have extracted it and its source to a folder and whenever I open it, it closes. Any help here?
2005 posts
Posted 04 January 2013 - 05:30 PM
It's a command line program. So you need to use it from a command prompt (or you can edit a shortcut to always supply the command line parameters you like, useful if you just use one file to hold whatever text you want to enter). The run line should look something like "CC-copy -w Minecraft -t 10 -s 1000 fileName.lua" (to copy the text in fileName.lua into the window named "Minecraft" at 100 characters per second, 1 second after switching to the Minecraft window). If you are using a shortcut, then create the shortcut to CC-copy and then edit it by adding the command line parameters after what's already there (should be the full pathname\filename.exe of CC-copy).