Barotrauma
Cs For Barotrauma
EchoFort 7 JUL 2022 a las 7:32
Crash When Loading a Game
While Trying to load the mod "BetterHealthUI" with this.

The Following Error says :

Exception: The process cannot access the file 'C:\User\TEST\AppData\Local\Daedalic Entertainment GmbH\Barotrauma\WorkshopMods\Installed\2807158602\CSharp\RunConfig.xml' because it is being used by another process. (System.IO.IOException)
Target site: Microsoft.Win32.SafeHandles.SafeFileHandle ValidateFileHandle(Microsoft.Win32.SafeHandles.SafeFileHandle)


Stack trace:
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.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.IO.File.Open(String path, FileMode mode, FileAccess access)
at Barotrauma.CsScriptLoader.ShouldRun(ContentPackage cp, String path) in <DEV>/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Cs/CsScriptLoader.cs:line 43
at Barotrauma.CsScriptLoader.SearchFolders() in <DEV>/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Cs/CsScriptLoader.cs:line 83
at Barotrauma.LuaCsSetup.Initialize() in <DEV>/Barotrauma/BarotraumaShared/SharedSource/LuaCs/LuaCsSetup.cs:line 449
at Barotrauma.MainMenuScreen.LoadGame(String saveFile) in <DEV>/Barotrauma/BarotraumaClient/ClientSource/Screens/MainMenuScreen.cs:line 1146
at Barotrauma.SinglePlayerCampaignSetupUI.<UpdateLoadMenu>b__25_2(GUIButton btn, Object obj) in <DEV>/Barotrauma/BarotraumaClient/ClientSource/Screens/CampaignSetupUI/SinglePlayerCampaignSetupUI.cs:line 681
at Barotrauma.GUIButton.Update(Single deltaTime) in <DEV>/Barotrauma/BarotraumaClient/ClientSource/GUI/GUIButton.cs:line 263
at Barotrauma.GUI.Update(Single deltaTime) in <DEV>/Barotrauma/BarotraumaClient/ClientSource/GUI/GUI.cs:line 1229
at Barotrauma.GameMain.Update(GameTime gameTime) in <DEV>/Barotrauma/BarotraumaClient/ClientSource/GameMain.cs:line 907
at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime) in <DEV>/Libraries/MonoGame.Framework/Src/MonoGame.Framework/Game.cs:line 656
at Microsoft.Xna.Framework.Game.Tick() in <DEV>/Libraries/MonoGame.Framework/Src/MonoGame.Framework/Game.cs:line 504
at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop() in <DEV>/Libraries/MonoGame.Framework/Src/MonoGame.Framework/SDL/SDLGamePlatform.cs:line 94
at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior) in <DEV>/Libraries/MonoGame.Framework/Src/MonoGame.Framework/Game.cs:line 398
at Microsoft.Xna.Framework.Game.Run() in <DEV>/Libraries/MonoGame.Framework/Src/MonoGame.Framework/Game.cs:line 368
at Barotrauma.Program.Main(String[] args) in <DEV>/Barotrauma/BarotraumaClient/ClientSource/Program.cs:line 59


Last debug messages:
[7/7/2022 5:28:52 PM] Forced run C# of BetterHealthUI
[7/7/2022 5:28:52 PM] Cs! Version bf0ea54
[7/7/2022 5:28:50 PM] Lua! Version bf0ea54
[7/7/2022 5:27:52 PM] Attempting to open ALC device "OpenAL Soft on Speakers (Realtek High Definition Audio)"
[7/7/2022 5:27:48 PM] Logged in as Lagfort (SteamID STEAM_1:0:228038169)


Could there be any solution to this?
< >
Mostrando 1-7 de 7 comentarios
Evil Factory  [desarrollador] 7 JUL 2022 a las 17:05 
potentially fixed in the last mod update
EchoFort 7 JUL 2022 a las 21:37 
Ah Okay, I'll check again if it works now.
EchoFort 8 JUL 2022 a las 7:59 
Hm, I've tested it, and it still crashed. To be fair, I am using a Manually installed Lua, latest version if I may add.
Evil Factory  [desarrollador] 8 JUL 2022 a las 9:50 
what revision are you in
EchoFort 9 JUL 2022 a las 0:13 
Sorry for the very late reply, it was night at my time.
It is using revision bf0ea54 version Github
Evil Factory  [desarrollador] 9 JUL 2022 a las 7:45 
Publicado originalmente por Lagfort:
Sorry for the very late reply, it was night at my time.
It is using revision bf0ea54 version Github
that revision is before the fix was added, please update the mod
EchoFort 9 JUL 2022 a las 8:20 
alright then, I will go back to the main github site, since I can't install it in the main game
< >
Mostrando 1-7 de 7 comentarios
Por página: 1530 50