The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.0.30 (Linux)
|
Save game cannot load - Printable Version +- Forum (https://theairlineproject.net/forum) +-- Forum: Downloads (https://theairlineproject.net/forum/forumdisplay.php?fid=5) +--- Forum: Bug Reporting (https://theairlineproject.net/forum/forumdisplay.php?fid=9) +---- Forum: Bug Archive (https://theairlineproject.net/forum/forumdisplay.php?fid=24) +---- Thread: Save game cannot load (/showthread.php?tid=1302) |
Save game cannot load - Steegio - 01-06-2018 I am playing on version 10.7 and I cannot load a save-game. It crashes when I try to load it. This happens every time. See the error log below. Hope you guys have a solution to this! Thanks in advance. Error log: 1/6/2018: 9:31 AM System.FormatException: String was not recognized as a valid DateTime. at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles) at System.Convert.ToDateTime(String value, IFormatProvider provider) at TheAirlineProjectV2.Infrastructure.Model.TypeConverters.PeriodConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) in C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\TypeConverters\PeriodConverter.cs:line 31 at SQLiter.SQLiter.getObjectValue(Object type, Type otype) in C:\Users\Christian\Documents\Visual Studio 2017\Projects\SQLiter\SQLiter\SQLiter.cs:line 376 at SQLiter.SQLiter.getObjectValue(Object type, PropertyInfo property) in C:\Users\Christian\Documents\Visual Studio 2017\Projects\SQLiter\SQLiter\SQLiter.cs:line 334 at SQLiter.SQLiter.GetElement[T](SQLiteDataReader reader) in C:\Users\Christian\Documents\Visual Studio 2017\Projects\SQLiter\SQLiter\SQLiter.cs:line 261 at SQLiter.SQLiter.GetTable[T]() in C:\Users\Christian\Documents\Visual Studio 2017\Projects\SQLiter\SQLiter\SQLiter.cs:line 286 at TheAirlineProjectV2.Infrastructure.Model.LoadSaveModel.LoadSaveHelpers.LoadGame(String filename) in C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\LoadSaveModel\LoadSaveHelpers.cs:line 57 at TheAirlineProjectV2.Infrastructure.Model.LoadSaveModel.LoadSaveObject.loadGame(String filename) in C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\LoadSaveModel\LoadSaveObject.cs:line 169 at TheAirlineProjectV2.Modules.MainMenu.ViewModels.MainMenuWindowViewModel.LoadGameClicked() in C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Modules.MainMenu\ViewModels\MainMenuWindowViewModel.cs:line 676 at Prism.Commands.DelegateCommandBase.<>c__DisplayClass6_0.<.ctor>b__0(Object arg) at Prism.Commands.DelegateCommandBase.<Execute>d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Prism.Commands.DelegateCommandBase.<System-Windows-Input-ICommand-Execute>d__13.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Application.RunDispatcher(Object ignore) at System.Windows.Application.RunInternal(Window window) at TheAirlineProjectV2.App.Main() RE: Save game cannot load - pjank42 - 01-06-2018 I see that we have a couple of issues with loading and saving so I will try to fix them. And your log report helped me with one of them :-) RE: Save game cannot load - Tomcatter - 03-25-2018 When i start a new game (start game paused on day one for example 01.01.1995) i can save and load the game without problems, but when the game runs a few days and and i try to load a saved game then, it cant load anymore. Game time: 01.01.0001 00:00:00 Version: Version 2.11.4(Alpha) 25.03.2018: 15:20 System.FormatException: Die Zeichenfolge wurde nicht als gültiges DateTime erkannt. bei System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles) bei TheAirlineProjectV2.Infrastructure.Model.LoadSaveModel.Converters.LoansConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) in C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\LoadSaveModel\Converters\LoansConverter.cs:Zeile 34. bei SQLiter.SQLiter.getObjectValue(Object type, Type otype) in C:\Users\Christian\Documents\Visual Studio 2017\Projects\SQLiter\SQLiter\SQLiter.cs:Zeile 416. bei SQLiter.SQLiter.getObjectValue(Object type, PropertyInfo property) in C:\Users\Christian\Documents\Visual Studio 2017\Projects\SQLiter\SQLiter\SQLiter.cs:Zeile 374. bei SQLiter.SQLiter.GetElement[T](SQLiteDataReader reader) in C:\Users\Christian\Documents\Visual Studio 2017\Projects\SQLiter\SQLiter\SQLiter.cs:Zeile 268. bei SQLiter.SQLiter.GetTable[T]() in C:\Users\Christian\Documents\Visual Studio 2017\Projects\SQLiter\SQLiter\SQLiter.cs:Zeile 326. bei TheAirlineProjectV2.Infrastructure.Model.LoadSaveModel.LoadSaveHelpers.LoadGame(String filename) in C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\LoadSaveModel\LoadSaveHelpers.cs:Zeile 67. bei TheAirlineProjectV2.Infrastructure.Model.LoadSaveModel.LoadSaveObject.loadGame(String filename) in C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\LoadSaveModel\LoadSaveObject.cs:Zeile 191. bei TheAirlineProjectV2.Modules.MainMenu.ViewModels.MainMenuWindowViewModel.LoadGameClicked() in C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Modules.MainMenu\ViewModels\MainMenuWindowViewModel.cs:Zeile 717. bei MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated) bei System.Windows.Controls.Primitives.ButtonBase.OnClick() bei System.Windows.Controls.Button.OnClick() bei System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) bei System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) bei System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) bei System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) bei System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) bei System.Windows.Input.InputManager.ProcessStagingArea() bei System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) bei System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) bei System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) bei System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) bei System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) bei System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) bei MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) bei System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) bei System.Windows.Application.RunDispatcher(Object ignore) bei System.Windows.Application.RunInternal(Window window) bei TheAirlineProjectV2.App.Main() RE: Save game cannot load - pjank42 - 03-25-2018 Another issue with loading of games which haven't been noticed before. It happens when you try to load a saved game with loans in it |