Lizzian 46 Posted May 1, 2014 Share Posted May 1, 2014 If there are areas that you want a tutorial for but cannot find any information either on other threads in this section or on the OC Wiki then feel free to post here and I will try to make a tutorial on it to the best of my abilities. Current Requests: Standard Lua 5.2 stuff (for people comming from CC/Lua5.1) Quote Link to post Share on other sites
Lizzian 46 Posted May 23, 2014 Author Share Posted May 23, 2014 print() is the same as CC, as for the rest i'll write something up when i can Quote Link to post Share on other sites
iceman11a 0 Posted September 26, 2014 Share Posted September 26, 2014 What I'm looking for is a way to connect to and control parts or all of the neetwork. Applied Energistics. I want to be able to craft items and just about any thing else I can do in AE using OC. Lets says I wanted to craft 5 axe's or 5 shovels. or both. Quote Link to post Share on other sites
Lizzian 46 Posted September 29, 2014 Author Share Posted September 29, 2014 I will experiment and post my findings later, if you could specify what MC version you want the info for that would be helpful Quote Link to post Share on other sites
iceman11a 0 Posted September 29, 2014 Share Posted September 29, 2014 I run MC 1.7.10 with the DNS Techpack. Quote Link to post Share on other sites
iceman11a 0 Posted September 29, 2014 Share Posted September 29, 2014 Oh and I did add opencompunents to the client. So I have that all so. From what I have seen and what I saw there's not a way to read the air pressure in a tube or a machine. I can read the energy and things like that. How ever I didn't want to have to monitor the pressure the old way. (With redstone on the ground.) and a valve. I just have no idea if it was ever added or just not at this time. it would be a great idea. To be able to monitor the pressure in a tube or a machine. That way you can send another signal for an alarm or some thing. Quote Link to post Share on other sites
Lizzian 46 Posted October 1, 2014 Author Share Posted October 1, 2014 Are you on a server when you're trying to access it? because you would need OpenComponents on the server as well (all luia stuff is done server side) Quote Link to post Share on other sites
iceman11a 0 Posted October 1, 2014 Share Posted October 1, 2014 Yes, I'm on a server and yes i uploaded the mod to my server. and to the new server I been playing on. and last that's why I wish the editor for lua was a lot better then it is. I can copy and paste into the editor. I just can't copy and paste from the editor. That should be added on the next release. This idea is to monitor the air pressure to start and stop an engine to add more air to the compressor(s). with out blowing the tubes and machines up. I was told that the option is in Opencomponents. i just have to find it. SO in the mean time. It;s the old way. Quote Link to post Share on other sites
Lizzian 46 Posted October 1, 2014 Author Share Posted October 1, 2014 Copying from OC is a lot harder than pasting, if you want to edit it outside the game and have it show up instantly ingame, set bufferedFilesystems to false in the OC config. As for pneumaticcraft stuff, have you looked at the pressure monitor that can be attached to pipes? That will output a RS signal strength in correlation to the pressure inside the tube. Quote Link to post Share on other sites
Cool_boy_men 0 Posted May 1, 2015 Share Posted May 1, 2015 Hey, I would like to make a player count system, to know how many players visited my base, shop. I have some idea's, but not sure how to do it. So far this is what I'm trying to do: use a tripwire on an adapter connected to the computer. My idea was that when the redstone signal turns true, it should add +1 to a count program or something. Can anyone help my with the code? So far I only have only the setup, no code yet. Here is a picture if it would make it easier: Quote Link to post Share on other sites
MaHuJa 1 Posted May 3, 2015 Share Posted May 3, 2015 If you want to count how many times the tripwire has been triggered, you're probably better off using the oc redstone block than the adapter. Quote Link to post Share on other sites
Dustmuz 0 Posted June 30, 2015 Share Posted June 30, 2015 i just started using OC, and i'm very used to CC and lua 5.1but have one major problem i cant find in the wiki or here so far How do i print out a list of commands i can use on a peripheral..in CC i would just do this local file = fs.open("config","w") file.writeLine(textutils.serialize(peripheral.getMethods())) file.close()how would i do something like this in OC??i like to try things out myself, but so far, im pretty god damn lost on this mod. Quote Link to post Share on other sites
kevinkk525 8 Posted July 1, 2015 Share Posted July 1, 2015 you can try =component.gpu (e.g.) or for a,b in pairs(comonent.gpu) do print(a, end Quote Link to post Share on other sites
Ranub1s 0 Posted January 22, 2016 Share Posted January 22, 2016 hiho wanted to try to make sure that only me and my friend could enter our home while using a motion-sensor http://pastebin.com/cmbRn3Yi somehow the sensor activates but cant call back my identity name if this would be possible i could extend the program hope you guys could help me where i fail at this point. thank you Quote Link to post Share on other sites
jigglesthefett 0 Posted January 25, 2016 Share Posted January 25, 2016 I have a question that I have not been able to find an answer to. I have a script that creates a hologram from the information gathered by a Geolyzer, (I didn't write it, It's Sangar's program, I found it on https://openprograms.github.io/) It works great with the geolyzer attached to the side of a computer and the projector attached to the same. What I want to know, is it possible to have a geolyzer in another dimension and have its information be sent back to this computer? I was assuming perhaps the linked card could work, but I'm not sure if two computers would work, or if there is another way to easily connect the geolyzer to the existing 'network' in the other dimension? (I am very new to OC, had been using CC quite a bit but it just wasn't up to do what I wanted) Quote Link to post Share on other sites
James_Bread 2 Posted March 26, 2016 Share Posted March 26, 2016 Hello. i was wanting to know if you knew how to setup a time hologram? Thanks, James. Quote Link to post Share on other sites
johnnyhostile 0 Posted July 5, 2016 Share Posted July 5, 2016 If there are areas that you want a tutorial for but cannot find any information either on other threads in this section or on the OC Wiki then feel free to post here and I will try to make a tutorial on it to the best of my abilities. Current Requests: Standard Lua 5.2 stuff (for people comming from CC/Lua5.1) Are there any best practices for iterating on scripts locally? Right now I edit locally, upload to my site, and wget the scripts down. Additionally, when my scripts error out I can't see the full stacktrace on the screen. UNIX-like output redirection didn't seem to work, is there some way for me to capture errors for review? Thanks! Quote Link to post Share on other sites
Pigpork 0 Posted July 13, 2016 Share Posted July 13, 2016 Can you make a redstone card tutorial? Quote Link to post Share on other sites
ShinyBlade 0 Posted January 17, 2017 Share Posted January 17, 2017 oi! Im playing on a modded server with opencomputers in it aswell. Someone on the server made me a robot wich harvested Berry essences from tinkers construct. Since he stopped playing and the robot doesnt work anymore i would like to make those robots myself. Could you make a tutorial about that? I will add some screenshots on how they look like. Quote Link to post Share on other sites