EDIT by PIZMAN82..... Rework the Picture Links..... Please use correct ones next time !
Hi Pizman,
in the end I decided to replace the normal digits instead original ones which, among other things, in case of breakage, I could replace them without problems.
In the meantime the developer has also sent me the ipc.lvars for the 5 displays of the fuel quantity, but as usual other problems.
In my lvars for outputs file I assigned some free offsets to the ipc and then I announced them as you see below.
Everything ok in the outputs I see the values but not correct. Only two of these are correct (the gross weight and the right tanks)
from MaddogX.lua
............
-- ############### FQTY
function md_ipc_fuelleft (varname, value) ipc.writeSTR(0x693A, value) end
function md_ipc_fuelright (varname, value) ipc.writeSTR(0x693B, value) end
function md_ipc_fuelcenter (varname, value) ipc.writeSTR(0x693C, value) end
function md_ipc_fueltotal (varname, value) ipc.writeSTR(0x693D, value) end
function md_ipc_weight (varname, value) ipc.writeSTR(0x693E, value) end
-- ############### FQTY
event.Lvar("md_ipc_fuelleft", lvps, "md_ipc_fuelleft") -- (string) | offset = 0x693A | type = string | size = STR, 4 | substring 0 - 4
event.Lvar("md_ipc_fuelright", lvps, "md_ipc_fuelright") -- (string) | offset = 0x693B | type = string | size = STR, 4 | substring 0 - 4
event.Lvar("md_ipc_fuelcenter", lvps, "md_ipc_fuelcenter") -- (string) | offset = 0x693C | type = string | size = STR, 4 | substring 0 - 4
event.Lvar("md_ipc_fueltotal", lvps, "md_ipc_fueltotal") -- (string) | offset = 0x693D | type = string | size = STR, 5 | substring 0 - 5
event.Lvar("md_ipc_weight", lvps, "md_ipc_weight") -- (string) | offset = 0x693E | type = string | size = STR, 5 | substring 0 - 5
this is what i see in virtual cockpit
this is the output values from mobiflght
this is the settings
Is correct what i do?
thank you
Simone