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

SuperSamir

Members
  • Content Count

    34
  • Joined

  • Last visited

Everything posted by SuperSamir

  1. This was the answer I was looking for. Thank you!
  2. There's only one string in the table, but that part's working fine. The thing is, after the event.pull() is unable to find a message (which is deliberate for the code), the serialization part errors out, cancelling the rest of the script.
  3. I can't send you an error message since for whatever reason Minecraft won't open up right now, but I'll send you an excerpt of the code. function loopWait() loopOff = false db.clear(1) me.store({name = "minecraft:record_wait"}, db.address, 1) selectEmpty() me.requestItems(db.address, 1, 1) ic.equip() robot.useUp() repeat _, _, _, _, _, serialized_message = event.pull(239, "modem_message") received_table = require("serialization").unserialize(serialized_message) if recieved_table.loopSwitch == "off" then loopOff = true end robot.useUp() selectFu
  4. I tried something similar to this with serialization, but within the time frame I gave with event.pull(), it threw an error message when the time expires. Does this method ignore the serialization error and continue with the script?
  5. To do that, I would need to use event.pull() right? The problem is, I need to write data without pausing either of the computers.
  6. Is it possible to use the internet API to do something similar then?
  7. So I would want computer #1 to edit a text file in computer #2's directory.
  8. Is there any possible way to edit files with io.write() from outside the directory? The directory being the computer ID.
  9. Originally, I thought to not make this program public, as I thought it wasn't too exciting. I then thought about how long it took for me to create the program, and how I don't want anyone else to take so long for such a menial task. These programs are meant to autocraft the Compact Machines 3 items, and can be used manually, wirelessly, and co-operates with the ME Upgrade from Extra Cells 2, and uses your ME System to request and store items. This is my first program, so expect to see errors and whatnot. I've created a google doc below for patch notes and pastebins. https://do
×
×
  • Create New...

Important Information

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