@Viir can you please give me a hint what exactly determine how long bot is hovering above given module to read and parse modulename?
Scenario is: CPU under heavy load, bot is cycling on modules to read them, but bot moves to another module faster then needed for read/parse module name and save that to memAccu.ToolTipLast.
Thanks
edit:
Ok so the actual code
var moduleUnknown = MemoryMeasurementAccu?.ShipUiModule?.FirstOrDefault(module => null == module?.TooltipLast?.Value);
Is simply not enough to be sure that module is really recognized.
I was debugging it for couple of days, and what is happening is, that if bot is quicker than all information from ToolTip is read/parsed and he leaves to another module, then ToolTipLast IS populated, but not with all values, especially with crucial part
LabelText
Which is used on many places determining propulsion, repairers etc.
So what you wanna do to gather all needed is change that line above like this
var moduleUnknown = MemoryMeasurementAccu?.ShipUiModule?.FirstOrDefault(module => null == module?.TooltipLast?.Value?.LabelText?.Any());
This force bot to hover above modules as long as needed to ALL fields are filled with information.
It’s been a mystery really, but … hope it helps somebody.
Cheers