Barotrauma

Barotrauma

Lua For Barotrauma
noddistVitae 30 Jan, 2023 @ 9:34am
Linux server crash on host
Hi, whenever I try to host a server on linux with the server executable set to Lua I get an error and the game promptly crashes.

This is the crashreport

Barotrauma Client crash report (generated on 01/30/2023 14:30:13)

Barotrauma seems to have crashed. Sorry for the inconvenience!

4BB1A67F0F7E5BF60D13A0A9735A5492

Game version 0.20.16.1 (ReleaseLinux, branch release, revision 33a42adf77)
Graphics mode: 1920x1080 (BorderlessWindowed)
VSync ON
Language: English
Selected content packages: Vanilla, Lua For Barotrauma
Level seed: no level loaded
Loaded submarine: None
Selected screen: Barotrauma.MainMenuScreen
SteamManager initialized

System info:
Operating system: Unix 5.15.0.58 64 bit
GPU name:
Display mode: {Width:1920 Height:1080 Format:Color AspectRatio:1.7777778}
GPU status: Normal

Exception: ChildServerRelay readTask did not run to completion: status was WaitingForActivation. (System.Exception)
Target site: Barotrauma.Option`1[System.Int32] ReadIncomingMsgs()
Stack trace:
at Barotrauma.Networking.ChildServerRelay.ReadIncomingMsgs() in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Networking\ChildServerRelay.cs:line 155
at Barotrauma.Networking.ChildServerRelay.<UpdateRead>g__readBytes|43_0(Span`1 readTo) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Networking\ChildServerRelay.cs:line 183
at Barotrauma.Networking.ChildServerRelay.UpdateRead() in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Networking\ChildServerRelay.cs:line 175
at System.Threading.Thread.StartCallback()

Last debug messages:
[01/30/2023 14:30:13] Exiting...
[01/30/2023 14:29:58] Failed to start server {An error occurred trying to start process './home/aludis/.var/app/com.valvesoftware.Steam/.local/share/Daedalic Entertainment GmbH/Barotrauma/WorkshopMods/Installed/2559634234/Binary/DedicatedServer.exe' with working directory '/home/aludis/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Barotrauma'. No such file or directory}
at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at Barotrauma.Networking.ChildServerRelay.Start(ProcessStartInfo processInfo) in <DEV>\Barotrauma\BarotraumaClient\ClientSource\Networking\ChildServerRelay.cs:line 32
at Barotrauma.MainMenuScreen.StartServer() in <DEV>\Barotrauma\BarotraumaClient\ClientSource\Screens\MainMenuScreen.cs:line 921
[01/30/2023 14:29:58] Failed to start ChildServerRelay Process. File: ./home/aludis/.var/app/com.valvesoftware.Steam/.local/share/Daedalic Entertainment GmbH/Barotrauma/WorkshopMods/Installed/2559634234/Binary/DedicatedServer.exe, arguments: -name "Reino" -public True -playstyle Casual -banafterwrongpassword False -karmaenabled False -maxplayers 8 -password "test" -steamid 76561198092148111 -ownerkey 297147797 -pipes 267 270
[01/30/2023 14:29:07] Attempting to open ALC device "Family 17h (Models 10h-1fh) HD Audio Controller Analog Stereo"
[01/30/2023 14:29:06] Logged in as AludisNHG (SteamID STEAM_1:1:65941191)


If you need anything else let me know
< >
Showing 1-1 of 1 comments
noddistVitae 2 Feb, 2023 @ 4:02pm 
The error was my fault. After installing the mod manually you don't have to set the server executable to Lua, you must leave it at vanilla.
< >
Showing 1-1 of 1 comments
Per page: 1530 50