Foregotten Posted September 13, 2020 Share Posted September 13, 2020 (edited) Here is a quick video tutorial on how to install and some basic usage for this version. ➡️Video Tutorial⬅️ It was brought to my attention that the spoilers were giving errors when pasted to the programming boards. The spoilers were removing bits of the JSON for some reason. So instead, I have added links to the code located between these ➡️⬅️. You can either right click the link and Save As. Or you can click on the link which will open a new page. You copy and paste the entire page into your programming board. This is a work in progress. The development is completed, but it is constantly being refined and upgraded. I encourage and welcome feedback and you are more than welcome to submit your own code, in the comments, for consideration. You can also email me using the link in the first comment. See 1st comment for more info. Here is the JSON code. Just copy/paste it to the programming board. There was a problem pasting the JSON into a spoiler, so I am making it available for download. Right click and Save as, or just click the link and copy the entire page and paste to PB. See video link at top of this post for a tutorial. ***I wasn't able to get rid of the graphics glitch entirely, but I significantly reduced the shift. Now, it's a minor annoyance instead of a massive pain. ➡️ New Industry HUD.⬅️ Edited October 31, 2020 by Foregotten Updated Gangles24, Moosegun, Adam Carter and 1 other 4 Link to comment Share on other sites More sharing options...
Foregotten Posted September 13, 2020 Author Share Posted September 13, 2020 (edited) *** This version now works without the screen glitch where everything blinks. Here is a quick video tutorial on how to install and some basic usage for this version. ➡️Video Tutorial⬅️ This is the databank version of this script. It's for monitoring machines only. Eventually I'll add more features to this, but I don't want to overwhelm the simplicity in its intent. It's meant for larger industries, so you can have a central monitor that shows you which machines are running and which need attending. There was a problem pasting the JSON into the spoiler, so I have made it available to download. Right click and Save as, or click the link and copy the entire page of the new window. Here is the JSON code. Just copy/paste it to the programming board that will be hooked up to the screen and databank. ➡️ Main PB⬅️ Here is the JSON code. Just copy/paste it to the programming board that will be hooked up to the databank and the industry machines. ➡️ Mach PB⬅️ *Updated 9-29-2020 **note: If you need to remove machines from the machine PB's, you need to do 1 of 2 things. 1: Edit LUA on the PB you removed the link from. On the left you will see the names of everything connected. db and mach1 - mach9. The mach# must start at 1 and can't skip any numbers. So if you have 3 machines and you remove mach2, you must rename mach3 to mach2. 2: (The easiest method) Repaste the JSON code to the PB. This will rename everything for you. ***You also need to clear the databank. Turn off all the PB's then, edit LUA on the main PB. Click System and the very top start. Change --db.clear() to db.clear and click apply. Turn the PB on then off then change db.clear() back to --db.clear(). Finally, turn all the machine PB's on first, then the main PB. I'm working on a fix to make this easier. Edited October 31, 2020 by Foregotten Code update Anopheles, Adam Carter, Heidenherz and 1 other 4 Link to comment Share on other sites More sharing options...
Foregotten Posted September 13, 2020 Author Share Posted September 13, 2020 Install & Usage: For the first version, connect the screen first, then up to 9 machines. Screen can be any size. If you wish to give the machines a custom name: Right click the programming board and click Edit Lua Script. Click System then the very bottom start, just below update. On line 16 add the names you wish the machines to be called. (See line 17 for examples) Then on line 22 change: name[i] = "Machine " .. i to: --name[i] = "Machine " .. i Finally: Click Apply and restart the programming board.Using the monitor / databank version: Connect the screen and databank to the main programming board. (Main PB) Connect every other programming board to the databank first, then up to 9 machines. (Mach PB) Turn on all the Mach PB's first, then turn on the Main PB. Thanks to all the people who contributed to this. If you have any suggestions or feedback, or have a bit of code you would like to contribute to this project, feel free to email me NQ-Nudbrokk, Adam Carter and GraXXoR 3 Link to comment Share on other sites More sharing options...
StoneLegionYT Posted September 14, 2020 Share Posted September 14, 2020 wow 9 hour ago and no replies. This is amazing thank you for sharing this with the community. Foregotten and VerZalj 2 Link to comment Share on other sites More sharing options...
SenatorStrategy Posted September 14, 2020 Share Posted September 14, 2020 cant get this to work not sure how to fix it i copy it to the PB but just doesnt want to seem to kick in Foregotten 1 Link to comment Share on other sites More sharing options...
Foregotten Posted September 14, 2020 Author Share Posted September 14, 2020 (edited) 8 minutes ago, SenatorStrategy said: cant get this to work not sure how to fix it i copy it to the PB but just doesnt want to seem to kick in I must have pasted an older version. Try copying the spoiler again. I just updated it. Also, make sure you connect things in the right order. This is a common mistake. See the Install & Usage post for more instructions. Edited September 14, 2020 by Foregotten Link to comment Share on other sites More sharing options...
Foregotten Posted September 14, 2020 Author Share Posted September 14, 2020 Sorry everyone. Pasting my JSON into the spoiler was removing vital bits of the code. The spoilers are gone, but I have included a link that will open a new page of text you can just copy/paste. Link to comment Share on other sites More sharing options...
RicketyCricket Posted September 14, 2020 Share Posted September 14, 2020 This looks amazing. Having an issue getting any kind of hud to show up after following the steps? Link to comment Share on other sites More sharing options...
Kezzle Posted September 14, 2020 Share Posted September 14, 2020 This needs a sticky. Haven't tried it yet; hope it's "as advertised". Will be poking our industrialist in this direction. Link to comment Share on other sites More sharing options...
Foregotten Posted September 14, 2020 Author Share Posted September 14, 2020 15 minutes ago, RicketyCricket said: This looks amazing. Having an issue getting any kind of hud to show up after following the steps? Which version are you using? Are you getting any errors? Is the screen on? Check connection order. Screen gets plugged in first, followed by machines. If DB version, screen then DB for main, DB then machines for mach PB's. You must also turn on the mach PB's before the main PB. Link to comment Share on other sites More sharing options...
Stryker2185 Posted September 15, 2020 Share Posted September 15, 2020 Question where it says 0/3 is that referring to what? number of machines or whats being made or the maintain Link to comment Share on other sites More sharing options...
TillGerman Posted September 15, 2020 Share Posted September 15, 2020 Have both Versions in use and are running fine. But with first Version in Maintain Mode it dont calculate ETA (allways showing "Calculate ETA") and the batchnumbers are negativ. Would be great if ETA and Numbers work in Maintain Mode, but i dont know if it is possible. Link to comment Share on other sites More sharing options...
TillGerman Posted September 15, 2020 Share Posted September 15, 2020 45 minutes ago, Stryker2185 said: Question where it says 0/3 is that referring to what? number of machines or whats being made or the maintain At 1st picture you see on Machine9 11/420. So batch 11 of 420 is in progress. Link to comment Share on other sites More sharing options...
Maireilla Posted September 16, 2020 Share Posted September 16, 2020 Wondering something about this. It looks like its touch screen but how do you use the touchscreen effect like restarting machines and selecting machines Link to comment Share on other sites More sharing options...
Stryker2185 Posted September 16, 2020 Share Posted September 16, 2020 I cant seem to get it to work i copy and past it it pasts whole thing on 1 line Link to comment Share on other sites More sharing options...
LordVelho Posted September 16, 2020 Share Posted September 16, 2020 On 9/14/2020 at 1:24 PM, Foregotten said: Which version are you using? Are you getting any errors? Is the screen on? Check connection order. Screen gets plugged in first, followed by machines. If DB version, screen then DB for main, DB then machines for mach PB's. You must also turn on the mach PB's before the main PB. Hey man i did the DB version. Did this. 1º - Connected Screen to PB 2º - Connected databank to PB 3º - Connected 9 machines 4º - Pasted the code and runned. i got this error. Link to comment Share on other sites More sharing options...
TillGerman Posted September 16, 2020 Share Posted September 16, 2020 4 hours ago, Maireilla said: Wondering something about this. It looks like its touch screen but how do you use the touchscreen effect like restarting machines and selecting machines Use the crosshair and click. On first Version i get CPU Overload errors and script stops. Link to comment Share on other sites More sharing options...
Foregotten Posted September 16, 2020 Author Share Posted September 16, 2020 19 hours ago, Stryker2185 said: Question where it says 0/3 is that referring to what? number of machines or whats being made or the maintain 0/3 = how many are made / how many you want made. So 0 means, no product has been made yet of the 3 you want. Link to comment Share on other sites More sharing options...
Foregotten Posted September 16, 2020 Author Share Posted September 16, 2020 18 hours ago, TillGerman said: Have both Versions in use and are running fine. But with first Version in Maintain Mode it dont calculate ETA (allways showing "Calculate ETA") and the batchnumbers are negativ. Would be great if ETA and Numbers work in Maintain Mode, but i dont know if it is possible. Yeah. Maintain is just to start the machine. Since maintain starts and stops it doesn't use the timer feature. Not until DU allows us to keep track of container product, or at least output numbers. Right now we can only see how many batches have bee completed. Some recipes produce 1, 10, 20, 50, 75 etc. and that's stuff we can't see at the present moment Link to comment Share on other sites More sharing options...
Foregotten Posted September 16, 2020 Author Share Posted September 16, 2020 4 hours ago, LordVelho said: Hey man i did the DB version. Did this. 1º - Connected Screen to PB 2º - Connected databank to PB 3º - Connected 9 machines 4º - Pasted the code and runned. i got this error. The databank version requires 2 programming boards. The screen PB doesn't have machines hooked up to it. Only the 2nd PB does. You have to turn on the PB hooked up to the machines, before you turn on the PB hooked up to the screen. And both PB's have to be hooked up to the databank. PB 1 (Main PB) gets hooked up to the screen first, databank second. PB 2 (Machine PB) gets hooked up to the databank first, then 9 machines second. Link to comment Share on other sites More sharing options...
Foregotten Posted September 16, 2020 Author Share Posted September 16, 2020 (edited) Announcement: Tutorial videos available for both versions. They are just quickly made ones. I'll revise them later. Version 1 Version 2 Edited September 16, 2020 by Foregotten Link to comment Share on other sites More sharing options...
Stryker2185 Posted September 16, 2020 Share Posted September 16, 2020 really feel like an idiot after watching that LOL question tho for the version 2 with database say i have 9 refiners all for hematite can i name that PB on the main PB hematite? instead of "1,2.3.4" Link to comment Share on other sites More sharing options...
Foregotten Posted September 16, 2020 Author Share Posted September 16, 2020 42 minutes ago, Stryker2185 said: really feel like an idiot after watching that LOL question tho for the version 2 with database say i have 9 refiners all for hematite can i name that PB on the main PB hematite? instead of "1,2.3.4" You absolutely can. The default naming is just for beginners who aren't familiar with LUA. The connection is to the machine. Just don't change any of the link names unless it's for the reason at the end of the Version 2 video. If 1 machine is making 1 product, then naming that machine after the product makes perfect sense. I apologize if the video seemed dumbed down, I made it that way so there would be no confusion so that people could get it set up regardless of their LUA knowledge. Link to comment Share on other sites More sharing options...
LordVelho Posted September 16, 2020 Share Posted September 16, 2020 13 hours ago, Foregotten said: The databank version requires 2 programming boards. The screen PB doesn't have machines hooked up to it. Only the 2nd PB does. You have to turn on the PB hooked up to the machines, before you turn on the PB hooked up to the screen. And both PB's have to be hooked up to the databank. PB 1 (Main PB) gets hooked up to the screen first, databank second. PB 2 (Machine PB) gets hooked up to the databank first, then 9 machines second. I think my screen is too small! lol Link to comment Share on other sites More sharing options...
Foregotten Posted September 16, 2020 Author Share Posted September 16, 2020 9 minutes ago, LordVelho said: 13 hours ago, Foregotten said: I think my screen is too small! lol LOL. That's a known bug. I'm working on a solution. I use the exact same script. Here it is on 2 different size monitors. Some people get the bug, and some don't. It doesn't make sense. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now