Jump to content




ComputerCraft Uses with mods machines



  • You cannot reply to this topic
11 replies to this topic

#1 gustavowizard

  • Members
  • 94 posts

Posted 07 May 2014 - 04: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!

#2 gustavowizard

  • Members
  • 94 posts

Posted 07 May 2014 - 04: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

#3 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 07 May 2014 - 06: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).

#4 gustavowizard

  • Members
  • 94 posts

Posted 07 May 2014 - 06:38 PM

View PostLyqyd, on 07 May 2014 - 06:13 PM, said:

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.computerc...-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

#5 gustavowizard

  • Members
  • 94 posts

Posted 07 May 2014 - 06: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

#6 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 07 May 2014 - 06: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.

#7 gustavowizard

  • Members
  • 94 posts

Posted 07 May 2014 - 07:08 PM

View PostLyqyd, on 07 May 2014 - 06:57 PM, said:

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

#8 gustavowizard

  • Members
  • 94 posts

Posted 07 May 2014 - 07: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

#9 viluon

  • Members
  • 183 posts
  • LocationCzech Republic

Posted 07 May 2014 - 08:18 PM

Simply run your program with "monitor sideOfTheMonitor nameOfTheProgram".
To do it programmatically, check out the Term API at CC wiki
link

Edited by viluon, 07 May 2014 - 08:19 PM.


#10 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 07 May 2014 - 09: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 )


#11 gustavowizard

  • Members
  • 94 posts

Posted 07 May 2014 - 11:19 PM

View PostTheOddByte, on 07 May 2014 - 09:52 PM, said:

^ 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

#12 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 08 May 2014 - 01:16 AM

View Postgustavowizard, on 07 May 2014 - 11:19 PM, said:

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.





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users