ModBahuang / ModBahuang

64 stars 23 forks source link

更新版本v0.8.2022.271后,报错 #19

Closed SohyunKing closed 3 years ago

SohyunKing commented 3 years ago

今天更新版本v0.8.2022.271后,install,打开游戏出现如下问题: image 如果其他人没有遇到问题,直接关了吧,可能是我mod加载太多,只是来问问是不是出错了。

yxmline commented 3 years ago

又更新一下,确认是Villain.dll失效 v0.8.2023.272 [21:57:04.071] [Villain] Mod loadded in dump mode, no patch applied. [21:57:04.498] [Villain] [ERROR] Assertion ("Must have only 1 proper constructor(0)") just failed. It might be caused by game update or pragram bugs, please consider contacting me. [21:57:04.529] [Villain] [ERROR] System.TypeInitializationException: The type initializer for 'Villain.ConfClassRecordStore' threw an exception. ---> Villain.AssertionFailedException: Assertion ("Must have only 1 proper constructor(0)") just failed. It might be caused by game update or pragram bugs, please consider contacting me. at Villain.Logger.Assert (System.Boolean cond, System.Func1[TResult] f) [0x0001a] in :0 at Villain.ConfClassRecordStore+Collector.GetProperConstructorToken (dnlib.DotNet.TypeDef itemType, System.Reflection.ConstructorInfo info) [0x00077] in :0 at Villain.ConfClassRecordStore+Collector+d__2.MoveNext () [0x00126] in :0 at System.Linq.Lookup2[TKey,TElement].Create (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] keySelector, System.Collections.Generic.IEqualityComparer1[T] comparer) [0x0002b] in :0 at System.Linq.Enumerable.ToLookup[TSource,TKey] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] keySelector, System.Collections.Generic.IEqualityComparer1[T] comparer) [0x0001c] in <fbb5ed17eb6e46c680000f8910ebb50c>:0 at System.Linq.Enumerable.ToLookup[TSource,TKey] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] keySelector) [0x00000] in <fbb5ed17eb6e46c680000f8910ebb50c>:0 at Villain.ConfClassRecordStore..cctor () [0x0004f] in <d97cbfb882724c19a5c8d6bfdc86e996>:0 --- End of inner exception stack trace --- at Villain.PatchManager.ApplyAll () [0x00000] in <d97cbfb882724c19a5c8d6bfdc86e996>:0 at Villain.Villain.OnApplicationLateStart () [0x0001b] in <d97cbfb882724c19a5c8d6bfdc86e996>:0 at MelonLoader.MelonHandler.OnApplicationLateStart_Mods () [0x00030] in <5e4356e46df04784a8e670b09b6aa8c3>:0

waterpop commented 3 years ago

是在更新后游戏有些项用了数组导致的,已经在 b55fa9fba4d79d33a662693e8997358ae3961d62 临时的处理了这些新加的数组类型,但没有彻底的从根源上解决。