3DMGAME 3DM首页 新闻中心 前瞻 | 评测 游戏库 热门 | 最新 攻略中心 攻略 | 秘籍 下载中心 游戏 | 汉化 购买正版 论坛

注册 登录

QQ登录

只需一步,快速开始

查看: 1107|回复: 8
打印 上一主题 下一主题

[攻略] 关于正式版创意工坊订阅mod重复勾选后爆红的解决方法(亲测有用,但是属于临时的办法,根源没有解决)望大佬救救

[复制链接]

10

主题

344

帖子

630

积分

超级玩家

Rank: 5Rank: 5

贡献度
28
金元
5177
积分
630
精华
0
注册时间
2018-12-12
跳转到指定楼层
主题
发表于 2022-10-6 15:39 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 983827100 于 2022-10-6 20:43 编辑

如题,我之前不断地订阅mod,不断地勾选,最后发现无论如何都会爆红,哪怕你将mod全取消都会爆红,后来发现只需要将steam\steamapps\common\The Scroll Of Taiwu\Save目录下的ModSettings.Lua删除,进入游戏后重新勾选mod就能解决,如果又订阅其他的mod重复上面步骤即可解决。可能是太吾在mod设置方面的一个bug吧
排除完毕,以上问题属于mod冲突,带着系统闯太吾mod和手动保存mod冲突,第一次加载时没有问题,但是等到再一次加载时必爆红,推测可能是因为存档功能重复,yellowServerLog.log文件被重复调用导致的红字
卸载手动存档mod后仍有此问题,正在进一步排查
排查失败,红字随机出现,之前确定没问题的再一次排查又出现了红字,已经躺平,等待大佬救助
附两段红字

ReadInterProcessMessages thread is about to exit.
ReadInterProcessMessages: System.Net.Sockets.SocketException (0x80004005): 远程主机强迫关闭了一个现有的连接。

  at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <d2957de1c3fd4781a43d89572183136c>:0
  at GameData.GameDataBridge.GameDataBridge.GetUnmanagedValuesFromSocket[T1,T2] (T1& item1, T2& item2) [0x00020] in <c0c14869a7c0489f84ec195030836365>:0
  at GameData.GameDataBridge.GameDataBridge.ReadInterProcessMessage () [0x00001] in <c0c14869a7c0489f84ec195030836365>:0
  at GameData.GameDataBridge.GameDataBridge.ReadInterProcessMessages () [0x00012] in <c0c14869a7c0489f84ec195030836365>:0
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandlerogFormat(LogType, Object, String, Object[])
UnityEngine.Loggerog(LogType, Object)
UnityEngine.DebugogError(Object)
GameData.GameDataBridge.GameDataBridge:CheckErrorMessages()
GameData.GameDataBridge.UnityAdapter.GameDataBridgeUnityAdapter:Update()

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45)

Outgoing message: Disconnect
WriteInterProcessMessages thread is about to exit.
WriteInterProcessMessagesDisconnect: System.Net.Sockets.SocketException (0x80004005): 远程主机强迫关闭了一个现有的连接。

  at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <d2957de1c3fd4781a43d89572183136c>:0
  at GameData.GameDataBridge.GameDataBridge.WriteInterProcessMessagesDisconnect () [0x00056] in <c0c14869a7c0489f84ec195030836365>:0
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandlerogFormat(LogType, Object, String, Object[])
UnityEngine.Loggerog(LogType, Object)
UnityEngine.DebugogError(Object)



