r/feedthebeast • u/Ordiance • Aug 13 '21
Build Showcase Finished my first Computercraft Program today, providing several stats and controls for Mekanism.
1.0k
Upvotes
r/feedthebeast • u/Ordiance • Aug 13 '21
26
u/Ordiance Aug 13 '21 edited Sep 22 '21
Important!
If you are using Advanced Peripherals 0.7+, the Peripheral Proxy no longer exists. Instead of connecting the modem to a Peripheral Proxy pointing at an Induction Port (like in the tutorial), connect Modem and Indiction Port directly.
After finishing the step where you install the "touchpoint" API, type:
pastebin get nkk2r0fk powerDisplay
Thanks to u/iUse for notifying me.
----------------------------------------------------------------
When I started coding I didn't intend to make the program publically available, which is why it isn't as user-friendly as it could have been. But since there seems to be a lot of demand for the program, I have written a short tutorial on how to set it up. You can find it here:https://imgur.com/a/berz14A
Following Mods are required:- CC Tweaked- Advanced Peripherals- Mekanism
The code was written and only tested in All The Mods 6. I can't guarantee it will work in other modpacks.
If you are only interested in my code, you can find it here:https://pastebin.com/edgAFD1y
49
u/mysticfire007 Aug 13 '21
That’s a pretty neat program, may I ask for the code to use in my atm6 playthrough?
19
u/EmpathyInTheory Aug 13 '21
Looks cool, dude. Congrats on finishing your first CC project!
6
u/Philipp1986 Aug 13 '21
Have my upvote.
Looks sweet.
Mind Sharing the Code?
5
u/KushKingKyle ATLauncher Aug 13 '21
Reminds me a lot of this program used for Big Reactors
5
u/jettzypher Aug 13 '21
Very nice. I love the idea of CC but never touch it because I have no desire to learn coding and usually never bother trying to research something others have already built.
7
u/Wehrmicel Aug 13 '21
Wait computer craft is still being updated ?
1
u/nightwing2369 Aug 14 '21
Reminds me when I tried to control 3 IC2 reactors with CC. Yeah.... Those reactors didn't last long. Congrats on getting your project to work
1
u/[deleted] Aug 14 '21
Super cool, how long did it take you?
1
u/silicon1 Dec 22 '21
I was wondering if there was a way to make the screen refresh the information more frequently, I tried changing line 168:
to
but didn't seem to do it. any suggestions?
1
u/East-Ad6184 Feb 22 '22 edited Feb 22 '22
Doesn't work, even with both modems activated, and after changing the part "mat = peripheral.find("peripheralProxy:inductionMatrix")" to "mat = peripheral.find("inductionMatrix")" as suggested by Ordiance for users of 0.7+ (which is the case). The program keeps saying "64: attempt to index global 'mat' (a nil value)", and yes, the induction Matrix is working just fine.
1
u/Lovnk Oct 10 '22
Hi ! I tried doing your matrix computer program yesterday, but it looks like I'm missing something, all I get is a pretty error message and I would like to know if you could help me maybe ? Thanks :D
2
u/obroadbent Apr 14 '24
I recently remade this script to work in ATM9 with CC: Tweaked.
Also, added some cool new features and configs.
https://www.reddit.com/r/feedthebeast/comments/1c2udnb/induction_matrix_script_for_cc_tweaked/
1
u/RockyBoy3278 Jan 20 '24
I tried doing your matrix computer program but all I get is a error message and I would like to know if you could help me
5
u/[deleted] Aug 13 '21
[removed] — view removed comment
1
u/[deleted] Feb 24 '22
[removed] — view removed comment