Jump to content
Foregotten

Industry Progress HUD

Recommended Posts

On 9/15/2020 at 11:12 PM, 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. 
71389887.jpg

you need 8 machines and a connection to the db on teh slave

Share this post


Link to post
Share on other sites
On 9/16/2020 at 5:14 PM, LordVelho said:

I think my screen is too small! lol 

 

Captura de tela 2020-09-16 181405.jpg

This is not your screen or a coding error, this is a DU LOD effect caused by too much screen activity in a relatively close area 

Share this post


Link to post
Share on other sites
5 hours ago, Greviouss said:

This is not your screen or a coding error, this is a DU LOD effect caused by too much screen activity in a relatively close area 

I am working on a version where the DB system is integrated with the touch screen system to reduce the number of monitors needed. You may also use zone detectors or pressure pads to use at or near your screens if they are positioned in such a way that they aren't all visible at the same time. This way you don't get the graphic glitch.

Share this post


Link to post
Share on other sites

This is the same LOD effect occurring because we have too many screens located too close to each other in this area...
This is on our custom box monitor scripts and the second shows it occuring on the other side of the wall from these on a management screen

this is not the developers fault, can he compensate for the lod effect, no i dont think so cause afaik theres no lua trigger when it starts occurringunknown.png

 

 

 

unknown.png

Share this post


Link to post
Share on other sites
14 hours ago, Foregotten said:

I am working on a version where the DB system is integrated with the touch screen system to reduce the number of monitors needed. You may also use zone detectors or pressure pads to use at or near your screens if they are positioned in such a way that they aren't all visible at the same time. This way you don't get the graphic glitch.

it does not seem to matter if you can directly see them, as the ones i posted being LOD affected are being affected by screens in another nearby room

however the reduction in grouped screens will definately ease the issue

NQ should have screen LOD effects as an option we can opt out of imo

Share this post


Link to post
Share on other sites

Seems to be that when I load up Script 1 that my display screen starts flickering and all of the text momentarily goes away upon movement.  If I log out and back into the game, the monitor shows just fine.  However, if I turn the programming board off and on again, I get the same flickering.  Haven't tracked own what's causing the issue, yet.

 

Edit:  I've now tried it on both clear and normal screens.

Share this post


Link to post
Share on other sites
13 hours ago, Seether said:

Seems to be that when I load up Script 1 that my display screen starts flickering and all of the text momentarily goes away upon movement.  If I log out and back into the game, the monitor shows just fine.  However, if I turn the programming board off and on again, I get the same flickering.  Haven't tracked own what's causing the issue, yet.

 

Edit:  I've now tried it on both clear and normal screens.

This is happening to everyone. Please make a bug report to DU. Thankfully it is not code related and hopefully the devs will fix this soon.

Share this post


Link to post
Share on other sites
On 9/24/2020 at 2:17 AM, Greviouss said:

for reference, this is our non LOD effected box script working ... notice the font differencesunknown.png

 

again... this is not something the lua dev can code for occuring

What is the script for those ones on the bottom 2 monitors there?

Share this post


Link to post
Share on other sites
20 minutes ago, Stryker2185 said:

What is the script for those ones on the bottom 2 monitors there?

I second this, it looks so sexy! can you share it?

 

Man I knew some extremely talented people would come out of the woodwork with the possibilities on this game but you guys go far beyond what I would imagine possible.

Share this post


Link to post
Share on other sites

While we wait for the devs to fix the touchscreen glitch, here is a temporary update for the databank version Main PB. Instead of clicking on the number, you just press ALT 1 - 9 to select the page you want.

➡️ Main PB Alt script ⬅️

Share this post


Link to post
Share on other sites
On 9/27/2020 at 4:48 PM, w1r3dh4ck3r said:

I second this, it looks so sexy! can you share it?

 

Man I knew some extremely talented people would come out of the woodwork with the possibilities on this game but you guys go far beyond what I would imagine possible.

Here is a quick script that will show a % progress bar for extra small fuel tank. Just right click programming board  select Advanced > Paste LUA configuration from Clipboard.

Then hook up a screen then an extra small fuel tank to see how it works.

Spoiler

 


