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

Gangsir

Members
  • Content Count

    71
  • Joined

  • Last visited

  • Days Won

    8

Gangsir last won the day on July 16 2016

Gangsir had the most liked content!

About Gangsir

  • Rank
    Junior Member
  • Birthday August 21

Profile Information

  • Gender
    Male
  • Location
    TX, United States

Recent Profile Visitors

1771 profile views
  1. Door yes, chest no. The 3D printer is capable of printing basic blocks and shapes, and it's possible to have the block change shape when right clicked, so the door would be possible, but the chest wouldn't work, since prints can't have an inventory.
  2. Yeah, this is a pretty rare issue. Not being able to load Eris libraries doesn't usually happen without something not working correctly.
  3. Simple. Just require the library as usual, ex local lib = require("myLib") Then, use os.execute to run another program, and pass the library variable,(lib), to the executing script, like so: local lib = require("myLib") os.execute("otherprogram.lua lib") Of course, you will need to receive and reassign the variable in the executed program. Plus, this only works on the same computer, (ie, both programs on same computer), and the first program will suspend until the program inside os.execute yields. As a side note, why do this? Why not just put require in each of the programs?
  4. The mod only supports lua, unfortunately.
  5. I believe that plan9k (The alternative OS built into OC) is meant to be similar to a Unix-like system. That's really the closest thing to linux that OC has. Of course, re-making linux into a MC mod would require the conversion of C/assembly (The programming language most of the linux kernel is written in) into java so it can execute natively. (Or make ingame computers understand those languages, but then you're running an OS inside of an OS inside of a game inside of an OS. Yo Dawg) Plus you'd likely only be able to include a terminal anyway, as any sort of desktop environment (Even someth
  6. I dont think it's actually possible to do this in minecraft, as it would require a full blown virtualisation client built into minecraft. Even if it was something light like linux it would still lag.
  7. Not really, that's the official wiki. I do believe one can sign up to make edits, though.
  8. I myself use Atom, a text editor for linux. It also has ports for other operating systems. It has code completion, auto indent, and can interface with VCS like github. You will need to install a plugin for it to handle lua, however. The way I do it, and I recommend it be done, is to just keep one repository for all OC programs, then subdivide it into folders if a project has more that one file. Making individual repos for each program is inefficient unless the project is huge with many files. The way require works is that it looks at your system path on the computer for pl
  9. Do you have a wireless or wired network card installed in both computers? Ensure you do.
  10. !ereh Risgang I've written a simple program for transferring a medium sized text file (Less than about 8000 characters, roughly a small essay) over an OC network, wired or wirelessly. I've named it GFT, or "Gift", short for Gangsir File Transfer. This program is actually two small sub-programs, one for receiving and one for sending. To differentiate between them, the first argument changes the function of the program. Then, the second argument tells the file to operate on, for sending or receiving to. (To generate on receive.) Syntax is as follows: gft <send/receive> <"/path
  11. Take a look at the wiki entry for it here: http://ocdoc.cil.li/component:hologram
  12. 1. Much of the info of apis is found on the wiki, plus after a while of doing it you'll likely find that you'll start to memorise what functions are available and their uses. As for testing, I realise that different people have different coding skills, and need to test more often, which after a while with lua I find myself doing less and less. However, it is much more efficient to use the wiki to write up a full rough draft of the program then just fix problems on the robot with the draft. Trust me, you'll find you can write stuff much faster and understand it better if you develop outside of
  13. The way it's meant to work is that one would dev the program on a proper computer with a good screen, or out of game, then transfer the program to the robot. The reason robots don't have fancy screens is that there's no need for them, since robot's guis aren't often entered.
  14. It's unable to move, since robots can't freely fly be default, unlike ComputerCraft's turtles. You need a tier 1 or 2 hover upgrade installed in the robot so it can move with no supporting blocks.
  15. If you need a robot to be able to float in the air, you need to install a hover upgrade in the robot, tier 1 or 2 depending on depth of the hole. I believe that the existing dig program provided on the loot floppy will resume where it left off if shut down, as long as it is started next to the chest.
×
×
  • Create New...

Important Information

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