This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
gustavowizard's profile picture

ComputerCraft Uses with mods machines

Started by gustavowizard, 07 May 2014 - 03:30 PM
gustavowizard #1
Posted 07 May 2014 - 05:30 PM
Hello guys, im quite new to CC, i got some really basic questions, i would apreciate some help:

–Can i acess data from IC2 machines like Nuclear reactor temperature using a Monitor from CC? without using no other mod? (openccSensors and OpenPeriphals dont work on my modpack or are not updated to CC 1.6.3. not sure) - btw im on Minecraft 1.6.4

All i want to do is display (not edit) the stuff from the machines, i just want to see the temperature of my nuclear reactor from IC2 on a monitor, with a cool color/background :D/>

can anybody help a begginer :D/>

thanks!
gustavowizard #2
Posted 07 May 2014 - 05:48 PM
hello guys,
i having trouble to understand how this mod works because most of the cool stuff seams only possible with other sub-mods, like openCCsensors, what im looking for is a way to display, and only display the temperature of my IC2 nuclear reactor on a monitor, but i cant find how, just using a item from openccSensors, and i cant use it crashes my game cause im using last version of CC (1.6.3) and minecraft 1.6.4.
can anybody help me to find a tutorial for that without other mods than CC? i dont think i can downgrade my CC cause it would ruin my savegame right?

thank you
Lyqyd #3
Posted 07 May 2014 - 07:13 PM
There's a dev build of OCS for CC 1.63, check out issue #167 on the github or read through the last page or two of the forum topic. An official build is coming, but not ready yet.

You won't be able to get the data without either OCS or OpenP (or a similar peripheral mod).
gustavowizard #4
Posted 07 May 2014 - 07:38 PM
There's a dev build of OCS for CC 1.63, check out issue #167 on the github or read through the last page or two of the forum topic. An official build is coming, but not ready yet.

You won't be able to get the data without either OCS or OpenP (or a similar peripheral mod).

i understand what you say, but i cant find this dev version to download, is not on your post?
http://www.computercraft.info/forums2/index.php?/topic/5996-164-cc-157-openccsensors/

OpenPeriphals seams to work on my savegame for a time but them i got memory leak for some reason, its possible to grab some programs with pastebin for that? i want to learn that way,

thank you again, and sorry my english is not perfect
gustavowizard #5
Posted 07 May 2014 - 07:51 PM
cool i found it, another guy posted a compiled version with the fix right? its working here for now at least lol, hey i put the gauge on the side of a MFE but all i got is 0%, i charge it but no changes, do i have to do anything else than put the gauge on the side of the MFE? - sorry if this is not right place to ask about OpenCCSensors, its your mod right?

thank you again
Lyqyd #6
Posted 07 May 2014 - 07:57 PM
Check out the build linked to in this issue on github.

Here is fine to ask, or over in the OpenCCSensors topic. The gauges are a little broken right now, but the sensor itself should work fine.
gustavowizard #7
Posted 07 May 2014 - 08:08 PM
Check out the build linked to in this issue on github.

Here is fine to ask, or over in the OpenCCSensors topic. The gauges are a little broken right now, but the sensor itself should work fine.

yes that the build i found, playing right now… ok so the gauges are down for now, no problem as long i can read MFSU and nuclear reactors its all good :D/>
so how i do it? i just crafted the sensor here, i put next to a computer then i put the sensorcard of what type, also where can i find the code for that im still just beggining to learn lua lol,
thanks again
gustavowizard #8
Posted 07 May 2014 - 08:46 PM
ok i learn about sensorview and its working on some machines i tested here, nice man, congratulations for this mod :D/>

now i need to figger hojw to display sensorview data on the monitor instead of terminal :D/>
viluon #9
Posted 07 May 2014 - 09:18 PM
Simply run your program with "monitor sideOfTheMonitor nameOfTheProgram".
To do it programmatically, check out the Term API at CC wiki
link
Edited on 07 May 2014 - 07:19 PM
TheOddByte #10
Posted 07 May 2014 - 10:52 PM
^ You can do that above me ^

monitor <side> <program>
or you can simply use the peripheral and term api

local monitor = peripheral.wrap( "<side>" )
term.redirect( monitor )
gustavowizard #11
Posted 08 May 2014 - 12:19 AM
^ You can do that above me ^

monitor <side> <program>
or you can simply use the peripheral and term api

local monitor = peripheral.wrap( "<side>" )
term.redirect( monitor )
what is the difference betheen those 2? also, where can i find good tutorials to make graphic bars on my monitor, using sensors and nuclear reactor, any tutorial about display information from IC2, galacticraft, etc machines will help me a lot :D/>
KingofGamesYami #12
Posted 08 May 2014 - 02:16 AM
what is the difference betheen those 2? also, where can i find good tutorials to make graphic bars on my monitor, using sensors and nuclear reactor, any tutorial about display information from IC2, galacticraft, etc machines will help me a lot :D/>

monitor <side> <program> --#must be used instead of running the program

local monitor = peripheral.wrap( "side" )
term.redirect( monitor ) --#is executed inside your program
I wouldn't start out by making graphics at all… but google is your friend! Look at the paintutils api for some help with this.