{"slots":{"0":{"name":"screen","type":{"events":[],"methods":[]}},"1":{"name":"atml","type":{"events":[],"methods":[]}},"2":{"name":"slot3","type":{"events":[],"methods":[]}},"3":{"name":"slot4","type":{"events":[],"methods":[]}},"4":{"name":"slot5","type":{"events":[],"methods":[]}},"5":{"name":"slot6","type":{"events":[],"methods":[]}},"6":{"name":"slot7","type":{"events":[],"methods":[]}},"7":{"name":"slot8","type":{"events":[],"methods":[]}},"8":{"name":"slot9","type":{"events":[],"methods":[]}},"9":{"name":"slot10","type":{"events":[],"methods":[]}},"-1":{"name":"unit","type":{"events":[],"methods":[]}},"-2":{"name":"system","type":{"events":[],"methods":[]}},"-3":{"name":"library","type":{"events":[],"methods":[]}}},"handlers":[{"code":"local atml = math.floor(atml.getItemsMass()) / 400 * 100\natml = string.format(\"%.0f\", atml)\ntotPct = tonumber(atml) * 800 / 100\nscreen.setHTML([[\n<!doctype html>\n<html>\n<head>\n<met charset=\"utf-8\">\n<style>\nsvg {\nposition absolute:\nleft: 10%;\nbottom: 50%;\n}\n</style>\n</head>\n<body>\n<svg width=\"800\" height=\"72\" xmlns=\"http://www.w3.org/2000/svg\">\n <!-- Created with Method Draw - http://github.com/duopixel/Method-Draw/ -->\n\n <g>\n  <title>background</title>\n  <rect x=\"-1\" y=\"-1\" width=\"1634.65439\" height=\"148.9389\" id=\"canvas_background\" fill=\"none\"/>\n  <g id=\"canvasGrid\" display=\"none\">\n   <rect id=\"svg_5\" width=\"100%\" height=\"100%\" x=\"0\" y=\"0\" stroke-width=\"0\" fill=\"url(#gridpattern)\"/>\n  </g>\n </g>\n <g>\n  <title>Layer 1</title>\n  <rect id=\"svg_6\" height=\"25\" width=\"800\" y=\"48.25893\" x=\"0\" stroke-opacity=\"null\" stroke-width=\"0\" stroke=\"none\" fill=\"#a09f9f\"/>\n  <g id=\"svg_32\">\n   <line fill=\"none\" stroke-width=\"22.5\" x1=\"0\" y1=\"61.11535\" x2=\"]]..totPct..[[\" y2=\"61.11535\" id=\"svg_28\" stroke-linejoin=\"undefined\" stroke-linecap=\"undefined\" stroke=\"#00ff11\"/>\n   <line fill=\"none\" stroke=\"#000\" stroke-width=\"2.5\" stroke-opacity=\"null\" x1=\"700.2451\" y1=\"-34.09161\" x2=\"700.2451\" y2=\"-34.5818\" id=\"svg_4\" stroke-linejoin=\"undefined\" stroke-linecap=\"undefined\"/>\n   <line fill=\"none\" stroke-width=\"2.5\" x1=\"1\" y1=\"48.96873\" x2=\"799\" y2=\"49.33334\" id=\"svg_1\" stroke-linejoin=\"undefined\" stroke-linecap=\"undefined\" stroke=\"blue\"/>\n   <line fill=\"none\" stroke=\"blue\" stroke-width=\"2.5\" stroke-opacity=\"null\" x1=\"1\" y1=\"39\" x2=\"1\" y2=\"73.92345\" id=\"svg_2\" stroke-linejoin=\"undefined\" stroke-linecap=\"undefined\"/>\n   <line fill=\"none\" stroke=\"blue\" stroke-width=\"2.5\" stroke-opacity=\"null\" x1=\"798.75\" y1=\"39\" x2=\"798.75\" y2=\"73.92345\" id=\"svg_3\" stroke-linejoin=\"undefined\" stroke-linecap=\"undefined\"/>\n   <line fill=\"none\" stroke-width=\"2.5\" stroke-opacity=\"null\" x1=\"79.91177\" y1=\"49.21569\" x2=\"79.91177\" y2=\"59.31438\" id=\"svg_12\" stroke-linejoin=\"undefined\" stroke-linecap=\"undefined\" stroke=\"blue\"/>\n   <line fill=\"none\" stroke-width=\"2.5\" stroke-opacity=\"null\" x1=\"159.81373\" y1=\"49.21569\" x2=\"159.81373\" y2=\"59.31438\" id=\"svg_13\" stroke-linejoin=\"undefined\" stroke-linecap=\"undefined\" stroke=\"blue\"/>\n   <line fill=\"none\" stroke-width=\"2.5\" stroke-opacity=\"null\" x1=\"239.71569\" y1=\"49.21569\" x2=\"239.71569\" y2=\"59.31438\" id=\"svg_14\" stroke-linejoin=\"undefined\" stroke-linecap=\"undefined\" stroke=\"blue\"/>\n   <line fill=\"none\" stroke-width=\"2.5\" stroke-opacity=\"null\" x1=\"319.61765\" y1=\"49.21569\" x2=\"319.61765\" y2=\"59.31438\" id=\"svg_15\" stroke-linejoin=\"undefined\" stroke-linecap=\"undefined\" stroke=\"blue\"/>\n   <line fill=\"none\" stroke-width=\"2.5\" stroke-opacity=\"null\" x1=\"479.52205\" y1=\"49.21569\" x2=\"479.52205\" y2=\"59.31438\" id=\"svg_17\" stroke-linejoin=\"undefined\" stroke-linecap=\"undefined\" stroke=\"blue\"/>\n   <line fill=\"none\" stroke-width=\"2.5\" stroke-opacity=\"null\" x1=\"559.42401\" y1=\"49.21569\" x2=\"559.42401\" y2=\"59.31438\" id=\"svg_18\" stroke-linejoin=\"undefined\" stroke-linecap=\"undefined\" stroke=\"blue\"/>\n   <line fill=\"none\" stroke-width=\"2.5\" stroke-opacity=\"null\" x1=\"639.32597\" y1=\"49.21569\" x2=\"639.32597\" y2=\"59.31438\" id=\"svg_19\" stroke-linejoin=\"undefined\" stroke-linecap=\"undefined\" stroke=\"blue\"/>\n   <line fill=\"none\" stroke-width=\"2.5\" stroke-opacity=\"null\" x1=\"719.22793\" y1=\"49.21569\" x2=\"719.22793\" y2=\"59.31438\" id=\"svg_20\" stroke-linejoin=\"undefined\" stroke-linecap=\"undefined\" stroke=\"blue\"/>\n   <line fill=\"none\" stroke-width=\"2.5\" stroke-opacity=\"null\" x1=\"400\" y1=\"49\" x2=\"400\" y2=\"69\" id=\"svg_7\" stroke-linejoin=\"undefined\" stroke-linecap=\"undefined\" stroke=\"blue\"/>\n   <text fill=\"cyan\" stroke=\"cyan\" stroke-width=\"0\" x=\"12.01986\" y=\"30.24343\" id=\"svg_25\" font-size=\"29\" font-family=\"'Shadows Into Light', serif\" text-anchor=\"start\" xml:space=\"preserve\" font-weight=\"bold\">Atmo Fuel</text>\n   <text fill=\"red\" stroke=\"red\" stroke-width=\"0\" stroke-opacity=\"null\" x=\"723.55715\" y=\"30.24343\" id=\"svg_27\" font-size=\"29\" font-family=\"'Simonetta', serif\" text-anchor=\"start\" xml:space=\"preserve\" font-weight=\"bold\">]]..atml..[[%</text>\n  </g>\n </g>\n</svg>\n</body>\n</html>\n]])","filter":{"args":[{"value":"update"}],"signature":"tick(timerId)","slotKey":"-1"},"key":"0"},{"code":"screen.clear()","filter":{"args":[],"signature":"stop()","slotKey":"-2"},"key":"1"},{"code":"unit.setTimer(\"update\", 0.5)","filter":{"args":[],"signature":"start()","slotKey":"-2"},"key":"2"}],"methods":[],"events":[]}

 


 

 

