Barotrauma

Barotrauma

Cs For Barotrauma
EchoFort 7 Jul, 2022 @ 7:32am
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?
< >
Showing 1-7 of 7 comments
Evil Factory  [developer] 7 Jul, 2022 @ 5:05pm 
potentially fixed in the last mod update
EchoFort 7 Jul, 2022 @ 9:37pm 
Ah Okay, I'll check again if it works now.
EchoFort 8 Jul, 2022 @ 7:59am 
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  [developer] 8 Jul, 2022 @ 9:50am 
what revision are you in
EchoFort 9 Jul, 2022 @ 12:13am 
Sorry for the very late reply, it was night at my time.
It is using revision bf0ea54 version Github
Evil Factory  [developer] 9 Jul, 2022 @ 7:45am 
Originally posted by 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 @ 8:20am 
alright then, I will go back to the main github site, since I can't install it in the main game
< >
Showing 1-7 of 7 comments
Per page: 1530 50