安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题
And the fix is to delete it so it can be re-created, but I would first like its contents to probably figure out how this happened in the first place.
On Windows
2023-07-28 20:08:35.243: ### PaintGun v24
2023-07-28 20:08:35.259: PaintGunMod - Loaded server settings:
[ServerSettings]
RequireAmmo=True
PaintSpeedMultiplier=1
ReplacePaintSurvival=False
On Docker
2023-07-28 20:08:17.750: ### PaintGun v24
2023-07-28 20:08:17.777: PaintGunMod - Loaded server settings:
[ServerSettings]
RequireAmmo=True
PaintSpeedMultiplier=1
ReplacePaintSurvival=False
2023-07-28 20:08:17.786: Paint Gun error/exception: System.IO.FileNotFoundException: Unable to find the specified file.
at Sandbox.ModAPI.MyAPIUtilities.VRage.Game.ModAPI.IMyUtilities.WriteFileInWorldStorage(String file, Type callingType)
at Digi.PaintGun.Features.ServerSettings.LoadOnHost()
at Digi.PaintGun.Features.ServerSettings..ctor(PaintGunMod main)
at Digi.PaintGun.PaintGunMod..ctor(PaintGun_GameSession session)
at Digi.ComponentLib.PaintGun_GameSession.LoadMod()
at Digi.ComponentLib.PaintGun_GameSession.LoadData()
2023-07-28 20:08:17.789: Exception while loading world: Error in mod loading, see above exceptions.
The files were copied and looking at them side by side they seem fine.
Code from WriteFileInWorldStorage(): https://i.imgur.com/VoFc5cE.png
The highlighted last line is likely the one it hits, not the first one because the input file name is "ServerSettings.ini" so I very much doubt that period character is not allowed in file names on that OS.
Which leaves that GetFullPath() returns a different path for whatever reason, either CurrentPath is wrong or something else is going on... this is not something I can fix, and not even debug/test xD
You'll have to report it to keen and I very much doubt they'll do anything about it, they ignore reports that have the answer right in them and it's 1-2 line changes :(