Jump to content




fs+rednet+shell = ccSVN


  • You cannot reply to this topic
7 replies to this topic

#1 Justy

  • Members
  • 210 posts
  • LocationCLGD

Posted 24 July 2012 - 05:35 AM

So, Im Trying To Make A SVN Type Thing For ComputerCraft But I Cant Seem To Find Out How To Open The Source Of A File... Any Help?

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 24 July 2012 - 05:46 AM

A few pointers:

You don't need to capitalize every word you write; just the first word of each sentence will suffice.

The program library is for completed programs.

io.open(filepath).

Check out the io API on the computercraft wiki.

#3 lieudusty

  • Members
  • 419 posts

Posted 24 July 2012 - 05:50 AM

What do you mean by open the source of the file? Do you mean receive the file over rednet?

#4 Justy

  • Members
  • 210 posts
  • LocationCLGD

Posted 24 July 2012 - 05:56 AM

I know programs is from completed versions its just a placeholder.
And I think io.open might work ill try it.

#5 Noodle

  • Members
  • 989 posts
  • LocationSometime.

Posted 24 July 2012 - 08:20 AM

fs.open() is a bit easier..
As for the SVN part where to goes to the server (online) use the http api.. GL + HF learning that fully.

#6 Justy

  • Members
  • 210 posts
  • LocationCLGD

Posted 24 July 2012 - 05:33 PM

This isnt a actual SVN its a InGame SVN :/

#7 Justy

  • Members
  • 210 posts
  • LocationCLGD

Posted 24 July 2012 - 06:38 PM

Yes!! I got it working and the thread will be unlocked and it will be released soon!

#8 Noodle

  • Members
  • 989 posts
  • LocationSometime.

Posted 24 July 2012 - 07:13 PM

Saw the post, code looks promising.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users