Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

Archived

This topic is now archived and is closed to further replies.

  • 0
DevNebulae

Development of scripts

Question

Hello everyone!

I am currently diving deeper in the documentation of the OpenComputers mod and I am wondering if there is a way to externally develop a script while testing it on the MineCraft client. I could develop scripts for ComputerCraft by placing them in a certain folder in the .minecraft folder, but what is the preferred way of doing so in OpenComputers?

With developing externally, I mean in my favorite editor of choice (Visual Studio Code for example).

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

Sure, open the OpenComputers config, find "bufferChanges=" and set it to false.  Then you can put files directly into $savedir/world/opencommputers/$hdduuid/

Share this post


Link to post
Share on other sites
6 hours ago, Michiyo said:

Sure, open the OpenComputers config, find "bufferChanges=" and set it to false.  Then you can put files directly into $savedir/world/opencommputers/$hdduuid/

The weird thing is that if I add a file via Visual Studio Code (VS Code), the computer does not pick up on it until after I reboot the computer. I can also not real-time edit the file in VS Code and run it on the computer as I expect it to as I could with ComputerCraft. Is there something I am missing?

Share this post


Link to post
Share on other sites
9 hours ago, DevNebulae said:

The weird thing is that if I add a file via Visual Studio Code (VS Code), the computer does not pick up on it until after I reboot the computer. I can also not real-time edit the file in VS Code and run it on the computer as I expect it to as I could with ComputerCraft. Is there something I am missing?

 

15 hours ago, Michiyo said:

open the OpenComputers config, find "bufferChanges=" and set it to false

 

Share this post


Link to post
Share on other sites
2 hours ago, Fingercomp said:

 

 

Whoops, got a bit too enthusiastic with trying it out. At least I documented what happens when you don't do it. Thanks for the help!

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.