第二段
2022-10-06 15:40:28.9807|ERROR|Main|GameData.Program|System.IO.IOException: The process cannot access the file 'E:\steam\steamapps\common\The Scroll Of Taiwu\Logs\yellowServerLog.log' because it is being used by another process.
   at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
   at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamWriter.ValidateArgsAndOpenPath(String path, Boolean append, Encoding encoding, Int32 bufferSize)
   at System.IO.StreamWriter..ctor(String path)
   at System.IO.File.WriteAllText(String path, String contents)
   at HellowWorldSystemBackend.LogTool.Log(String str)
   at HellowWorldSystemBackend.HellowWorldSystemBackend.Initialize()
   at TaiwuModdingLib.Core.Plugin.PluginHelper.LoadPlugin(String directoryPath, String dllName, String modIdStr)
   at GameData.Domains.Mod.ModDomain.LoadMod(ModInfo modInfo) in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\game-data\GameData\Domains\Mod\ModDomain.cs:line 116
   at GameData.Domains.Mod.ModDomain.LoadAllMods(ModInfoList modInfoList) in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\game-data\GameData\Domains\Mod\ModDomain.cs:line 55
   at GameData.GameDataBridge.GameDataBridge.InitializeGameDataModule() in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\game-data\GameData\GameDataBridge\GameDataBridge.cs:line 214
   at GameData.GameDataBridge.GameDataBridge.RunMainLoop() in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\game-data\GameData\GameDataBridge\GameDataBridge.cs:line 127
   at GameData.Program.Main(String[] args) in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\game-data\GameData\Program.cs:line 64
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandlerogFormat(LogType, Object, String, Object[])
UnityEngine.Loggerog(LogType, Object)
UnityEngine.DebugogError(Object)
GameData.GameDataBridge.GameDataBridge:CheckErrorMessages()
GameData.GameDataBridge.UnityAdapter.GameDataBridgeUnityAdapter:Update()
回复

使用道具 举报

10

主题

344

帖子

630

积分

超级玩家

Rank: 5Rank: 5

贡献度
28
金元
5177
积分
630
精华
0
注册时间
2018-12-12
舒服的沙发
 楼主| 发表于 2022-10-6 15:40 | 只看该作者
2022-10-06 15:40:28.9807|ERROR|Main|GameData.Program|System.IO.IOException: The process cannot access the file 'E:\steam\steamapps\common\The Scroll Of Taiwu\Logs\yellowServerLog.log' because it is being used by another process.
   at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
   at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamWriter.ValidateArgsAndOpenPath(String path, Boolean append, Encoding encoding, Int32 bufferSize)
   at System.IO.StreamWriter..ctor(String path)
   at System.IO.File.WriteAllText(String path, String contents)
   at HellowWorldSystemBackend.LogTool.Log(String str)
   at HellowWorldSystemBackend.HellowWorldSystemBackend.Initialize()
   at TaiwuModdingLib.Core.Plugin.PluginHelper.LoadPlugin(String directoryPath, String dllName, String modIdStr)
   at GameData.Domains.Mod.ModDomain.LoadMod(ModInfo modInfo) in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\game-data\GameData\Domains\Mod\ModDomain.cs:line 116
   at GameData.Domains.Mod.ModDomain.LoadAllMods(ModInfoList modInfoList) in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\game-data\GameData\Domains\Mod\ModDomain.cs:line 55
   at GameData.GameDataBridge.GameDataBridge.InitializeGameDataModule() in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\game-data\GameData\GameDataBridge\GameDataBridge.cs:line 214
   at GameData.GameDataBridge.GameDataBridge.RunMainLoop() in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\game-data\GameData\GameDataBridge\GameDataBridge.cs:line 127
   at GameData.Program.Main(String[] args) in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\game-data\GameData\Program.cs:line 64
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandlerogFormat(LogType, Object, String, Object[])
UnityEngine.Loggerog(LogType, Object)
UnityEngine.DebugogError(Object)
GameData.GameDataBridge.GameDataBridge:CheckErrorMessages()
GameData.GameDataBridge.UnityAdapter.GameDataBridgeUnityAdapter:Update()
回复 支持 反对

使用道具 举报

10

主题

344

帖子

630

积分

超级玩家

Rank: 5Rank: 5

贡献度
28
金元
5177
积分
630
精华
0
注册时间
2018-12-12
硬硬的板凳
 楼主| 发表于 2022-10-6 15:41 | 只看该作者
