jpcsupplies / Economy_mod

Basic Economy System for Space Engineers
13 stars 12 forks source link

[bug] LCD manager: textPanel.GetPublicTitle() does not populate except on newly placed #189

Closed jpcsupplies closed 4 years ago

jpcsupplies commented 5 years ago

https://github.com/jpcsupplies/Economy_mod/blob/master/Economy/Data/Scripts/Economy.scripts/Management/LcdManager.cs

Seems to be an issue in IMyTextPanel.GetPublicTitle() only being available to modAPI on newly placed LCDs on Dedicated servers. Existing LCDs will apparently not return anything useful to our scan code. The issue does not seem to occur if a player plays single player offline.

IMyTextPanel.CustomName does /appear/ to still be working as LCDs can still detect [economy] but not the data display keywords from Title.

jpcsupplies commented 5 years ago

Workaround: also scan Customname for the keywords. This still seems to be available with existing LCDs.

jpcsupplies commented 4 years ago

workaround seems only solution