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

GodlyPlexi

Members
  • Content Count

    7
  • Joined

  • Last visited

Everything posted by GodlyPlexi

  1. I see! I didn't really understand that you were calling the iterator at first, but now it makes sense. Thanks! Also thank you for the advice, I knew already. I kinda just grabbed the example from the component API page on the wiki.
  2. I wasn't sure this belonged in the normal question areas being this was more of a general curiosity than it was useful info, so I came here. But enough beating around the bush. My question is: Why, when using do you need to add in the orange (colored for convenience) parentheses? I'm sure there's a bit of obviousness I'm probably missing, with my patchwork amount of programming knowledge.
  3. Nevermind, after I made this post, I remembered that Tables were a thing. I apologize for taking up space!
  4. So, I'm attempting to assign unique variables for a multi-component counting program to try to make a simple monitoring program through Adapted blocks and Industrial Craft Classic energy storage blocks. (BatBox, MFE, and MFSU) At first I thought maybe I could concatenate the variable and an index number to do a simple unique variable per address called, like mfsu1, mfsu2, mfsu3, etc. But, that didn't quite work, and resulted in an error. I'm a bit stumped as to what to do about it. I searched for it as best as I could describe it, and couldn't find an answer on it. I'm sure there's some way to
  5. Ah! Ok, thank you very much! That makes much more sense now that I think about it. I very much so appreciate your help!
  6. Thank you for pointing that out! I ah, didn't quite think to do that. Bah. But aside from that, I've come into a new problem. When I start the program now, just as you have it above, it updates it just once, showing it as it is the first time it checks it, and then loops again, but doesn't update the values of the RPM and others. I even checked by increasing and decreasing the RPM to confirm it. That is a bit of a crucial part of the monitoring, so I would like to know what is wrong if anything is. Again, thank you in advanced!
  7. Ok, so, I'm playing on a modpack (Tekkify) that has both Big Reactors and OpenComputers, and I'm trying to write a program that monitors a turbine I have set up after I start the program. I sadly don't know a lot about lua or OC on my own to fix this, so I'm looking to get some help possibly from people who have more know-how on with OC. I've already written up a rough mock of what I want, though it doesn't quite work as I had imagined-- it goes through the program once, prints the items I'm attempting to track to the screen once, I was using a while loop to hopefully make it check the values
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.