Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STI 2.0.0 Still crashes on 0.9.22.0.1 (Chinese client) #20

Open
tenyuhuang opened this issue May 11, 2018 · 0 comments
Open

STI 2.0.0 Still crashes on 0.9.22.0.1 (Chinese client) #20

tenyuhuang opened this issue May 11, 2018 · 0 comments

Comments

@tenyuhuang
Copy link

The issue has been around since the whole 1.9 branch; although someone has made a few modification to make it work with the Chinese World of Tanks client, none of those modifications were documented.

World of Tanks client information

client_ver=9.22.18323
sdcontent_ver=9.22.15069
lang=zh_cn

STI.log

2018-05-11 15:33:44,908 [8] INFO PackageStream - open package file scripts/item_defs/vehicles/china/list.xml from 
2018-05-11 15:33:44,912 [8] ERROR Program - an first chance exception occurred: 
System.NullReferenceException: 未将对象引用设置到对象的实例。
   在 Smellyriver.TankInspector.IO.PackageStream..ctor(String packageFile, String path)
2018-05-11 15:33:45,237 [8] ERROR Program - an first chance exception occurred: 
System.IO.FileNotFoundException: cannot find scripts/item_defs/vehicles/china/list.xml in 
   在 Smellyriver.TankInspector.IO.PackageStream..ctor(String packageFile, String path)
2018-05-11 15:33:45,399 [1] INFO HangarScene - hangar scene reset to (1280,377) 
2018-05-11 15:33:45,400 [1] INFO QuadRender - dispose
2018-05-11 15:33:45,401 [1] INFO QuadRender - new
2018-05-11 15:33:45,458 [1] FATAL MainWindowViewModel - database load failed
System.AggregateException: 发生一个或多个错误。 ---> System.IO.FileNotFoundException: cannot find scripts/item_defs/vehicles/china/list.xml in 
   在 Smellyriver.TankInspector.IO.PackageStream..ctor(String packageFile, String path)
   在 Smellyriver.TankInspector.IO.PackageStream..ctor(IPackageIndexer indexer, String path)
   在 Smellyriver.TankInspector.Modeling.NationalDatabase.LoadTankInfo()
   在 Smellyriver.TankInspector.Modeling.NationalDatabase..ctor(Database database, String key)
   在 Smellyriver.TankInspector.Modeling.Database.FullyLoad()
   在 Smellyriver.TankInspector.Modeling.Database.Load(Boolean fullyLoad, Nullable`1 currentDatabaseKey)
   在 Smellyriver.TankInspector.MainWindowViewModel.<>c.<BeginLoad>b__79_0()
   在 System.Threading.Tasks.Task.InnerInvoke()
   在 System.Threading.Tasks.Task.Execute()
   --- 内部异常堆栈跟踪的结尾 ---
---> (内部异常 #0) System.IO.FileNotFoundException: cannot find scripts/item_defs/vehicles/china/list.xml in 
   在 Smellyriver.TankInspector.IO.PackageStream..ctor(String packageFile, String path)
   在 Smellyriver.TankInspector.IO.PackageStream..ctor(IPackageIndexer indexer, String path)
   在 Smellyriver.TankInspector.Modeling.NationalDatabase.LoadTankInfo()
   在 Smellyriver.TankInspector.Modeling.NationalDatabase..ctor(Database database, String key)
   在 Smellyriver.TankInspector.Modeling.Database.FullyLoad()
   在 Smellyriver.TankInspector.Modeling.Database.Load(Boolean fullyLoad, Nullable`1 currentDatabaseKey)
   在 Smellyriver.TankInspector.MainWindowViewModel.<>c.<BeginLoad>b__79_0()
   在 System.Threading.Tasks.Task.InnerInvoke()
   在 System.Threading.Tasks.Task.Execute()<---

2018-05-11 15:33:45,460 [1] ERROR Program - an first chance exception occurred: 
System.InvalidOperationException: database load failed ---> System.AggregateException: 发生一个或多个错误。 ---> System.IO.FileNotFoundException: cannot find scripts/item_defs/vehicles/china/list.xml in 
   在 Smellyriver.TankInspector.IO.PackageStream..ctor(String packageFile, String path)
   在 Smellyriver.TankInspector.IO.PackageStream..ctor(IPackageIndexer indexer, String path)
   在 Smellyriver.TankInspector.Modeling.NationalDatabase.LoadTankInfo()
   在 Smellyriver.TankInspector.Modeling.NationalDatabase..ctor(Database database, String key)
   在 Smellyriver.TankInspector.Modeling.Database.FullyLoad()
   在 Smellyriver.TankInspector.Modeling.Database.Load(Boolean fullyLoad, Nullable`1 currentDatabaseKey)
   在 Smellyriver.TankInspector.MainWindowViewModel.<>c.<BeginLoad>b__79_0()
   在 System.Threading.Tasks.Task.InnerInvoke()
   在 System.Threading.Tasks.Task.Execute()
   --- 内部异常堆栈跟踪的结尾 ---
   --- 内部异常堆栈跟踪的结尾 ---
   在 Smellyriver.TankInspector.MainWindowViewModel.OnDatabaseLoaded()
2018-05-11 15:33:45,565 [1] ERROR Program - an first chance exception occurred: 
System.InvalidOperationException: database load failed ---> System.AggregateException: 发生一个或多个错误。 ---> System.IO.FileNotFoundException: cannot find scripts/item_defs/vehicles/china/list.xml in 
   在 Smellyriver.TankInspector.IO.PackageStream..ctor(String packageFile, String path)
   在 Smellyriver.TankInspector.IO.PackageStream..ctor(IPackageIndexer indexer, String path)
   在 Smellyriver.TankInspector.Modeling.NationalDatabase.LoadTankInfo()
   在 Smellyriver.TankInspector.Modeling.NationalDatabase..ctor(Database database, String key)
   在 Smellyriver.TankInspector.Modeling.Database.FullyLoad()
   在 Smellyriver.TankInspector.Modeling.Database.Load(Boolean fullyLoad, Nullable`1 currentDatabaseKey)
   在 Smellyriver.TankInspector.MainWindowViewModel.<>c.<BeginLoad>b__79_0()
   在 System.Threading.Tasks.Task.InnerInvoke()
   在 System.Threading.Tasks.Task.Execute()
   --- 内部异常堆栈跟踪的结尾 ---
   --- 内部异常堆栈跟踪的结尾 ---
   在 Smellyriver.TankInspector.MainWindowViewModel.OnDatabaseLoaded()
   在 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)

It seems that STI is struggling to locate the script package; manually extracting /res/packages/scripts.pkg to /res/scripts didn't work, either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant