Text with new LCD API via scripts not showing in a DS

Zurhydryh shared this bug 1 month ago
In Progress

While playing in a dedicated server, the LCD's do not display text written via a script in a programmable block.This applies for LCDs in cockpits, and any regular block LCDs using the new drawing API.

Comments (12)

photo
1

Hello, Engineer!


Thank you for your feedback! Your topic has been added between considered issues.

Please keep voting for the issue as it will help us to identify the most serious bugs.


We really appreciate your patience.


Kind Regards

Keen Software House: QA Department

photo
2

Based on what I've read people report - disconnect and reconnect refreshes the screen, but it stays static after that.

photo
1

Additionally, this happens with sprites drawn via scripts:


https://streamable.com/vxl48

photo
1

It does not only affect texts that are created with the API, but according to my observations, also texts that are written normally via the editor in the terminal.

photo
1

For anyone curious following this. You can still use traditional LCD panels and the WriteText() method for your updating displays in dedicated servers.

photo
1

Hello,

could anyone please upload a world or a blueprint with already set up script(s)? It would help us to report it faster.


Thanks in advance.

photo
2

Here is a blueprint with everything preconfigured.

photo
photo
2

To replicate the problem:

- Join a dedicated server

- Put a programmable block and a timer

- Load Automatic LCDs 2 in the programmable block

- Verify that it is working with a classic LCD Panel using the "Inventory" (without quotes) command in Custom Data

- Try on a cockpit screen or any other block with a screen (Control station, flight seat, pb itself, ...) using following commands in Custom Data :

@0 AutoLCD

Inventory


=> Sometimes something appears on the screen but it does not update

photo
1

hello, while testing the script I noticed that it did not show allied and neutral ships on the radar.
I tried to put it on another ship but it gave me the same problem, the ships were all naturally less than 600 meters away, and I checked the requirements several times.

photo
1

sorry, I was wrong to name the first image that, among other things, came very badly too:

Files: Ally.PNG
photo
photo
1

Joined my friend's game hosted by him. Non-dedicated server. I made a blueprint with a couple scripts loaded in, tested that everything worked in single player, but when we used it in multiplayer only the host could see the scripts update. The text doesn't get sent to clients. It updates every detail of a panel but not the text. All LCDs, cockpit LCDs, programmable block LCDs, etc don't update. Opening the panel shows there is no text but the host confirmed the panel is not blank and is updating for him.

photo
2

Can confirm this bug. This bug seems to apply to both DS and Non-DS and the problem only happens for the connected clients, not the host (Networking issue?). The screen is updated for the host but not the client until the client reconnects where the current displayed image/text will be refreshed and stay that way until you reconnect again. Using "IMyTextSurface.GetText()" will return the correct text that is supposed to be displayed.