PDA

View Full Version : Error thrown by DesktopManager.showDockTitleText(true);



dstuffle
March 23rd, 2024, 00:57
I'm taking a look at getting an ext for MoreCore running right. On Init the ext throws an error on this command: DesktopManager.showDockTitleText(true);

Message shown in console: [ERROR] Script execution error: [string "MCSR5e:scripts/data_library_sr5.lua"]:3: attempt to call field 'showDockTitleText' (a nil value)

What do I need to do to fix this?

Moon Wizard
March 23rd, 2024, 01:48
That must be a fairly old extension, since that function hasn't been around for a couple years and the sidebar has changed dramatically. You'll have to update the extension to remove that function, and use the latest. I would look at some of the automatically included extensions (FG - Classic, FG - Light, etc.) to see how they set the colors up using ColorManager.

Regards,
JPG