附带错误代码,如果你也是这个代码的话应该有效
2022-10-06 15:40:28.9807|ERROR|Main|GameData.Program|System.IO.IOException: The process cannot access the file 'E:\steam\steamapps\common\The Scroll Of Taiwu\Logs\yellowServerLog.log' because it is being used by another process.
   at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
   at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamWriter.ValidateArgsAndOpenPath(String path, Boolean append, Encoding encoding, Int32 bufferSize)
   at System.IO.StreamWriter..ctor(String path)
   at System.IO.File.WriteAllText(String path, String contents)
   at HellowWorldSystemBackend.LogTool.Log(String str)
   at HellowWorldSystemBackend.HellowWorldSystemBackend.Initialize()
   at TaiwuModdingLib.Core.Plugin.PluginHelper.LoadPlugin(String directoryPath, String dllName, String modIdStr)
   at GameData.Domains.Mod.ModDomain.LoadMod(ModInfo modInfo) in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\game-data\GameData\Domains\Mod\ModDomain.cs:line 116
   at GameData.Domains.Mod.ModDomain.LoadAllMods(ModInfoList modInfoList) in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\game-data\GameData\Domains\Mod\ModDomain.cs:line 55
   at GameData.GameDataBridge.GameDataBridge.InitializeGameDataModule() in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\game-data\GameData\GameDataBridge\GameDataBridge.cs:line 214
   at GameData.GameDataBridge.GameDataBridge.RunMainLoop() in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\game-data\GameData\GameDataBridge\GameDataBridge.cs:line 127
   at GameData.Program.Main(String[] args) in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\game-data\GameData\Program.cs:line 64
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandlerogFormat(LogType, Object, String, Object[])
UnityEngine.Loggerog(LogType, Object)
UnityEngine.DebugogError(Object)
GameData.GameDataBridge.GameDataBridge:CheckErrorMessages()
GameData.GameDataBridge.UnityAdapter.GameDataBridgeUnityAdapter:Update()

回复 支持 反对

使用道具 举报

160

主题

3245

帖子

7592

积分

游戏精英

Rank: 8Rank: 8

贡献度
558
金元
53601
积分
7592
精华
0
注册时间
2009-3-22
冰凉的地板
发表于 2022-10-6 16:05 | 只看该作者
这个是原路径和现路径冲突,就是同一个MOD原路径有现路径也有,删除旧的就好了
回复 支持 反对

使用道具 举报

10

主题

344

帖子

630

积分

超级玩家

Rank: 5Rank: 5

贡献度
28
金元
5177
积分
630
精华
0
注册时间
2018-12-12
5#
 楼主| 发表于 2022-10-6 17:25 | 只看该作者
主要这个问题出现在添加新mod以后,每次订阅新mod并勾选后就容易出现这个问题,删除ModSettings.Lua就相当于删除mod的配置文件,然后进入游戏重新勾选就可以了。路径什么的我只能说搞不太懂,所以只能简单的删除配置文件让它重新再生成一份,话说这应该算是游戏本身的一个bug吧,毕竟每次添加mod都应该删除旧的配置,然后生成一份新的配置的,按理来说应该不会出现重复路径的
回复 支持 反对

使用道具 举报

160

主题

3245

帖子

7592

积分

游戏精英

Rank: 8Rank: 8

贡献度
558
金元
53601
积分
7592
精华
0
注册时间
2009-3-22
6#
发表于 2022-10-6 18:48 | 只看该作者
因为你原来的MOD实在游戏根目录的,现在换位置了,然后有些事重复的
回复 支持 反对

使用道具 举报

10

主题

344

帖子

630

积分

超级玩家

Rank: 5Rank: 5

贡献度
28
金元
5177
积分
630
精华
0
注册时间
2018-12-12
7#
 楼主| 发表于 2022-10-6 20:00 | 只看该作者
感觉不太像,因为我今天专门把太吾绘卷全部删干净以后重新下载然后才装的mod,而且所有的mod都是steam上下载的,原来的全删了,现在依旧添加新mod后需要删除modsettings才能避免红字,感觉像是mod冲突了,我再去试试
回复 支持 反对

使用道具 举报

10

主题

344

帖子

630

积分

超级玩家

Rank: 5Rank: 5

贡献度
28
金元
5177
积分
630
精华
0
注册时间
2018-12-12
8#
 楼主| 发表于 2022-10-6 20:10 | 只看该作者
排除完毕,以上问题属于mod冲突,带着系统闯太吾mod和快速保存mod冲突,第一次加载时没有问题,但是等到再一次加载时必爆红,推测可能是因为存档功能重复,yellowServerLog.log文件被重复调用导致的红字
回复 支持 反对

使用道具 举报

10

主题

344

帖子

630

积分

超级玩家

Rank: 5Rank: 5

贡献度
28
金元
5177
积分
630
精华
0
注册时间
2018-12-12
9#
 楼主| 发表于 2022-10-6 20:11 | 只看该作者
说错了,是手动存档mod
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|3DMGAME ( 京ICP备14006952号-1  沪公网安备 31011202006753号

GMT+8, 2025-2-12 16:45 , Processed in 0.416093 second(s), 15 queries , Memcache On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表