PDA

View Full Version : BUG (MGT2): Frames not displaying correctly in Starship Combat Tracker



bhvanroekel
July 7th, 2020, 17:00
Not sure if I should post here, or in the FGU support forum.

So, I have started playing the MGT2 ruleset, and I have found an issue when adding a starship to the combat tracker. The frames with numbers are not displaying correctly. (See Image)

37495

I am running on MacOS Catalina, and using Unity.

Here is my console log:


[7/7/2020 11:40:44 AM] [WARNING] Could not load script file (MGT2) (spacecraft_main) (/ref/scripts/spacecraft_main.lua)
[7/7/2020 11:41:12 AM] [WARNING] Could not load script file (MGT2) (spacecraft_main) (/ref/scripts/spacecraft_main.lua)
[7/7/2020 11:42:58 AM] [WARNING] Could not load script file (MGT2) (spacecraft_main) (/ref/scripts/spacecraft_main.lua)
[7/7/2020 11:44:53 AM] [WARNING] template: Could not find template (charspacecraft_label) in class (ct_shipentry)
[7/7/2020 11:44:53 AM] [WARNING] template: Could not find template (charspacecraft_critdamageradioh) in class (ct_shipentry)
[7/7/2020 11:44:53 AM] [WARNING] template: Could not find template (charspacecraft_label_fieldleft) in class (ct_shipentry)
[7/7/2020 11:44:53 AM] [WARNING] template: Could not find template (charspacecraft_label_fieldright) in class (ct_shipentry)
[7/7/2020 11:44:53 AM] [WARNING] template: Could not find template (charspacecraft_critdamageradioh) in class (ct_shipentry)
[7/7/2020 11:44:53 AM] [WARNING] template: Could not find template (charspacecraft_label_fieldleft) in class (ct_shipentry)
[7/7/2020 11:44:53 AM] [WARNING] template: Could not find template (charspacecraft_label_fieldright) in class (ct_shipentry)
[7/7/2020 11:44:53 AM] [WARNING] template: Could not find template (charspacecraft_string) in class (ct_shipentry)
[7/7/2020 11:44:53 AM] [WARNING] template: Could not find template (charspacecraft_label_fieldleft) in class (ct_shipentry)
[7/7/2020 11:44:53 AM] [WARNING] buttoncontrol: Could not find normal icon (arrowup) in control (crit_forward) in class (ct_shipentry)
[7/7/2020 11:44:53 AM] [WARNING] buttoncontrol: Could not find icon (arrowup) in control (crit_forward) in class (ct_shipentry)
[7/7/2020 11:44:53 AM] [WARNING] template: Could not find template (charspacecraft_critdamageradioh) in class (ct_shipentry)
[7/7/2020 11:44:53 AM] [WARNING] buttoncontrol: Could not find normal icon (arrowdown) in control (crit_aft) in class (ct_shipentry)
[7/7/2020 11:44:53 AM] [WARNING] buttoncontrol: Could not find icon (arrowdown) in control (crit_aft) in class (ct_shipentry)
[7/7/2020 11:44:53 AM] [WARNING] template: Could not find template (charspacecraft_critdamageradioh) in class (ct_shipentry)
[7/7/2020 11:44:53 AM] [WARNING] template: Could not find template (charspacecraft_label_fieldleft) in class (ct_shipentry)
[7/7/2020 11:44:53 AM] [WARNING] template: Could not find template (charspacecraft_label_fieldright) in class (ct_shipentry)
[7/7/2020 11:44:53 AM] [<color="red">ERROR</color>] Script execution error: [string "ct/scripts/ct_shipentry.lua"]:375: attempt to index global 'ct_label_attacks' (a nil value)
[7/7/2020 11:44:53 AM] [<color="red">ERROR</color>] Script execution error: [string "ct/scripts/ct_shipentry.lua"]:326: attempt to index global 'ct_label_crew' (a nil value)
[7/7/2020 11:44:53 AM] [<color="red">ERROR</color>] window: Control (crit_forward) anchoring to an undefined control (label_critdmg_weapons) in windowclass (ct_shipentry)
[7/7/2020 11:44:53 AM] [<color="red">ERROR</color>] window: Control (crit_forward) anchoring to an undefined control (label_critdmg_weapons) in windowclass (ct_shipentry)
[7/7/2020 11:44:53 AM] [<color="red">ERROR</color>] window: Control (crit_aft) anchoring to an undefined control (shields_critdmg_forward_radio) in windowclass (ct_shipentry)
[7/7/2020 11:44:53 AM] [<color="red">ERROR</color>] window: Control (crit_aft) anchoring to an undefined control (shields_critdmg_forward_radio) in windowclass (ct_shipentry)
[7/7/2020 11:44:53 AM] [<color="red">ERROR</color>] window: Control (crit_port) anchoring to an undefined control (shields_critdmg_aft_radio) in windowclass (ct_shipentry)
[7/7/2020 11:44:53 AM] [<color="red">ERROR</color>] window: Control (crit_port) anchoring to an undefined control (shields_critdmg_aft_radio) in windowclass (ct_shipentry)
[7/7/2020 11:44:53 AM] [<color="red">ERROR</color>] window: Control (crit_starboard) anchoring to an undefined control (shields_critdmg_port_radio) in windowclass (ct_shipentry)
[7/7/2020 11:44:53 AM] [<color="red">ERROR</color>] window: Control (crit_starboard) anchoring to an undefined control (shields_critdmg_port_radio) in windowclass (ct_shipentry)
[7/7/2020 11:44:53 AM] [<color="red">ERROR</color>] window: Control (frame_defensive) anchoring to an undefined control (label_critdmg_weapons) in windowclass (ct_shipentry)
[7/7/2020 11:44:59 AM] [<color="red">ERROR</color>] window: Control (crit_forward) anchoring to an undefined control (label_critdmg_weapons) in windowclass (ct_shipentry)
[7/7/2020 11:44:59 AM] [<color="red">ERROR</color>] window: Control (crit_forward) anchoring to an undefined control (label_critdmg_weapons) in windowclass (ct_shipentry)
[7/7/2020 11:44:59 AM] [<color="red">ERROR</color>] window: Control (crit_aft) anchoring to an undefined control (shields_critdmg_forward_radio) in windowclass (ct_shipentry)
[7/7/2020 11:44:59 AM] [<color="red">ERROR</color>] window: Control (crit_aft) anchoring to an undefined control (shields_critdmg_forward_radio) in windowclass (ct_shipentry)
[7/7/2020 11:44:59 AM] [<color="red">ERROR</color>] window: Control (crit_port) anchoring to an undefined control (shields_critdmg_aft_radio) in windowclass (ct_shipentry)
[7/7/2020 11:44:59 AM] [<color="red">ERROR</color>] window: Control (crit_port) anchoring to an undefined control (shields_critdmg_aft_radio) in windowclass (ct_shipentry)
[7/7/2020 11:44:59 AM] [<color="red">ERROR</color>] window: Control (crit_starboard) anchoring to an undefined control (shields_critdmg_port_radio) in windowclass (ct_shipentry)
[7/7/2020 11:44:59 AM] [<color="red">ERROR</color>] window: Control (crit_starboard) anchoring to an undefined control (shields_critdmg_port_radio) in windowclass (ct_shipentry)
[7/7/2020 11:44:59 AM] [<color="red">ERROR</color>] window: Control (frame_defensive) anchoring to an undefined control (label_critdmg_weapons) in windowclass (ct_shipentry)
[7/7/2020 11:45:00 AM] [<color="red">ERROR</color>] window: Control (crit_forward) anchoring to an undefined control (label_critdmg_weapons) in windowclass (ct_shipentry)
[7/7/2020 11:45:00 AM] [<color="red">ERROR</color>] window: Control (crit_forward) anchoring to an undefined control (label_critdmg_weapons) in windowclass (ct_shipentry)
[7/7/2020 11:45:00 AM] [<color="red">ERROR</color>] window: Control (crit_aft) anchoring to an undefined control (shields_critdmg_forward_radio) in windowclass (ct_shipentry)
[7/7/2020 11:45:00 AM] [<color="red">ERROR</color>] window: Control (crit_aft) anchoring to an undefined control (shields_critdmg_forward_radio) in windowclass (ct_shipentry)
[7/7/2020 11:45:00 AM] [<color="red">ERROR</color>] window: Control (crit_port) anchoring to an undefined control (shields_critdmg_aft_radio) in windowclass (ct_shipentry)
[7/7/2020 11:45:00 AM] [<color="red">ERROR</color>] window: Control (crit_port) anchoring to an undefined control (shields_critdmg_aft_radio) in windowclass (ct_shipentry)
[7/7/2020 11:45:00 AM] [<color="red">ERROR</color>] window: Control (crit_starboard) anchoring to an undefined control (shields_critdmg_port_radio) in windowclass (ct_shipentry)
[7/7/2020 11:45:00 AM] [<color="red">ERROR</color>] window: Control (crit_starboard) anchoring to an undefined control (shields_critdmg_port_radio) in windowclass (ct_shipentry)
[7/7/2020 11:45:00 AM] [<color="red">ERROR</color>] window: Control (frame_defensive) anchoring to an undefined control (label_critdmg_weapons) in windowclass (ct_shipentry)
[7/7/2020 11:45:23 AM] [<color="red">ERROR</color>] Script execution error: [string "ct/scripts/ct_shipentry.lua"]:375: attempt to index global 'ct_label_attacks' (a nil value)
[7/7/2020 11:45:23 AM] [<color="red">ERROR</color>] window: Control (crit_forward) anchoring to an undefined control (label_critdmg_weapons) in windowclass (ct_shipentry)
[7/7/2020 11:45:23 AM] [<color="red">ERROR</color>] window: Control (crit_forward) anchoring to an undefined control (label_critdmg_weapons) in windowclass (ct_shipentry)
[7/7/2020 11:45:23 AM] [<color="red">ERROR</color>] window: Control (crit_aft) anchoring to an undefined control (shields_critdmg_forward_radio) in windowclass (ct_shipentry)
[7/7/2020 11:45:23 AM] [<color="red">ERROR</color>] window: Control (crit_aft) anchoring to an undefined control (shields_critdmg_forward_radio) in windowclass (ct_shipentry)
[7/7/2020 11:45:23 AM] [<color="red">ERROR</color>] window: Control (crit_port) anchoring to an undefined control (shields_critdmg_aft_radio) in windowclass (ct_shipentry)
[7/7/2020 11:45:23 AM] [<color="red">ERROR</color>] window: Control (crit_port) anchoring to an undefined control (shields_critdmg_aft_radio) in windowclass (ct_shipentry)
[7/7/2020 11:45:23 AM] [<color="red">ERROR</color>] window: Control (crit_starboard) anchoring to an undefined control (shields_critdmg_port_radio) in windowclass (ct_shipentry)
[7/7/2020 11:45:23 AM] [<color="red">ERROR</color>] window: Control (crit_starboard) anchoring to an undefined control (shields_critdmg_port_radio) in windowclass (ct_shipentry)
[7/7/2020 11:45:23 AM] [<color="red">ERROR</color>] window: Control (frame_defensive) anchoring to an undefined control (label_critdmg_weapons) in windowclass (ct_shipentry)

MadBeardMan
July 7th, 2020, 19:32
Hello,

Starship CT is not part of Traveller atm.

The button placed in the CT can be ignored until the extensions are in place. I hope to finish the draft this week.

Thanks,
MBM

bhvanroekel
July 7th, 2020, 19:33
Good to know. Thanks!

MadBeardMan
July 7th, 2020, 19:37
Hello again,

I should remove the button (forgot) but soon it'll be working.

The extensions are for testing of it, once everyone is happy they'll be rolled into the main rulset.

At the moment the extension does the following:

Adds PC Ship to the Sidebar.
Shows a CT window for Spacecraft, plus the phases are supported
Allows dragging of a PC Ship or an NPC Ship (from the Spacecraft list)

If people are happy with the very basics, I'll add them later tonight, just sorting through dinner here.

Cheers,
MBM