Share this post


Link to post
Share on other sites
50 minutes ago, Argentine Fury said:

Hey Foregotten Mach PB link is broken...

Thx for your work!

Hehe. I feel silly. I made the script and the text doc to upload, but I forgot to paste the config to the text. Thanks for the info. It's correctly updated now.

Share this post


Link to post
Share on other sites

I see that there is a feature to stop, and start all machines, is there a way to bypass the fact that talents only work if you press start on the recipe of the machine itself, or am I misinformed? 

Share this post


Link to post
Share on other sites

I haven't had a chance to try this yet, but I definitely will. I am at the point of making dedicated lines for things. I am just undecided at what point I want to sell things - complete gear or just parts.

Share this post


Link to post
Share on other sites

Somehow the script with the ALT + Number gives a CPU overload error from the programmingboard in the game (not my cpu, the cpu of the element in the game), after adding more than 5 boards to the database. The touchscreen works just fine with all 9 boards on the database. Is there a fix for that?

Share this post


Link to post
Share on other sites

This works great and it's amazing! Only issue I'm having is some screen flickering when it's in use. Everything on the monitor kind of pulses any time I move around or look around. Can still click and change things tho so it's not a huge deal.

Would it be possible to make it so this can change what's being made in a connected machine on command? I'd like to be able to change the size output of different parts I'm making: XS, S, M, etc.

Share this post


Link to post
Share on other sites
On 10/29/2020 at 5:59 PM, MisterMichaelK said:

This works great and it's amazing! Only issue I'm having is some screen flickering when it's in use. Everything on the monitor kind of pulses any time I move around or look around. Can still click and change things tho so it's not a huge deal.

Would it be possible to make it so this can change what's being made in a connected machine on command? I'd like to be able to change the size output of different parts I'm making: XS, S, M, etc.

I have a fix for the screen flicker. I'll be uploading it shortly.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...