swift-project / pilotclient

Cross-platform cross-simulator pilot client for virtual air traffic networks
https://swift-project.org
GNU General Public License v3.0
94 stars 28 forks source link

[XP12] New Datarefs should be used #296

Open AirLuSa opened 3 months ago

AirLuSa commented 3 months ago

In the Log.txt file it is mentioned that xswiftbus should use new datarefs. See extract with all the relevant data refs:

[XSwiftBus]: Dataref 'sim/flightmodel2/controls/flap_handle_deploy_ratio' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/barometer_sealevel_inhg' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/use_real_weather_bool' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/visibility_reported_m' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/rain_percent' has been replaced. Please use the new name. Missing dataref:sim/weather/thunderstorm_percent [XSwiftBus]: Dataref 'sim/weather/wind_turbulence_percent' is deprecated and will be removed in a future version. [XSwiftBus]: Dataref 'sim/weather/temperature_sealevel_c' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/dewpoi_sealevel_c' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/runway_friction' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/cloud_base_msl_m[0]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/cloud_tops_msl_m[0]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/cloud_type[0]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/cloud_coverage[0]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/cloud_base_msl_m[1]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/cloud_tops_msl_m[1]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/cloud_type[1]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/cloud_coverage[1]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/cloud_base_msl_m[2]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/cloud_tops_msl_m[2]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/cloud_type[2]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/cloud_coverage[2]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/wind_altitude_msl_m[0]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/wind_direction_degt[0]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/wind_speed_kt[0]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/shear_direction_degt[0]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/shear_speed_kt[0]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/turbulence[0]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/wind_altitude_msl_m[1]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/wind_direction_degt[1]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/wind_speed_kt[1]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/shear_direction_degt[1]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/shear_speed_kt[1]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/turbulence[1]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/wind_altitude_msl_m[2]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/wind_direction_degt[2]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/wind_speed_kt[2]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/shear_direction_degt[2]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/shear_speed_kt[2]' has been replaced. Please use the new name. [XSwiftBus]: Dataref 'sim/weather/turbulence[2]' has been replaced. Please use the new name.

ltoenning commented 1 week ago

With the next version, swift does not use the weather datarefs anymore. Therefore only sim/flightmodel2/controls/flap_handle_deploy_ratio needs to be replaced.

I do not own X-Plane 12, so I cannot work on this right now.

AirLuSa commented 1 week ago

looked it up and the new data ref is the following: sim/cockpit2/controls/flap_system_deploy_ratio