rimworld吧 关注:280,737贴子:5,184,882
  • 17回复贴,共1

求大佬帮我看日记,自己看不懂QAQ,(小人不自己吃饭)

只看楼主收藏回复

Exception in Verse.AI.ThinkNode_Priority.TryIssueJobPackage: System.NotImplementedException: The method or operation is not implemented.
[Ref 4DB15495]
at Gastronomy.Dining.DiningSpot.get_DispensableDef () [0x00000] in <b054b553719642b589b9bb1f9b2831f2>:0
at Kz.KemomimiFoodUtility.GetFinalIngestibleDef (Verse.Thing foodSource, System.Boolean harvest) [0x0000a] in <b9f245e209ef4150ace99d482c24acdc>:0
at Kz.KemomimiFoodUtility.SpawnedFoodSearchInnerScan (Verse.Pawn getter, Verse.Pawn eater, Verse.IntVec3 root, System.Collections.Generic.List`1[T] searchSet, Verse.AI.PathEndMode peMode, Verse.TraverseParms traverseParams, System.Single maxDistance, System.Predicate`1[T] validator) [0x00091] in <b9f245e209ef4150ace99d482c24acdc>:0
at Kz.KemomimiFoodUtility.BestFoodSourceOnMap (Verse.Pawn getter, Verse.Pawn eater, System.Boolean desperate, Verse.ThingDef& foodDef, RimWorld.FoodPreferability maxPref, System.Boolean allowPlant, System.Boolean allowDrug, System.Boolean allowCorpse, System.Boolean allowDispenserFull, System.Boolean allowDispenserEmpty, System.Boolean allowForbidden, System.Boolean allowSociallyImproper, System.Boolean allowHarvest, System.Boolean forceScanWholeMap, System.Boolean ignoreReservations, System.Boolean calculateWantedStackCount, RimWorld.FoodPreferability minPrefOverride, System.Nullable`1[T] minNutrition, System.Boolean allowVenerated) [0x001f2] in <b9f245e209ef4150ace99d482c24acdc>:0
at Kz.KemomimiFoodUtility.TryFindBestFoodSourceFor (Verse.Pawn getter, Verse.Pawn eater, System.Boolean desperate, Verse.Thing& foodSource, Verse.ThingDef& foodDef, System.Boolean canRefillDispenser, System.Boolean canUseInventory, System.Boolean canUsePackAnimalInventory, System.Boolean allowForbidden, System.Boolean allowCorpse, System.Boolean allowSociallyImproper, System.Boolean allowHarvest, System.Boolean forceScanWholeMap, System.Boolean ignoreReservations, System.Boolean calculateWantedStackCount, System.Boolean allowVenerated, RimWorld.FoodPreferability minPrefOverride) [0x00169] in <b9f245e209ef4150ace99d482c24acdc>:0
at Kz.KemomimiFoodUtility.TryGiveFoodJob (Verse.Pawn pawn, RimWorld.HungerCategory minCategory, System.Single maxLevelPercentage, System.Boolean forceScanWholeMap) [0x00087] in <b9f245e209ef4150ace99d482c24acdc>:0
at Kz.KemomimiFeedKzHarmony+JobGiver_GetFood_TryGiveJob_Patch.TryGiveJob_Pre (Verse.AI.Job& __result, Verse.Pawn pawn, RimWorld.HungerCategory ___minCategory, System.Single ___maxLevelPercentage, System.Boolean ___forceScanWholeMap) [0x00014] in <b9f245e209ef4150ace99d482c24acdc>:0
at RimWorld.JobGiver_GetFood.TryGiveJob (Verse.Pawn pawn) [0x00030] in <630e2863bc9a4a3493f2eff01e3a9556>:0
- PREFIX OskarPotocki.VFECore: Boolean AnimalBehaviours.VanillaExpandedFramework_JobGiver_GetFood_GetPriority_Patch:StopEatingThings(Pawn pawn)
- PREFIX Kemomimihouse_Kz: Boolean Kz.KemomimiFeedKzHarmony+JobGiver_GetFood_TryGiveJob_Patch:TryGiveJob_Pre(Job& __result, Pawn pawn, HungerCategory ___minCategory, Single ___maxLevelPercentage, Boolean ___forceScanWholeMap)
- POSTFIX Orion.Gastronomy: Void Gastronomy.Dining._JobGiver_GetFood_Patch+TryGiveJob:Postfix(Job& __result, Pawn pawn)
at Verse.AI.ThinkNode_JobGiver.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00000] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at Verse.AI.ThinkNode_Priority.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00025] in <630e2863bc9a4a3493f2eff01e3a9556>:0
- TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)


IP属地:福建1楼2025-04-24 14:55回复
    提示说有小人要饿死了,没食物。可是家里的冰箱里有一大堆的食物,饮食设置也没问题,也没放在囚犯的房间里。集装箱还有50+的位置,但是提示钢铁无位置储存233


    IP属地:福建2楼2025-04-24 14:58
    收起回复
      2026-02-15 16:25:43
      广告
      不感兴趣
      开通SVIP免广告
      这个错误是《环世界》(RimWorld)中由于模组兼容性问题导致的未实现方法异常,具体分析和解决步骤如下:
      错误原因分析
      1.核心问题
      异常发生在 Gastronomy 模组的 DiningSpot.get_DispensableDef() 方法,该方法未被实现(NotImplementedException)。
      - KemomimiFoodUtility 模组在搜索食物来源时调用了这个未实现的方法,导致连锁报错。
      - 可能是由于 模组版本不兼容(如 Gastronomy 或 Kemomimi 模组更新后,相关方法未正确适配)或 模组加载顺序错误 导致。
      2.调用链关键节点
      错误从 KemomimiFoodUtility 模组的食物搜索逻辑开始,逐层调用到 Gastronomy 模组的未实现方法,最终在 AI 任务分配(ThinkNode_Priority)时触发异常。
      - 涉及模组:Gastronomy、Kemomimi、Vanilla Expanded Framework (VFECore)、网页链接 等,可能存在补丁冲突(如 Harmony 补丁顺序问题)。
      解决方法
      1. 检查模组兼容性与更新
      - 确认所有模组为最新版本:
      访问模组发布平台(如 Steam 创意工坊、GitHub),检查 Gastronomy、Kemomimi 及相关依赖模组(如 VFECore)是否有更新,特别是标注了“兼容性修复”的版本。
      - 临时禁用冲突模组:
      逐一禁用非核心模组(尤其是 Kemomimi 和 Gastronomy 相关模组),测试是否仍报错,定位具体冲突模组。
      2. 调整模组加载顺序
      - 在游戏主菜单进入 模组管理,确保模组按以下逻辑排序:
      1.基础框架模组(如 Harmony、HugsLib)
      2.依赖前置模组(如 VFECore)
      3.内容模组(如 Gastronomy)
      4.扩展/补丁模组(如 Kemomimi 相关补丁模组)
      - 特别注意:包含 Harmony 补丁的模组(如 KemomimiFeedKzHarmony)应在目标模组(如 Gastronomy)之后加载。
      3. 检查模组冲突与配置
      - 查看模组描述与冲突说明:
      部分模组会明确标注兼容的其他模组版本,确保 Kemomimi 与 Gastronomy 的版本匹配(如均为 1.4/1.5 版本,非混合使用)。
      - 清除模组缓存:
      退出游戏,删除游戏目录下的 Config 和 ModsConfig 文件夹(路径:Steam/steamapps/common/RimWorld/RimWorld/),重新启动游戏让配置重置。
      4. 社区反馈与替代方案
      - 搜索已知问题:
      在模组页面或游戏论坛(如 RimWorld 官方论坛、Steam 讨论区)搜索错误代码 4DB15495 或相关方法名,查看是否有其他玩家遇到类似问题及作者回复。
      - 临时替代方案:
      若无法立即解决,可尝试:
      - 手动调整 pawn 的食物偏好,避免触发相关搜索逻辑;
      - 使用调试模式跳过异常(不推荐,可能导致存档损坏)。
      总结
      该错误的核心是模组间的方法调用不匹配,最可能的解决方案是 更新模组至最新版本并调整加载顺序。若问题持续,建议向 Kemomimi 和 Gastronomy 模组作者反馈详细日志,协助定位补丁兼容性问题。


      IP属地:贵州来自Android客户端3楼2025-04-24 15:04
      收起回复
        我是超级ai大王


        IP属地:贵州来自Android客户端4楼2025-04-24 15:04
        回复
          还是先问问d大师吧


          IP属地:重庆来自Android客户端5楼2025-04-24 15:06
          回复


            IP属地:贵州来自Android客户端6楼2025-04-24 15:06
            收起回复
              是不是用了堆叠mod,导致大量食物叠在一格位置上,一格位置很多时候只能给一个小人进行互动


              IP属地:安徽来自Android客户端7楼2025-04-24 20:12
              收起回复
                我最近也遇到了,以前点餐mod和兽耳雾是可以一起用不冲突的。。。不知道是哪边改了


                IP属地:上海8楼2025-05-05 00:24
                回复
                  2026-02-15 16:19:43
                  广告
                  不感兴趣
                  开通SVIP免广告
                  排查了一下是餐厅mod和Animal Controls有严重冲突,会导致小人无法吃饭


                  IP属地:上海9楼2025-05-05 01:41
                  收起回复
                    所以说有什么好的解决办法吗,今天也遇到了


                    IP属地:广东来自Android客户端10楼2025-05-08 02:32
                    收起回复