游戏中报以下错误,版本 SPT-4.0.11-40087-278e72b
加了MG mod,正常进游戏偶尔会卡死,游戏途中会突然卡住,然后几分钟后就退出,接着报这个错
计划中事件: “SPTarkov.Server.Core.Callbacks.RagfairCallbacks”运行失败System.AggregateException: One or more errors occurred(Unable to cast object of type 'System.Object' to type 'System.Collections.Generic.List'1[System.Object]'.)-> System. InvalidCastException: Unable to cast object of type 'System. Object' to type 'System. Collections.Generic. List'1[system.Object]'
atSystem. Threading. Tasks. Task. RunContinuations(Object continuationObject)System. Threading.Tasks. Task. FinishSlow(Boolean userDelegateExecute)atSystem. Threading. Tasks. Task.ScheduleAndStart(Boolean needsProtection)atatSystem.Threading.Tasks.TaskReplicator.Replica.Execute()End of inner exception stack traceat System. Threading. Tasks. TaskReplicator.Run[TState](ReplicatableUserAction'1 action, ParallelOptions optionsBoolean stopOnFirstFailureat System. Threading. Tasks.Parallel. Fortorker [TLocal, TInt](TInt fromInclusive, TInt toExclusive, ParallelOptions paralLeloptions, Action'1 body, Action 2 bodywithState, Func 4 bodywithLocal, Func'1 localInit, Action'1 localFinally)End of stack trace from previous location -at System. Threading. Tasks. Parallel.Fortorker[TLocal, TInt](TInt fronInclusive, TInt toExclusive, ParallelOptionsparalLelOptions, Action'1 body, Action'2 bodywithstate, Func'4 bodyWithLocal, Func'1 LocalInit, Action'1 LocalFinally)at SPTarkov.Server. Core.Utils.RagfairOfferHolder.FlagExpiredOffersAfterDate(Int64 timestamp)at SPTarkov.Server.Core.Servers. RagfairServer.ProcessExpiredFleaOffers()at SPTarkov.Server. Core. Callbacks. RagfairCallbacks. OnUpdate(Int64 secondsSinceLastRun)at SPTarkov.Server.Core.Utils.App.Update()
SPT-4.0.11-40087-278e72b
已配图
是
游戏闪退









跳蚤市场的问题,有挂在市场上的东西过期之后的处理失败卡死了,你看看你是不是用MG修改了跳蚤市场着方面的内容。也可以试下清理跳蚤缓存
清理跳蚤市场缓存
删除
user/profiles/下你的存档文件夹中的:ragfair_offers.jsonragfair_cache.json记得备份,因为我没删过,我不确定会有什么影响,实在不行禁用MG试试,看看是单纯MG的问题还是你有模组冲突,因为我目前只知道你有MG,其他模组你没发出来,所以你得自己去排查。
禁用跳蚤市场相关功能
在
Aki_Data/Server/configs/ragfair.json中:{ "dynamicLootEnabled": false, "runIntervalSeconds": 3600 // 增加间隔时间}还有个办法如上,aki那个你照着spt去找就行了,现在不是aki了,都是spt,我也不知道为什么ai从犄角旮旯里给aki翻出来了。
以上办法都是问ai得到的,大概管用,但任何操作都请先备份,目前ai还是不智能的,只能信一半。
或者你找一些离线版模组作者的群求助,有好心的群友可能能给予你帮助。
最后,没办法就删档或者卸载重装,不过不要轻易放弃好不容易打出来的存档,只要不是在游戏根文件上进行的修改,永远用不到这一步。
祝你好运,可以马上解决这样的问题。
这个是MGMOD的挂单优化功能出问题了,关掉清理缓存就好了