Space Engineers

Space Engineers

Automatic LCDs 2
Capt Fuzzy 7 Dec, 2022 @ 1:28am
!LINK Issue...
It seems that I can only use the !LINK tag on just two LCD panels.
I used it on a pair of panels and it worked just fine, I then tried to use it on a second pair of panels, and those panels go blank.

Working panels:
LCD Ops Inventory Panel 1 [LCD] !LINK:LCD Ops Inventory Panel 1 1
LCD Ops Inventory Panel 1A [LCD] !LINK:LCD Ops Inventory Panel 1 2

Panel 1 Custom Data:
Center << Total Cargo >>
CargoX {Cargo}
Center ----------------------------------------------------------------------------------------
echo
Center << Main Cargo Container A >>
CargoX {Main Cargo A}
echo
Center << Main Cargo Container B >>
CargoX {Main Cargo B}
echo
Center << Ice Cargo Container A >>
CargoX {Ice Cargo A}
echo
Center << Ice Cargo Container B >>
CargoX {Ice Cargo B}
echo
echo
Center << Components Cargo Container A >>
CargoX {Components Cargo A}
echo
Center << Components Cargo Container B >>
CargoX {Components Cargo B}
echo
Center << Ore/Ingots Cargo Container A >>
CargoX {Ore/Ingots Cargo A}
echo
Center << Ore/Ingots Cargo Container B >>
CargoX {Ore/Ingots Cargo B}

These panels work flawlessly.

Blank Panels:
LCD Ops Inventory Panel 3 [LCD] !LINK:LCD Ops Inventory Panel 3 1
LCD Ops Inventory Panel 3A [LCD] !LINK:LCD Ops Inventory Panel 3 2

Panel 3 Custom Data:
Center << Base Inventory List >>
Center -----------------------------------------------------------------------------------------
echo
InventoryX

These panels are completely blank.

I've spent several hours experimenting and it seems like no kind of custom data works on the second set of panels (3 and 3A), unless I remove the !LINK: tag, then anything that I put on each individual panel works perfectly.

I'm at my wits end. I loved this script, until I hit this brick wall, now I'm coming to hate it, and that's simply not acceptable. This script does everything else incredibly well.
< >
Showing 1-5 of 5 comments
Kham 7 Dec, 2022 @ 6:10am 
The LINK command can be a bit tetchy, particularly on servers if you're playing on one. Though I think your syntax may be causing some confusion to the script.

Your link group names are very long and I'm not 100% sure if the script can handle spaces in the the link group names. When I tried with your LCD names in my test world, the second panel from your second link group was actually being linked as the third LCD to the first group.

It's best to keep LINK names simple like,
!LINK:A 1
!LINK:A 2
!LINK:B 1
!LINK:B 2
etc.
Capt Fuzzy 7 Dec, 2022 @ 9:41am 
I was somewhat concerned that the length of the name may be the issue, but I'm not seeing any error messages anywhere so it's kinda tough to track down exactly where the problem lies.
I'm running this script in a solo, creative world at the moment, mainly for testing purposes.
I've used Automatic LCDs a little here and a little there, but have no real experience with it outside of concept testing.
I've gotten into the habit of naming everything so as to avoid confusion when ships/vehicles are connected to a base.
I know a lot of folks that play this game most likely focus on building ships and rovers and that sort of thing, but my forte seems to be designing bases and outposts, so I do a lot of design testing. The current design that I'm working on is probably the most complex one that I have done so far, and all but requires me to use a script like this just to keep track of everything going on.
I have displays showing all kinds of stuff, but when I got to this part of the setup, it all went to hell in a handbasket, as they say... lol
I will try coming up with a shorter name, that makes sense, and see if that fixes my issue.
I currently have about 10 status LCD panels that I don't want getting mixed-up if something goes sideways, so I've come up with this naming system to hopefully avoid that, but it now turns out that it may be the very problem.
I'll try that and see what happens.

I may be back though... lol
Capt Fuzzy 7 Dec, 2022 @ 12:32pm 
After some experimentation, I believe that you were correct on the name length, at least partially.
I tried simply abbreviating some of the name, that garnered the same results, two blank screens.
What finally did the trick was a combination of shortening the name and removing my LCD tag at the beginning of the name.
Once I did that, both screens popped to life and started displaying their info.

I'm now in the process of renaming the other panels so as to avoid this issue in the future.
Thank you so much for your help.
Kham 8 Dec, 2022 @ 9:19am 
Glad you got it working! I can understand the pain of trying to rename things on a mega grid and trying to keep names unique but also informative. I use a lot of acronyms in my builds haha.
Capt Fuzzy 8 Dec, 2022 @ 2:19pm 
Yeah, I was trying to avoid the whole 'acronym' thing, I got enough of that crap in the military... lol
< >
Showing 1-5 of 5 comments
Per page: 1530 50