Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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 :(