hrsoft 0 Posted December 1, 2015 Share Posted December 1, 2015 Bei meinen xp10 10.42 werden fast alle Start-parameter abgespeichrt (z.b Flugplatz, Flugzeug, Wetter) aber nicht der Tag und die Uhrzeit. Es kommt immer der 22 März. Habe ich systemzeit angekreuzt, kommt natürlich die systemzeit. Dann kann man aber nicht die Uhrzeit verstellen. Weis jemand, wo x-plane diese parameter abspeichert? Im vorraus schon mal vielen Dank. Link to comment Share on other sites More sharing options...
Guest Posted December 2, 2015 Share Posted December 2, 2015 Hallo, X-Plane 10 speichert die Daten in den Preferences Dateien ab. Das sind die Dateien, die mit X-Plane beginnen und die Endung .prf haben. Ordner ...X-Plane 10 Hauptordner\output\preferences. Allerdings kann man die Uhrzeit bei der Wahl "Realzeit" nach dem Laden wieder verstellen. Menü - Umwelt - Datum und Uhrzeit. Dort dann bei "immer mit Echtzeit synchron" den Haken entfernen. Dann kann man auch die Uhrzeit verstellen. Ab der neuen Zeit läuft die Uhr dann natürlich weiter... Gruß heinz Link to comment Share on other sites More sharing options...
X-Friese 34 Posted December 2, 2015 Share Posted December 2, 2015 Für die Uhrzeit, das Datum und das Häkchen ob die aktuelle Zeit verwendet werden soll gibt es DataRefs. Man kann es also bei Bedarf auch über ein Script automatisch einstellen lassen. Also z. B. alle Flieger schwerer als 5,7t fliegen synchron zur realen Zeit, leichtere Flugzeuge nehmen nur das aktuelle Datum, starten (Laden des Fliegers) aber immer um neun Uhr morgens. Link to comment Share on other sites More sharing options...
hrsoft 0 Posted December 2, 2015 Author Share Posted December 2, 2015 Ich wollte eigentlich wissen, wo (an welcher Stelle) x-plane die konfiguration sichert (wahrscheinlich in xplane.prf.) habe mir auch schon ein flywithlua script geschrieben, dies wird aber beim Start von xp10 ignoriert und muss nach dem start nochmals geladen werden. Ich wollte eigentlich 2 verschiedene Start-Scenarien erstelen (einmal Herbst und einmal Sommer) wegen den bunten Bäumen. Link to comment Share on other sites More sharing options...
X-Friese 34 Posted December 2, 2015 Share Posted December 2, 2015 Die Funktion ein Script zu ignorieren habe ich in FlyWithLua gar nicht eingebaut. Was steht denn in der Log.txt? Da müsste sowas in dieser Art auftauchen: FlyWithLua: User switched to a new airport (or changed the plane). Script files have to be reloaded. FlyWithLua V2.4.2 nightly build Nov 22 2015 12:50:30 succesfully connected to XSquawkBox. FlyWithLua Info: Lua engine (re)started. LUA_RUN = 1, SDK_VERSION = 210, XPLANE_VERSION = 10410, XPLANE_LANGUAGE = German and XPLANE_HOSTID = 1 FlyWithLua Info: HID access initialized. FlyWithLua Info: Discovered 19 HID devices. FlyWithLua Info: Load ini file. FlyWithLua Info: Searching for Lua script files FlyWithLua Info: Sorting Lua script files FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/3D head positions.lua FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/3D head positions.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/HUD module test.lua FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/HUD module test.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/Heading_helper.lua FlyWithLua Info: The DataRef "sim/cockpit/autopilot/heading" is already handled in variable "HDG", you want to use it with "HH_heading". FlyWithLua Info: As long as only one variable wants writable access to the DataRef, it is okay (but you loose performance). FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/Heading_helper.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/HeliTrim.lua FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/HeliTrim.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/Instrumententest.lua FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/Instrumententest.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/Joystick_Sensitivity.lua FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/Joystick_Sensitivity.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/QNH_helper.lua FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/QNH_helper.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/VFR weather.lua FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/VFR weather.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/XSB_helper.lua FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/XSB_helper.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/anti rollover brake.lua FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/anti rollover brake.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/autopilot infoline.lua FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/autopilot infoline.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/bubble copilot.lua FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/bubble copilot.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/button_sniffer.lua FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/button_sniffer.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/call ATC on airport.lua FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/call ATC on airport.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/gpu.lua FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/gpu.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/keystroke_sniffer.lua FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/keystroke_sniffer.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/lean_helper.lua FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/lean_helper.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/memory heartbeat.lua FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/memory heartbeat.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/mixture_spline.lua FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/mixture_spline.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/program GPX files into FMC.lua FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/program GPX files into FMC.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/reload scenery.lua FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/reload scenery.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/show last metar and next airport.lua FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/show last metar and next airport.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/show pilots head info.lua FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/show pilots head info.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/transponder_helper.lua FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/transponder_helper.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/visual_trim_system.lua FlyWithLua Info: The DataRef "sim/cockpit2/controls/aileron_trim" is already handled in variable "aileron_trim", you want to use it with "VTS_aileron_trim". FlyWithLua Info: As long as only one variable wants writable access to the DataRef, it is okay (but you loose performance). FlyWithLua Info: The DataRef "sim/cockpit2/controls/elevator_trim" is already handled in variable "elevator_trim", you want to use it with "VTS_elevator_trim". FlyWithLua Info: As long as only one variable wants writable access to the DataRef, it is okay (but you loose performance). FlyWithLua Info: The DataRef "sim/cockpit2/controls/rudder_trim" is already handled in variable "rudder_trim", you want to use it with "VTS_rudder_trim". FlyWithLua Info: As long as only one variable wants writable access to the DataRef, it is okay (but you loose performance). FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/visual_trim_system.lua FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/zzzz_SetMyButtonsAndAxis (will kill your assignments).lua FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/zzzz_SetMyButtonsAndAxis (will kill your assignments).lua FlyWithLua Info: All script files loaded successfully. FlyWithLua Info: Loading time for all scripts is 0.729 sec. Wenn das Script ein Problem hat, wird es zwischen "Start loading ..." und "Finished loaing ..." vermerkt. Was macht denn dein Script genau? Die Datei X-Plane.prf darfst du auf keinen Fall editieren, verändert werden dürfen nur die DataRefs, denn das wirkt sich direkt aus und ist vom SDK so vorgesehen. In X-Plane auf Dateiebene hineinzugrätschen ist vermutlich nicht sinnvoll und kann zu unvorhergesehenem Verhalten führen. Im günstigsten Fall werden die Änderungen einfach durch X-Plane überschrieben, wenn es blöd kommt stürzt der Simulator ab. Link to comment Share on other sites More sharing options...
hrsoft 0 Posted December 2, 2015 Author Share Posted December 2, 2015 irgendwas mache ich verkehrt. die angehängte datei date.lua wird abgearbeitet, aber das datum ist immer der 22.märz. lässt man dann im flywithlua plugin alle lua-dateien nochmals laden, ist das datum wie gewünscht der 6.dezember. ich glaube, ich gebe auf Date.lua Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.