02-25-2017, 11:22 AM
(This post was last modified: 02-25-2017, 12:08 PM by 2466254711.)
(02-25-2017, 09:57 AM)pjank42 Wrote: It seems like it is because it can't read one of the weather files because of a "strange" letter.
So try to locate C:\Users\liuhongyu\Desktop\TAPv2 Prealpha 2\Prealpha\data\general\weather\Grimsey.xml and remove that file (or rename it so you change the odd symbol over the i in the filename)
Hi!
Thank you so much! I can start the game now! I find that my computer will automatically generate strange Chinese words while dealing with letters with phonetics. So I replaces several of them and everything solved!
(02-25-2017, 09:57 AM)pjank42 Wrote: It seems like it is because it can't read one of the weather files because of a "strange" letter.
So try to locate C:\Users\liuhongyu\Desktop\TAPv2 Prealpha 2\Prealpha\data\general\weather\Grimsey.xml and remove that file (or rename it so you change the odd symbol over the i in the filename)
But I am unable to buy any second hand plane since Every time I click the button, the game brakes down...
2017/2/25: 20:05 C:\Users\liuhongyu\Desktop\TAPv2 Prealpha 2\Prealpha\data
2017/2/25: 20:06 System.FormatException: 输入字符串的格式不正确。
在 System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
在 System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
在 System.Convert.ToInt32(String value)
在 TheAirlineProjectV2.Infrastructure.Model.HelpersModel.CountryHelpers.<>c.<GetAirlinerTailnumber>b__3_1(Airliner a) 位置 C:\Users\Christian\documents\visual studio 2015\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\HelpersModel\CountryHelpers.cs:行号 123
在 System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
在 System.Linq.Enumerable.Max(IEnumerable`1 source)
在 TheAirlineProjectV2.Infrastructure.Model.HelpersModel.CountryHelpers.GetAirlinerTailnumber(Country country) 位置 C:\Users\Christian\documents\visual studio 2015\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\HelpersModel\CountryHelpers.cs:行号 123
在 TheAirlineProjectV2.Modules.Airliners.ViewModels.UsedAirlinersViewModel.BuyAircraftClicked() 位置 C:\Users\Christian\documents\visual studio 2015\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Modules.Airliners\ViewModels\UsedAirlinersViewModel.cs:行号 122
在 Prism.Commands.DelegateCommandBase.<>c__DisplayClass6_0.<.ctor>b__0(Object arg)
在 Prism.Commands.DelegateCommandBase.<Execute>d__15.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Prism.Commands.DelegateCommandBase.<System-Windows-Input-ICommand-Execute>d__13.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
在 System.Windows.Threading.DispatcherOperation.InvokeImpl()
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Windows.Threading.DispatcherOperation.Invoke()
在 System.Windows.Threading.Dispatcher.ProcessQueue()
在 System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
在 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
在 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
在 System.Windows.Application.RunDispatcher(Object ignore)
在 System.Windows.Application.RunInternal(Window window)
在 TheAirlineProjectV2.App.Main() 位置 C:\Users\Christian\documents\visual studio 2015\Projects\TheAirlineProjectV2\TheAirlineProjectV2\obj\x64\Debug\App.g.cs:行号 0