Zoidbert 1 Posted August 29, 2018 Share Posted August 29, 2018 (edited) This is a simple Applied Energistics 2 Stock AutoCrafting monitor. With this programm you can say that you want to keep certain items and amounts in stock. You can specify how many processors you want the program to use. If ingredients are missing the program will tell you in the message column, but not which ingredients. If you want to change or delete an item you have to check the box infront of the item name and the press the change or delete button. The program creates automatically 2 config files, 1 for the items and the other one for some other values (at this time only max cpu usage is stored in this file). V1.3: https://pastebin.com/326Sh9Xe << Installer for AutoCrafting and GUI Lib (pastebin get 326Sh9Xe AE2AutoStockInstaller.lua) Changelog: Completely overwritten Code Added GUI for better editing of Crafting List Added Installer (Installer will set Startup to AE2 Auto Stock tool) V1.2: not Published V1.1: https://pastebin.com/wDup161T Changelog: Added more errors: No Recipe (if recipe is not in network) and All Cpus busy (if players/programs request/s occupied all cpus) V1.0: https://pastebin.com/JC3WewzK Have fun and enjoy... Sorry for my bad english... Edited January 22, 2019 by Zoidbert Update to V1.3 Adorable-Catgirl 1 Quote Link to post Share on other sites
Zoidbert 1 Posted January 22, 2019 Author Share Posted January 22, 2019 Updated to V1.3 Quote Link to post Share on other sites
duz_holger 1 Posted February 2, 2019 Share Posted February 2, 2019 there are a few problems with this app 1st it crashes when you try to delete a entry 2nd it is unclear what you mean by name I have tried just about any combination of names and none works it seams otherwise the program I have been looking for 4 ever Quote Link to post Share on other sites
BrisingrAerowing 12 Posted February 2, 2019 Share Posted February 2, 2019 That bug is on line 233, as it calls saveItems instead of SaveItems (note the initial letter being lowercase). Simple fix. Also: from looking at the code, I think the 'name' parameter is the registry name of the item, e.g. minecraft:torch or chisel:chisel_diamond. You can use F3+H to see those names. Quote Link to post Share on other sites
duz_holger 1 Posted February 2, 2019 Share Posted February 2, 2019 still no joy even with registry name raw name and a new error Quote Link to post Share on other sites
Zoidbert 1 Posted February 2, 2019 Author Share Posted February 2, 2019 15 hours ago, BrisingrAerowing said: That bug is on line 233, as it calls saveItems instead of SaveItems (note the initial letter being lowercase). Simple fix. Also: from looking at the code, I think the 'name' parameter is the registry name of the item, e.g. minecraft:torch or chisel:chisel_diamond. You can use F3+H to see those names. Thank you both, i will fix this bug in next version. 14 hours ago, duz_holger said: still no joy even with registry name raw name and a new error You have to insert the item name in all lowercase i think... here is an example (fluixcrystal from applied energistics): number 1 is the registered name of the item in minecraft and number 2 is the item damage (metadata).... some modders use only one registered name for all their ingots etc... the damage specifies then what ingot it is... the 2nd error i couldn reproduce... sorry... Quote Link to post Share on other sites
duz_holger 1 Posted February 3, 2019 Share Posted February 3, 2019 still no luck on my end don't know why Quote Link to post Share on other sites
grazazel 0 Posted February 3, 2019 Share Posted February 3, 2019 (edited) total noob here how do you attach the computer to the ae2 system please? Ok found out how to do it. But now after I run the installer program it says it installed then auto reboots. But when it is booted I have the gui background but got the home prompt on screen Edited February 4, 2019 by grazazel worked out original answer but got a new problem Quote Link to post Share on other sites
duz_holger 1 Posted February 5, 2019 Share Posted February 5, 2019 you put oc adapter on the me controller string the cable to the computer wit the app and use a database upgrade (optional) Quote Link to post Share on other sites
Zoidbert 1 Posted February 6, 2019 Author Share Posted February 6, 2019 On 2/3/2019 at 1:07 PM, duz_holger said: still no luck on my end don't know why I forgot to mention that you have to have the mod Computronics 1.12.1-1.6.5 installed in the modpack. Maybe this is the problem. Quote Link to post Share on other sites
duz_holger 1 Posted February 6, 2019 Share Posted February 6, 2019 I found out what the problem is by deep googleing it I run 1,7,10 mc and you run 1,12,1 Quote Link to post Share on other sites
Grorkef 0 Posted February 20, 2019 Share Posted February 20, 2019 I use your program for a few days, but after a few hours, the computer crashes with a "not enough memory" error. I use a Tier 3 Computer Case with 2 Tier 3.5 Memory Modules. Quote Link to post Share on other sites
Zoidbert 1 Posted February 23, 2019 Author Share Posted February 23, 2019 On 2/20/2019 at 2:31 PM, Grorkef said: I use your program for a few days, but after a few hours, the computer crashes with a "not enough memory" error. I use a Tier 3 Computer Case with 2 Tier 3.5 Memory Modules. How many recipies do you have added? at our server we have 25 recipies added with no problem so far... Quote Link to post Share on other sites
Jelmar 0 Posted June 27, 2019 Share Posted June 27, 2019 Since the script is constantly running CheckItemsAndCraft, it is incredibly heavy while using it on a multiplayer server. It is basically unusable in multiplayer because of that. You should consider adding a timer (configurable by the user) that limits the update frequency. We've used another stock keeping program in the past, one that's by far not as nice as yours, that had this feature (https://github.com/TweakPack/Programs/blob/master/stocklist/stock.lua) Perhaps there is something useful in there you can use. It has several things to prevent server lagging, like checkFrequency and recraftDelay. Quote Link to post Share on other sites
Nexarius 18 Posted July 21, 2019 Share Posted July 21, 2019 I just tried to install this but it doesn't work. Quote Link to post Share on other sites
Nexarius 18 Posted July 28, 2019 Share Posted July 28, 2019 Ok it failed because of 2 memory tier 1. It works with Tier 3.5. But i cannot make this thing autocraft anything. Quote Link to post Share on other sites
Zoidbert 1 Posted July 28, 2019 Author Share Posted July 28, 2019 Hi folks, I'm currently pretty busy in my job and unfortunately I have no time to work on the program at the moment. I hope I can find some time soon to work on the errors and publish a better version. On 7/21/2019 at 12:26 PM, Nexarius said: I just tried to install this but it doesn't work. What Mincreaft Version do you use? The programm is written for Minecraft 1.12.1 with ComputerCraft and Computronics 1.12.1-1.6.5 You also need an top tier Computer (tier 3 Computer Case with tier 3.5 memory) 7 hours ago, Nexarius said: Ok it failed because of 2 memory tier 1. It works with Tier 3.5. But i cannot make this thing autocraft anything. Can you post an screenshot of the main window of the program? On 6/27/2019 at 8:05 PM, Jelmar said: Since the script is constantly running CheckItemsAndCraft, it is incredibly heavy while using it on a multiplayer server. It is basically unusable in multiplayer because of that. You should consider adding a timer (configurable by the user) that limits the update frequency. We've used another stock keeping program in the past, one that's by far not as nice as yours, that had this feature (https://github.com/TweakPack/Programs/blob/master/stocklist/stock.lua) Perhaps there is something useful in there you can use. It has several things to prevent server lagging, like checkFrequency and recraftDelay. I will use your suggestion in the next version. Thank you. Quote Link to post Share on other sites
Nexarius 18 Posted July 29, 2019 Share Posted July 29, 2019 Not much too see here. Quote Link to post Share on other sites
bif7777 0 Posted August 18, 2019 Share Posted August 18, 2019 how would i use this program in channel-less packs ? ( no AE2 controller present since no channels in pack) feel free to msg me on disc for faster communication times disc BOF007#8812 Quote Link to post Share on other sites
Ahima 0 Posted January 19, 2020 Share Posted January 19, 2020 Thanks a lot for you'r job here, really, good job I have few suggests. 1/Install script must be install your program in the directory where is it, for the moment your program is installed in the home whatever i put it. 2/Provide a way for quit the program. 2-1/Maybe if you can provide a way for just quit the screen of your programm but still keep it run. 3/Maybe propose a first screen for choose item in the list of craft learn by AE2 whitout have to write item but just check in the list. Quote Link to post Share on other sites
ironyic 0 Posted September 12, 2023 Share Posted September 12, 2023 I've been managing to use this program just fine, but when I updated the 1.12.2 pack, it suddenly stopped working. I can't figure out how the small update would've messed things up, as I've tried re-running the program on other freshly build computers, but it returns the same error when I try to add anything to the list. Here's a screenshot: Quote Link to post Share on other sites