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

    • Lizzy Trickster

      Latest Stable OpenComputers Version   11/26/16

      The latest released version of OpenComputers is version 1.7.1 for MC 1.7.10, 1.10.2, 1.11.2 & 1.12.1. See more information here! Beta/Dev builds can be found at the Jenkins Build Server (ci.cil.li)
    • Lizzy Trickster

      !!FORUM DOWNTIME!!   01/16/18

      On 2018-01-27 the forums will be going down at around 1100 GMT0 for up-to 5 hours to allow for hardware configuration changes on the system that hosts these forums as well as various updates to patch recently publicised CPU vulnerabilities. Apologies for the inconvenience that this will cause.  If you would like to keep up-to-date on the progress of the work, join our IRC channel (http://webchat.esper.net/?nick=&channels=oc) or our Discord ( https://discord.gg/0hVukoQ2KYifZFCA ).

All Activity

This stream auto-updates     

  1. Last week
  2. Energy Stored

    ow wops thanks!
  3. Energy Stored

    That's because you didn't call the method on mfsu. You tried calling a global method, which doesn't exist.
  4. Energy Stored

    Thanks for the response, as suggested I ran this code and was displayed this output So i changed my code based on this, as seen bellow but unfortunately
  5. Energy Stored

    Well, this means the ic2_te_mfsu component doesn't have the getMaxEnergyStored method. The reason the crash occures after click is that you fetch the values after pulling a touch event (before the first update, the default value is used, i.e. 0). To get a list of available methods, run the following command in the OpenOS shell: components -l ic2_te_mfsu | less
  6. 3D printer 'Empty block' error

    Look again at the coordinate system the printer uses. (source: http://computercraft.ru/blog/11/entry-349-3d-printer/) It's a Cartesian grid, meaning that coordinates determine the position of a vertex, not voxel. In your case, the Z-coordinate is 0 for both points, so you effectively ask the printer to print you a flat face. That's exactly why you're getting this error. Change the Z-coordinate of the second point from 0 to 1 to add a 1-voxel-high shape. component.printer3d.addShape(6, 6, 0, 9, 7, 1, 'hardened_clay_stained_lime')
  7. UniversalMC // Galacticraft , Tech, and Adventure

    Server is discontinued. You can join a similar server here that includes OC. https://discord.gg/NgrRyM5 I'm staff on server. Just message me or 128k for info
  8. How do I print to a second monitor?

    @payonel Howdy! About the term lib documentation; I was specifically referring to the doc for term.bind. The optional [screen & keyboard] parameters suggested in the doc dont seem to have an actual implementation in the current OpenOS( although at the time of this response i havent bothered to double check that. Just referring to previous hair pulling encounters ). Ill add a ticket tomorrow if I dont totally space. You did warn me about messing with anything under the .internal space of an OpenOS lib, but I like dancing on sharp edges . Love what you're doing with the place too! (OpenOS) Third. Yup. I want a full tty pty abstraction layer for programs but after looking into how to pull it off myself I figured I'd wait for you to do it , lol. This is definitely illuminating for me as, for me at least, this wasn't straight forward to grok just peeping the source. Thanks for that. OpenOS is my first use of any linux like OS arch and I'm learning a lot. I really like the dev system. I want to learn to exploit it a lot more. That example is actually the first use i've personally thought of for it and that only happened because looping several type of components and binding screens, gpus, and keyboards can be quite tedious . Thanks for the input. Always a pleasure.
  9. OETF #8 - Allocated Network Card Port Numbers

    My soon-to-be stargate dialing program uses ports 324 and 325 atm.
  10. How do I print to a second monitor?

    This post gives me a few things to think about First - @Molinko what is wrong about the documentation and the term library? I have a ticket on github to clean up the docs and I do plan to give the term doc page another review. But are there things specifically that you know to be wrong or confusing? If you do, please add your feedback to the github ticket: https://github.com/MightyPirates/OpenComputers/issues/2686 Second - I should have known that even if I put things in an `internal` sub table, people would still use them. Feel free to use the `term.internal.open` and `term.internal.run_in_window`, but you should also know these are not api - and can change without warning. They've now been around for a long time, but I may refactor them later. Third - OpenOS does not have multiple window support. Our internal (again, internal) structures have future support built in to support multiple windows, but we do not have an API for this yet. Thus, the solution you build is going to feel a bit complex or hacked, and you'll likely be making internal calls. Because again, this is not officially supported. The idea is this: term doesn't bind to a gpu, and tty doesn't bind to a gpu, the PROCESS is bound to a gpu. And the gpu is bound to a window. Child processes inherit their parent gpu and such. The internal workings of how this happens (in the term lib and in the tty lib) should not affect your user code. If you want to switch between screens, rebind the gpu. If you want to leave a gpu bound to a screen, and switch between gpus, then set the term gpu between the two. But I understand that this doesn't work with cursor positions and input buffers Fourth - @Molinko holy crap, someone is using the devfs! Ha! I'm pretty excited by that nice. And yes, you have the code correct. The first ( /0 ) will be the primary. Fifth - @joserobjr Changing the component primary device will not affect the kernel in any way. That only affects user code that is using the convenience method on the `component` library for quick access to the primary component of a type: `component[type]` In other words, for example changing the primary gpu changes the object returned by `component.gpu` but the kernel does not use this anywhere
  11. Reactor / Turbine Monitor

    You can just type wget https://pastebin.com/raw/TKZfaERy reactor.lua with an internet card in the computer
  12. Big Reactors Grid Control

    @XyFreak Thanks for the response. It would be good if you can check if T3 screens are connected and if not, print out only small summary infos with the two button (charge, ON/OFF) because right now it's a bit messed and also there is no option to exit the program Also, I wonder how the control stuff works. I expected it to detect if the cell / reactor internal power buffer is charging/decharging and turn on/off reactor automagically as it is needed (or control the production with control rods). However, after the reactor buffer totally charges (it does not handle TE cells correctly right now as they not seems handled in the Grid screeen), it tunes control rods up to 100% and stop taking care about the reactor even if all power is gone from the system. If nothing any, please consider monitoring computer's own power supply and if it is going low, please enable reactor to produce some power at least for the computer. I know the main purpose of this software is manage a complex, reactor-turbine twisted setup, but this is the only software I found that has a nice display about the system and I'd like to use it to my simple small reactor with 5 rods. EDIT I took a look into the code, and compatible energy storage components can be expanded with "energy_device" - this is how ThermalExpansion cells appear in component list.
  13. Reactor / Turbine Monitor

    Its too big to paste all at once, is there a code I can use?
  14. Big Reactors Power Graph

    Description: I need a program that can monitor a Big Reactors Reactor, and have the power generated, output, and load graphed. Function: I need this program to have at least 3 different graphs. The power output, load, and and power generated. (So basically what I just said previously.) I want to be able to look and see the current reactor stats. Nothing crazy, just simple stats that I can take a quick glance at. (Bonus points for color, and a control panel, but not necessary.) Deadline: I don't have a deadline, but I would appreciate it if this was done in a reasonable amount of time. Additional Information: The game version is 1.7.10. Pretty old, I know. I will look back at these forums regularly, to answer any questions, or if I didn't clarify enough. Thanks in advance.
  15. Big Reactors Power Graph

    Description: I need a program that can monitor a Big Reactors Reactor, and have the power generated, output, and load graphed. Function: I need this program to have at least 3 different graphs. The power output, load, and and power generated. (So basically what I just said previously.) I want to be able to look and see the current reactor stats. Nothing crazy, just simple stats that I can take a quick glance at. (Bonus points for color, and a control panel, but not necessary.) Deadline: I don't have a deadline, but I would appreciate it if this was done in a reasonable amount of time. Additional Information: I will look back at these forums regularly, to answer any questions, or if I didn't clarify enough. Thanks in advance.
  16. space base controller

    description: I need a program for a galacticraft space base alert and management system function: displays oxygen and power levels as a number or if possible as a graph, alerts when said oxygen and power levels are at 15% and triggers a alarm (redstone trigger for a securitycraft alarm and the speaker on the PC) when they hit 5% and if possible set a power and oxygen bank to output mode automatically or with a override button/command deadline: As Soon As Possible additional info: if some things are done with commands, make them around 5 characters like OVER for override or something like that because I can't type very fast
  17. @dsplzion What version of draconic evolution are you on?
  18. Big Reactors Grid Control

    Hey guys, @afr33sl4ve I need some more info on your setup in order to figure out what's going on here. @hron84 I have to admit I've only ever tested the GUI with T3 screens. If the resulution doesn't stack with multiple screens, then yes, ever since I introduced the grid controller, you'll need T3 screens
  19. I'm having the same problem as a couple of other people on here. I have run this reactor a bit myself and it works fine. But when I hook the adapters up to the flux gates, they don't seem to ever change flow rates at all. The drainback one is set at 1,716RF and the output one is set at 0RF. I hit charge and let it go once for about an hour and it was charging but of course very very slowly. I wasn't willing to wait so I shut it down. Then I hooked another flux gate into the injector to speed up the warm up and see if the computer would control it once it was started which worked... i got it warmed right up but when I started it, it just left the output flow at zero. I'm not sure where to even start looking for a fix. I've actually set the components up twice now with the same results. Any chance of getting this to work? Thanks... dsp
  20. Big Reactors Grid Control

    On 1.12.2, screen does not scale very well, I use a 3x4 widescreen setup with T2 screens but EXIT is still missing. The program requires T3 screens or it is a bug?
  21. 3D printer 'Empty block' error

    I sent the command '=component.printer3d.addShape(6,6,0,9,7,0,"hardened_clay_stained_lime")', and ended up with this error 'empty block' That's it. What am I doing wrong?
  22. Energy Stored

    Hello everyone, I'm trying to set up a Opencomputers energy monitoring system that will control the energy level of an Industrialcraft2 mfsu by turning on 1 to 6 reactors but I'm having problems at the energy reading part. Here is my code so far: https://pastebin.com/654kRYaf (ignore that getEnergyStored is commented out, I was testing something and uploaded to pastebin wrong version), but here is an abbreviated version with comments: -------------start of script---------- local fill = 0 --predefine variable fill local cap = 0 --predefine variable capacity require 'normal' things (event, component, term, colors, sides) local rs = component.redstone --Redstone I/O block local mfsu = component.ic2_te_mfsu ---as shown when components is run ----------create writing------------------ ---create writing and boxes ----------reset redstone (just in case) ---- set colors used to 0 ------------------------------------------- ------------------------------------------------------------------------ while true do local _,_,x,y = event.pull("touch") -----works up to this point fill = mfsu.getEnergyStored() --find amount of energy in mfsu cap = mfsu.getMaxEnergyStored() --find capacity of mfsu print(fill, cap) ---print it (temp) --------check user clicks squares and set redstone outputs-------- --//insert computer turn on reactors here (to do later)\\-- end ---end of script--- I plan to implement code that will turn off and on the reactors depending on the amount of energy in the mfsu but I havent been able to read the amount of energy in the mfsu to be able to make the calculations. (the big empty space on the left of the screen is for a progress bar that is currently hidden, which depends on the amount of energy in the capacitor) As you can see (bellow) the code works fine until the user clicks the screen, at which point it errors, the Max energy or current energy "returns a nil" and the code discontinues running. to my understanding this means that this doesn't exist therefore what is the current terminology? I could find one that works but I wanted to make one myself. Minecraft v. 1.10.2 Age Of Engineering v. 1.1.2 (Twitch modpack) OpenComputers v. 1.7.1.150
  23. Boot OpenOS without GPU/Screen?

    Yeah, the docs need some major work.
  24. Earlier
  25. Boot OpenOS without GPU/Screen?

    Seems to work, but documentation is terrible... Spent 30 minutes figuring out what to place in rc.cfg Thank you
  26. Boot OpenOS without GPU/Screen?

    I've noticed the autorun system is kind of finicky, another way (that may work better) is to use the RC system and make a daemon / service program. There's a few examples on the forums here.
  1. Load more activity
×