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

MaximilianVINCENT

Members
  • Content Count

    35
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by MaximilianVINCENT

  1. Too bad your eyelids aren't laser-proof. Also that they stay on for 24 hours each time you use this power. I wish to be able to teleport myself and anything I am carrying to any place I have seen before.
  2. Better yet, take a look at the source code for /bin/install.lua. Modify it with an update parameter and relevent code to prevent the overwriting of config files. When working, put a pull request(?) on github for that file. Good thinking, by the way.
  3. Bravo, my good man! A most excellent book. I like your introduction to Open Computers more than the one I did.
  4. A big thank you! I have no idea how you did that, but is incredibly cute. Consider me motivated to get moving with the next tutorial. (Now if only I could get it to shoot frickin' laser beams from its head.)
  5. While my attempts to program a drone have so far failed, a quick look at http://ocdoc.cil.li/component:leash gives you the commands you can use with the Leash Upgrade. Once a creature is leashed (component.leash.leash(sides.bottom) returns true), get it off the ground by moving up. Move normally, making sure you are high enough that the animal won't run into anything. Once done, unleash the animal over a body of water or it may die (long standing Minecraft bug).
  6. I would like a Special Thingerâ„¢ as well. I have started and kept up a series of tutorials for OpenComputers, adding sorely needed documentation. Been active in finding bugs and suggesting features. I regularly check Reddit's FeedTheBeast subreddit and include information and assistance about OpenComputers where relevent. Do the same on these forums. Also really proud of my CompressCobble program. IGN is StoneNomad, requested color is 205 197 191: seashell 3 according to http://cloford.com/resources/colours/500col.htm
  7. Looks like the schematic should be in the same directory as the 'build' program. As for the dungeon disk, try either putting a floppy drive in one of the upgrade slots or copy the program to the robot's Hard Drive before building it. Ask any questions, I and others will be glad to help. edit: poor grammar
  8. autorun.lua does work in root, had it print "Hi there" and show me the error caused by os.execute and sleep for a few seconds. It also works on other media, commonly to mount it to a certain location on the root filesystem (/home, for instance). I am going on vacation for a while, when I get back I will be trying out the rc system. Thank you!
  9. Wanted a good subject to learn more about OpenComputer programming, this definitely worked. CompressCobble Uses a minimal Robot to continually compress Cobblestone, up to Octouple Compressed Cobblestone. Uses about 83 cobblestone per second, or 7.2 million per day. (If you want more, put four Robots around a Charger, each with its own cobblegen.) Stores over 225 Octouple Compressed Cobblestone internally before quitting. May optionally be put in chest above Robot for extend run time. Cheap in power, up to 3 RF per tick. A couple of Solar Panel Upgrades may be enough. You can us
  10. I have a program at /usr/bin/cc.lua that I want to run after booting is complete. If possible, add an argument as well (i.e. cc v ) I tried cp /usr/bin/cc.lua /autorun.lua and nothing. Then tried adding cc /usr/bin/cc.lua os.execute("cc.lua v") -- really expected this one to work os.execute(cc.lua) os.shell(cc.lua) os.shell("cc.lua v") to a clean autorun.lua and still nothing. Grr. What is the correct way to do this?
  11. Close. I had to adjust event.pull(0,"key_down") to event.pull(0.6,"key_down"). Any smaller of a delay and it does not reliably recognize a key_down event the first time through. Working great, chews through cobblestone. Is using the keyboard API better in some way over string.byte(" ")?
  12. What I would like is something simple: char = next char from keyboard buffer if char == " " then quittingTime() end or a background process that looks for the space bar being pressed and then runs quittingTime(). (Faster response time to user input, yeah!) or understand how you meant for it to be done. What I did do: I tried os.sleep() and event.pull() right before if hasDisplay then updateScreen() end, near the end of my program. os.sleep(0) does not work. os.sleep(0.1) very rarely works. When it does work, it is many seconds after pressing a key or many keys that it ru
  13. I've spent a few hours now trying to figure this one out, I need another pair of eyes, if you please. In learning about how events work, I wrote a simple program: http://pastebin.com/HfBtgxhz With a little play, I got it working so pressing the space bar will exit. Yeah! So I used the same set up in my current program (which will be posted when this last problem is fixed). And nada, testing shows it does not run QuittingTime() when any key is pressed. I don't see a difference in the code. Why does the first program work but the second program does not?
  14. Thanks to sangar, I learned something new! I posted the robot.chestCount() as a suggestion on the bug tracker and he came back with robot.inventorySize(). Testing showed that component.inventory_controller.getInventorySize(sides.back) is an unsupported side and error. I actually expected that to work, but I am glad I do not need yet another Upgrade (Those Tier 3 Robots are expensive). dgelessus, it was printing a reason for the error and a stack traceback. I would call the blue screen a crash. Procedure calls are something I have no experience in yet, but do need to eventually lear
  15. I would like to make sure at least two Inventory Upgrades are available. trying access a slot the robot does not have causes an error /bin/components.lua inventory returns nothing, so component.isAvailable() will not work. I was hoping something like robot.chestCount() existed, but not yet. Any ideas out there?
  16. I finally have something worth sharing. Would you set up a repo for GoneNomad?
  17. Doing some cross mod testing, just having fun. I gave an activated A class Terra Shatterer and a full mana tablet from Botania to my Tier 2 Robot. My mistake was giving it an infinite loop to dig with. I thought I could just catch up and break it, but it is moving so fast, it won't stay still long enough. The Solar Panels weren't helping either. Its off to the loaded chunk boundry sunset. Along the way it tore through a village and made a nice tunnel. Definitely one for the notebook.
  18. This is a good chance to practice your code-reading, Saddamo. Go to http://pastebin.com/x8G9XRrt and start at the top. If you aren't sure what a portion of code does, skip it. I definitely learned a few things and look forward to using this program. Thank you 2016mfransen!
  19. A quick test with Creatix shows it not working here as well. If the problem is repeatable, this is when you post a bug report. Go to the Bug Tracker and let fnuecke know about it so he can test and fix it. Also give what version of OpenComputers you are using and how to replicate the error.
  20. Nah, once you know exactly what you want, it gets a lot easier. Look at Black Hole Tutorials 4 and 5 on this forum for some tips. I like the modern vending machine concept, that is a lot more fun to watch work. I had more of an automat-style setup in my head. Keeping it filled might be an interesting challenge if it is far way from your place of production.
  21. My Tandy Model 100 still works great, so yes.
  22. I can see doing that but without the pipes. Above ground is a building with a ring of spots for each liquid. A sign above and trapped chest for each one. The redstone singal from the trapped chest could goto a multi-color cable or just a ring of redstone dust. That signal would let the robot know to: find out which chest has the payment in it take the payment put into chest in basement get the approriate liquid from a holding tank in the basement come back up and hover over the drop point wait until a tank is available and fill it, then drop off payment to basement chest or when 5 minutes
  23. A cheap Tier 1 robot with a tank upgrade (16 buckets max) could be used as a programmable holding tank and only allow what you want to pass. A better robot can have multiple tanks. What are you trying to set up?
  24. for OpenComputers 1.51 on Minecraft 1.7.10 Black Hole Tutorial 05- Pretty Pretty Program "If builders built buildings the way programmers write programs, then the first woodpecker that came along would destroy civilization." - Gerald Weinberg Before we got into writing anything useful, I wanted to go over some commonly preferred practices to be used when writing your programs. This is purely selfish on my part, since I would like to be able to read that elegent bit of code that took you a week. These practices should also make things easier on you. Writing your Program 1) Write the docume
  25. The RAID is an external filesystem, like the Floppy Drive but on steroids. If the RAID is connected to a computer by wire or proximity (next to the computer), you should be able to see it by typing 'df' in the shell, look for 'raid' on the left side of the output. My testing says a RAID has to have three Hard Drives. Any Hard Drives inserted into a RAID will be wiped. If you remove any of the Hard Drives in a RAID, the entire RAID will be wiped. You can pick up and move a RAID without disturbing the Hard Dirves within. If your RAID was found above, it has been mounted to your boot file
×
×
  • Create New...

Important Information

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