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

Memelord420

Members
  • Content Count

    11
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Memelord420

  1. SORRY FOR THE NECRO THREAD I DIDNT READ SOMETHING BUT I READ IT NOW. THIS USED TO HAVE A QUESTION BUT NOW ITS THIS
  2. So as of writing this, I only know of one file extension that actually means something in OC, which would be .lua But I'd like to make more file extensions, would there be a way to do this? My end goal is to make it so that if you try to edit something with a certain file extension it won't let you, and maybe also be able to run it without typing the extension, like you can with lua files. Could anyone point me in the right direction?
  3. Can't delete this thread, but after a lot of experimenting I fixed it by just adding a simple while loop.
  4. Sounds cool, just a suggestion for the editor though, maybe give it an option to add the code into an already existing file? That's the only way I could see that working.
  5. So, basically I'm trying to do this thing where I have a microcontroller and I want it always receiving, and when it receives a certain message, I want it to output redstone. I've got all the right components, and it doesn't crash on boot, but when it receives a message, it crashes. The code is simple, and yes I'm doing the component.proxy() thing. Full code: local modem = component.proxy(component.list("modem")()) local redstone = component.proxy(component.list("redstone")()) modem.open(123) local name, _, from, port, _, message = computer.pullSignal("modem_message") if mess
  6. All you need now is an editor and it'll be just like the first but with more features, lol
  7. It didn't give me a blue screen, but now it's stuck in a reboot loop.
  8. The bluescreen error is init:93: /lib/term.lua:234: attempt to index local 'w' (a nil value) and I'm running the script just by making it in the boot directory. I didn't change anything in init.lua, I just figured that the highest number boot script gets ran last, so I made a boot script called 100_password.lua and it got ran, but it bluescreened me.
  9. So, basically I want to password protect my computer, and autorun.lua doesn't work when the computer starts, so I decided to make a boot script. The script runs last during the booting process, but this extremely simple code I'm trying to run bluescreens me and forces me to reinstall. (It's not that big a deal because I'm testing it all in creative before I bring it to survival) If anybody could help me, I'd appreciate it. Broken Code: local computer = require("computer") local io = require("io") print("Access Restricted") print("Password: ") password = io.read() if password == "Pass
  10. It may be in the wrong place but it looks awesome! I can't wait to see the full release of this, as I loved your previous GUI Library, and the addition of windows will make it that much better.
  11. So, basically what I want to do is make it so that a computer waits for a message to be sent to it, but doesn't get stuck forever waiting for a response. For example, I'd have a computer send a request for data to another computer that's constantly receiving, but the computer that requested the data only listens for responses for 2 seconds, and if it doesn't get anything sent to it, it would result to a default value.
×
×
  • Create New...

Important Information

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