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

Most likely not but can I....

Started by Koncrete, 10 December 2012 - 07:26 PM
Koncrete #1
Posted 10 December 2012 - 08:26 PM
Import a program for turtle mining on a server? I found one I really like and it works perfect in single but I can't copy/paste on multi-player to get the program in the turtle. It's like 300+lines and I really don't want to write it line by line. So is there any way to copy/paste or import a program without trying to convince a admin or owner to do it?
dissy #2
Posted 10 December 2012 - 08:36 PM
If the admin has the http api enabled, then yes you can put the program up on pastebin and install it from there (In the computercraft pc, use "help pastebin" for usage)

If http is not an option, search this forum for a program called CC-copy. It gets around the copy/paste problem.
Koncrete #3
Posted 10 December 2012 - 10:31 PM
tyvm!!
Koncrete #4
Posted 10 December 2012 - 10:57 PM
ok I got CC Copy going, it recognizes my window (feed the beast) and I copied the pastebin of this lua;
(original thread)http://www.computercraft.info/forums2/index.php?/topic/5681-variable-size-quarry/
(pastebin)http://pastebin.com/u3CTvenK#

I copied the text starting at defining things, to a notpad without wordwrap. saved it, renamde to .lua

I run CC Copy and put the full path (c:\CC Copy\quarry.lua) and it says it cannot find file. I tried with the file as a .txt and .lua… I am sure I am doing something really simple wrong….
dissy #5
Posted 10 December 2012 - 11:00 PM
If any folder/file names have spaces in them, you'll need quote marks around the path.
"c:\CC Copy\quarry.lua"

Or in this case it may be easier to rename the folder to remove the space (not always possible with all folders.. like the dreaded old "documents and settings")