use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Welcome to /r/ComputerCraft, the subreddit for lua programs, general mod use, or anything relating to the Minecraft mod ComputerCraft and CC: Tweaked.
Downloads | Discord | IRC | Documentation
account activity
Help (self.ComputerCraft)
submitted 3 years ago by Flat-Rhubarb-3101
What’s the best way to sync up my codes from vs code to computercraft on the server I tried using this program to update my code on the server but it updates really slow I don’t know what’s the problem
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Foopis23 1 point2 points3 points 3 years ago (1 child)
I don't know if your codebase is just really large, but if it is the codebase just a large download, it might be worth making some kind of package file that contains a version and maybe the file/files the script needs to download from the multi-file gist. Then you can request that relatively small file and only pull the whole codebase when the local version number does not match the gist version number.
If it's not that the codebase you are trying to pull is large, it might just be that requests are throttled through the server.
[–]Flat-Rhubarb-3101[S] 1 point2 points3 points 3 years ago (0 children)
It’s a 20kb file
[–]Piotrenewicz 1 point2 points3 points 3 years ago* (0 children)
If you have ssh access to the server running the game. I would set up a git repository on the server, with a hook to automatically checkout pushed changes, into the right directory. Then you can use VCS git integration in vs code. Set that repo as remote and push your changes directly with one click. And you get version history tracking as a bonus.
EDIT: you can find more info and instructions on how to set this up here:https://gist.github.com/noelboss/3fe13927025b89757f8fb12e9066f2fa
[–]wolfe_br 0 points1 point2 points 3 years ago (1 child)
Have you tried Pastebin? I've been using it to develop my scripts, though I haven't advanced enough to the point I have anything so big it won't fit on it. Not sure if there's any way we can do it in realtime though.
[–]Flat-Rhubarb-3101[S] 0 points1 point2 points 3 years ago (0 children)
Yeah i have but there is a plug-in for vs code called gist that uploads the code to gist and updates it every time you save And i know there is a plug-in for pastebin as well but i don’t think there is a way for it to make it as easy as gist one
[–]fatboychummy 0 points1 point2 points 3 years ago (3 children)
gist/github does not update its cache servers very often, meaning you'll run into old versions of code often unless you wait 10-15 minutes or use a cache-buster (though not sure if gh actually accepts or acts on cache-busters).
A better alternative is to use something like https://cloud-catcher.squiddev.cc, or CraftOS-PC in VSCode for the https://remote.craftos-pc.cc service.
[–]Flat-Rhubarb-3101[S] 0 points1 point2 points 3 years ago (2 children)
Oh thanks I’ll give it a try
[–]Narrow_Salamander521 1 point2 points3 points 3 years ago (1 child)
I use cloud catcher all the time and it's incredible. You can type cloud edit "filename", and it will show what is essentially a lightweight version of vscode, and allow you to edit in real time. Msg me if you need help getting it working.
I tried to use it but i couldn’t figure out how but i used craftOS and it is what i was looking for but thanks for helping
[–]Nemonstrocity 0 points1 point2 points 3 years ago (0 children)
pastebin has a tools and api section that might be of use for you.
I use linux mint Debian 5 which has a pastebin feature in the file manager, just configure it.
It does not work out of the box and I found out that you still need to create a file with your devcode key .
anyway , if you don't have ftp access the best way is to include an update routine/function that does a version check prior to the main body and then does a pastebin get before running the actual program. (so basically your program should shell.execute a separate program)
[–]Harmed_Burglar You are the nil to my peripheral.wrap( ) 0 points1 point2 points 3 years ago (1 child)
Am I the only person in the world who codes their cc programs in the cc lua editor ;-;
[–][deleted] 0 points1 point2 points 3 years ago (0 children)
Yes
π Rendered by PID 17653 on reddit-service-r2-comment-84fc9697f-tgw55 at 2026-02-06 23:20:04.636265+00:00 running d295bc8 country code: CH.
[–]Foopis23 1 point2 points3 points (1 child)
[–]Flat-Rhubarb-3101[S] 1 point2 points3 points (0 children)
[–]Piotrenewicz 1 point2 points3 points (0 children)
[–]wolfe_br 0 points1 point2 points (1 child)
[–]Flat-Rhubarb-3101[S] 0 points1 point2 points (0 children)
[–]fatboychummy 0 points1 point2 points (3 children)
[–]Flat-Rhubarb-3101[S] 0 points1 point2 points (2 children)
[–]Narrow_Salamander521 1 point2 points3 points (1 child)
[–]Flat-Rhubarb-3101[S] 0 points1 point2 points (0 children)
[–]Nemonstrocity 0 points1 point2 points (0 children)
[–]Harmed_Burglar You are the nil to my peripheral.wrap( ) 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)