Hikaz 发表于 2022-9-26 14:40

这过月红字也太头疼了..

2022-09-26 14:10:29.9024|ERROR|Main|GameData.Program|System.Exception: Resource amount cannot be negative: 6, -1318709687
   at DMD<GameData.Domains.Character.Character::ChangeResource>(Character this, DataContext context, SByte resourceType, Int32 delta)
   at GameData.Domains.Character.Ai.GeneralAction.BehaviorAction.GiveResourceAction.ApplyChanges(DataContext context, Character selfChar, Character targetChar)
   at GameData.Domains.Character.Character.ComplementPeriAdvanceMonth_ExecuteGeneralActions(DataContext context, PeriAdvanceMonthGeneralActionModification mod)
   at GameData.Common.ParallelModificationsRecorder.Apply(DataContext context, Byte* pData)
   at GameData.Common.ParallelModificationsRecorder.ApplyAll(DataContext context)
   at GameData.Common.WorkerThread.WorkerThreadManager.Run(Action`2 workingMethod, Int32 beginWorkId, Int32 endWorkId, DataMonitorManager monitor, Int32 monitorInterval)
   at GameData.Domains.World.WorldDomain.PeriAdvanceMonth(DataContext context, DataMonitorManager monitor)
   at GameData.Domains.World.WorldDomain.AdvanceMonth(DataContext context)
   at GameData.Domains.World.WorldDomain.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()

都不知道是哪个资源为负数,想自己解决都解决不了..

onechild 发表于 2022-9-28 12:02

你解决了么?我遇到的问题一样。

QuantumNeko 发表于 2022-9-29 11:43

个人摸索的是,用ce搜索第一行最后的-1318709687,改成任意较小正数就能正常过月了

Hikaz 发表于 2022-10-5 22:11

onechild 发表于 2022-9-28 12:02
你解决了么?我遇到的问题一样。

把你MOD都更新一下就好了

Hikaz 发表于 2022-10-5 22:12

QuantumNeko 发表于 2022-9-29 11:43
个人摸索的是,用ce搜索第一行最后的-1318709687,改成任意较小正数就能正常过月了 ...

不知道为什么没看到回复,感谢。
问题的原因应该是某个MOD把NPC资源调成了3倍导致了什么东西溢出,MOD作者把那个改动给取消了,更新下MOD就好了。


呜呜呜111233333 发表于 2022-10-5 23:26

兄弟们,我一修完太吾村驿站就红字是什么鬼,修之前过月就没事,其他档也是,只要修完太吾驿站就过月红字
页: [1]
查看完整版本: 这过月红字也太头疼了..