MeSoftHorny / WTRTI

WarThunder Real-Time Information
https://mesofthorny.github.io/WTRTI/
171 stars 8 forks source link

Unable to display/log data other than numbers. #45

Closed Daedheldir closed 3 months ago

Daedheldir commented 10 months ago

It's impossible to display other data than numbers.

Being able to log values other that numbers would make it easier to perform data analysis using tools like excel pivot tables / power bi (e.g. combining logs into one file and filtering based on aircraft type / name / other attributes)


E.g. we create a new indicator to log aircraft type: Screenshot 2023-11-16 143329

In OSD / WTRTI it displays 0 instead of the string value from the State. Screenshot 2023-11-16 143724 Screenshot 2023-11-16 143848


The same happens when using Lua, it is impossible to display even a simple char:

function value_proc(in_value, value_idx) return 'a', true end

Screenshot 2023-11-16 144133


function value_proc(in_value, value_idx) return 10, true end

Screenshot 2023-11-16 144234

MeSoftHorny commented 10 months ago

Yes, it's currently limited to numbers only. The text 'values' in my todo-list. I will see if I have time to implement this in v2.3.

MeSoftHorny commented 3 months ago

Implemented in v2.3