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

Gorzoid

Members
  • Content Count

    111
  • Joined

  • Last visited

  • Days Won

    22

Everything posted by Gorzoid

  1. You didn't put the code in, you just put a regular lua eeprom in it. Please read the instructions I already gave on how to install the code.
  2. Shift right click with scrench, but common you could have just googled that.
  3. Yeah fixed em both just make another eeprom and put the new code in it and craft it with drone again. I edited my first post with updated code.
  4. Updated original code so it will stop to empty the inventory if inventory is full then continue where it left off. It also only ever dropped off the first slot so that would obviously be a big issue in a farm with over 32 plant crops, and 43x43 is alot bigger than that.
  5. Wow your farm is that big? If you only have one inventory upgrade then adding another should be a quick fix, but I'll try mess with it so it checks it's inventory after each iteration
  6. It says on screen... Ctrl+s to save ctrl+w to close
  7. You need to put the code into an eeprom and then the eeprom into the drone, either when your assembling it, or after by putting the drone and the eeprom into a crafting bench. To put the code into the eeprom, start up a computer as normal, when it has fully loaded, swap out the lua eeprom for a blank one. Then type "edit /dev/eeprom" and copy paste the code into the editor via the Insert key. Then save the code and exit, the eeprom will now have the code. Craft it with the drone to insert it.
  8. This was a fun challenge, tried to make it simple, with almost no need to change the code while also being complex enough to expand into big farms. I made this with sugarcane in mind because I am pretty sure they work exactly the same. local WAIT_TIME = 60 -- time to wait between cycles local drone = component.proxy(component.list("drone")()) local nav = component.proxy(component.list("navigation")()) local vector vector = { __add = function(vec1,vec2) local vec3 = vector {} for i = 1,#vec1 do vec3[i] = vec1[i] + vec2[i] end return vec3 end, __sub = function(vec1,vec2)
  9. In eeprom code the component table is never removed from global table so it's fine to use, and his original code should work on a microcontroller since he doesn't use any of the component api additions added by openos.
  10. Screenshots would be nice. A suggestion would be to modify the case and screen models. Btw what you mean "acid colour"
  11. Find the green disk named OpenOS in the creative menu and use that instead of the blank disk
  12. computer.pushSignal does exactly that, call it with arguments in the same order as returned by event.pull
  13. Gorzoid

    OctoTapeFS

    Nice work, I think the largest tape drive can store a few MB so you can store quite alot with this, albeit very slowly. Suggestions: "if var == true then" is the exact same as "if var then", just as "if var == false then" is the same as "if not var then" You may want to try mount this file to a /dev/tape_drive file. This would mean you could do let's say "cp /dev/tape_drive /home/myfile.txt" to read from tapedrive, or "cp /home/myfile.txt /dev/tape_drive" to write to tapedrive. Check out OpenOS' devfs.lua for info on making fake files.
  14. I never use the ingame editor, if your program is small enough you can (under 1024 chars) you can just copy and paste with insert key, otherwise you may want to use a webservice like pastebin to upload your program and download it with an internet card. Also this is in the wrong section, tutorials is meant for OP to give info, not ask for it, use support subforum next time.
  15. sets the environment variable PATH to first argument. PATH is a ; divided list of paths that the shell uses to search for a program when you type a command. basically the same as in most operating systems these days Also this is all in the wiki Also also: this is in the wrong section, tutorials is meant for OP to give info, not ask for it, use support subforum next time.
  16. Solved, looks like the github's instructions is outdated, works fine if I use compile "li.cil.oc:OpenComputers:MC1.7.10-1.6.+:dev" instead of compile "li.cil.oc:OpenComputers:MC1.7.10-1.6.+:api" in build.gradle and remove the dev build from mods folder. Thanks Michiyo for helping me on IRC.
  17. When I launch Minecraft with OpenComputers dev in eclipse OC spits alot of errors but does not crash, when I go into a world all items don't seem to work (can't put into computer). Some of the errors include: [18:39:50] [Client thread/INFO] [OpenComputers/OpenComputers]: Registering new assembler template 'Tablet (Creative)' from mod OpenComputers. [18:39:50] [Client thread/WARN] [OpenComputers/OpenComputers]: Failed registering assembler template. java.lang.ClassCastException: interface li.cil.oc.api.internal.Tablet Entire log: http://pastebin.com/YEteSicq I don't think it is
  18. Check out CC forums, sadly even though alot of them use OpenComputers, they don't post their server on this forum too, while your at it, you may want to ask the owner if they can post it over here too.
  19. So really you just want an OC emulator? There is one or two on the forums. --Edit: If your talking about making a full baremetal OS that acts like OpenOS it would be very difficult especially if you don't know any low level languages.
  20. Map<String, Callback> li.cil.oc.api.machine.Machine.methods(Object value); where value is the component
  21. this is probably an issue that needs to be fixed in the code, we need a way to choose how adjacent components get connected
  22. In multiplayer it will check if the owner is allowed to build in that area iirc. Or the server may have disabled robot block breaking all together.
  23. not sure if OpenOS allows advanced redirecting but you can try program.lua 2> errorlog.txt
  24. I don't think so, I had this problem before and I just decided to make a quick program that pulled the component_added signal and logged it to a file in order, then I would just load the file in the program and use it there
×
×
  • Create New...

Important Information

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