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

SpaceBeeGaming

Members
  • Content Count

    65
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by SpaceBeeGaming

  1. I think you should take this to the developers of nuclearcraft as there's nothing we can really do (apart from editing the config file to increase memory size.)
  2. Do you know the address of your I/O blocks? They are unique and random Expamle 2 should work IF you enter the correct addresses. right click/shift+right click with an analyzer will show you the address. take the first 5 characters of the address and put them inside the component.get() calls.
  3. I don't see anything setting the color to white, it could be on your end. Post a screenshot of the screen, that might help figuring out the problem. It could also be that the program doesn't work correctly anymore.
  4. How much memory you have in the computer? You should use T3.5 Memory if you arn't already. You could also try with a server as they can accept twice the amount of memory.
  5. @Canyon Canyon Canyon Canyon You could take a look at my DNS server/client system. https://github.com/SpaceBeeGaming/OC-DNS. I haven't used it in a while, so I don't know if it still works (should work but no guarantees). Just ask if you have more questions or come across problems, always happy to help.
  6. First, use code blocks. Second, i fixed your errors and made a few improvements. This should do what you wanted, if not reply in this thread. local component = require("component") local sides = require("sides") local colors = require("colors") --Unused local event = require("event") local term = require("term") local redstone = component.redstone local firecount = 1 local run = true local function main() local input = redstone.getInput(sides.front) if (input == 10) then print("Redstone Lever ON") print("Firing Firework " .. firecount .. "!") firecount = firecount + 1 redstone.setOutput(sides.left, 15) os.sleep(1) redstone.setOutput(sides.left, 0) os.sleep(1) else print("Lever is OFF") os.sleep(1) end end --Exit the loop with 'q', better than using Ctrl+C local function stop(_, _, char) if (char == 81 or char == 113) then event.ignore("key_down", stop) run = false end end --Print the prompt for quit key and start listening for it print("press 'q' to exit") event.listen("key_down", stop) --Main loop, will run until 'run' is set to false while run do main() end --Clear the screen after the program ends term.clear()
  7. First, why are you sleeping after event.pull() , that's unneccesary and could cause issues where a event is missed. Second, how are the computers connected (picture), Are the computers separated by a swich, is there a loop where the swich receives a packet twice (This is the most likely reason for duplicating messages.)
  8. First the opencomputers documentation: http://ocdoc.cil.li local computer = require("computer") local component = require("component") local sides = require("sides") local rs = component.redstone local gpu = component.gpu --Desired time in seconds EDIT THIS!!! local timer_length = 10 --Clear the screen local w,h=gpu.getResolution() gpu.fill(1,1,w,h," ") local time_remaining --Get the current time and add desired countdown to it. local time_now = computer.uptime() local target_time = time_now + timer_length -- Function to draw remaining time on screen local function PrintTime(time) --Screen drawing logic in here! --Currently writes the reamining time on screen in seconds gpu.fill(1,1,w,1," ") gpu.set(1,1,"Time Remaining: " .. time) end --Loop until time is done while true do time_now = computer.uptime() time_remaining = target_time - time_now PrintTime(time_remaining) if(time_now>=target_time) then break end os.sleep(1) end -- Emit a redstone signal from the back of the computer with a sgnal strength of 15. rs.setOutput(sides.back,15) This should work, but i have not tested it. It won't format the time in DD:HH:MM:SS (yet). It will howerver send the redstone signal when it hits 0 (in theory). Just reply in this thread if you need more help or if it doesn't work.
  9. The program seems to require a redstone card.
  10. open computers config file (settings.conf) lines 584-603.
  11. @EderV The ticket machine also requires power, put another cell next to it/use cables.
  12. @GabelaGarlaSrl Glad to be of help, and no it's not that long script. Here is an example of a medium/large-ish-sized script: https://github.com/SpaceBeeGaming/OC-DNS/blob/master/bin/dns_server.lua (It's from my GitHub, part of a larger project)
  13. Here is a fixed version along with some notes: local event = require("event") --< event library needs to be requested. local component = require("component") --< same for component local lift = component.lift while true do local e = event.pull("motion") --< Don't use system reserved variable names for your own. if (e == "motion") then --< This event is never false, as the 'event.pull()' is filtered => the upper action will alwayus run. lift.callFloor(2) else --< Cant be 'elseif', would need a conditon to test os.run(elevatormotionmanipulation) end end -- <= these things are comments, they are used to explain what code does, without affecting its execution, they can be removed without issues.
  14. @GabelaGarlaSrl What is the error? Can't help if we don't know the problem.
  15. @BattyCynris When you update OpenComputers (the mod), It doesn't change what is on the computers, it only changes the contents of the OpenOS floppy disk. So updating the in-game computer after the mod update only requires you to insert the OpenOS floppy disk and running "install" again. The tool you linked is basically just for those who can't update their mod (playing on a server with outdated version but need features of a newer version) so don't use it if normal updating is available.
  16. @Niami Here is a link https://ocdoc.cil.li/component:data Basically it works like this: user A and B both generate a key pair. Then they exchange their public keys. Then the actual AES encryption key is calculated from own private and other users public key these calculations end up in the same result. In other words: A public + B private = B public + A private. Thus allowing encryption and decryption. This is explained in the docs, but poorly. I may have some examples,I might share if you're interested.
  17. @vratk0529 function names can't have (-) characters in them as it is interpreted as a minus. You have to use underscores (_).
  18. @Crack3dC0d3 They get suspended because your power storage is full and they turn on if power demand rises or storage level drops. In other words it's working as intended.
  19. @neocromicon You have too old version of OpenComputers (the mod) update to 1.7.3 (you are using 1.6.1) . The thread library only exists in 1.7.x builds of the mod.
  20. They can be used for a sort of "GPS" beacon. (Triangulating a position on a tablet with wireless network cards.) In essence, something really basic and specific.
  21. @Slideri812 The modpack you are playing has an outdated version of opencomputers. You have to update the mod and reinstall OpenOS then it will work without problems.
  22. @Agster First question: are you playing on a server? if not just download the most recent version of OpenComputers from here: https://www.curseforge.com/minecraft/mc-mods/opencomputers/files?filter-game-version=2020709689%3A4449. If you are on a server ask the server owner to update it. Then update your computer with the OpenOS installer disk.
  23. @Moobien Your reactor is running way too hot (above 3000). If the core temperature goes above 2000 the program flags the reactor as faulty.
  24. Hi! I decided to make a new CLI for BRGC (because someone here wasn't happy with the old one.) and decided that some of us could have a use for it. Here is a link to it: https://github.com/SpaceBeeGaming/OC-BRGC_CLI It just uses the old CLI with shell.execute(). It's still work in progress.
  25. @XyFreak At least in MC 1.7.10 with OC 1.7.2.1166 the program doesn't error when finishing calibration. So it is now usable.
×
×
  • Create New...

Important Information

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