Ladies and Gentlemen, I am proud to announce that I have completed the GUI portion, and part of the remote inventory management section, of the ultimate mining setup. First, a picture, then I will explain what it is. Kiss miner's backpacks and black hole talismans goodbye with the ULTIMATE mining setup!* Let us start with the GUI in the upper left. This is using OpenPeripheral's terminal glasses. The purple bar signifies how full your AE system is. The red bar signifies how much power is left in the energy cube. The text under the bars tells you how many of the listed items are in the AE system. The items listed are pre defined in the program, but easily changed, or added. The GUI is more than just that, it also allows you to toggle the impulse itemduct under the computer, which extracts from the player interface (purple block on the right), which is connected to your inventory. It only removes from your inventory, not your hotbar, or your armor. There is a filter set up to auto nullify selected items, and send the rest to the AE system, while also leaving a small predetermined set of items in your inventory. The extraction of items from your inventory can be remotely toggled with $$start or $$stop typed into the chatbox. If the program is still running you can also do $$reboot to remotely restart the computer. I will be adding more commands in the future as well. In the next few days I will be expanding on this, allowing the ability to remotely request stacks of predetermined items from the AE system into your inventory. Most likely these will be food, and torches, but can easily be expanded to include anything you like. In order for this program to auto detect your peripherals, arrange them as shown above in the image. I have written the program using the directions, rather than the peripheral names, to make it easier to use. When CC 1.6 comes it has a function the make peripheral discovery much easier. I have attempted to keep it fairly light on the server, so the GUI only updates once every five seconds, I may change this as needed. To get started playing around with this script, just grab it from http://pastebin.com/Z8n6rxhB ***UPDATED** Changelog: 1. Changed code to use directions instead of peripheral names, so if arranged correctly the program should need no user modification prior to use. Special thanks to SinZ for the code behind the very pretty, and very frustrating to work with, rounded corner box. *for the low low price of one nether star
You may have modified something, as it should not do that. ReDrawHud changes the text in the already existing text element, it does not create a new one. How much iron is in your AE? I know you were adding stuff to the hud, mind doing a "pastebin put" of the script so I can check it out?
Yea, lines 200-206, when you were modding the file, for some reason you changed all of the setText to addText and re did the setting of the text box, so it is adding new text boxes instead of setting the text in the current boxes. Re download the program and just add to what is there based on what is currently there. Don't copy the drawHUD to the reDrawHUD. They are two different operations, one sets and the other modifies, respectively.
I was just wondering, since I'd like to create a program that integrates with AE, how did you get CC to request from the ME system?
I haven't yet, but it should be fairly easy, using either an ME interface or an export bus, should be able to request anything from the AE from either one of those. I was setting up CC to automatically pull all of the ores from my AE for processing. I will put some info here when I have it set up.
You can interact with any ae block by putting a modem on it. The api is very extensive if you use getmethods you will be amazed by all the things that you can do. I believe this is due to the open peripherals mod although I could be wrong.
Also, can you set up it so that when it extracts some ores from your inventory, it automatically gives it to your ore processing system ? That would be sick, and also you see how much ingots/gems w/e you've got from it. Awesome. Love it. Copying it for myself. ^^