麻烦大佬帮忙看看啊,开局一移动就红字,快崩溃了,麻烦大佬了 谢谢了
求大佬解惑啊 谢谢了2022-09-26 10:34:13.5408|ERROR|Main|GameData.Program|System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.Collections.Generic.KeyNotFoundException: The given key '-1' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at GameData.Domains.Item.ItemDomain.GetElement_SkillBooks(Int32 objectId) in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\game-data\GameData\Domains\Item\ItemDomain_FieldHelper.cs:line 2301
at GameData.Domains.Taiwu.TaiwuDomain.GetBaseReadingSpeed(Byte curReadingPage) in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\game-data\GameData\Domains\Taiwu\TaiwuDomain_Calc_Reading.cs:line 503
at GameData.Domains.Taiwu.TaiwuDomain.UpdateLifeSkillBookReadingProgress(DataContext context, SkillBook book, ReadingBookStrategies strategies, Boolean isInBattle) in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\game-data\GameData\Domains\Taiwu\TaiwuDomain_Calc_Reading.cs:line 933
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at ReadAll.TaiwuDomain_UpdateReadingProgressOnMonthChange_Patch.Postfix(DataContext context)
at DMD<GameData.Domains.Taiwu.TaiwuDomain::UpdateReadingProgressOnMonthChange>(TaiwuDomain this, DataContext context)
at TwMd.TaiwuMod_Test.ReadDay.Prefix(WorldDomain __instance, SByte& value, DataContext& context)
at DMD<GameData.Domains.World.WorldDomain::SetDaysInCurrMonth>(WorldDomain this, SByte value, DataContext context)
at GameData.Domains.World.WorldDomain.AdvanceDaysInMonth(DataContext context, Int32 days)
at GameData.Domains.Map.MapDomain.Move(DataContext context, Int16 destBlockId, Boolean notCostTime)
at GameData.Domains.Map.MapDomain.Move(DataContext context, Int16 destBlockId)
at GameData.Domains.Map.MapDomain.CallMethod(Operation operation, RawDataPool argDataPool, RawDataPool returnDataPool, DataContext context)
at GameData.GameDataBridge.GameDataBridge.ProcessMethodCall(Operation operation, RawDataPool argDataPool, DataContext context)
at GameData.GameDataBridge.GameDataBridge.ProcessOperations(DataContext context)
at GameData.GameDataBridge.GameDataBridge.RunMainLoop()
at GameData.Program.Main(String[] args)
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
GameData.GameDataBridge.GameDataBridge:CheckErrorMessages()
GameData.GameDataBridge.UnityAdapter.GameDataBridgeUnityAdapter:Update()
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45)
显示的这个
每天读书mod取消 小透明啊 发表于 2022-9-27 10:25
每天读书mod取消
谢谢大佬
页:
[1]