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

How about a user's ability to share programs... not pastebin

Started by gronkdamage, 07 April 2013 - 10:47 PM
gronkdamage #1
Posted 08 April 2013 - 12:47 AM
I know you can use pastebin; but say for example I got 10 turtles (I do actually use 9 for mining); I write a program and everyone on my server wants to use it (I have 8 players - each with 4-5 turtles…) - that's not so much a problem by itself…

BUT, I actually have about 20 programs I've written; and that's a lot of pastebin codes… Isn't there a way (without an admin getting involved) of sharing programs easier? Say like 'mkdir myCCStuff' - and then whoever else uses 'mkdir MyCCStuff' (or a different command) can copy those programs to their own turtles.. There are folders out there for each turtle (0, 1, 2, etc…) - what about custom folders that others can look in? ie. like a shared directory - that's outside the mod's directory.

One other note: I'd really like to say 'copy excavate myexcavate' work… :)/> ie. copy a program that's internal to the mod (in the zip file); so you can edit the code….

Thanks :)/>
Pinkishu #2
Posted 08 April 2013 - 12:54 AM
Well you could write a fileserver that distributes them over rednet.. or you could hand out floppy disks
Mads #3
Posted 08 April 2013 - 01:19 AM
You can easily copy the rom files. The shell will look in the current working directory before looking in the rom/* folders. So you could do this:

cp rom/programs/excavate /excavate
edit /excavate
And edit it. Then, when you execute "excavate", it will run your copy. This only works locally, though(not between computers).
Cloudy #4
Posted 08 April 2013 - 02:19 AM
Floppy Disks…
Lyqyd #5
Posted 08 April 2013 - 01:36 PM
Locked. This is essentially on the Suggestions Not to Make list under "enhancements".