PDA

View Full Version : Small glitch in the Client Combat Tracker



Mephisto
September 17th, 2024, 09:56
(Repost to maintain visibility)

Hi there,
I found a small glitch in the 3.5E and 5E Client Combat tracker. The "initresult" control is bound to the "healtbase" control and pushed out to the left by the "healthbase" control. If the option to show combat details for allies and NPC is set to "Off", the header labels are adjusted and the "Init" label moves to the right but the control is staying at the left side because the "healthbase" control is not set to be invisible.

As a quick fix in my rulesets, I added this code to "clientct_entry.lua":



if OptionsManager.getOption("SHPC")=="off" and OptionsManager.getOption("SHNPC")=="off" then
healthbase.setVisible(false)
else
healthbase.setVisible(true)
end

Moon Wizard
September 17th, 2024, 16:35
I'll push an update with the other updates today.

Regards,
JPG