• 注册
  • 问题反馈 问题反馈 关注:1842 内容:297

    MGModSeries报错“Discord”

  • 查看作者
  • 打赏作者
  • 当前位置: ODDBA社区 > MG-Mod专区 > 问题反馈 > 正文
  • 6
  • 问题反馈
  • 炉火纯青

    The server has unexpectedly stopped, reach out to the support channel in our Discord server. Include a screenshot of

    this message and the surrounding error(s) above and below

    Object reference not set to an instance of an object.

       at _MGMod.types.server.BotsServer.MGmodBots(MGModConfig_Bot BotSetting) in

    E:\Workdata\Git_repositories\MGModSeries\MGModSeries-CSharp\MGModServer\types\server\BotsServer.cs:line 65

       at _MGMod.types.services.ConfigSettingServices.ModSetting() in

    E:\Workdata\Git_repositories\MGModSeries\MGModSeries-CSharp\MGModServer\types\services\ConfigSettingServices.cs:line 89

       at _MGMod.MGmod.OnLoadAsync(CancellationToken cancellationToken) in

    E:\Workdata\Git_repositories\MGModSeries\MGModSeries-CSharp\MGModServer\MGmod.cs:line 38

       at SPTarkov.Server.Extensions.ProgramExtensions.RunPreSptLoadCallbacks(IServiceProvider serviceProvider, ILogger

    logger, CancellationToken cancellationToken)

       at SPTarkov.Server.Program.StartServerAfterModLoading(SptEarlyLoggerFactory loggerFactory, IReadOnlyDictionary`2

    configuration, IServiceProvider earlyServiceProvider, List`1 loadedMods, StartupCancellation startupCancellation)

       at SPTarkov.Server.Program.StartServer(SptEarlyLoggerFactory loggerFactory, String[] args, StartupCancellation

    startupCancellation)

       at SPTarkov.Server.Program.Main(String[] args)

    Press any key to exit…

    渐入佳境

    客户端启动器-点齿轮,进入设置-导出日志-日志发AI

  • AFeiSNS重新安装自己好了
    拉黑 5天前 电脑端回复
  • 回复
    炉火纯青

    重新安装自己好了

    回复
    圆转纯熟

    我也遇到同样的报错问题了

    回复
    圆转纯熟

    config.json的问题,莫名其妙里面的设置就丢了。变成了一堆null。

    回复
    圆转纯熟

    另外提醒一下根因:MGModEditor 在保存配置时把未配置的子模块写成了 null 而不是默认对象结构,这是编辑器的 bug,建议向模组作者反馈,后续用编辑器改配置时也要注意每次保存后检查是否又出现 null 。

    回复

    请登录之后再进行评论

    登录
    MG-Mod专区
  • 今日 0
  • 内容 1449
  • 关注 1842
  • 聊天
    关注 16

    【招募】GRIFFIN TKF项目开工 期待你的加入 || 你是否想加入格里芬书写自己与人形的故事

    捐助我们

    • 微信
    • 支付宝
  • 签到
  • 任务
  • 发布
  • 模式切换
  • 偏好设置
  • 帖子间隔 侧栏位置: