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

Forums

  1. OpenComputers

    1. Announcements

      OpenComputers official announcements.

      121
      posts
    2. Feedback

      Tell us what you think.

      372
      posts
    3. IRC

      #OC channel discussion
      irc.esper.net #oc

      25
      posts
  2. Code Central

    1. Support

      Ask for support from the OpenComputers community

      3588
      posts
    2. Showcase

      Showcase what you have created for OC. No 'malware' or other junk!

      2464
      posts
    3. Tutorials

      Help other users out. Please no 'false tutorials'

      111
      posts
  3. Addons & More

    1. Addons Mods

      Show off your OC addons mods

      220
      posts
    2. Architectures

      Discussions for Architectures

      176
      posts
    3. OpenEngineering Task Force

      Discussion board for the OETF documents

      70
      posts
  4. General

    1. Lounge

      Just lounge around or have an open discussion.

      309
      posts
    2. Forum Games

      Fight boredom!

      61
      posts
    3. Showcase

      Show off your creations! (not for your programs)

      127
      posts
    4. Servers

      A place to advertise your servers

      142
      posts
  5. Archives

    1. Public Archives

      OpenComputers public archive forum

      8
      posts
  • Forum Upkeep

    In order to keep the forums updated with improvements and security fixes, we need to pay for a subscription.

    Currently, this is: $25/6-months for the forums itself and $10/6-months for the Theme (totalling $35 USD/6-months).

    You're not obligated to donate anything, but anything you do donate will be much appreciated. :)



    2% of donation goal reached.
    Donate Sidebar by DevFuse
  • Topics

  • Posts

    • Im trying to test it right now but Im not too good with Applied energistics... What component of the me network is your OC adapter touching? I have it touching the me_interface but I dont have the component method me_interface.getAvailableItems() just me_interface.getItemsInNetwork(). And the list doesnt appear to show the correct amount of items or any at all really... just an empty list "{n=0}" I updated to 1.12.2 and now the me_interface.getItemsInNetwork() method returns a populated list however I still dont have the me_interface.getAvailableItems() method.. Anything I need to know about how your ME network is setup or configured? Remember im an ME noob so help me help you
    • thai is the original cc program that worked for years and still works technicaly me = peripheral.wrap("tileinterface_3")
      mon = peripheral.wrap("monitor_29")
      low = 64 mon.setTextScale(0.5) local meItems = {
      [1] = {"Iron Ingot","minecraft:iron_ingot","0"},
      [2] = {"Sand", "minecraft:sand","0"},
      [3] = {"Acasia Wood","minecraft:log2","0"},
      [4] = {"Acasia Planks","minecraft:planks","4"},
      [5] = {"SawDust","Mekanism:Sawdust","0"},
      [6] = {"Paper","minecraft:paper","0"},
      [7] = {"Cactus","minecraft:cactus","0"},
      [8] = {"Cactus Green","minecraft:dye","2"},
      [9] = {"Ink","minecraft:dye","0"},
      [10] = {"Red Dye","minecraft:dye","1"},
      [11] = {"Purple Dye","minecraft:dye","5"},
      [12] = {"Gray Dye","minecraft:dye","8"},
      [13] = {"Light Gray Dye","minecraft:dye","7"},
      [14] = {"Light Blue Dye","minecraft:dye","12"},
      [15] = {"Dandyline Yellow","minecraft:dye","11"},
      [16] = {"Aluminium Ingots","TConstruct:materials","11"},
      [17] = {"Stone","minecraft:stone","0"},
      [18] = {"CobbleStone","minecraft:cobblestone","0"},
      [19] = {"Gold Ingots","minecraft:gold_ingot","0"},
      [20] = {"Copper Ingots","Mekanism:Ingot","5"},
      [21] = {"GlowStone Dust","minecraft;glowstone_dust","0"},
      [22] = {"Glass","minecraft:glass","0"}
      } function checkMe(checkName, name)
        melist = me.getAvailableItems()
        for a = 1, #melist do
          itemName = melist[a].fingerprint.id .. melist[a].fingerprint.dmg
          value = tostring(melist[a].size)
          if itemName == checkName then
            print("true")
            print(name)
            print("me=" ..itemName)
            print("var=" ..checkName)
            print("sum=" ..value)
            centerT(name, row+2, colors.black,colors.blue, "lefty")
            if tonumber(value) <= low then
              centerT(value, row+2,colors.black, colors.red, "righty")
            else
              centerT(value, row+2,colors.black, colors.green, "righty")
            end
            row=row+1
          end
        end
      end function checkTable()
        row = 1
        clearScreen()
        for i = 1, #meItems do
          checkName = meItems[2] .. meItems[3]
          name = meItems[1]
          checkMe(checkName, name)
        end
      end     function clearScreen()
        mon.setBackgroundColor(colors.black)
        mon.clear()
        mon.setCursorPos(1,1)
        centerT("  ME Inventory  ",1,colors.blue, colors.white,"head")
      end function centerT(text,line,txtback,txtcolor,pos)
        monX,monY = mon.getSize()
        mon.setBackgroundColor(txtback)
        mon.setTextColor(txtcolor)
        length = string.len(text)
        dif = math.floor(monX-length)
        x = math.floor(dif/2)
        if pos == "head" then
          mon.setCursorPos(x+1, line)
          mon.write(text)
        elseif pos == "lefty" then
          mon.setCursorPos(2,line)
          mon.write(text)
        elseif pos == "righty" then
          mon.setCursorPos(monX-length, line)
          mon.write(text)
        end
      end while true do
        checkTable()
        sleep(10)
      end
    • centerT func looks fine.. I'd suspect the checkMe func, specifically the loop over the list, or the list length operator. Check that the list is actually reporting the proper length? Shove a few print calls in there to debug.. I can't test ATM but nothing is standing out as the culprit.
    • Singleplayer. I'm using the FTB launcher and just playing it singleplayer.   It's hard to believe that it would be my PC doing this somehow as I get 60+FPS right until I turn the computer on. As soon as I do though I get these frame drops down to zero for a few seconds every now and then. Then when I turn the computer off, everything is fine again. Normally I'm playing with around 200 mod files running at the same time and it all runs just fine until that happens. Then again I seem to be the only one having this problem too so, I don't know what to make of it.
    • Hmmm, since I am the server owner and my mate has no probles with it, I can test the current version of your script in 1.7.10 and will see, if I can create a void in the void or if the reactor will still be there
      Give me one or two days and I'll share my experiences and what I have used in the config
  • Popular Contributors

×

Important Information

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