Reading the crash code - 2466254711 - 05-04-2020
Code: Game time: 0001/1/1 0:00:00
Version: Version 2.14.2 Patch C (Alpha)
2020/5/4: 20:36 System.Xml.XmlException: 给定编码中的字符无效。 第 1 行,位置 38。
在 System.Xml.XmlTextReaderImpl.Throw(Exception e)
在 System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
在 System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount)
在 System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount)
在 System.Xml.XmlTextReaderImpl.ReadData()
在 System.Xml.XmlTextReaderImpl.ParseDocumentContent()
在 System.Xml.XmlTextReaderImpl.Read()
在 System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
在 System.Xml.XmlDocument.Load(XmlReader reader)
在 System.Xml.XmlDocument.Load(String filename)
在 TheAirlineProjectV2.Infrastructure.Model.GeneralModel.Setup.LoadCountryRelationsFromFile(String filename) 位置 D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Infrastructure\Model\GeneralModel\Setup.cs:行号 430
在 TheAirlineProjectV2.Infrastructure.Model.GeneralModel.Setup.SetupCountryRelations() 位置 D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Infrastructure\Model\GeneralModel\Setup.cs:行号 424
在 TheAirlineProjectV2.Infrastructure.Model.GeneralModel.Setup.SetupGame() 位置 D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Infrastructure\Model\GeneralModel\Setup.cs:行号 65
在 TheAirlineProjectV2.Bootstrapper.InitializeShell() 位置 D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2\Bootstrapper.cs:行号 40
在 Prism.Unity.UnityBootstrapper.Run(Boolean runWithDefaultConfiguration)
在 Prism.Bootstrapper.Run()
在 TheAirlineProjectV2.App.OnStartup(StartupEventArgs e) 位置 D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2\App.xaml.cs:行号 27
在 System.Windows.Application.<.ctor>b__1_0(Object unused)
在 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.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
在 MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
在 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.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
在 System.Windows.Application.RunDispatcher(Object ignore)
在 System.Windows.Application.RunInternal(Window window)
在 System.Windows.Application.Run(Window window)
在 System.Windows.Application.Run()
在 TheAirlineProjectV2.App.Main()
Hello!
I've just installed the new version of your game! I love your work as always! This is probably a problem exclusive to my own bit-up laptop. The game crashed and gave me this crash code. The Chinese on the third line roughly translates to "certain characters in the code is invalid." I cannot find any file named System.xml.xml, so would you mind to tell me where to find this invalid character? And what should I do when I find it?
Thank you for your time!
RE: Reading the crash code - Tjoeker - 05-04-2020
System.xml(.xml) is not a file by us, but by Windows. It's a bit strange it is crashing there.
I believe it crashes while you're trying to start a game, rather than launching the program?
If so, you can try removing all files in: data/general/countryrelations (make a back up of this folder!)
If it works it likely has trouble reading one or all of these files. Unfortunately the crash report doesn't tell us which file it is.
You can run the game without these files, but you'll find that demand drops drastically on all routes.
You can, if you want, try to put the files back in. Try to figure out which file is causing the issue, and tell it to me so I can take a closer look.
Another thing you can do is just tell me which year you're trying to launch the game and see if it causes an issue for me too.
If this doesn't work I suggest just reverting to Patch B sadly. After all Patch C fixes only one thing and it was not game breaking: the taxes were about 8 times too high in the later years.
RE: Reading the crash code - 2466254711 - 05-05-2020
(05-04-2020, 01:45 PM)Tjoeker Wrote: System.xml(.xml) is not a file by us, but by Windows. It's a bit strange it is crashing there.
I believe it crashes while you're trying to start a game, rather than launching the program?
If so, you can try removing all files in: data/general/countryrelations (make a back up of this folder!)
If it works it likely has trouble reading one or all of these files. Unfortunately the crash report doesn't tell us which file it is.
You can run the game without these files, but you'll find that demand drops drastically on all routes.
You can, if you want, try to put the files back in. Try to figure out which file is causing the issue, and tell it to me so I can take a closer look.
Another thing you can do is just tell me which year you're trying to launch the game and see if it causes an issue for me too.
If this doesn't work I suggest just reverting to Patch B sadly. After all Patch C fixes only one thing and it was not game breaking: the taxes were about 8 times too high in the later years. It crashed when I was launching the program. I double-clicked the .exe and nothing happened. I tried to remove the countryrelations file and then it just told me that it cannot find the files in that folder anymore. Probably it has something to do with my computer? I have no idea. I think it is better for me to go back to Patch B so far. Thank you anyway!
RE: Reading the crash code - Tjoeker - 05-05-2020
I'm sorry patch C doesn't work for you for some reason.
I will of course make sure TAP NG works for everyone.
|